<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Buchan Milne wrote:
<blockquote cite="mid:200901071623.19845.bgmilne@staff.telkomsa.net"
 type="cite">
  <pre wrap="">On Wednesday 07 January 2009 15:42:31 Brian Daly wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi,

I have configured hobbit to monitor cpu and disk space on a cisco call
manager device using devmon/snmp.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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.

  </pre>
  <blockquote type="cite">
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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.: 
<a class="moz-txt-link-freetext"
 href="http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/cisco-6509/cpu/message?revision=28&view=markup">http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/cisco-6509/cpu/message?revision=28&view=markup</a>

  </pre>
  <blockquote type="cite">
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->

  </pre>
  <blockquote type="cite">
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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:


<a class="moz-txt-link-freetext"
 href="http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/linux">http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/templates/linux</a>-
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).

  </pre>
  <blockquote type="cite">
    <pre wrap="">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.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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
<a class="moz-txt-link-abbreviated"
 href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a>


  </pre>
</blockquote>
<br>
>>> 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 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 <a class="moz-txt-link-freetext" href="http://www.oidview.com/mibs/0/HOST-RESOURCES-V2-MIB.html">http://www.oidview.com/mibs/0/HOST-RESOURCES-V2-MIB.html</a>. 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. Attached is the template that does work without the graph.<br>
<br>
transforms - <br>
<br>
DiskSize = {hrStorageAllocationUnits} * {hrStorageSize} / 1024<br>
DiskBlocks = {hrStorageAllocationUnits}<br>
DiskBlockSize = {hrStorageSize}<br>
DiskSizeUsed =  {hrStorageUsed} * {hrStorageSize} / 1024<br>
DiskAvail = {hrStorageSize} - {hrStorageUsed}<br>
DiskPerUse = {DiskSizeUsed} * 100 / {DiskSize}<br>
<br>
Thresholds - <br>
<br>
DiskPerUse    : yellow        : 90   : Disk utilization is high<br>
DiskPerUse    : red           : 95   : Disk utilization is critical<br>
<br>
messages - <br>
<br>
TABLE:plain,noalarmsmsg<br>
Filesystem 1024-blocks Used Available Capacity Mounted on<br>
{hrStorageDescr} {DiskSize} {DiskSizeUsed} {DiskAvail} {DiskPerUse}%
{hrStorageDescr} {DiskPerUse.color}<br>
<br>
oids - (tried these as both leaf and branch)<br>
<br>
hrStorageDescr : 1.3.6.1.2.1.25.2.3.1.3              : leaf<br>
hrStorageSize 1.3.6.1.2.1.25.2.3.1.5                  : leaf<br>
hrStorageUsed 1.3.6.1.2.1.25.2.3.1.6                : leaf<br>
hrStorageAllocationUnits 1.3.6.1.2.1.25.2.3.1.4 : leaf<br>
<br>
<br>
the oid  1.3.6.1.2.1.25.2.3.1 gives the following values - <br>
<br>
HOST-RESOURCES-MIB::hrStorageIndex.1 = INTEGER: 1<br>
HOST-RESOURCES-MIB::hrStorageIndex.2 = INTEGER: 2<br>
HOST-RESOURCES-MIB::hrStorageIndex.3 = INTEGER: 3<br>
HOST-RESOURCES-MIB::hrStorageIndex.4 = INTEGER: 4<br>
HOST-RESOURCES-MIB::hrStorageIndex.5 = INTEGER: 5<br>
HOST-RESOURCES-MIB::hrStorageIndex.6 = INTEGER: 6<br>
HOST-RESOURCES-MIB::hrStorageIndex.7 = INTEGER: 7<br>
HOST-RESOURCES-MIB::hrStorageIndex.8 = INTEGER: 8<br>
HOST-RESOURCES-MIB::hrStorageIndex.9 = INTEGER: 9<br>
HOST-RESOURCES-MIB::hrStorageIndex.10 = INTEGER: 10<br>
HOST-RESOURCES-MIB::hrStorageType.1 = OID:
HOST-RESOURCES-TYPES::hrStorageRam<br>
HOST-RESOURCES-MIB::hrStorageType.2 = OID:
HOST-RESOURCES-TYPES::hrStorageVirtualMemory<br>
HOST-RESOURCES-MIB::hrStorageType.3 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk<br>
HOST-RESOURCES-MIB::hrStorageType.4 = OID:
HOST-RESOURCES-TYPES::hrStorageOther<br>
HOST-RESOURCES-MIB::hrStorageType.5 = OID:
HOST-RESOURCES-TYPES::hrStorageOther<br>
HOST-RESOURCES-MIB::hrStorageType.6 = OID:
HOST-RESOURCES-TYPES::hrStorageOther<br>
HOST-RESOURCES-MIB::hrStorageType.7 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk<br>
HOST-RESOURCES-MIB::hrStorageType.8 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk<br>
HOST-RESOURCES-MIB::hrStorageType.9 = OID:
HOST-RESOURCES-TYPES::hrStorageFixedDisk<br>
HOST-RESOURCES-MIB::hrStorageType.10 = OID:
HOST-RESOURCES-TYPES::hrStorageOther<br>
HOST-RESOURCES-MIB::hrStorageDescr.1 = STRING: Physical RAM<br>
HOST-RESOURCES-MIB::hrStorageDescr.2 = STRING: Virtual Memory<br>
HOST-RESOURCES-MIB::hrStorageDescr.3 = STRING: /<br>
HOST-RESOURCES-MIB::hrStorageDescr.4 = STRING: /proc<br>
HOST-RESOURCES-MIB::hrStorageDescr.5 = STRING: /dev/pts<br>
HOST-RESOURCES-MIB::hrStorageDescr.6 = STRING: /proc/bus/usb<br>
HOST-RESOURCES-MIB::hrStorageDescr.7 = STRING: /partB<br>
HOST-RESOURCES-MIB::hrStorageDescr.8 = STRING: /common<br>
HOST-RESOURCES-MIB::hrStorageDescr.9 = STRING: /grub<br>
HOST-RESOURCES-MIB::hrStorageDescr.10 = STRING: /dev/shm<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 4096 Bytes<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 4096 Bytes<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 4096 Bytes<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 1024 Bytes<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 1024 Bytes<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 1024 Bytes<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.7 = INTEGER: 4096 Bytes<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.8 = INTEGER: 4096 Bytes<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.9 = INTEGER: 1024 Bytes<br>
HOST-RESOURCES-MIB::hrStorageAllocationUnits.10 = INTEGER: 4096 Bytes<br>
HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 513865<br>
HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 512062<br>
HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 3079486<br>
HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 0<br>
HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 0<br>
HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 0<br>
HOST-RESOURCES-MIB::hrStorageSize.7 = INTEGER: 3079478<br>
HOST-RESOURCES-MIB::hrStorageSize.8 = INTEGER: 38458713<br>
HOST-RESOURCES-MIB::hrStorageSize.9 = INTEGER: 256665<br>
HOST-RESOURCES-MIB::hrStorageSize.10 = INTEGER: 256932<br>
HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 262387<br>
HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 210653<br>
HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 2740423<br>
HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 0<br>
HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 0<br>
HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 0<br>
HOST-RESOURCES-MIB::hrStorageUsed.7 = INTEGER: 2750063<br>
HOST-RESOURCES-MIB::hrStorageUsed.8 = INTEGER: 7848248<br>
HOST-RESOURCES-MIB::hrStorageUsed.9 = INTEGER: 8415<br>
HOST-RESOURCES-MIB::hrStorageUsed.10 = INTEGER: 12216<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.1 = Counter32: 0<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.2 = Counter32: 0<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.3 = Counter32: 0<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.4 = Counter32: 0<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.5 = Counter32: 0<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.6 = Counter32: 0<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.7 = Counter32: 0<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.8 = Counter32: 0<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.9 = Counter32: 0<br>
HOST-RESOURCES-MIB::hrStorageAllocationFailures.10 = Counter32: 0<br>
<br>
<br>
<br>
</body>
</html>