I looked at the NagiosQL site which is now not working, and to add to it we didn't write it. It's a bit difficult to troubleshoot after two years.
I'd take a look at the /etc/sudoers to make sure the permissions are proper for apache/nagios to execute. If everything is firing properly that's most likely the culprit. As I stated above though, it's not a product that we made or maintain so the support we can provide is limited.
restarting nagios through web does not reload config.
Re: restarting nagios through web does not reload config.
Former Nagios Employee
-
uncleVALERA
- Posts: 1
- Joined: Mon Jul 25, 2016 2:25 pm
Re: restarting nagios through web does not reload config.
I have solved the issue!

Were is my money for beer?# diff /var/www/nagiosql32/admin/verify.php /var/www/nagiosql32/admin/verify.php.orig
345c345
< $strCommandString = "[".mktime()."] RESTART_PROGRAM;".mktime()."\n";
---
> $strCommandString = "[".mktime()."] RESTART_PROGRAM;".mktime();
492c492
Re: restarting nagios through web does not reload config.
If the OP comes back, or anyone who posted after and can confirm the fix, you'll have e-Beer and Internet points :)
Former Nagios employee
-
djengineer
- Posts: 2
- Joined: Fri Aug 12, 2016 8:10 am
Re: restarting nagios through web does not reload config.
This fix does work! It wasn't working before, I made the update and it works. I am on Nagios Core version 4.2.0
Re: restarting nagios through web does not reload config.
Awesome news! Is it alright if we lock this thread and mark the issue as resolved?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
-
djengineer
- Posts: 2
- Joined: Fri Aug 12, 2016 8:10 am
Re: restarting nagios through web does not reload config.
Sounds good to me!mcapra wrote:Awesome news! Is it alright if we lock this thread and mark the issue as resolved?