Issues with sending notifications
Re: Issues with sending notifications
Please send a fresh copy of your profile, is the contact's name exacly sms or another name?
Please show the warning notification in Home > Notifications with all the info so that we can see that as well.
Please show the warning notification in Home > Notifications with all the info so that we can see that as well.
-
nagiosEngie
- Posts: 104
- Joined: Thu May 03, 2018 7:57 am
Re: Issues with sending notifications
Hello Ssax,
I will PM you the profile file.
The name of the contact is sms (all undercase) as you can see in the image attached.
SAndro
I will PM you the profile file.
The name of the contact is sms (all undercase) as you can see in the image attached.
SAndro
You do not have the required permissions to view the files attached to this post.
Re: Issues with sending notifications
The profile was not attached to the PM, please send it again and make sure to click the "Add the file" button after browsing and selecting the file.
-
nagiosEngie
- Posts: 104
- Joined: Thu May 03, 2018 7:57 am
Re: Issues with sending notifications
Hi have you recived the updated profile?
Sandro
Sandro
Re: Issues with sending notifications
Received, reviewing now.
Re: Issues with sending notifications
So your configuration looks proper but the data in /usr/local/nagios/var/objects.cache for the sms contact differ from what your configuration shows:
Try this, please go to Configure > Core Config Manager > Tools > Config File Management:
- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Then once that's done, apply configuration and send me an updated version of your profile.
Additionally, what is the output of this command:
Code: Select all
define contact {
contact_name sms
alias sms
service_notification_period sms_notification_times
host_notification_period sms_notification_times
service_notification_options r,w,u,c
host_notification_options r,d,u- Click the Delete Files button (don't worry, it's safe, they will be rewritten)
- Then click the Write Configs button
- Then once that's done, apply configuration and send me an updated version of your profile.
Additionally, what is the output of this command:
Code: Select all
ls -l /usr/local/nagios/var/objects.cache-
nagiosEngie
- Posts: 104
- Joined: Thu May 03, 2018 7:57 am
Re: Issues with sending notifications
Hello ssax,
command output is:
-rw-r--r--. 1 nagios nagios 3008567 Sep 5 10:00 /usr/local/nagios/var/objects.c
Sent a PM with profile.
After delete and write the cash file still presents warnings and unknown in service notifications.
Thanks
Sandro
command output is:
-rw-r--r--. 1 nagios nagios 3008567 Sep 5 10:00 /usr/local/nagios/var/objects.c
Sent a PM with profile.
After delete and write the cash file still presents warnings and unknown in service notifications.
Code: Select all
define contact {
contact_name sms
alias sms
service_notification_period sms_notification_times
host_notification_period sms_notification_times
service_notification_options r,w,u,c
host_notification_options r,d,u
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
}
Sandro
Re: Issues with sending notifications
Please create a ticket so that we can get a remote session scheduled, your configs are proper but your objects.cache is still wrong.
Let's try this before you create the ticket. If you stop nagios:
Does /usr/local/nagios/var/objects.cache get removed once nagios is stopped? It should. If it doesn't, please manually remove it and then start nagios up again:
Let's try this before you create the ticket. If you stop nagios:
Code: Select all
service nagios stopCode: Select all
service nagios start-
nagiosEngie
- Posts: 104
- Joined: Thu May 03, 2018 7:57 am
Re: Issues with sending notifications
Hello,
After deleting the file and restarting Nagios the situation did not change
The UNKNOWN option remains
Sandro
After deleting the file and restarting Nagios the situation did not change
Code: Select all
define contact {
contact_name sms
alias sms
service_notification_period sms_notification_times
host_notification_period sms_notification_times
service_notification_options [color=#FF0000] r,w,u,c[/color]
host_notification_options [color=#FF0000]r,d,u[/color]
service_notification_commands notify-service-by-email
host_notification_commands notify-host-by-email
email [email protected]
address1 [email protected]
minimum_importance 0
host_notifications_enabled 1
Sandro
Re: Issues with sending notifications
Very strange, please create a ticket so that we can setup a remote session:
https://support.nagios.com/tickets
Thank you
https://support.nagios.com/tickets
Thank you