From: rose@gerf.org
Hello all,
I have cricket collecting data for some switch-ports, and originally
had the targets in the switches file setup like this:
target 111.111.11.1
target-type= switch-port
inst = (1..70)
snmp-community = public
short-desc = "ctc-2"
This target configuration was producing SNMP NoSuchName errors.
After performing an SNMP walk, I surmised that cricket was looking
for all ports between 1-70, and some of those ports didn't exist.
So I edited the switches file to only look for certain ranges of
ports. So now the target declaration looks like this:
target 111.111.11.1
target-type= switch-port
inst = (1..7, 20..67, 69..70)
short-desc = "ctc-3"
However now I am getting even wierder errors. These are the errors:
Use of uninitialized value at /home/cricket/cricket/lib/ConfigTree/Cache.pm line
210.
Use of uninitialized value at /home/cricket/cricket/lib/ConfigTree/Cache.pm line
224.
Use of uninitialized value at /home/cricket/cricket/lib/ConfigTree/Cache.pm line
234.
[30-Jul-1999 14:45:11*] Received SNMP response with error code noSuchName
And then NO data from that switch will be collected at all.
When I look at the graph for that switch, then I get a Current Values
Not Available Error.
Even the documentation at the top of the switches file says that you
can specify port ranges the way that I did above, but it clearly
doesn't work as documented.
It looks like a simple perl mistake. I will research it myself sometime
next week.
--------------------------- ONElist Sponsor ----------------------------
You can WIN $100 to Amazon.com by starting a new list at ONElist.
Drawing is held each week through August 20. For details, go to
http://www.onelist.com/info/onereachsplash3.html
------------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Mar 06 2000 - 19:00:59 PST