Cacti/NaN in rrd files and no graph

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
darkleo27
Posts: 2
Joined: Fri Apr 09, 2021 10:48 pm

Cacti/NaN in rrd files and no graph

Post by darkleo27 »

Hi everybody!!
I have a big issue with Cacti, I'm new in Cacti (no experience), I have installed V. 1.2.15 Centos 7, I can graph traffic interfaces from CMTS Cisco without problem, but I've downloaded a template in order to graph SNR, FEC, and others. But it doesn't work. Apparently, everything is ok, but it's not true. So, What can I do?

This is the log:
2021-04-06 10:40:57 - POLLER: Poller[Main Poller] WARNING: Invalid Response(s), Errors[3] Device[CMTS_CISCO] Thread[1] DS[CMTS_CISCO - Traffic - Fa0/0/0, CMTS_CISCO - Traffic - Gi0/0/0, CMTS_CISCO - Logged in Users] Graphs[CMTS_CISCO - Traffic - Fa0/0/0, CMTS_CISCO - Traffic - Gi0/0/0, CMTS_CISCO - Logged in Users]
2021-04-06 10:40:51 - POLLER: Poller[Main Poller] WARNING: Invalid Response(s), Errors[8] Device[CMTS_CCNET] Thread[1] DS[CMTS_CCNET -, CMTS_CCNET - Util. - CATV-MAC 1 - VILLAMARIA_OFICINA, CMTS_CCNET - Util. - CATV-MAC 2 - VILLAMARIA_PORTON, CMTS_CCNET - Util. - CATV-MAC 3 - VILLAMARIA_CENTRO, CMTS_CCNET - Util. - CATV-MAC 4 - CAI_PRADERA, CMTS_CCNET - Util. - CATV-MAC 5 - TURIN, CMTS_CCNET - Util. - Upstream Physical Interface 3/0.0 - VILLAMARIA_OFICINA, CMTS_CCNET - Util. - Upstream Physical Interface 3/0.1 - VILLAMARIA_OFICINA] Graphs[CMTS_CCNET -, CMTS_CCNET - Util. - CATV-MAC 1 - VILLAMARIA_OFICINA, CMTS_CCNET - Util. - CATV-MAC 2 - VILLAMARIA_PORTON, CMTS_CCNET - Util. - CATV-MAC 3 - VILLAMARIA_CENTRO, CMTS_CCNET - Util. - CATV-MAC 4 - CAI_PRADERA, CMTS_CCNET - Util. - CATV-MAC 5 - TURIN, CMTS_CCNET - Util. - Upstream Physical Interface 3/0.0 - VILLAMARIA_OFICINA, CMTS_CCNET - Util. - Upstream Physical Interface 3/0.1 - VILLAMARIA_OFICINA]
2021-04-06 10:40:02 - POLLER: Poller[Main Poller] WARNING: Invalid Response(s), Errors[9] Device[RFGW-10] Thread[1] DS[RFGW-10 - Traffic - Qa3/1, RFGW-10 - Traffic - Qa3/2, RFGW-10 - Traffic - Qa3/3, RFGW-10 - Traffic - Qa3/9, RFGW-10 - Traffic - Qa3/10, RFGW-10 - Traffic - Qa4/1, RFGW-10 - Traffic - Qa4/2, RFGW-10 - Traffic - Qa4/3, RFGW-10 - Traffic - Qa4/9] Graphs[RFGW-10 - Traffic - Qa3/1, RFGW-10 - Traffic - Qa3/2, RFGW-10 - Traffic - Qa3/3, RFGW-10 - Traffic - Qa3/9, RFGW-10 - Traffic - Qa3/10, RFGW-10 - Traffic - Qa4/1, RFGW-10 - Traffic - Qa4/2, RFGW-10 - Traffic - Qa4/3, RFGW-10 - Traffic - Qa4/9]

I did the snmpwalk and snmpget and it works!
Traffic without problem.
down.png
down.png (100.54 KiB) Viewed 5558 times
SNR, no graph, no real time too. -nan, template loaded successfully
snr.jpg
snr.jpg (75.38 KiB) Viewed 5558 times
Mode debug
debug.jpg
debug.jpg (69.1 KiB) Viewed 5558 times
Thanks for your help, comments.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Cacti/NaN in rrd files and no graph

Post by cigamit »

Seems your device doesn't support those OIDs. The OK at the bottom is saying the graph syntax is OK, which it is, your just getting no data because your devices are returning invalid responses when queried at that appropriate OID.
darkleo27
Posts: 2
Joined: Fri Apr 09, 2021 10:48 pm

Re: Cacti/NaN in rrd files and no graph

Post by darkleo27 »

Thanks @cigamit , I'd like to know, How can I know (inside the device) if the device supports it or not. With snmpwalk o snmpget I have the information. Example:
snmpget -v2c -c tevenet 172.24.*.* .1.3.6.1.2.1.31.1.1.1.18.2000001
IF-MIB::ifAlias.2000001 = STRING: VILLAMARIA_OFICINA
amcneal
Posts: 2
Joined: Thu Apr 07, 2022 12:38 pm

Re: Cacti/NaN in rrd files and no graph

Post by amcneal »

darkleo27 wrote: Sun Apr 11, 2021 10:08 pm Thanks @cigamit , I'd like to know, How can I know (inside the device) if the device supports it or not. With snmpwalk o snmpget I have the information. Example:
snmpget -v2c -c tevenet 172.24.*.* .1.3.6.1.2.1.31.1.1.1.18.2000001
IF-MIB::ifAlias.2000001 = STRING: VILLAMARIA_OFICINA
if you are trying to graph the output of of your snmpget command you are going to have a bad time. In order to create a graph you have to get back a number, you are getting a string back.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests