Good morning everyone,
Still new to Nagios and learning so I appreciate the help.
Lots of the servers we monitor are cloud based and therefore spend lots of time powered off.
All I want to do is configure Nagios so if a server is powered down it send a single alert saying its down and a single OK alert when it comes back on line.
Thank you for your help nice people.
Sends a single alert for powered down servers
-
NagiosIMCS
- Posts: 20
- Joined: Mon Mar 19, 2018 2:55 pm
-
NagiosIMCS
- Posts: 20
- Joined: Mon Mar 19, 2018 2:55 pm
Re: Sends a single alert for powered down servers
Ideally I only want a single alert if the host is powered down. For any other alerts, for instance High CPU I still want to receive multiple alerts. I am aware I can change the the problem persist option to 0 to achieve this.
Re: Sends a single alert for powered down servers
You can make a host or service only notify once if you open it in Core Config Manager (Configure menu at top of screeen) and set the Notification Interval = 0 in the Alert Settings tab.
That way, it'll only send one alert when the host or service changes state (e.g. OK -> Critical).
That way, it'll only send one alert when the host or service changes state (e.g. OK -> Critical).
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
-
NagiosIMCS
- Posts: 20
- Joined: Mon Mar 19, 2018 2:55 pm
Re: Sends a single alert for powered down servers
Thank you dchurch,
Ideally if the server is powered on I would still want receive multiple alarms. For instance for High CPU or Disk Usage but just the single notification if the Host is powered down.
Do you know if that is possible? Unfortunately I have rather limited knowledge.
Thank you for your help.
Ideally if the server is powered on I would still want receive multiple alarms. For instance for High CPU or Disk Usage but just the single notification if the Host is powered down.
Do you know if that is possible? Unfortunately I have rather limited knowledge.
Thank you for your help.
Re: Sends a single alert for powered down servers
Sure, just:
- Set the notification Interval on the host check (open the HOST in the Core Config Manager), set that to 0, then...
- something like the default 60 on the service checks (open the SERVICE in the Core Config Manager).
If you didn't get an 8% raise over the course of the pandemic, you took a pay cut.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.
Discussion of wages is protected speech under the National Labor Relations Act, and no employer can tell you you can't disclose your pay with your fellow employees.