Page 1 of 1

Nagios service and availability report

Posted: Mon Nov 05, 2012 9:56 am
by Bojan Lackanovic
Hi,

1. What is difference between restart and reload nagios service commands?


2. If i have scheduled maintenance periods for more hosts during the month i don't need to calculate it in monthly availability report for my hostgroup. How can i do it!

I need only to calculate availability with unexpected link failures, but not with scheduled link failures.


Kind regard

Re: Nagios service and availability report

Posted: Tue Nov 06, 2012 3:48 pm
by agriffin
  1. Usually restart is for a full stop and start of a service, while reload is for updating the configuration on-the-fly. Nagios must restart in order to use a new configuration, so in the case of Nagios, the difference is tiny. (If you're still curious, restart calls 'service nagios stop; service nagios start', while reload accomplishes the same thing with 'kill -HUP <nagios_pid>' instead.)
  2. I'm not quite sure what you're trying to do here, can you explain?

Re: Nagios service and availability report

Posted: Thu Nov 15, 2012 9:54 am
by Bojan Lackanovic
2. I need to scheduled downtime be excluded for availability report to don't be calculated as DOWNTIME for hosts.

Re: Nagios service and availability report

Posted: Thu Nov 15, 2012 2:46 pm
by agriffin
Okay, I think if you set 'Assume States During Program Downtime' to 'Yes' when you run the report it will treat those hosts as being in whatever state they were in before the downtime began.