nagios.cmd issue with restart of nagios
-
mimianddaniel
- Posts: 7
- Joined: Thu Jan 28, 2016 1:49 pm
nagios.cmd issue with restart of nagios
Could someone shed some light when nagios.cmd fifo is passing the cmds to nagios when it gets restarted? I notice that the cmds written to the FIFO is not applied properly while its restarting. The restart for us take about ~40secs, I see around ~40secs mark, that wproc are all registered.
Thanks
Thanks
Re: nagios.cmd issue with restart of nagios
What version of Nagios are you using? Are you running into issues, or is this just a general curiosity?
If you want to see what's going on for yourself, here you go: https://github.com/NagiosEnterprises/nagioscore
If you want to see what's going on for yourself, here you go: https://github.com/NagiosEnterprises/nagioscore
Former Nagios Employee.
me.
me.
-
mimianddaniel
- Posts: 7
- Joined: Thu Jan 28, 2016 1:49 pm
Re: nagios.cmd issue with restart of nagios
excuse my lack of info, 4.0.8 is what we are using. This is an issue. During the reload, even tho nagios.cmd exists and you can write to it, it's not being processed. This is an issue.
Re: nagios.cmd issue with restart of nagios
What are the permissions on your nagios.cmd file?
Former Nagios Employee
-
mimianddaniel
- Posts: 7
- Joined: Thu Jan 28, 2016 1:49 pm
Re: nagios.cmd issue with restart of nagios
prw-rw---- 1 nagios
There is no problem with the perm or ownership for that matter.
Watching the perm and ownership while doing nagios reload, the file doesnt get removed or changes perm as far as i can tell by doing watch -n 1 'ls- l nagios.cm'
However, the external cmds executed during the reload doesnt seem to be showing up after the reload has completed.
There is no problem with the perm or ownership for that matter.
Watching the perm and ownership while doing nagios reload, the file doesnt get removed or changes perm as far as i can tell by doing watch -n 1 'ls- l nagios.cm'
However, the external cmds executed during the reload doesnt seem to be showing up after the reload has completed.
Re: nagios.cmd issue with restart of nagios
I noticed you mentioned a restart in your first post, and a reload after that. There is a difference, so which are you using? Can you post the exact command?
Former Nagios employee
-
mimianddaniel
- Posts: 7
- Joined: Thu Jan 28, 2016 1:49 pm
Re: nagios.cmd issue with restart of nagios
it was reload. sorry for the confusion..
nagios reload
nagios reload
Re: nagios.cmd issue with restart of nagios
Just the command 'nagios reload'?
What operating system are you running Nagios on, and how was it installed?
What operating system are you running Nagios on, and how was it installed?
Former Nagios Employee.
me.
me.
-
mimianddaniel
- Posts: 7
- Joined: Thu Jan 28, 2016 1:49 pm
Re: nagios.cmd issue with restart of nagios
this is running on centos 6.
created a package from the src and installed.
/etc/init.d/nagios reload would be the exact command.
Sorry for the late reply.
created a package from the src and installed.
/etc/init.d/nagios reload would be the exact command.
Sorry for the late reply.
Re: nagios.cmd issue with restart of nagios
What happens if you do a restart instead of a reload?
Former Nagios Employee.
me.
me.