Page 1 of 1

Monitor network device but collect no traffic?!

Posted: Wed Feb 05, 2020 11:16 am
by xpertech
Sometimes use NagiosXI to monitor network devices, but no traffic been collected?! the devices do have traffics on them but NagiosXI collect none?!

had post before, that also collect no traffic (similar situation) ...
https://support.nagios.com/forum/viewto ... it=traffic

When that happened(collect no traffic), we did the following...
1. Find the network device(from Home>Hosts Status to find it's IP, or from CCM>Monitor>Hosts to check it's IP)
2. Backup mrtg config then manual delete mrtg config and performance
mv /etc/mrtg/conf.d/210.63.100.6.cfg /etc/mrtg/conf.d/210.63.100.6.cfg.BK
rm /var/lib/mrtg/210.63.100.6*
3. Add new monitor from Configure Wizards [Network Switch/Router]
4. Wait 20 minutes and then can see the traffic been collected

but after done the above steps, the old configuration of "GigabitEthernet0/0/1 Circuit ID:C3008086 Bandwidth" traffic turn 0 (had traffic before), seems affected by the above steps?!
had tried to recover(cp /etc/mrtg/conf.d/210.63.100.6.cfg.BK /etc/mrtg/conf.d/210.63.100.6.cfg) but still no traffic collected, how to fix that?

the above step 3. was adding a new host, but how come it affected the old configuration?!


We were trying to fix "GigabitEthernet0/0/3 APTG 60M Bandwidth" collecting no traffic problem, follow the above 1. to 4. steps, and problem did solved, but it seems affect "GigabitEthernet0/0/1 Circuit ID:C3008086 Bandwidth" and traffic turn 0?!

Re: Monitor network device but collect no traffic?!

Posted: Wed Feb 05, 2020 6:28 pm
by Box293
What is the output of running this command:

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg