Nagios service and availability report

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Bojan Lackanovic
Posts: 13
Joined: Wed Oct 31, 2012 9:28 am

Nagios service and availability report

Post 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
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Nagios service and availability report

Post 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?
Bojan Lackanovic
Posts: 13
Joined: Wed Oct 31, 2012 9:28 am

Re: Nagios service and availability report

Post by Bojan Lackanovic »

2. I need to scheduled downtime be excluded for availability report to don't be calculated as DOWNTIME for hosts.
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: Nagios service and availability report

Post 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.
Locked