From: Buchan M. <bg...@st...> - 2010-12-03 15:44:57
|
On Friday, 3 December 2010 14:34:22 Mario Valetti wrote: > Hi, > > I realise my question has previously been posted, but I cannot find an > answer or guide that gets this working on my installation. > > Basically, I want to graph interface errors (if_err), or discards > (if_dsc) or something that is monitored in devmon which is not already > graphed by default (like the if_load, for example). I've followed the > documentation on > http://devmon.svn.sourceforge.net/viewvc/devmon/trunk/docs/GRAPHING, which > I believe is the latest how-to, but at the moment I don't get .rrd files > created after completing steps 1 & 2 and restarting Xymon (adding > "if_err=devmon" to TEST2RRD in hobbitserver.cfg). > > I'm running XYMON 4.3.0.0-beta2, and DEVMON v0.3.1-beta1. I believe the devmon collector module crashes in xymon-4.3.0-beta2, please use beta3. However ... if you are getting graphs for if_load, then there must be a different problem. > As I'm testing this against a 3750 switch, I have also added > "TABLE:rrd(DS:ds0:ifInErrors:COUNTER; DS:ds1:ifOutErrors:COUNTER)" to the > message file of the standard cisco-3750/if_err template as explained in the > docs. > Do you get an RRD table in the html of the test (e.g. View->Source from your browser when viewing the test page for if_err on this device)? If so, what you have done should be sufficient to generate rrd files. You may want to check your rrd-status.log file for any errors. > I've added graph definitions to the hobbitgraph.cfg file; but even if there > is an error there it shouldn't prevent the .rrd files been written, as far > as I understand. > > > Last thing... > I'm not fully understanding the steps (and probably where I'm going wrong: > * "In order for Hobbit to collect the values and update the RRD files, you > need to either use a script with the --extra-script option to > hobbitd_rrd (such as extras/devmon-rrd.pl) or use the supplied devmon > rrd collector module (extras/do_devmon.c) and the patch ( > extras/hobbit-4.2.0-devmon.patch) which adds the collector to do_rrd.c."* > > How do I use the supplied devmon rrd collector module to make Hobbit > collect the data? Xymon now includes this collector module by default. You do not need a script, and setting if_err=devmon in TEST2RRD is all that is required to "use the devmon rrd collector module". > Do I need to schedule a script which runs this > periodically? No. Regards, Buchan |