Hi,
we have nagios XI version 5.4.13 VM machine ,we need to change SMS contents notification
the below is SMS send to admin we need to add contact group IT for example
before change
OK -RECOVERY : PG-APP-ser/Temperature2 State: OK Time: 02:26:07 Additional Info:OK - . Temperature is 30C
after change
OK -RECOVERY : PG-APP-ser/Temperature2 State: OK Time: 02:26:07 Additional Info:OK - . Temperature is 30C contact group is IT
Thanks
change the SMS Contents
-
bashar.abed
- Posts: 153
- Joined: Tue Oct 11, 2016 1:34 am
- Location: Ramallah West Bank Palestine
- Contact:
-
bashar.abed
- Posts: 153
- Joined: Tue Oct 11, 2016 1:34 am
- Location: Ramallah West Bank Palestine
- Contact:
Re: change the SMS Contents
and please we need to add the SMS notification
Manage Contacts
how do this
for example i added Ahmad and Mohammad as contact we need to appear them to SMS notification
Thanks
Manage Contacts
how do this
for example i added Ahmad and Mohammad as contact we need to appear them to SMS notification
Thanks
You do not have the required permissions to view the files attached to this post.
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: change the SMS Contents
Hello, @bashar.abed. In Nagios web interface go to the Configure menu, then click on Core Configurations Manager, click on the commands menu in the left column. Search for the following commands: xi_host_event_handler and xi_service_event_handler. Add the following at the end of each command:
In the notification message template on your screenshot underneath the Info line insert the follwoing line:--contactgroupname=$CONTACTGROUPNAME$
Contactgroup: %contactgroupname%
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
bashar.abed
- Posts: 153
- Joined: Tue Oct 11, 2016 1:34 am
- Location: Ramallah West Bank Palestine
- Contact:
Re: change the SMS Contents
Hi,
many thanks for your response i will check it and feedback but we need a single contact not group contact as shown graph
Thanks
many thanks for your response i will check it and feedback but we need a single contact not group contact as shown graph
Thanks
You do not have the required permissions to view the files attached to this post.
-
bashar.abed
- Posts: 153
- Joined: Tue Oct 11, 2016 1:34 am
- Location: Ramallah West Bank Palestine
- Contact:
Re: change the SMS Contents
Hi,
i added the command below and there is no effect on Nagios System what is a problem
i added the command below and there is no effect on Nagios System what is a problem
You do not have the required permissions to view the files attached to this post.
-
bashar.abed
- Posts: 153
- Joined: Tue Oct 11, 2016 1:34 am
- Location: Ramallah West Bank Palestine
- Contact:
Re: change the SMS Contents
i think in this commands right or not
xi_host_notification_handler
i applied the command the same no effect
xi_host_notification_handler
i applied the command the same no effect
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: change the SMS Contents
@bashar.abed, Looks like you haven't added the macro to the actual message:
If you just want to include the contact's name instead of the contactgrpoups name change:
to--contactgroupname=$CONTACTGROUPNAME$
And--contactname=$CONTACTNAME$
toContactgroup: %contactgroupname%
Contact: %contactname%
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.
-
bashar.abed
- Posts: 153
- Joined: Tue Oct 11, 2016 1:34 am
- Location: Ramallah West Bank Palestine
- Contact:
Re: change the SMS Contents
Hi,
many thanks
many thanks
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: change the SMS Contents
@bashar.abed, You're welcome. Are we good to close this thread as resolved?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.