Page 1 of 1

Not getting host down|up|unreachable alerts

Posted: Sat Nov 02, 2019 9:05 am
by 4-239195
Hi Support,

Please help:

I am using xi

My problem:
I never get host down alerts

I do get service down/unreachable/unknown alerts for these hosts.

### My host configuration ###
Check_Command: check-host-alive
$USER1$/check_icmp -H $HOSTADDRESS$ -w 10000.0,80% -c 15000.0,100% -p 5

Check Settings Tab
Check interval: 1
Retry interval: 1
Max check attempts: 1
Active checks enabled: On (greyed out)

Alert Settings:
Manage Contacts: I have the required email id's
Notification Options: Down/Unreachable/Recovery/Flapping are greyed out (On)
Notification interval: 1
Notification enabled: On

### My configuration for serives that are being monitored on these hosts ###
Check Command: check_xi_service_nsclient
$USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$

Check Settings
Check interval: 1
Retry interval: 1
Max check attempts for services being monitored on these hosts
--> for c drive: 20
--> mem usage: 10
--> CPU usage: 20
--> ping: 1
--> uptime: 60

Active checks enabled: On (greyed out)

----------------------------------------------------------------------------------------------

I went to reports > under (Legacy Reports) clicked on Notifications and on that page I can see all hosts along with the type of notification mentioned.
For example I can see somehost1 with HOST UP - Time - Contact - Notification command( notify-host-by-email)
Similarly I can see somehost2 with HOST DOWN - Time - Contact - Notification command( notify-host-by-email)

Please suggest where I am wrong and how I can fix this issue.

Re: Not getting host down|up|unreachable alerts

Posted: Mon Nov 04, 2019 1:21 pm
by benjaminsmith
Hello,

Welcome aboard! I see this is your first post and I'd to thank you for choosing Nagios! We're happy have you in the community. Besides the support forum, please check out our knowledgebase for useful tech tips and HowTos. And to extend product functionality, you'll find thousands of plugins and addons on the Nagios Exchange.

Regarding you issue, It looks like notifications are beings sent but I believe the contact might not be getting the email.
For example I can see somehost1 with HOST UP - Time - Contact - Notification command( notify-host-by-email)
Similarly I can see somehost2 with HOST DOWN - Time - Contact - Notification command( notify-host-by-email)
If the the contact was added within XI, it may not have the right notification handler. You can check this by following the steps in the guide below.

Nagios XI Notification Problems

If you can't get it resolved, please send me your system profile along with the exact name of the host and contact.

To send us your system profile.
Login to the Nagios XI GUI using a web browser.
Click the "Admin" > "System Profile" Menu
Click the "Download Profile" button
Save the profile.zip file and share this in a private message and then reply to this post to bring it up in the queue.