<div dir="ltr">Brian<div><br></div><div>Thanks for your work on this. Hopefully your patches will make it to mainline source.</div><div><br></div><div>A question about the patch for graphs.cfg. The RRD files I have named ifmib.<ifname>.rrd all have InOctets and InUcastPkts. I think these are created by Devmon. I would think that most deployments using SNMP with Xymon use devmon for this, so there may be a lot of RRD files using the pre-patched version of the [ifmib] section from graphs.cfg, and their presentation would break if your patch was applied. I wonder if it's a better idea to patch snmpmibs.cfg to use inOctets instead of ifInOctets, etc, and maintain compatibility with devmon.</div><div><br></div><div>Cheers</div><div>Jeremy</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 1 Jul 2021 at 15:10, Brian Scott <<a href="mailto:Brian.Scott@bunyatech.com.au">Brian.Scott@bunyatech.com.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi,<br>
<br>
I've been poking about with SNMP data collection with xymon for the last <br>
few days and have a few patches that may be useful for the next release, <br>
or for others exploring SNMP processing.<br>
<br>
The one for snmpmibs.cfg is from a post by Jeremy Laidman a while back <br>
so may already be in source control. It just removes a unwanted '(' from <br>
a mib definition. Thanks.<br>
<br>
The graphs.cfg patch is for typing mistake in the graph definition for <br>
ifmib and ifmib1.<br>
<br>
The xymon-snmpcollect.c one is for a programming error in automatically <br>
finding the snmphosts.cfg file if not specified on the command line.<br>
<br>
Finally, the showgraph.c patch is an enhancement to create a new <br>
substitutable, @BLANK@, that outputs blanks to take up the same space as <br>
@RRDPARAM@ in the graph legend.<br>
<br>
I've done a bit of a write-up of what I've done/found which I'll send a <br>
link to in the next few days.<br>
<br>
<br>
Cheers,<br>
<br>
Brian Scott<br>
<br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" rel="noreferrer" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><br>
</blockquote></div>