Mark,
Open a terminal on the box and su to the user that runs zenoss. Then
run these commands:
$ cd ${ZENHOME}/bin
$ ./zenperfsnmp run -v 10 -d router.intranet.com
Examine the output. There may be errors that occur. You *should* see a
line that says something like "writing the value 'xxx' to the rrd file: ..."
PS -
It should be noted that sysUpTime is a very boring statistic and there
aren't any graphs we generate for it. If you would like to create some
interesting graphs you'll need to run: "snmpwalk -c public -v 1
router.intranet.com .1" and then write down some OID values. Then you
can create a new template that contains those OID values.
-c
Mark Nassy wrote:
On Jan 6, 2007, at 6:38 AM, Mark Nassy wrote:
i found some additional information in the logs. see below for details.
i installed zenoss on mac os x. mysql installed in /opt using macport
[1]. i manually added a few devices that are monitored via SNMP and
are using the default (settings) template.
i have a history in zenoss of a few events (for a printer that was
turned off and then turned back on) for one of the devices and zenoss
shows when the device was turned off and back on in its history. i
also received an email indicating that the printer was unavailable
and another one when it was available.
however, i have two problems:
1, i don't see anything in the events tab. it says 1 of 0 being
displayed (thats what it said before i set up any devices to
monitor). is that because the device automatically recovered? i am
not in the office to test what happens when i turn the printer off
and leave it off.
2, when i look at perf the graph for the device nothing is not
displayed because the icon doesn't load. i suspect this may be
because there is no data to load, or that the software to display the
icon is not being found by zenoss.
it looks like no data is being saved to the perf folder as it is empty
when the web sites goes to look for the info it has nothing to load.
suspect RRD is not working as it should. Any ideas how i may fix.
~/perf zenoss$ ls -al
total 0
drwxrwxrwx 2 zenoss wheel 68 Jan 5 23:48 .
drwxr-xr-x 23 zenoss wheel 782 Jan 5 23:48 ..
$ hostname
macserver1.intranet.com
~/log zenoss$ cat event.log
------
2007-01-05T05:54:08 INFO ZServer HTTP server started at Fri Jan 5
05:54:08 2007
Hostname: 0.0.0.0
Port: 8080
------
2007-01-05T05:54:10 WARNING OFS.Application Duplicate Product name
After loading Product 'Five' from '/usr/local/zenoss/Products',
I skipped the one in '/usr/local/zenoss/lib/python/Products'.
...
2007-01-06T00:13:16 ERROR RenderServer failed generating summary
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenRRD/RenderServer.py", line 145,
in currentValues
return map(value, paths)
File "/usr/local/zenoss/Products/ZenRRD/RenderServer.py", line 133,
in value
info = rrdtool.info(p)
error: opening
'/usr/local/zenoss/perf/Devices/router.intranet.com/sysUpTime_sysUpTime.rrd':
No such file or directory
------
2007-01-06T00:13:16 ERROR zen.RRDView Unable to cache value for
sysUpTime_sysUpTime
------
2007-01-06T00:20:58 ERROR RenderServer failed generating summary
Traceback (most recent call last):
File "/usr/local/zenoss/Products/ZenRRD/RenderServer.py", line 145,
in currentValues
return map(value, paths)
File "/usr/local/zenoss/Products/ZenRRD/RenderServer.py", line 133,
in value
info = rrdtool.info(p)
error: opening
'/usr/local/zenoss/perf/Devices/router.intranet.com/sysUpTime_sysUpTime.rrd':
No such file or directory
------
...
------
2007-01-06T00:29:06 WARNING RenderServer
/tmp/renderserver/graph-ac31205360ab2abe0246e0302b47397d129600.png
--start=1167931446 --end=1168061046 --imgformat=PNG -F -E --height=100
--width=500 --vertical-label=Pkts/sec
DEF:ds0=/usr/local/zenoss/perf/Devices/router.intranet.com/os/interfaces/FastEthernet0/ifInUcastPackets_ifInUcastPackets.rrd:ds0:AVERAGE
AREA:ds0#00cc00:ifInUcastPackets GPRINT:ds0:LAST:cur\:%0.2lf%s
GPRINT:ds0:AVERAGE:avg\:%0.2lf%s GPRINT:ds0:MAX:max\:%0.2lf%s\j
DEF:ds1=/usr/local/zenoss/perf/Devices/router.intranet.com/os/interfaces/FastEthernet0/ifOutUcastPackets_ifOutUcastPackets.rrd:ds0:AVERAGE
LINE1:ds1#0000ff:ifOutUcastPackets GPRINT:ds1:LAST:cur\:%0.2lf%s
GPRINT:ds1:AVERAGE:avg\:%0.2lf%s GPRINT:ds1:MAX:max\:%0.2lf%s\j
------
$ zenoss status
Daemon: zeoctl program running; pid=27555
Daemon: zopectl program running; pid=28070
Daemon: zenxevent program running; pid=26466
Daemon: zenmodeler program running; pid=26479
Daemon: zenperfsnmp program running; pid=26507
Daemon: zenperfxmlrpc program running; pid=26517
Daemon: zenprocess program running; pid=26529
Daemon: zenping program running; pid=26539
Daemon: zensyslog program running; pid=26548
Daemon: zenstatus program running; pid=26561
Daemon: zenactions program running; pid=26576
Daemon: zentrap program running; pid=26595
Daemon: zencommand program running; pid=26600
after the install of zenoss i manually started all, but the first two
processes (in the about tab). it has been more than 30 minutes, and
for one of the devices i added, i restarted zenperfsnmp but i still
get a broken icon when i try to load the page with the image.
any idea how to troubleshoot and fix this one?
[1] http://www.macports.org/
mark andrew nassy
[EMAIL PROTECTED]
mark andrew nassy
[EMAIL PROTECTED]
_______________________________________________
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