Page 1 of 1

Use 'Mobile Phone Number' in custom commands

Posted: Fri Mar 21, 2014 3:33 am
by uglystory
Hello,

Nagios XI Version 2012R2.9.
CentOS release 6.5 (Final) 2.6.32-358.2.1.el6.x86_64 x86_64.
Gnome is not installed.

Is it possible to use 'Mobile Phone Number' (Configure->My Account Settings->Notifications Methods->Mobile Text) in custom commands?
If it is, what macro or variable name should be used?

Regards,
Tamar

Re: Use 'Mobile Phone Number' in custom commands

Posted: Fri Mar 21, 2014 2:05 pm
by slansing
I'm not quite sure what you mean by this, if you are trying to set up Text notifications, that is the correct page to do so via user notifications. Are you asking if you can some how hook a defined number added via that page to a general Nagios command?

Re: Use 'Mobile Phone Number' in custom commands

Posted: Sun Mar 23, 2014 7:37 am
by uglystory
Yes, exactly.
Instead of Pager Number in Nagios Core, I would like to use this field with my custom commands.

Re: Use 'Mobile Phone Number' in custom commands

Posted: Mon Mar 24, 2014 12:40 pm
by scottwilkerson
This is not possible as this is not set as a macro, this field is an XI only feature. You would need to set one of the contact pager macros in the CCM

Re: Use 'Mobile Phone Number' in custom commands

Posted: Thu Mar 27, 2014 7:28 am
by uglystory
Ok, thanks!

Re: Use 'Mobile Phone Number' in custom commands

Posted: Thu Mar 27, 2014 9:12 am
by tmcdonald
Can we close this thread up?

Re: Use 'Mobile Phone Number' in custom commands

Posted: Thu Mar 27, 2014 12:22 pm
by uglystory
Yes, you can.
I will check developer tools on my own.

Regards,
Tamar