[hobbit] devmon help

Johann Eggers Johann.Eggers at teleatlas.com
Fri Sep 15 17:07:21 CEST 2006


A little correction:

Which device to query is determined by entries in the bb-hosts file.

You need the templates to specify what OID's to query, how to
calculate/handle the output, define thresholds, generating the
message...

-----Original Message-----
From: Johann Eggers [mailto:Johann.Eggers at teleatlas.com] 
Sent: Freitag, 15. September 2006 16:27
To: hobbit at hswn.dk
Subject: RE: [hobbit] devmon help

We are currently monitor Cisco 6506, Cisco 4003, Cisco 1700 and Netapp
boxes with devmon.

You have to create a template for the devices named by the model in the
System Description of the snmp output. By this way the devmon daemon is
able to determine what devices to query. You can use existing templates
as a basis and change them to fit to your needs

-----Original Message-----
From: Trent Melcher [mailto:tmelcher at saionline.com] 
Sent: Freitag, 15. September 2006 16:05
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



To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list