I have the similar kind of problem. I create a small script to check the SGE 
queue.

/home/sysadm/zenoss_plugins/new_testnet_test.py opt

This script generates the following output

SGE OK;|used=7 available=31 unavailable=24

Here is the procedure that how I integrate this plugin with Zenoss.

I select the server from the device list.

Click on the drop down menu on the top left side of the window

Select More > Templates

I get the device template with the following definition path

Device           /Devices/Server/Cmd

I select this device template and add the data sources with following values.

Name : SGE
Source Type : COMMAND
Enabled : True
Use SSH : True
Component:
Event Class: /Status/Perf
Event Key:
Severity:Warning
Cycle Time: 300
Command Template: /home/sysadm/zenoss_plugins/new_testnet_test.py rave


I click the Test button to test against Device and get the following output


SGE OK;|used=7 available=31 unavailable=24
DONE in 0 seconds


I add three dataPoints 

1. available/Guage
2. unavailable/Guage
3. used/Guage

I go back to Template and Create a graph with the name of SGE Status and add 
all three dataPoints in that graph

I waited for 2 hours but I am not able to see any data in the graph, I can just 
see a empty graph.

I am not able to find the Zendcommand tool. As it is written at the end  of 
this link  :( 

www.zenoss.com/community/docs/howtos/create-modify-nagios-templates/



I restart the Zenoss service but still I have the same problem empty graphs.




-------------------- m2f --------------------

Read this topic online here:
http://forums.zenoss.com/viewtopic.php?p=27464#27464

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to