I want to monitor our iSeries. I installed the nagios plugin check_iseries.
It seams to work. But the Graph witch i created doesent show anyting.
if i use it form the command line of our zenoss server it works:
[EMAIL PROTECTED]:/usr/local/zenoss$ /home/zenoss/check/check_iseries.php
-host=192.168.xx.xx -port=23 -map=/home/zenoss/check/os400_v5r1_ger -user=xxxx
-pass=xxxxxx -get=CPU_USAGE -zabbix
73.3
But if i test it with the zentestcommand:
zentestcommand -d 192.168.xx.xx --datasource=CPU
73.3
Command timed out
It seams to work here but always on the end i see "Command timed out" ??
if i run zencommand i get this:
zencommand run -d 192.168.xx.xx -v10
DEBUG:zen.zencommand:run
DEBUG:zen.zencommand:Connecting to localhost
DEBUG:zen.zencommand:Logging in as admin
WARNING:zen.zencommand:Reconnected to ZenHub
DEBUG:zen.zencommand:setting up services EventService, CommandConfig
DEBUG:zen.zencommand:chaining getInitialServices with d2
DEBUG:zen.zencommand:callback after getting service EventService
DEBUG:zen.zencommand:callback after getting service CommandConfig
DEBUG:zen.zencommand:Calling connected.
DEBUG:zen.zencommand:connected
DEBUG:zen.zencommand:Sending event {'severity': 0, 'component': 'zencommand',
'agent': 'zencommand', 'summary': 'started', 'manager': 'localhost', 'device':
'ESSVZE01.bbd.lan', 'eventClass': '/App/Start'}
DEBUG:zen.zencommand:Fetching config
DEBUG:zen.zencommand:Updated configCycleInterval config to 360
DEBUG:zen.zencommand:Loading classes ['Products.ZenModel.MinMaxThreshold']
DEBUG:zen.thresholds:Updating threshold ('zeneventlog cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenmodeler cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenperfsnmp cycle time',
('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenping cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenprocess cycle time', ('localhost',
''))
DEBUG:zen.thresholds:Updating threshold ('zenwin cycle time', ('localhost', ''))
DEBUG:zen.thresholds:Updating threshold ('zenwinmodeler cycle time',
('localhost', ''))
INFO:zen.zencommand:---------- - schedule has 1 commands
DEBUG:zen.zencommand:running '/home/zenoss/check/check_iseries.php
-host=192.168.xx.xx -port=23 -map=/home/zenoss/check/os400_v5r1_ger -user=xxx
-pass=xxxx -get=CPU_USAGE -zabbix\n'
DEBUG:zen.zencommand:cmd line: '/bin/sh -c exec
/home/zenoss/check/check_iseries.php -host=192.168.xx.xx -port=23
-map=/home/zenoss/check/os400_v5r1_ger -user=xxx -pass=xxxxx -get=CPU_USAGE
-zabbix\n'
DEBUG:zen.zencommand:Process check_iseries.php -host=192.168.xx.xx -port=23
-map=/home/zenoss/check/os400_v5r1_ger -user=xxx -pass=x -get=CPU_USAGE -zabbix
started
DEBUG:zen.zencommand:Finished config fetch
INFO:zen.zencommand:---------- - schedule has 1 commands
DEBUG:zen.zencommand:Next command in 59.988500 seconds
DEBUG:zen.zencommand:Received exit code: 0
DEBUG:zen.zencommand:Command: '/bin/sh -c exec
/home/zenoss/check/check_iseries.php -host=192.168.xx.xx -port=23
-map=/home/zenoss/check/os400_v5r1_ger -user=xxx -pass=xxxx -get=CPU_USAGE
-zabbix\n'
DEBUG:zen.zencommand:Output: '11.9\n'
DEBUG:zen.zencommand:Process check_iseries.php -host=192.168.xx.xx -port=23
-map=/home/zenoss/check/os400_v5r1_ger -user=xxx -pass=xxxx -get=CPU_USAGE
-zabbix
stopped (0), 1.387884 elapsed
DEBUG:zen.zencommand:The result of "/home/zenoss/check/check_iseries.php
-host=192.168.xx.xx -port=23 -map=/home/zenoss/check/os400_v5r1_ger -user=xxx
-pass=xxxx -get=CPU_USAGE -zabbix
" was "11.9"
INFO:zen.zencommand:---------- - schedule has 1 commands
INFO:zen.zencommand:Daemon zencommand shutting down
DEBUG:zen.zencommand:removing service EventService
DEBUG:zen.zencommand:removing service CommandConfig
INFO:zen.zencommand:zencommand shutting down
-------------------- m2f --------------------
Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=17958#17958
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users