add new OID failed

"Kevin Zhang" <[email protected]>
Newsgroups gmane.network.cricket.user
Message-ID <20A3B15FFC02244484902AB384BDBE0D01B75F8C@usexchange4.cblan.mblox.com>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.