Hm. I can't get it to work either.
At this point I've loaded MRTGEXT.NLM on the NetWare server, I've copied the
check_nwstat file to /usr/local/zenoss/Products/NetWareDeviceTemplate/libexec.
Then I created a devices class under /Devices/Server/NetWare. In the Templates
tab, under Device, I created a Data Source called Load1Int. I've created it as
a COMMAND with the following parameters:
Name Load1Int
Source Type COMMAND
Enabled True
Use SSH False
Component cpuUtilization
Event Class /Cmd
Event Key CPU Load 1 Minute
Severity Warning
Cycle Time 60
Under Command Template I indicated:
/usr/local/zenoss/Products/NetwareDeviceTemplate/libexec/check_nwstat -H
"${dev/manageIp}" -v LOAD1
Under the DataPoints section I added an entry called Load1Int, Type = GAUGE,
and the Create Cmd being the same entry as the Command Template indicated above.
Back in the /Devices/Server/NetWare/Templates/Device screen, I added a Graph
Definitions entry; I called it CPU Utilization. Under Graph Points I added my
Load1Int data source.
If I run the command from a console window (check_nwstat -H "192.168.75.1" -v
LOAD1), it DOES work and returns a value for the intended statistic.
However (there HAD to be a "however", right?), when I add a NetWare server, I
quickly get an event with the following error:
Cmd: /usr/local/zenoss/Products/NetwareDeviceTemplate/libexec/check_nwstat -H
"192.168.75.1" -v LOAD1 - Code: 126 - Msg: Command invoked cannot execute,
permissions problem or command is not an executable
I feel like I'm close to getting it, but I'm just missing one little thing!
Jacques
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=15177#15177
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users