Hello all,
I'm looking for a way to get the actual value of a contact attribute (pager number) using "external command".
But i'm unable to understand the documentation even if it seems to be possible...could someone help me ?
URL i found about it : http://old.nagios.org/developerinfo/ext ... ndlist.php
I forgot to tell that my main goal is to be able to modify that value...
Thanks a lot
Florent
Modify or get contact pager number using external command ?
Re: Modify or get contact pager number using external comman
The pager directive is not accessible through the external command pipe. You would have to create a script that changes the the pager line in the contact config.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Modify or get contact pager number using external comman
The only way to do this in Core is to modify the contact configuration object and restart nagios