Sure.
I'm trying to monitor how many pages were printed over a 5 minute period
and plot that as a sort of bar graph. I can get total pages printed via
SNMP, and my script just does that, checks that against a file with the
previous count, does the math, updates the file with the count, and
returns the total pages printed since the last check.
It's currently not at all exciting nor portable as I'm not sure that the
OID isn't specific to the Xerox printer I'm testing it on, and I have
the template bound there.
One thing that just occurred to me, right now I've just hard coded
values in the script, I'm not passing the device via Zenoss - could this
be the issue? But if it was, why would running the zencommand manually work?
Eventually I might use command line to pass device IP ...
The script is located in:
/home/zenoss/printtest
and is executable ...
Not sure what else to say.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
russuhte wrote:
James,
Can you give us a little more info on the zencommand you are trying to run?
I've seen odd things happen when attempting to run a script that wasn't
physically located in the $ZENHOME directory (or a sub-directory of) and I've
see odd things when using any type of variable that Zenoss wasn't explicitly
aware of...
Just a thought...
Thanks,
Russ
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=19818#19818
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users