The command line I listed above is the command line I used. The problem is that that particular nagios plugin doesn't return the results in a manner similar to the others.... here is what it returns....
QUERY OK: 'select count(*) from connect' returned 12161.000000 As you can see, it doesn't put a pipe '|' to define the datapoint. I got around this by creating a wrapper script which runs this command and runs it through awk to print it out in a manner that was similar to the other nagios plugins that I do have working. I had to use the wrapper script because all of the quoting needed to make awk work was messing with the way zenoss was interpreting the command-line causing none of the scripts to run for the hosts that that command applied to. Perhaps I wasn't escaping the quotes or variables correctly, but I tried a bunch of different ways to make it work and simply couldn't. Anyway, my problem is solved, but it seems that some of the nagios plugins don't behave the same way that others do. Todd ------------------------ Todd Florman -------------------- m2f -------------------- Read this topic online here: http://community.zenoss.com/forums/viewtopic.php?p=10398#10398 -------------------- m2f -------------------- _______________________________________________ zenoss-users mailing list [email protected] http://lists.zenoss.org/mailman/listinfo/zenoss-users
