Hi,
I've read the relevant docs again and checked and rechecked for hours. Not sure what I keep missing.
I've created a new user, and a new notification template.
Test mails from Nagios work fine.
Email notifications for another user/contact work fine.
The contact is added to the host and service templates, and enabled notifications.
The user/contact is vzw.net.cdsp-sms.
I've attached all the .cfg files from .../etc
Can you point me in the right direction?
Yet another notification email problem
Yet another notification email problem
You do not have the required permissions to view the files attached to this post.
Last edited by gormank on Thu Oct 29, 2015 12:55 pm, edited 1 time in total.
Re: Yet another notification email problem
Please post your /usr/local/nagios/var/objects.cache file as it has all of the same information as the configs but they are "compiled" down into single definitions so we can see the end results of all the templates.
Former Nagios employee
Re: Yet another notification email problem
Attached.
It might help if attachments didn't need particular extensions...
It might help if attachments didn't need particular extensions...
You do not have the required permissions to view the files attached to this post.
Re: Yet another notification email problem
Only seeing three contacts in the objects.cache: aivector, nagiosadmin, and xi_default_contact. It almost looks like Nagios did not restart. If you run service nagios restart from the command line, can you grep for "vzw.net.cdsp-sms" in objects.cache?
Former Nagios employee
Re: Yet another notification email problem
# service nagios restart
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
Stopping snmptt: [ OK ]
Starting snmptt: [ OK ]
# grep vzw /usr/local/nagios/var/objects.cache
#
The working contact isn't in there either. In fact, lots of stuff isn't in there. For example, I see 8 services. There are >100 services.
The timestamp on that file is from a few days after the system was created...
# ll /usr/local/nagios/var/objects.cache
-rw-r--r--. 1 nagios nagios 29398 Mar 6 2015 /usr/local/nagios/var/objects.cache
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
Stopping snmptt: [ OK ]
Starting snmptt: [ OK ]
# grep vzw /usr/local/nagios/var/objects.cache
#
The working contact isn't in there either. In fact, lots of stuff isn't in there. For example, I see 8 services. There are >100 services.
The timestamp on that file is from a few days after the system was created...
# ll /usr/local/nagios/var/objects.cache
-rw-r--r--. 1 nagios nagios 29398 Mar 6 2015 /usr/local/nagios/var/objects.cache
Re: Yet another notification email problem
Ahh, do you have a RAM disk in place? If so that file might be in your ramdisk (I don't know where that would be on your system).
Former Nagios employee
Re: Yet another notification email problem
That one's a bit bigger...
Before anyone asks, there's nothing for this user in the maillog other than the test mails sent by the system.
Sending mail from a service under the advanced tab also doesn't work.
I went through the FAQ w/o any change as well.
Before anyone asks, there's nothing for this user in the maillog other than the test mails sent by the system.
Sending mail from a service under the advanced tab also doesn't work.
I went through the FAQ w/o any change as well.
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Yet another notification email problem
Am I right in assuming that vzw.net.cdsp-sms is an SMS contact?gormank wrote:Test mails from Nagios work fine.
Email notifications for another user/contact work fine.
Have you configured the User to allow SMS notifications?
Click the Users name in the top right corner
Under Notification Preferences there is Enable Notifications and enabling Mobile notifications.
Under Notification Methods there is a Mobile Text tab where you can enable notifications
When you go to a service that this contact should receive alerts for, if you send a custom notification from the Advanced tab does the contact receive it?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Yet another notification email problem
Emailing via the advanced tab didn't work.
The address is an email group.
We were working last night and started getting alerts via that address like mad.
My clocks are set to UTC and I had the timeperiods wrong.
I just changed them and reenabled. Give me few to see what it does...
The address is an email group.
We were working last night and started getting alerts via that address like mad.
My clocks are set to UTC and I had the timeperiods wrong.
I just changed them and reenabled. Give me few to see what it does...
Re: Yet another notification email problem
Thanks for reporting back here. Let us know how it goes for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!