Hello
I've spent a couple of hours today trying to get a simply perl script to work through Solarwinds APM. Could someone please give me some pointers as to how the various settings should be setup perhaps? What I'm trying to achieve is to monitor the total number of print jobs in the CUPS queues. I've set the the various fields to:
Command Line: ${Script} /usr/local/bin/lpstat.pl
Script Working Directory: /tmp
Script Body: print "Statistic: ";
system("lpstat -o | wc -l")
The Script Body contains the same as the script within /usr/local/bin.
Also, I've seen on thwack that APM v2 SP2 states:
Linux/Unix Script Monitor does not work correctly for some distributions.
Does anyone know what distributions are working and which aren't?
Thanks