As you may already know, I am running a Nagios 1.3 with a MySQL Database and Oreon (with it Database).
My Problem actually is the resource.cfg of Nagios. Everytime I generate the Oreon Files my entries in this cfg will be deleted
Part of my original resource.cfg that I use and that I really need:
You see there is not always somethings with paths to directorys, I need
it more to handle the Nagios Database (Authorisation)
How can I deal with Oreon that it won't destroy my resource.cfg or I can add my original resource.cfg lines to the one generated by oreon ?
I know that I can add lines to oreon resource.cfg with $USERn$ and command lines but nothing more.
Can you give me tips how to solve this problem or take this as a bug and solve in the near future ???
Help is very welcome
dobebo
My Problem actually is the resource.cfg of Nagios. Everytime I generate the Oreon Files my entries in this cfg will be deleted
Part of my original resource.cfg that I use and that I really need:
# Sets $USER1$ to be the path to the plugins
$USER1$=/usr/lib/nagios/plugins
# Sets $USER2$ to be the path to event handlers
$USER2$=/usr/lib/nagios/plugins/eventhandlers
# Store some usernames and passwords (hidden from the CGIs)
#$USER3$=someuser
#$USER4$=somepassword
$USER5$=/usr/local/nagios/libexec
# DB STATUS DATA
# Note: These config directives are only used if you compiled
# in database support for status data!
# The user you specify here needs SELECT, INSERT, UPDATE, and
# DELETE privileges on the 'programstatus', 'hoststatus',
# and 'servicestatus' tables in the database.
#xsddb_host=xxxxxxx
#xsddb_port=xxxx
xsddb_database=xxxxx
xsddb_username=xxxxx
xsddb_password=xxxxx
#xsddb_optimize_data=x
#xsddb_optimize_interval=xxxx
$USER1$=/usr/lib/nagios/plugins
# Sets $USER2$ to be the path to event handlers
$USER2$=/usr/lib/nagios/plugins/eventhandlers
# Store some usernames and passwords (hidden from the CGIs)
#$USER3$=someuser
#$USER4$=somepassword
$USER5$=/usr/local/nagios/libexec
# DB STATUS DATA
# Note: These config directives are only used if you compiled
# in database support for status data!
# The user you specify here needs SELECT, INSERT, UPDATE, and
# DELETE privileges on the 'programstatus', 'hoststatus',
# and 'servicestatus' tables in the database.
#xsddb_host=xxxxxxx
#xsddb_port=xxxx
xsddb_database=xxxxx
xsddb_username=xxxxx
xsddb_password=xxxxx
#xsddb_optimize_data=x
#xsddb_optimize_interval=xxxx
it more to handle the Nagios Database (Authorisation)
How can I deal with Oreon that it won't destroy my resource.cfg or I can add my original resource.cfg lines to the one generated by oreon ?
I know that I can add lines to oreon resource.cfg with $USERn$ and command lines but nothing more.
Can you give me tips how to solve this problem or take this as a bug and solve in the near future ???
Help is very welcome
dobebo
Comment