Re: cricket-users Digest, Vol 5, Issue 5
"Kevin Zhang" <[email protected]>
| Newsgroups | gmane.network.cricket.user |
|---|---|
| Message-ID | <20A3B15FFC02244484902AB384BDBE0D01B75FC7@usexchange4.cblan.mblox.com> |
Looks like that I get it to work, but still the graph show the value is
0 instead of 1:
[cricket@qsv-rhmon3 cricket]$ ./collector -logLevel debug
/QSV/applications/PP
[12-Sep-2006 19:45:39 ] Log level changed from warn to debug.
[12-Sep-2006 19:45:39 ] Starting collector: Cricket version 1.0.5
(2004-03-28)
[12-Sep-2006 19:45:40 ] Processing /QSV/applications/PP/qsv-rhdlv22...
[12-Sep-2006 19:45:40 ] target qsv-rhdlv22
auto-base = /home/cricket/cricket-config
auto-root = /../../..
auto-target-path = /QSV/applications/PP
datadir =
/home/cricket/cricket-config/../cricket-data//QSV/applications/PP
directory-desc = Networking devices used as qsv-rhdlv22
display-name = qsv-rhdlv2
email-program = /usr/bin/mailx
inst =
mail-pgm = /bin/mail
persistent-alarms = false
router =
rrd-datafile =
/home/cricket/cricket-config/../cricket-data//QSV/applications/PP/qsv-rh
dlv22.rrd
rrd-min = 0
rrd-poll-interval = 300
show-path = no
snmp = public@qsv-rhdlv22:1161
snmp-backoff = 1.0
snmp-community = public
snmp-host = qsv-rhdlv22
snmp-port = 1161
snmp-retries = 5
snmp-timeout = 2.0
snmp-version = 1
summary-loc = top
target-type = ProxyPlatform
[12-Sep-2006 19:45:40 ] Retrieving data for target qsv-rhdlv22 ()
(proxyplatform)
[12-Sep-2006 19:45:40 ] ds0 is:
//public@qsv-rhdlv22:1161/ppOutPrIsProxyUp
[12-Sep-2006 19:45:40 ] ds1 is:
//public@qsv-rhdlv22:1161/ppInPrListening
[12-Sep-2006 19:45:40 ] Getting from public@qsv-rhdlv22:1161
1.3.6.1.4.1.19774.1.8.3.1.2.1.3.1052
1.3.6.1.4.1.19774.1.8.2.1.2.1.4.1052
[12-Sep-2006 19:45:40 ] Got: 1 1
[12-Sep-2006 19:45:40 ] Retrieved data for qsv-rhdlv22 (): 1,1
[12-Sep-2006 19:45:40 ] Processing /QSV/applications/PP/qsv-rhdlv22...
[12-Sep-2006 19:45:40 ] Processed 1 targets in 1 seconds.
[cricket@qsv-rhmon3 cricket]$
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of
[email protected]
Sent: Tuesday, September 12, 2006 12:10 PM
To: [email protected]
Subject: cricket-users Digest, Vol 5, Issue 5
Send cricket-users mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.sourceforge.net/lists/listinfo/cricket-users
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of cricket-users digest..."
Today's Topics:
1. add new OID failed (Kevin Zhang)
----------------------------------------------------------------------
Message: 1
Date: Tue, 12 Sep 2006 12:08:44 -0700
From: "Kevin Zhang" <[email protected]>
Subject: [cricket-users] add new OID failed
To: <[email protected]>
Message-ID:
<20A3B15FFC02244484902AB384BDBE0D01B75F8C@usexchange4.cblan.mblox.com>
Content-Type: text/plain; charset="us-ascii"
Hi I am trying to add a new OID but failed. Could someone help?
Here is what I did:
In the subtree I have two files: Defaults and targets and I added the
following to the files:
Defaults:
# OIDs for most MIB-II devices
OID ppOutPrIsProxyUp
1.3.6.1.4.1.19774.1.8.3.1.2.1.3
OID ppInPrListening
1.3.6.1.4.1.19774.1.8.2.1.2.1.4
datasource ppInPrListening
ds-source = snmp://%snmp%/ppInPrListening
datasource ppOutPrIsProxyUp
ds-source = snmp://%snmp%/ppOutPrIsProxyUp
targetType ProxyPlatform
ds ="ppOutPrIsProxyUp, ppInPrListening"
view ="PP: ppOutPrIsProxyUp ppInPrListening"
targets:
target qsv-rhdlv22
target-type=ProxyPlatform
snmp-community = public
snmp-port = 1161
snmp-host = qsv-rhdlv22
display-name = qsv-rhdlv2
But I get the following errors:
[cricket@qsv-rhmon3 cricket]$ ./collector -logLevel debug
/QSV/applications/PP
[12-Sep-2006 18:48:23 ] Log level changed from warn to debug.
[12-Sep-2006 18:48:23 ] Starting collector: Cricket version 1.0.5
(2004-03-28)
[12-Sep-2006 18:48:24 ] Processing /QSV/applications/PP/qsv-rhdlv22...
[12-Sep-2006 18:48:24 ] target qsv-rhdlv22
auto-base = /home/cricket/cricket-config
auto-root = /../../..
auto-target-path = /QSV/applications/PP
datadir =
/home/cricket/cricket-config/../cricket-data//QSV/applications/PP
directory-desc = Networking devices used as qsv-rhdlv22
display-name = qsv-rhdlv2
email-program = /usr/bin/mailx
inst =
mail-pgm = /bin/mail
persistent-alarms = false
router =
rrd-datafile =
/home/cricket/cricket-config/../cricket-data//QSV/applications/PP/qsv-rh
dlv22.rrd
rrd-min = 0
rrd-poll-interval = 300
show-path = no
snmp = public@qsv-rhdlv22:1161:2.0:5:1.0:1
snmp-backoff = 1.0
snmp-community = public
snmp-host = qsv-rhdlv22
snmp-port = 1161
snmp-retries = 5
snmp-timeout = 2.0
snmp-version = 1
summary-loc = top
target-type = ProxyPlatform
[12-Sep-2006 18:48:24 ] Retrieving data for target qsv-rhdlv22 ()
(proxyplatform)
[12-Sep-2006 18:48:24 ] ds0 is:
//public@qsv-rhdlv22:1161:2.0:5:1.0:1/ppOutPrIsProxyUp
[12-Sep-2006 18:48:24 ] ds1 is:
//public@qsv-rhdlv22:1161:2.0:5:1.0:1/ppInPrListening
[12-Sep-2006 18:48:24 ] Getting from public@qsv-rhdlv22:1161:2.0:5:1.0:1
1.3.6.1.4.1.19774.1.8.3.1.2.1.3 1.3.6.1.4.1.19774.1.8.2.1.2.1.4
Use of uninitialized value in join or string at
/home/cricket/cricket/lib/snmp.pm line 91.
[12-Sep-2006 18:48:24 ] Got: (null)
Argument "(null)" isn't numeric in numeric eq (==) at
/home/cricket/cricket/lib/snmp.pm line 98.
[12-Sep-2006 18:48:24 ] Retrieved data for qsv-rhdlv22 (): (null),U
[12-Sep-2006 18:48:24 ] Some data is missing for qsv-rhdlv22 ().
[12-Sep-2006 18:48:24*] Cannot update
/home/cricket/cricket-config/../cricket-data//QSV/applications/PP/qsv-rh
dlv22.rrd: not a simple integer: '(null)'
[12-Sep-2006 18:48:24 ] Processing /QSV/applications/PP/qsv-rhdlv22...
[12-Sep-2006 18:48:24 ] Processed 1 targets in 1 seconds.
------------------------------
------------------------------------------------------------------------
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
------------------------------
_______________________________________________
cricket-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cricket-users
End of cricket-users Digest, Vol 5, Issue 5
*******************************************
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642