I think your problem is you're using MYVALUE where you should be using 
abc in the Zenoss UI / config.

Your Datapoint should be named abc
Your Graphpoint would be Access_to_server_abc ...
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University



psonenberk wrote, On 1/19/2009 9:12 AM:
> Hello all,
> I want to create a graph with some values (for example "Access_to_server").
> The values for graph returns a script, its configuration is below.
> Script returns right value but graph ("Access to server") is empty.
> It seems there is some problem between items, with theirs connection
> or declaration.
> Would somebody tell me there is configuration mistake?
> Thank you very much for your help.
> Have a nice day.
> 
> 
> There is script in the server and that script returns this string:
> MYVALUE OK|abc=23
> (Between "OK" and  "abc" is "|". )
> 
> Zenoss has these configurations:
> /Device/Server/Linux/beta/Templates/Number_of_access/Access_to_server
> 
> Data Sources
> ------------
> Name                 Access_to_server
> Source Type          COMMAND
> Enabled              True
> Use SSH              False
> Component            Event CLass          /cmd/OK
> Event key            Server Access
> Security             Warning
> Cycle Time           120
> Command Template     /usr/local/zenoss/common/libexec/access.sh
> 
> Test Against Device is OK!!!
> 
> The script "access.sh" returns (last raw):
> /bin/echo "MYVALUE OK|abc="$num
> (Between "OK" and  "abc" is "|". )
> 
> [Owner of the "access.sh" is zenoss.zenoss]
> 
> Data Points
> -----------
> Name                 MYVALUE
> Type                 GAUGE
> RRD Min              0
> RRD Max              50
> Create cmd
> 
> 
> Graph Points
> ------------
> Seq    Name              Type                 Description
> 0      MYVALUE           DataPoint            Access_to_server
> 
> Name                 Number_of_access
> Height               100
> Width                500
> Units                quantity
> Logarithmic Scale    False
> Base 1024            False
> Min Y                0
> Max Y                50
> Has Summary          True
> 
> 
> There are these items on the screen "Performance Template":
> 
> Name                 Number_of_access
> Sescription          Number of access to server
> 
>   Data Sources
> Name                 Source
> Access_to_server     /usr/local/zenoss/common/libexec/access.sh
> 
>   Thresholds
> 
>   Graph Definitions
> Name                 Graph Points            Units    Height  Width
> Access_to_server     MYVALUE                 quantity 100     500
> 
> 
> 
> 
> -------------------- m2f --------------------
> 
> Read this topic online here:
> http://forums.zenoss.com/viewtopic.php?p=30239#30239
> 
> -------------------- 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

Reply via email to