We noticed that when a service fails (critical or warning) we get an sms + email notification but not when recover (ok) only receive email notification.
define service {
host_name srvDDD
service_description Disco O
use generic-service
check_command check_nrpe_disk!o!95!98
notification_period workhours_srvDDD
register 1
}
Hello, @morabanc. What are you using to send out SMS messages? A built-in sms script or a physical device? Can you click on the XI username at the top right corner, then click on the Notifications Preferences in the left column and make sure that Host Recovery SMS notification box is checked and Service Recovery SMS notification box is checked as well.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
echo "Service Alert: $HOSTNAME$/$SERVICEDESC$. Service State: $SERVICESTATE$. Date/Time: $LONGDATETIME$. Desc: $SERVICEOUTPUT$" | gammu-smsd-inject TEXT $CONTACTPAGER$
At nagios we only have "nagiosadmin" user, then at contacts we have all people that may receive sms.
I check Nagiosadmin preferences and all check box ara marked.
Let me know if you need some additional information.
@morabanc, I see that you have two service escalations. The first one is using the SMS contact "David" but the second escalation is using two contact groups. If your SMS contacts are not a part of those contact groups in the second escalation, they will not receive SMS notifications either. Can you try assigning the contact David to the second escalation?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.