|
|
 |
« Reply #1 on: February 26, 2011, 10:44:50 AM » |
|
I figured it out. Here's steps to reproduce for other people.
First, the bet way to check pandora is actually running your plugin, is to make the path to it invalid in manage servers->setup plugins. Change the path to an invalid file name, and watch /var/spool/pandora/pandora_server.error - this will give an error every time Pandora attempts to run the plugin. When you've confirmed it's attempting it, change the path back to good again, and the errors should stop. If it doesn't stop, then fix whatever the error log says.
One more note - all plugin modules (in 'manage modules->network components') should be configured as GENERIC STRING, even if the value returned is numeric. The min/max/warn/crit values will still work as php is typeless, but for some reason if you choose generic_numeric it doesn't work.
Finally, the tutorial completely skips the step where you have to configure a 'network component' for the plugin, it jumps straight from the manage plugins section, to adding a module to an agent, which didn't work for me, i had to create a 'network component' for it before I could add to an agent.
|