Page 1 of 1
nagios problems
Posted: Mon Nov 19, 2007 4:22 pm
by stevelogik
I tried adding the scalix plugins to nagios but after i type in the references for the scalix plugin config files in nagios.cfg, nagios won't start. Can anyone help me?
Posted: Mon Nov 19, 2007 5:36 pm
by techsharp
Can you post the errors nagios is giving from the log files? That will help find the problem.
Also doing a "nagios -v /etc/nagios/nagios.cfg" will spit out errors and help examine the issues.
Posted: Wed Nov 21, 2007 10:20 am
by stevelogik
that command didn't do anything said bash: nagios : command not found
Nagios is running and I can log in; I can't find the log file anywhere :\
Posted: Wed Nov 21, 2007 10:32 am
by stevelogik
after I add the following in nagios.cfg:
#Scalix Plugin Configuration Files
cfg_files=/etc/nagios/scalix/checkcommands.cfg
etc
etc
etc
I go to run scalix and this is showing:
No Lock File found in /usr/local/nagios/var/nagios.lock
now when I remove the plugin configuration links to the plugins nagios starts
Then i go to that nagios/var and the lock file appears, I tried copying that and then adding it after adding the link to config files for scalix plugins and nothin
Posted: Wed Nov 21, 2007 11:52 am
by stevelogik
only 2 log files, only one with any information...
195494206] Nagios 2.10 starting... (PID=31466)
[1195494206] LOG VERSION: 2.0
[1195494206] Finished daemonizing... (New PID=31467)
[1195495132] Caught SIGTERM, shutting down...
[1195495132] Successfully shutdown... (PID=31467)
[1195495722] Nagios 2.10 starting... (PID=3515)
[1195495722] LOG VERSION: 2.0
[1195495722] Finished daemonizing... (New PID=3516)
[1195495833] Caught SIGTERM, shutting down...
[1195495833] Successfully shutdown... (PID=3516)
[1195495892] Nagios 2.10 starting... (PID=3657)
[1195495892] LOG VERSION: 2.0
[1195495892] Finished daemonizing... (New PID=3658)
[1195496582] Caught SIGTERM, shutting down...
[1195496582] Successfully shutdown... (PID=3658)
[1195496583] Nagios 2.10 starting... (PID=4173)
[1195496583] LOG VERSION: 2.0
[1195496583] Finished daemonizing... (New PID=4174)
[1195500183] Auto-save of retention data completed successfully.
[1195501905] Caught SIGTERM, shutting down...
[1195501905] Successfully shutdown... (PID=4174)
[1195502964] Nagios 2.10 starting... (PID=7467)
[1195502964] LOG VERSION: 2.0
[1195502964] Finished daemonizing... (New PID=7468)
[1195503281] Nagios 2.10 starting... (PID=7569)
[1195503281] LOG VERSION: 2.0
[1195503281] Lockfile '/usr/local/nagios/var/nagios.lock' is held by PID 7468. Bailing out...
[1195503285] Caught SIGTERM, shutting down...
[1195503285] Successfully shutdown... (PID=7468)
[1195503580] Nagios 2.10 starting... (PID=7663)
[1195503580] LOG VERSION: 2.0
[1195503580] Finished daemonizing... (New PID=7664)
[1195507180] Auto-save of retention data completed successfully.
[1195510780] Auto-save of retention data completed successfully.
[1195514380] Auto-save of retention data completed successfully.
[1195517980] Auto-save of retention data completed successfully.
[1195521580] Auto-save of retention data completed successfully.
[1195525180] Auto-save of retention data completed successfully.
[1195528780] Auto-save of retention data completed successfully.
[1195532380] Auto-save of retention data completed successfully.