check_rrdtraf check router interface but collect no traffic?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

check_rrdtraf check router interface but collect no traffic?

Post by xpertech »

before change Cisco routers, there's no problem using check_rrdtraf to collect router interface mrtg traffic data, but after changed Cisco routers model, NagiosXI seems can not collect some of the mrtg traffic data?!
1. NagiosXI/mrtg remained the same.
2. New model Cisco routers had different IP.
3. For the new Cisco routers, there're normal traffic data displayed on MRTG, but no traffic data on NagiosXI plugin check_rrdtraf(check_mrtgtraf).

what could be the problem?
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: check_rrdtraf check router interface but collect no traf

Post by mbellerue »

Can you post the check command you use to monitor the new Cisco routers, as well as the command for the old Cisco routers? Are these routers monitored via SNMP? Did you run through a wizard when you put the new routers in place?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: check_rrdtraf check router interface but collect no traf

Post by xpertech »

the command used to monitor old/new Cisco router was the same one, through SNMP, same setup steps via wizard.
You do not have the required permissions to view the files attached to this post.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: check_rrdtraf check router interface but collect no traf

Post by mbellerue »

Perfect, thank you! Also, what is the model of the new Cisco router?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: check_rrdtraf check router interface but collect no traf

Post by xpertech »

old router model is Cisco CISCO1941/K9

new router model is Cisco CISCO891
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: check_rrdtraf check router interface but collect no traf

Post by mbellerue »

Perfect, thank you. Can you run this command on your Nagios system. I want to see whether or not that file is being written to.

Code: Select all

ls -lh /var/lib/mrtg/10.118.1.214_*
It might also be worth PM'ing me a profile. Admin -> System Profile -> Download Profile
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: check_rrdtraf check router interface but collect no traf

Post by xpertech »

already PM attachment.
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: check_rrdtraf check router interface but collect no traf

Post by mbellerue »

Excellent, I have the profile, I'm going to take a look through that. Can you also post the output from this command?

Code: Select all

ls -lh /var/lib/mrtg/10.118.1.214_*
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
xpertech
Posts: 399
Joined: Thu Sep 01, 2011 9:47 pm

Re: check_rrdtraf check router interface but collect no traf

Post by xpertech »

Had PM some attachments...
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: check_rrdtraf check router interface but collect no traf

Post by mbellerue »

Everything looks good. Can you run this command, and if it returns any output, go ahead and send it to me.

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked