Nagios daemon is not running cannot send restart command in NagiosQL
I have nagiosql 3.1.1 earlier today I have upgraded nagiosql with version 3.2.0,upgradation done successfully,every thing is working fine,but once i go to Administration >> Support to check the nagiosql settings,it displays two errors :-
1. Nagios process file :- failed (file is missing).
2. Nagios binary file :- failed (file is missing).
Even when i tried to restart the nnagios through nagiosql,it throws the below error:-
“nagios daemon is not running cannot send restart command”
Solution :- NagiosQL is looking for /var/run/nagios/nagios.pid file.. However, nagios is using your nagioslocation/nagios.lock file..
Just make a link from /var/run/nagios.pid which points to /usr/local/nagios/var/nagios.lock,,,
To do this just login to your NagiosQL Admin panel ;-
1. Click on Administration >> Config Targets
2. Change your settings here (Nagios binary file & Nagios process file path).
Enjoy Linux…!!!!