[mrtg] Newbie Question

Daniel Patrick Sullivan dansullivan at gmail.com
Thu Sep 29 20:16:26 CEST 2011


HI, Everyone,

I did a little bit of research on this topic (albeit it wasn't
extensive); I wanted to know if it is possible to evaluate a command
in a mrtg configration file, similar to how the graveyard ticks are
used in bash shell scripting. Basically I have a PHP script that I use
to print an HTML menu (it uses iterative loops and conditional logic
to apply various CSS styles depending on the state of a hyperlink
(i.e. active).  I want to execute an arbitrary external PHP script
from within an mrtg file; is this possible?  If so could somebody
please send me a code snippet or syntax example of how this can be
achieved?

Thank-you,

Dan Sullivan



More information about the mrtg mailing list