Xymon Mailing List Archive search

Devmon / MRTG

list Thomas Leavitt
Fri, 28 Aug 2009 20:42:58 -0700
Message-Id: <user-0b72fad1bb2b@xymon.invalid>

I've just got devmon set up and working... more or less. I've hacked
the Redhat init.d script, but I'd rather have a Debian/Ubuntu native
start up script if someone's already written one.

I've no experience with SNMP, but I think I basically get the idea of
how to develop templates after looking at the wikibook section on
devmon, so I guess I'll be developing a template for the Netgear
STM300 unless someone's already done it. :) Netgear ReadyNAS 1100? :)

Regards,
Thomas Leavitt

On Mon, Aug 17, 2009 at 7:49 AM, Buchan Milne<user-9b139aff4dec@xymon.invalid> wrote:
On Friday, 14 August 2009 15:08:33 user-2e62ad6fd761@xymon.invalid wrote:
Hi,

Could I get a quick-and-dirty explanation regarding the Devmon
implementation in Xymon 4.3.x?
Nothing has changed regarding Devmon in Xymon 4.3.x.

However, Xymon itself has some basic native SNMP support, which is new in
4.3.x.
The way I understand it, Devmon provides SNMP capabilities to Xymon so the
monitoring server can poll SNMP capable devices.

How is this different to Integrating MRTF data into XYMON, for example?
Devmon only polls devices, does conversion and formatting of data, which it
then sends to Xymon as a normal status message. A devmon RRD collector is now
shipped with Xymon (as of 4.2.2), that allows RRD graphs to be created by
Xymon for any test/template that includes data intended for this purpose
(using the rrd option to the TABLE operator in the template file on the devmon
side), if the test is mapped to use this collector (in the TEST2RRD variable
in hobbitserver.cfg).

Besides the graphs, devmon will also change the "colour" of the tests based on
thresholds, allowing you to alert on SNMP data (including non-graph data).
If I am interesting in getting bandwidth for various device interfaces, I
am assuming it is best to do via Devmon rather than integrate MRTG?
I think it is probably easier to get bandwidth graphs up with Devmon than with
MRTG, and alerts based on link utilisation will be available out-the-box.
Lastly, is there a readme / howto that explains devmon-xymon setup?
If you're on a distro that provides devmon, it is more or less a matter of:

# $install devmon

(where install=urpmi for Mandriva, or $install="yum install" on RHEL or CentOS
if you have added the repo at e.g.
http://staff.telkomsa.net/packages/rhel5/xymon)

# vi /etc/devmon.cfg

(set your SNMP community strings in the SNMPCIDS variable, the others should
have adequate defaults)

# /etc/init.d/devmon readbbhosts

# /etc/init.d/devmon start


If you're adventurous, you could add the weathermap (see
http://staff.telkomsa.net/~bgmilne/xymon/).

If you're not on a distro with packages available, please see the INSTALLATION
and USING files shipped in the docs directory.

Regards,
Buchan