I am trying to figure out the best way to update phone number information of each of my contacts.
the old way of doing it is by log in as the user and update the phone number that way, is there a best way to do it. I feel this information should be available on the contact instead of a user. Not only that is not conveniente, but you need to have a user to setup phone number. Sometimes you dont want to create a user just the contact
Question - Contact and Users
Question - Contact and Users
Last edited by dwhitfield on Mon Oct 10, 2016 1:42 pm, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
Re: Question - Contact and Users
Traditionally, there hasn't been a "specific" directive for a phone number for contacts in Nagios Core. There is a "pager" directive instead. Having said that, you could add phone numbers to the "addressx" field. For more information on the topic, please review the Nagios Core documentation here:
https://assets.nagios.com/downloads/nag ... ml#contact
You could add these phone numbers under the CCM too (in Nagios XI) - CCM->Contacts-><your contact>->Common Settings->Addon Address x.
As for users, you could masquerade as each user, and add a phone number this way.
Let us know if you have any more questions.
https://assets.nagios.com/downloads/nag ... ml#contact
You could add these phone numbers under the CCM too (in Nagios XI) - CCM->Contacts-><your contact>->Common Settings->Addon Address x.
As for users, you could masquerade as each user, and add a phone number this way.
Let us know if you have any more questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Question - Contact and Users
Right, I was aware about that...I was just hoping that maybe there was a more convenient way to do it.
for alerthing purposes, Nagios seems to be using the phone number defined in the Users instead of the contact Addon Address X. if I decide to add the number in the contact, where do I need to make the switch so Nagio used that field instead
for alerthing purposes, Nagios seems to be using the phone number defined in the Users instead of the contact Addon Address X. if I decide to add the number in the contact, where do I need to make the switch so Nagio used that field instead
Re: Question - Contact and Users
There isn't a way to change this, as you'd be using the XI SMS notification handlers which are specific to the user settings.
If you'd want to have your system respect SMS through contacts, follow the instructions @lmiltchev posted.
If you'd want to have your system respect SMS through contacts, follow the instructions @lmiltchev posted.
Former Nagios Employee
Re: Question - Contact and Users
Thanks. I will probably make that change
thanks again, close the ticket
thanks again, close the ticket
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Question - Contact and Users
Glad to hear it is resolved. I am going to lock the thread. Please feel free to post again if you have you another issue. Thank you for using the Nagios forums!