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 |