Xymon Mailing List Archive search

devmon help

list Francesco Duranti
Fri, 15 Sep 2006 18:38:51 +0200
Message-Id: <user-f946fe384b15@xymon.invalid>

I'm interested in devmon templates too it's possible to make them
available on theshire or devmon sourceforge page or in some other
places? I'm a bit lazy about snmp but I think that if everyone who create some
template for devmon will share them we will have some more to play with
:D

Francesco

-----Original Message-----
From: Johann Eggers [mailto:user-769b09132207@xymon.invalid] Sent: Friday, September 15, 2006 5:23 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] devmon help

Yup,

I can send you the templates we are currently using...

-----Original Message-----
From: Jones, Jason (Altrincham) [mailto:user-ee957b46acd2@xymon.invalid]
Sent: Freitag, 15. September 2006 17:18
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] devmon help

Related to this would anyone be willing to send me any cisco, hp/dell
(printer) oids they know work?

But as for helping as Johann said you add a DEVMON tag to the bb-hosts for the switch etc you want tested (you can force using
DEVMON:model(<vendor>;<model>) ) after you have done this you run devmon --readbbhosts and it will search through for usable tests it can run and report any entries that do not have matching templates, you can also look in /var/logs/devmon.log for useful output messages

Any templates you create must follow this structure

DIR:name (best to use vendor-model)
  |
  |--specs (must contain vendor, model, snmpver and sysDesc)
  |--DIR:test (this will be the name reported to hobbit)
         |
         |-- oids (contains oids and handles you assign
	   |-- message (message format reported to hobbit)
         |-- thresholds(when to generate status changes and messages to
use)
         |-- transforms (data manipulation)
         |-- exceptions (what is sounds like)

Thanks,
Jason

-----Original Message-----
From: Johann Eggers [mailto:user-769b09132207@xymon.invalid]
Sent: 15 September 2006 16:07
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] devmon help

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:user-769b09132207@xymon.invalid]
Sent: Freitag, 15. September 2006 16:27
To: user-ae9b8668bcde@xymon.invalid
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:user-a7d23e07dd5c@xymon.invalid]
Sent: Freitag, 15. September 2006 16:05
To: user-ae9b8668bcde@xymon.invalid
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
(XXX) XXX-XXXX x2774
user-a7d23e07dd5c@xymon.invalid
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:user-618593604956@xymon.invalid]
Sent: Wednesday, September 13, 2006 10:25 PM
To: user-ae9b8668bcde@xymon.invalid
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