[hobbit] devmon help
Aiello, Steve (GE, Corporate, consultant)
steve.aiello at ge.com
Fri Sep 15 16:09:23 CEST 2006
--readbbhosts option only creates the hosts.db file, nothing else. You
then need to start the devmon proccess without the --readbbhost option
for it to query the SNMP devices. After starting it doing a ps -ef
should should then number of threads (configured in cfg file) + 1.
Maybe I missunderstood, but happy to help with the experience I have
had.
> -----Original Message-----
> From: Trent Melcher [mailto:tmelcher at saionline.com]
> Sent: Friday, September 15, 2006 10:05 AM
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] devmon help
>
>
> Craig
>
> Run strings against the hosts.db and you will see better
> output. I too have been trying to setup devmon and cant get
> it working either, having same problems as you. Run devmon
> with the --readbbhosts option, I even used the -vv to see
> some info, it identifies the switch correctly and looks like
> its using the right template, but no output or anything in
> the log file.
>
> Anyone else have this working?
>
> Trent Melcher
> Unix/Linux Systems Administrator
> Securities America Financial Corporation
> (402) 399-9111 x2774
> tmelcher at saionline.com
> Securities America, Inc., a Registered Broker/Dealer, Member
> NASD/SIPC. Advisory services offered through Securities
> America Advisors, Inc., an SEC Registered Investment Advisory
>
>
>
> > -----Original Message-----
> > From: Craig Cook [mailto:craig at cookitservices.com]
> > Sent: Wednesday, September 13, 2006 10:25 PM
> > To: hobbit at hswn.dk
> > Subject: [hobbit] devmon help
> >
> > I have a cisco 3550 switch I am trying to use devmon with.
> > SNMP is enabled in the switch, but devmon does not seem to do
> > anything with it.
> >
> > The templates dir has cisco-3500 listed as a device it
> knows about...
> >
> > Single devmon server.
> >
> > solaris1:/usr/local/devmon# /usr/local/devmon/devmon
> > --readbbhosts [06-09-14 at 13:01:46] Saw 5 vendors, 19 models,
> > 19 sysdescs & 57 templates [06-09-14 at 13:01:46] SNMP querying
> > all hosts in bb-hosts file, please wait...
> > [06-09-14 at 13:01:46] Querying new hosts using cid 'public' and
> > snmp v2 [06-09-14 at 13:01:47] DEBUG SNMP: Dethawing data for
> > switch1.example.com [06-09-14 at 13:01:47] switch1.example.com
> > sysdesc = ::: Cisco Internetwork Operating System Software
> > IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version
> > 12.1(22)EA1a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2004
> > by cisco Systems, Inc.
> > Compiled Fri 20-Aug-04 00:44 by yenanh :::
> > [06-09-14 at 13:01:47] switch1.example.com did not match
> > powerware : 9170 : BestLink [06-09-14 at 13:01:47]
> > switch1.example.com did not match apc : 9609 : MN: AP9606
> > [06-09-14 at 13:01:47] switch1.example.com did not match apc :
> > 9205 : Mod: AP9205 [06-09-14 at 13:01:47] switch1.example.com
> > did not match apc : 9619 : MN:AP9619 [06-09-14 at 13:01:47]
> > switch1.example.com did not match cisco : 1700 : C1700
> > [06-09-14 at 13:01:47] switch1.example.com did not match cisco :
> > 2970 : C2970 [06-09-14 at 13:01:47] switch1.example.com did not
> > match cisco : 3725 : C3725 [06-09-14 at 13:01:47]
> > switch1.example.com did not match cisco : 2900 : C2900
> > [06-09-14 at 13:01:47] Discovered switch1.example.com as a cisco
> > 3550 solaris1:/usr/local/devmon# /usr/local/devmon/devmon
> > --readbbhosts [06-09-14 at 13:02:11] Saw 5 vendors, 19 models,
> > 19 sysdescs & 57 templates [06-09-14 at 13:02:11] SNMP querying
> > all hosts in bb-hosts file, please wait...
> > [06-09-14 at 13:02:11] Querying pre-existing hosts
> > [06-09-14 at 13:02:12] DEBUG SNMP: Dethawing data for
> > switch1.example.com [06-09-14 at 13:02:12] switch1.example.com
> > sysdesc = ::: Cisco Internetwork Operating System Software
> > IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version
> > 12.1(22)EA1a, RELEASE SOFTWARE (fc1) Copyright (c) 1986-2004
> > by cisco Systems, Inc.
> > Compiled Fri 20-Aug-04 00:44 by yenanh :::
> > [06-09-14 at 13:02:12] switch1.example.com did not match
> > powerware : 9170 : BestLink [06-09-14 at 13:02:12]
> > switch1.example.com did not match apc : 9609 : MN: AP9606
> > [06-09-14 at 13:02:12] switch1.example.com did not match apc :
> > 9205 : Mod: AP9205 [06-09-14 at 13:02:12] switch1.example.com
> > did not match apc : 9619 : MN:AP9619 [06-09-14 at 13:02:12]
> > switch1.example.com did not match cisco : 1700 : C1700
> > [06-09-14 at 13:02:12] switch1.example.com did not match cisco :
> > 2970 : C2970 [06-09-14 at 13:02:12] switch1.example.com did not
> > match cisco : 3725 : C3725 [06-09-14 at 13:02:12]
> > switch1.example.com did not match cisco : 2900 : C2900
> >
> > I changed this in dm_config.pm
> >
> > 'verbose' => 1,
> > 'debug' => 1,
> > 'print_msg' => 1,
> >
> >
> > # vi hosts.db
> > switch1.example.com^[192.168.1.2^[cisco^[3550^[all^[public^[^[
> >
> > Are the "^["'s messing this up?
> >
> > Nothing in the devmon log file...
> >
> >
> > Thanks
> >
> > Craig Cook
> > --
> > Systems Monitoring Consulting and Support Services
> > http://www.cookitservices.com
> >
> > To unsubscribe from the hobbit list, send an e-mail to
> > hobbit-unsubscribe at hswn.dk
> >
> >
> >
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
More information about the Xymon
mailing list