O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

D.4 Macro Contents: Not Everything Is Allowed

A number of macros contain values that were not defined within the Nagios configuration or defined by Nagios itself, but which originate from external programs. These include macros that record the plugin output ($HOSTOUTPUT$, $LONGHOSTOUTPUT$, $HOSTPERFDATA$), and the corresponding macros for services. Via the Web interface, the administrator can pass on values to Nagios through acknowledgments, which can be read out from the macros $HOSTACKAUTHOR$, $HOSTACKCOMMENT$, and the equivalent service macros.

To guard against the possibility that these macros might contain damaging code, which might trigger a buffer overflow or enable other mischievous things, Nagios removes "dangerous" lines. What these are ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required