Not Getting Alerts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lance.peterson
Posts: 64
Joined: Wed Aug 05, 2015 11:10 am

Not Getting Alerts

Post by lance.peterson »

I am getting alerts for lots of windows servers, and pingable devices but I setup my first SNMP device and I am not getting notifications via email or text when it goes into Critical status. I don't see anything wrong where can I go to look to resolve this.
lance.peterson
Posts: 64
Joined: Wed Aug 05, 2015 11:10 am

Re: Not Getting Alerts

Post by lance.peterson »

I did see I am now getting alerts via email but still no text messages are getting sent when it goes critical.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Not Getting Alerts

Post by ssax »

Have you gone through these guides?

https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
https://assets.nagios.com/downloads/nag ... ntacts.pdf

Do this as well:

Please go to Admin > Manage Email Settings:
- Make sure Debug Log is checked
- Click the Update Settings button
- Take a screenshot of the settings here and send it to me

Then run this tail command (and leave it running):

Code: Select all

tail -F /var/log/maillog /usr/local/nagiosxi/tmp/phpmailer.log /usr/local/nagiosxi/var/eventman.log
Then force a notification to be sent (one that should fire the SMS) then send me the full output of the tail command above and any errors you see on the screen.

After you've done the steps above PM me a FRESH copy of your profile, you can download it from Admin > System Profile > Download Profile.

Additionally, please include the full output of these commands:

Code: Select all

alternatives --display mta
PLEASE TEST THIS WAY:

How to submit passive results for testing:

For Hosts
------------


Go to Home > Service Status:
- Find the Service and click on it
- Click the + tab
- Click the "Submit passive check result" link
- Select the Check Result and type in some text for the Check Output
- Click the Submit button

NOTE: By default, passive_host_checks_are_soft=0 is set in your /usr/local/nagios/etc/nagios.cfg, this differs from services in that when you submit a passive host check result it immeditely goes into a HARD state (and should send a notification if configured to) instead of going into a SOFT state like services do. (notifications are only sent on HARD states).

For Services
----------------


Go to Home > Service Status:
- Find the Service and click on it
- Click the + tab
- Note these two rows:

State Type: Hard
Current Check: 1 of 4

Those columns tell the current State Type and the Current Check number. In order to generate a notification for a service you will need to submit MULTIPLE problem check results (the number that you need to submit is determined by the last number in the Current Check column, that is the max_check_attempts setting). For services, when you submit a passive check result, each result that you submit will be a SOFT state until you submit enough to hit the Max Check Attempts setting that you've defined on the service, only then will the service enter a HARD problem state which will generate the notification (just remember, notifications are only sent on HARD states).

- Click the "Submit passive check result" link
- Select the Check Result and type in some text for the Check Output
- Click the Submit button
- Submit as many as you need, right after another, until the service enters the HARD state so that a notification will be sent

NOTE: When coming from a HARD problem state (whether we are talking about hosts or services) if you submit an OK passive result it should fire off a recovery notification after a single passive result has been submitted.
Locked