From: Jeffrey P. <jw...@gm...> - 2008-06-18 16:23:28
|
Hello, I have been using DevMon for a while now to monitor my Cisco routers under Hobbit. I guess I'm being dense, but there are a few things I can't figure out: 1. If you have multiple routers of the same type that you already have templates for, how do you differentiate them if they require different monitoring parameters (exclusions, etc.)? 2. How do I create new templates for routers that I don't have templates for? I know there are instructions, but it's not clear to me how to create them so it knows that when I start monitoring a new type (Cisco 12000 series for example), how does DevMon know that when the device is queried, that this device is indeed a 12000 Cisco? Where is that information kept in the template? Thanks in advance, Jeff -- Jeff Parker jwprkr at gmail dot com |
From: Joshua K. <fo...@tr...> - 2008-06-18 18:08:40
|
To answer your questions: 1. Let's say we are talking about a 6509 and the template is cisco-6509. What I do is copy the cisco-6509 to cisco-6509a. I then modify the specs file in the template and put a bogus "sysdesc" and modify the device to match 6509a. The issue with doing this way is that you have to add an entry in the bb-hosts file for that hosts that forces it to use the cisco-6509a template. 2. The template instructions seem to be fairly straight forward to me. But you create yourself a folder with the model-device. So for your cisco 12000 series you could create a folder called cisco-12k. Now you need to create a specs file for your template, this is what Devmon uses to know what type of device your host is. Your specs file would maybe look like this: vendor : cisco model : 12k snmpver : 2 sysdesc : c6sup|s72033_rp|s222_rp The sysdesc field is probably going to be a little different. To find out what yours would be do. Snmpwalk -v 2c -c <community string> device-name sysdesc Here is what my output shows me: SNMPv2-MIB::sysDescr.0 = STRING: Cisco Internetwork Operating System Software IOS (tm) s72033_rp Software (s72033_rp-IPSERVICESK9_WAN-M), Version 12.2(18)SXF7, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2006 by cisco Systems, Inc. Once you see the output you can pick one or multiple entries separated by a pipe symbol that show up in your output. Now within your templates folder you will create a folder for each test that you want to monitor. Examples would be cpu, if_load, memory.....etc. Now each of the test folders require 5 different files: exceptions message oids thresholds transforms I think from this point you should be able to read the documentation and use the other templates as examples of what you need. -Josh -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Jeffrey Parker Sent: Wednesday, June 18, 2008 12:23 PM To: dev...@li... Subject: [Devmon] DEVMON questions Hello, I have been using DevMon for a while now to monitor my Cisco routers under Hobbit. I guess I'm being dense, but there are a few things I can't figure out: 1. If you have multiple routers of the same type that you already have templates for, how do you differentiate them if they require different monitoring parameters (exclusions, etc.)? 2. How do I create new templates for routers that I don't have templates for? I know there are instructions, but it's not clear to me how to create them so it knows that when I start monitoring a new type (Cisco 12000 series for example), how does DevMon know that when the device is queried, that this device is indeed a 12000 Cisco? Where is that information kept in the template? Thanks in advance, Jeff -- Jeff Parker jwprkr at gmail dot com ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Devmon-support mailing list Dev...@li... https://lists.sourceforge.net/lists/listinfo/devmon-support |
From: Buchan M. <bg...@st...> - 2008-06-18 18:41:32
|
On Wednesday 18 June 2008 18:23:24 Jeffrey Parker wrote: > Hello, > > I have been using DevMon for a while now to monitor my Cisco > routers under Hobbit. I guess I'm being dense, but there are a few > things I can't figure out: > > 1. If you have multiple routers of the same type that > you already have templates for, how do you differentiate them if they > require different monitoring parameters (exclusions, etc.)? At present, I do it via the DEVMON tag in the bb-hosts file > 2. How do I create new templates for routers that I > don't have templates for? Start off with cp -a $similar_template $new_template Have a MIB browser (or the MIB) and snmpwalk output on one screen ... > I know there are instructions, but it's not > clear to me how to create them so it knows that when I start > monitoring a new > type (Cisco 12000 series for example), how does > DevMon know that when the device is queried, that this device is > indeed a 12000 Cisco? regex match on the Sysdescr OID to the sysdesc value in the specs file. > Where is that information kept in the template? |
From: Naudit007 <mai...@gm...> - 2008-06-19 06:07:03
|
> 2. How do I create new templates for routers that I > don't have templates for? >Start off with cp -a $similar_template $new_template and read RTFM :) for create the template >Have a MIB browser (or the MIB) and snmpwalk output on one screen ... Here all MIBS : http://www.oidview.com/mibs/detail.html And for explore your equipment MIB use Mib Browser Ireasonning and load your equipment mib: http://www.ireasoning.com/ If you join devmon with /etc/init.d/hobbit-server here's how do : --------------------------------------------------------------------------- #!/bin/bash USER_HOBBIT="hobbit" PROG_PATH=`echo ~hobbit` function EyeCandy() { sleep 0.5; echo -n ".";sleep 0.5; echo -n ".";sleep 0.5; echo -n ". : "; } function StartDevMon() { echo -n "Demarrage de Hobbit Server SNMP support : Devmon" EyeCandy su ${USER_HOBBIT} -c "${PROG_PATH}/application/server/ext/devmon/devmon" eval "CODERETOUR=$?" } function StopDevMon() { echo -n "Arret de Hobbit Server SNMP support : Devmon" EyeCandy killall -q /usr/bin/perl killall -q -s 9 devmon eval "CODERETOUR=$?" } case "$1" in start) echo -n "Demarrage de Hobbit Server" EyeCandy su ${USER_HOBBIT} -c "${PROG_PATH}/application/server/bin/hobbit.sh start" StartDevMon [ "${CODERETOUR}" = 0 ] && echo -e "\t \t \t[OK]"; ;; stop) echo -n "Arret de Hobbit Server" EyeCandy su ${USER_HOBBIT} -c "${PROG_PATH}/application/server/bin/hobbit.sh stop" StopDevMon [ "${CODERETOUR}" = 0 ] && echo -e "\t \t \t [OK]"; ;; restart) echo -n "Demarrage de Hobbit Server" su ${USER_HOBBIT} -c "${PROG_PATH}/application/server/bin/hobbit.sh restart" [ "$?" = 0 ] && echo -e "\t \t \t [OK]"; StopDevMon [ "${CODERETOUR}" = 0 ] && echo -e "\t \t \t[OK]"; StartDevMon [ "${CODERETOUR}" = 0 ] && echo -e "\t \t \t [OK]"; ;; status) su ${USER_HOBBIT} -c "${PROG_PATH}/application/server/bin/hobbit.sh status" ;; *) echo "Usage: $NAME {start|stop|restart|status}" >&2 exit 3 ;; esac -------------------------------------------------------------------------------------- Good luck ;) Regards 2008/6/18 Buchan Milne <bg...@st...>: > On Wednesday 18 June 2008 18:23:24 Jeffrey Parker wrote: > > Hello, > > > > I have been using DevMon for a while now to monitor my Cisco > > routers under Hobbit. I guess I'm being dense, but there are a few > > things I can't figure out: > > > > 1. If you have multiple routers of the same type that > > you already have templates for, how do you differentiate them if they > > require different monitoring parameters (exclusions, etc.)? > > At present, I do it via the DEVMON tag in the bb-hosts file > > > 2. How do I create new templates for routers that I > > don't have templates for? > > Start off with cp -a $similar_template $new_template > > Have a MIB browser (or the MIB) and snmpwalk output on one screen ... > > > I know there are instructions, but it's not > > clear to me how to create them so it knows that when I start > > monitoring a new > > type (Cisco 12000 series for example), how does > > DevMon know that when the device is queried, that this device is > > indeed a 12000 Cisco? > > regex match on the Sysdescr OID to the sysdesc value in the specs file. > > > Where is that information kept in the template? > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Devmon-support mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devmon-support > -- <mailinglist.benoit - at - gmail!com> |
From: Buchan M. <bg...@st...> - 2008-06-19 10:38:33
|
On Thursday 19 June 2008 08:06:58 Naudit007 wrote: > > 2. How do I create new templates for routers that I > > don't have templates for? > > > >Start off with cp -a $similar_template $new_template > > and read RTFM :) for create the template > > >Have a MIB browser (or the MIB) and snmpwalk output on one screen ... > > Here all MIBS : > http://www.oidview.com/mibs/detail.html > > And for explore your equipment MIB use Mib Browser Ireasonning and load > your equipment mib: > http://www.ireasoning.com/ I personally use http://www.mibdepot.com/ , but will try snmpb (http://sourceforge.net/projects/snmpb) next. > If you join devmon with /etc/init.d/hobbit-server here's how do : Why? IMHO it's better to have a separate init script, such as the one supplied in extras/ Regards, Buchan |
From: Jeffrey P. <jw...@gm...> - 2008-06-19 15:32:26
|
Hello, Thanks to all who replied. After I found the "devmon.html" file for Hobbit in the DevMon archive, it all became clear. Like I said I was being dense :-). I think I'm on my way now. Thanks Again, Jeff On Wed, Jun 18, 2008 at 11:23 AM, Jeffrey Parker <jw...@gm...> wrote: > Hello, > > I have been using DevMon for a while now to monitor my Cisco > routers under Hobbit. I guess I'm being dense, but there are a few > things I can't figure out: > > 1. If you have multiple routers of the same type that > you already have templates for, how do you differentiate them if they > require different monitoring parameters (exclusions, etc.)? > > 2. How do I create new templates for routers that I > don't have templates for? I know there are instructions, but it's not > clear to me how to create them so it knows that when I start > monitoring a new > type (Cisco 12000 series for example), how does > DevMon know that when the device is queried, that this device is > indeed a 12000 Cisco? Where is that information kept in the template? > > Thanks in advance, > > Jeff > > > > -- > Jeff Parker > jwprkr at gmail dot com > -- Jeff Parker jwprkr at gmail dot com |
From: Kauffman, T. <Kau...@ni...> - 2008-06-26 14:24:00
|
I'm still fighting brocade switch issues. First of all, the data gathering looks good, except that I cannot get the chart to show the physical port number (the box is labeled from 0 to 31; the snmp index is 1 thru 32; every time I try to do math on the index to get a port number devmon shuts down IF I report the calculated value anywhere on the table line) But - I see that port 3 shows an average of 3.67 words outbound and 11.6 words inbound. I run the math transforms and show the results in the table, and the calculated Byte count and bit count match. And the graph result from graphing the word values shows 6.14 M words in (average) and 6.14 M words outbound (average). I was originally calling the values "if_load" and graphing the byte counts, to match the cisco templates. Every port was showing an average of 350 Mb/second in and out. If I dump the rrd from graphing the word count, I see values that match the graphs. Where is this getting so massively inflated? MRTG seems to work properly. TIA Tom CONFIDENTIALITY NOTICE: This email and any attachments are for the exclusive and confidential use of the intended recipient. If you are not the intended recipient, please do not read, distribute or take action in reliance upon this message. If you have received this in error, please notify us immediately by return email and promptly delete this message and its attachments from your computer system. We do not waive attorney-client or work product privilege by the transmission of this message. |