Question - Contact and Users

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Question - Contact and Users

Post by bosecorp »

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
Last edited by dwhitfield on Mon Oct 10, 2016 1:42 pm, edited 1 time in total.
Reason: marking with green check mark
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Question - Contact and Users

Post by lmiltchev »

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Question - Contact and Users

Post by bosecorp »

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
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Question - Contact and Users

Post by rkennedy »

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.
Former Nagios Employee
bosecorp
Posts: 929
Joined: Thu Jun 26, 2014 1:00 pm

Re: Question - Contact and Users

Post by bosecorp »

Thanks. I will probably make that change

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

Post by dwhitfield »

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!
Locked