Nagios macros

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Renjith
Posts: 1
Joined: Tue May 13, 2014 2:22 am

Nagios macros

Post by Renjith »

Can i access the nagios macros in a perl script ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Nagios macros

Post by abrist »

In what way? If you run the script as a check, event handler, or notification handler, than yes, it will have access to the relevant nagios macros. See:
http://nagios.sourceforge.net/docs/3_0/macrolist.html
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.
Locked