We are using the latest Cacti with certain plugins from the Cacti community and few in-house developed plugins.
We have written PHP scripts as part of Data input methods. One such script polls modems for fetching bit-error rate
values (raw BER and corrected BER). Associated graph template is made to plot these two BERs on a single graph.
The output of the script is as shown below (after SNMP polling and sanity check):
Code: Select all
print "rawBER:$raw_ber correctedBER:$corrected_ber";
Cacti log file displays only rawBER:value as the script output. Corrected BER value is not seen here.
When the script is run from the command line with same options it outputs both the BERs
as shown below:
rawBER:7.57E-04 correctedBER:2.92E-08
We are currently stuck with this!
Cheers,
Venu