I've had no luck with the "snmp:cid(my2ndstring)" with this one...
I do have other deivices that are monitored with a different strings with the "tag" and it works just fine.
I ended up just writing an external script to fetch that data and update Xymon.
Ken Connell
Intermediate Network Engineer
Computer & Communication Services
Ryerson University
350 Victoria St
RM AB50
Toronto, Ont
M5B 2K3
416-979-5000 x6709
----- Original Message -----
From: Buchan Milne <bg...@st...>
Date: Friday, June 22, 2012 9:34 am
Subject: Re: [Devmon] Host with multiple snmp strings
To: dev...@li..., kco...@ry...
> On Tuesday, 19 June 2012 22:47:12 kco...@ry... wrote:
> > I currently monitor quite a few Nortel/Avaya 8600's via devmon but
> I've run
> > into an interesting issue with polling in regards to VRFs.
> >
> > The router/switch answers polls with "string1" and gives back info
> on the
> > "default or global VRF"....so far so good..
> >
> > If I use "string2"(which is set for the VRF), then I get back info
> from
> > VRF2, and "string3" gives info on VRF3...and so on.
> >
> > I've specified the tag:
> > snmp:cid(string2)model(Nortel;custom)
> > in the host file, and devmon says it has discovered it as I have specified,
> > but because the host responds to string1 while running "devmon
> > --readbbhosts", it continues to do the tests with string1 and gives
> me the
> > output from VRF0 (global) instead of VRF2.
> >
> > How am I suppose to "trick" devmon and poll with the other string ?
>
> If you have set the cid option correctly on your 'DEVMON' tag, it
> shouldn't
> try any other community string you have configured.
>
> However, you may have to specify the devic multiple times by
> different
> hostnames in the hosts.cfg or bb-hosts file.
>
> (Of course, this really isn't convenient, devices playing tricks
> based on
> which community string you use is not a great data model).
>
> Regards,
> Buchan
>
|