Cannot receive SMS alert when host/service critical

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Cannot receive SMS alert when host/service critical

Post by dimsum »

Hi,

As we cannot don't receive the sms alert when host/service down automatically but email still working well, we use SMS Eagle as the gateway with scrip command send. we have tested manually from shell console sms working well but just wonder why it does not work to the host/service notification.

Please see the notification report via the attachment which not see the custom but only Nagios XI in the dispatcher
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot receive SMS alert when host/service critical

Post by benjaminsmith »

Hi,

Just want to confirm that you added this new command to the appropriate contacts in the Core Configuration Manager.
sms-notifcation-commands.png
This process is covered in the guide below, although, it's not the same command/setup.

Configuring Core Contacts to Use Nagios XI PHPMailer SMTP Settings

Try testing by sending a custom notification. From the Status page, find the service then click on the Advanced Tab.

Let me know if you further questions.

Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
dimsum
Posts: 153
Joined: Thu Aug 15, 2013 6:05 pm

Re: Cannot receive SMS alert when host/service critical

Post by dimsum »

Hi Benjamin,

Confirmed all the same compare to the another Nagios server. we set all as mirror.

Before it's working but we just observed that not work for a while.

The command already set in the contact management you can see via attachment

Regards,
You do not have the required permissions to view the files attached to this post.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Cannot receive SMS alert when host/service critical

Post by benjaminsmith »

Hi,

Perfect, that looks correct. Let's get a test notification sent while we capture some log data. First, find the select a host that has this contact assigned with the SMS handler, and we'll force notification and trace this back in the logs.

First run the following tail command:

Code: Select all

tail -F /var/log/maillog /usr/local/nagiosxi/tmp/phpmailer.log /usr/local/nagiosxi/var/eventman.log /usr/local/nagios/var/nagios.log
Then go to Home > Details > Host Status, find/search for the host, click on the host link and select the Advanced Tab. From the Commands menu submit passive check results (down) until the host goes into HARD Down state. This will trigger a notification.
passive-checks.png
Copy the full output from the tail command to the thread and PM a current system profile. Also, let me know the exact name of the host and contact, and I can find the configurations.

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 in a private message or upload it to the post/ticket, and then reply to this post to bring it up in the queue.

Thanks,
Benjamin
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked