I’ve just got a discovery plugin written for my
CMTS’s. JFFNMS will find them add them to the list of interfaces for the
host and the pollers seems to poll the info (output below) 10:41:57 : H 5 : Poller Start : 7
Items. 10:41:57 : H 5 : I 653 :
P 1 : snmp_counter:cisco_cmts_cm_online(.1.3...14): 129 ->
buffer(): 1 (time P:6.79 | 0.65) 10:41:57 : H 5 : I 653 :
P 2 : snmp_counter:cisco_cmts_snr(.1.3...14): 288 -> buffer(): 2
(time P:2.26 | 0.29) 10:41:57 : H 5 : I 653 :
P 3 : snmp_counter:cisco_cmts_unerrored(.1.3...14): 2647008182
-> buffer(): 3 (time P:2.08 | 0.32) 10:41:57 : H 5 : I 653 :
P 4 : snmp_counter:cisco_cmts_corrected(.1.3...14): 32572232 ->
buffer(): 4 (time P:2.2 | 0.31) 10:41:57 : H 5 : I 653 :
P 5 : snmp_counter:cisco_cmts_uncorrected(.1.3...14): 639349 ->
buffer(): 5 (time P:2.5 | 0.3) 10:41:57 : H 5 : I 653 :
P 10 : no_poller(): 0 -> rrd(*): cisco_cmts_snr:288 -
cisco_cmts_cm_online:129 (time P:0.44 | 47.18) 10:41:57 : H 5 : I 653 :
P LPD : last_poll_date(): 1143654117 -> db(last_poll_date): 1 (time P:0.53 |
5.37) 10:41:57 : H 5 : Poller End, Total
Time: 118.03 msec. The unerrored, corrected and uncorrected graph has not been
completed yet but it should still graph the snr and cm_online right? The RRD Files have been created and have values in them (SNR
is an integer as opposed to a floating point so it reads as 288 instead of 28.8
but that I believe is something that RRDtool will have to correct. So everything appears to be working/graphing but when I try
to look at the graph in the frontend it says: The RRDTool files for Interface ID 648 (from Host ID 5), has not been
created by the Poller Process yet The RRDTool files for Interface ID 648 (from Host ID 5), has not been
created by the Poller Process yet The RRDTool files for Interface ID 648 (from Host ID 5), has not been
created by the Poller Process yet The RRD Files permissions are: -rw-rw---- 1 jffnms jffnms 829980 Mar 29 11:25
interface-648-0.rrd -rw-rw---- 1 jffnms jffnms 829980 Mar 29 11:25
interface-648-1.rrd -rw-rw---- 1 jffnms jffnms 829980 Mar 29 09:05
interface-648-2.rrd The graphing plugin I wrote for the SNR (rrd file
interface-648-0.rrd) is as follows: // Docsis CMTS Signal to Noise Ration function graph_cisco_cmts_snr ($data) { $opts_DEF = rrdtool_get_def($data,array(snr=>"cisco_cmts_snr_b")); $opts_GRAPH =
array(
"CDEF:snr=cisco_cmts_snr_b",
"CDEF:snr=snr,UN,0,snr,IF",
"AREA1:snr#00CC00:'SNR'",
"GPRINT:snr:LAST:'Last\: %4.1lf \\n'"
); $opts_header[] =
"--vertical-label='SNR'"; return array
($opts_header, @array_merge($opts_DEF,$opts_GRAPH)); } The rrdtool dump interface-648-0.rrd | for
interface-648-0.rrd outputs: <!-- Round Robin Database Dump --> <rrd> <version>
0001 </version> <step> 300
</step> <!-- Seconds -->
<lastupdate> 1143657006 </lastupdate> <!-- 2006-03-29 11:30:06
MST --> <ds>
<name> data </name>
<type>
GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> 5.0000000000e+05 </max>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 1.7280000000e+03 </value>
<unknown_sec> 0 </unknown_sec> </ds> <!-- Round Robin Archives --> And tail outputs:
<!-- 2006-03-29 11:00:00 MST / 1143655200 --> <row><v>
2.8700000000e+02 </v></row>
<!-- 2006-03-29 11:05:00 MST / 1143655500 --> <row><v>
2.8406000000e+02 </v></row>
<!-- 2006-03-29 11:10:00 MST / 1143655800 --> <row><v>
2.8694000000e+02 </v></row>
<!-- 2006-03-29 11:15:00 MST / 1143656100 --> <row><v>
2.8700000000e+02 </v></row>
<!-- 2006-03-29 11:20:00 MST / 1143656400 --> <row><v>
2.9093333333e+02 </v></row>
<!-- 2006-03-29 11:25:00 MST / 1143656700 --> <row><v> 2.8708000000e+02
</v></row>
<!-- 2006-03-29 11:30:00 MST / 1143657000 --> <row><v>
2.8798000000e+02 </v></row>
</database> </rra> </rrd> Rrdtool version 1.0.49 Jffnms version 0.8.2 The rest of my graphs work just fine just the graphs for the
new interface type… Any ideas as to what I’m doing wrong? If you need more
output please let me know. Thanks, Kory -- -- |
- [jffnms-users] FW: RRD graphs exist but error says "not c... Kory