SMS notifications not sending.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

SMS notifications not sending.

Post by epx998 »

Hi All,

I am trying to get NagiosXI sending out SMS notifications to mobile phones and they are not sending out. I have tried [email protected] on the pager field and additional email address field. Is there anything I would need to change in the notification commands?

Gavin
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SMS notifications not sending.

Post by scottwilkerson »

I'm not sure what field you are using that is labeled Pager field. Our Mobile text, you enter the number and select the provider. If you need to add providers you can do so under
Admin -> Manage Mobile Carriers
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Re: SMS notifications not sending.

Post by epx998 »

In the contact settings, there is a field called "Pager Number". Should a cell number such as, [email protected] be entered there, or in the 'Addon address 1' field? Do I need to add $CONTACTADDRESSx$ to the notification line if I do use the additional address. If so, where would I add it? Seems I do need to add in the variable, but I am not exactly sure what the correct syntax would be, do I just add it to the end?

/usr/bin/printf "%b" "***** NagiosXI Alert *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$

Cheers
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SMS notifications not sending.

Post by scottwilkerson »

Is this an XI user or just a core contact?

What is set as the Host command?
What is set as the Service command?


If it is an XI user you shouldn't need to mess with this at all, the phone number can be set in the users Notification Methods of the XI interface.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
epx998
Posts: 31
Joined: Mon Nov 21, 2011 3:51 pm

Re: SMS notifications not sending.

Post by epx998 »

As I mentioned, its NagiosXI. I was able to work around the issue, but it exposes some serious flaws in the design of NagiosXI.

When you edit contacts, there are options for additional notification emails. However, the commands don't even read them. You have to edit the commands to include the variables for the other fields, but the ? button never even mentions that.

When you view the control panel as a user, you can enable/disable SMS notifications. You cannot do this as an admin, editing contacts or users. You have to masquerade as a user and add in SMS through their CP.

When in 'Contact Groups' and you add a contact to a contact group, it is not reflected in that users 'Contacts' info. You click on groups and it is empty. <-- This happens with hosts groups, service groups etc..

Another thing I noticed, when creating service templates, or any templates, you cannot search critera to get to a template faster. If you have 100 service templates, you have to click next over and over hoping you notice the template.

Ok, this is more a rant reply, just a bit disappointed with what I am seeing. Doesn't look like QA did its job here.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: SMS notifications not sending.

Post by scottwilkerson »

All of your point are well taken. As a matter of fact development had begun on revamping the UI in the CCM. It is beta, but you can actually download it as a component and run in along side of the current CCM.

There are still bugs and anomalies being worked out and improved, but I think the new one will address most if not all of your concerns.

http://support.nagios.com/forum/viewtop ... ccm#p23071
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked