From: Buchan M. <bg...@st...> - 2009-01-08 12:31:36
|
I think it is better to move this thread to the devmon list ... On Thursday 08 January 2009 12:25:00 Brian Daly wrote: > Buchan Milne wrote: > > On Wednesday 07 January 2009 15:42:31 Brian Daly wrote: > >> Hi, > >> > >> I have configured hobbit to monitor cpu and disk space on a cisco call > >> manager device using devmon/snmp. > > > > I assume you created a new template for this device? I can help more if > > you post the template (more appropriate for the devmon list though). > > Also, what OS does it run ? Windows server ? > > > > (while we have Cisco call managers in the company, I don't monitor or > > have any access to them, but I've been meaning to work on templates for > > Windows servers for devmon, and that I can test myself) > > > > Also, I would prefer to let everyone benefit from investments users make > > in creating templates, so once it is working, please consider sending it > > to me to include (or, file a bug on the devmon SF tracker) and attach the > > templates to that. > > > >> The CPU test returns the values for each processors load as a percentage > >> (INTEGER) and hobbit displays these values, however no graph is created > >> automatically. > > > > Most of the current cisco templates shipped with devmon should result in > > a working CPU graph, I have them for cisco-6509, cisco-7207, cisco-asa > > etc. > > > > E.g.: > > http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/cisco-650 > >9/cpu/message?revision=28&view=markup > > > >> Creating a custom graph is my last option, but I would > >> hope that like other cisco devices that a graph could be created > >> automatically using the values returned by devmon. > >> > >> > >> > >> > >> For Disk Usage I have worked out the percentage used with some simple > >> MATH in the transforms file and this is also being displayed properly on > >> the disk page for this device, however the graph is not displaying these > >> values correctly. Before I started using the transforms to get the > >> percentage of disk space used, devmon was configured to simply get the > >> number of bytes used on one volume. This created a graph (although it > >> was constantly at 0%). After tidying up the test to list all four > >> volumes and the percentage of disk space used, the graph is no longer > >> reporting any values. > > > > The linux-openwrt template works nicely (the formatting isn't quite the > > same as sent by the hobbit client, but graphing works fine) for me on > > disks on linux (on WRT54GL, and normal linux host) monitored via snmp: > > > > > > http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/linux- > > openwrt/disk/message?revision=38&view=markup > > > > (the "plain" option for TABLE allows one to try and get something closer > > to what the Hobbit rrd modules expect). > > > >> Can somebody help me get the graph to display the percentage of disk > >> space used for the 4 volumes I am monitoring and to start graphing the > >> percentage of CPU usage for 2 CPU's. > > > > If you can't come right with the examples above, it would help to see > > some of the data you get via SNMP, and your existing template (at least > > the 'message' files). > > > > Note, these are the two devmon tests that can create graphs without the > > devmon collector for Hobbit. > > > > Regards, > > Buchan > > > > To unsubscribe from the hobbit list, send an e-mail to > > hob...@hs... > > > >>> I created a new template for this device. A Cisco-7825. The latest > > Call Manager software runs a Linux based OS, but stripped down (so you > cannot install hobbit client or anything). However the hardware is > actually HP Does it ship with any of the HPASM stuff running ? This would allow monitoring of RAID arrays, the IML log and a few other interesting bits and pieces. > not cisco so the usual Cisco MIB's do not work for CPU load > average etc I have to use host resources MIB such as found on > http://www.oidview.com/mibs/0/HOST-RESOURCES-V2-MIB.html. When I get > this working I will post the template. I am fairly new to hobbit so > apologies if I am leaving out any obvious information. Here is the disk > portion of the template I have just tried to but disk test has now gone > purple and is no longer reporting in. You should look at the devmon logs. However, it may be best just to set the device type to linux-openwrt, e.g. by using something like this in your bb-hosts file: xxx.xxx.xxx.xxx yyy # DEVMON:model(linux;openwrt) You may also want to only run specific tests, and add one more test at a time, e..g: xxx.xxx.xxx.xxx yyy # DEVMON:model(linux;openwrt),tests(disk) The linux-openwrt template is a basic one that should work with any Linux system running net-snmp (it works fine against my desktop box), but only has a few tests enabled (as the net-snmp for OpenWRT is quite minimal). The previous template, while it provided values, should really be using repeaters (the OIDs should all be of type branch) and a TABLE, otherwise it is going to be quite fragile .... Regards, Buchan |