Hi,
I'm using Cacti to monitor a bunch of network probes (Accedian EtherNID and MetroNID) and built my own templates for this, which is working fine. I do have one problem:
Delay values are returned in micro-seconds and percentage values (i.e. packet loss) is returned in hundreds of a percent. I would like to change these values (micro-seconds to milli-seconds and hundreds of a percent to percent) before storing them. I've been loking for some way to do math with regexp in the query xml file, but I have had no success so far.
Could someone help me to come up with a solution?
(The reason for wanting to do this is that, i.e. a delay of 10mS is now displayed as "10k-uS". Not particurlarly pretty )
Doing math on SNMP values before storing in RRD
Moderators: Developers, Moderators
Re: Doing math on SNMP values before storing in RRD
Alternatively, you keep the values returned via SNMP and instead use a CDEF to apply the appropriate math for the unit conversion. The various traffic graphs already do this for an example.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Re: Doing math on SNMP values before storing in RRD
Thank you! That solves my problem perfectly!
Re: Doing math on SNMP values before storing in RRD
Do you mind sharing this template? I'd like to monitor some of the NIDs and Nodes we have as well. Also, does your template provide optical light levels from the Accedian devices?
Thanks,
Shastri - CCNA, JNCIA-Junos, JNCIA-FWV, JNCIS-SEC
_____________________________________________
Cacti Version 0.8.7g
PIA, Aggregate, Ipsubnet, Realtime, Nectar, Thold
Shastri - CCNA, JNCIA-Junos, JNCIA-FWV, JNCIS-SEC
_____________________________________________
Cacti Version 0.8.7g
PIA, Aggregate, Ipsubnet, Realtime, Nectar, Thold
Re: Doing math on SNMP values before storing in RRD
Would you mind sharing the template for Accedian NID
Thanks
Sanket
Thanks
Sanket
-
- Posts: 1
- Joined: Mon Nov 28, 2016 8:07 am
Re: Doing math on SNMP values before storing in RRD
Does anyone have a Cacti template for Accedian MetroNID's? Looking to add graphing for my PAA-probes.
Who is online
Users browsing this forum: No registered users and 2 guests