Blank interface graphs for a single server while others work

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
tbone
Posts: 5
Joined: Wed Oct 28, 2009 1:25 pm
Location: Bucharest / ROmania
Contact:

Blank interface graphs for a single server while others work

Post by tbone »

Hello there,

I've hit the weirdest bump with cacti, while polling one of my servers. I've recently started out with a fresh install of cacti-1.1.31, which I've later upgraded to the latest 1.1.37 hoping it would fix this, but it seems the problem persists. I've populated the devices list with a few devices, and it seems all of them display the interface information (In/Out bits-64-bit counters and In/Out Unicast Packets) correctly, but one server doesn't:
Blank interface graphs
Blank interface graphs
1.png (109.03 KiB) Viewed 722 times
I'm using cacti with spine, so the first step in troubleshooting was to enable debug logging and see what's going on. Related to this particular server, I'm seeing the following:

Code: Select all

2018-03-30 16:28:04 - SPINE: Poller[Main Poller] Device[5] Device[leviathan.<obfuscated>] TH[1] Graphs[leviathan.<obfuscated> - Traffic - eth0, leviathan.<obfuscated> - Traffic - eth0] DS[leviathan.<obfuscated> - Traffic - <public-ip-address> - eth0] SNMP: v2: <public-ip-address>, dsname: traffic_out, oid: .1.3.6.1.2.1.31.1.1.1.10.2, value: 529355196684
2018-03-30 16:28:04 - SPINE: Poller[Main Poller] Device[5] Device[leviathan.<obfuscated>] TH[1] Graphs[leviathan.<obfuscated> - Traffic - eth0, leviathan.<obfuscated> - Traffic - eth0] DS[leviathan.<obfuscated> - Traffic - <public-ip-address> - eth0] SNMP: v2: <public-ip-address>, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.2, value: 366238621169 
..which to my untrained eye seems to be ok. Both traffic_in and traffic_out have non-zero values. Also, running a snmpwalk for those two oid's, yield non-zero values every time. I haven't included the Unicast Packets lines, but they yield non-zero values as well.

The next step in troubleshooting, I turned on Graph Debug Mode, thinking there was something wrong with the rrd file. To my surprise, rrdtool reported everything is OK:
RRdtool reports ok
RRdtool reports ok
2.PNG (144.97 KiB) Viewed 722 times
The destination server (leviathan) is a HP DL180 G6 server running ubuntu 16.04.4 LTS, and snmp 5.7.3+dfsg-1ubuntu4.1 from the repos. The network interfaces are polled correctly from the server, in the "create graphs for this device" page:
Create graphs for this device
Create graphs for this device
3.PNG (42.15 KiB) Viewed 722 times
As a special mention, I've also created graphs for the dockerbr0, tun0, and tun12 interfaces, all of which pass traffic and neither display In/Out bits or In/Out Unicast Packets.
I've checked the cacti installed directory, everything is owned by the "www" user, so there's no permissions problems. I've also checked the cacti and webserver logs, don't have any warnings/errors. I'm polling a bunch of other servers, different models, physical and virtual and they all work. All except for this particular one.
I'm at a loss as to what to try next, can anyone throw a hint my way ?

P.S: As a special mention, other graphs (like processor, memory, disk usage, etc) work fine for this server. It seems only the "network interface"-related graphs don't work.
Thank you!

Regards,
-tbone
User avatar
camerabob
Cacti User
Posts: 386
Joined: Fri Feb 10, 2017 2:45 pm
Location: Long Island, New York, USA
Contact:

Re: Blank interface graphs for a single server while others

Post by camerabob »

Have you tried 'in/out bits' not 64 bit counters?
Prod: Cacti 1.2.15 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Maint @ 1.2
Monitor @ 2.3.6
Thold @ 1.2.4

Temp: Cacti 1.2.3 @ CentOS Linux release 7.9.2009 (Core) & PHP 5.4.16-48.el7
Flowview @ 2.1
Mactrack @ 4.2
Maint @ 1.2
Monitor @ 2.3.6
Router Configs @ 1.3.4
Syslog Monitoring @ 2.1
Thold @ 1.2.4
tbone
Posts: 5
Joined: Wed Oct 28, 2009 1:25 pm
Location: Bucharest / ROmania
Contact:

Re: Blank interface graphs for a single server while others

Post by tbone »

Yes, I've forgot to mention this.
I've tried creating for that server's interfaces: In/Out bits (non 64-bit counters), In/Out bytes 64-bit/non-64-bits, result is the same.
Same goes for In/Out unicast/Non-Unicast/Multicast/Errors/etc.

I've basically tried to create every type of graph available, let them poll for a day, and eventually deleted them. They were all flatlined at 0, as per my post above.

What throws me off is the fact that spine reports a value each time it polls, but that value seems to not be passed along to cacti?

Thank you!

Regards,
-tbone
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests