Switch Wizard - rrd does not exists

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Switch Wizard - rrd does not exists

Post by gm_rajkumar »

Hi,

I have configured a switch, port status is fine. However, bandwidth status shows as var.lib/mrtg/172.16.4.10_11401.rrd does not exists message. I have checked the file permission (referred this link: http://support.nagios.com/wiki/index.php/Nagios_XI:FAQs). let me know if anything needs to be modified.

Thanks!
Raj.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Switch Wizard - rrd does not exists

Post by scottwilkerson »

Are you saying you do have a file /var/lib/mrtg/172.16.4.10_11401.rrd

Code: Select all

ls -l /var/lib/mrtg/172.16.4.10_11401.rrd
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Switch Wizard - rrd does not exists

Post by nscott »

The tricky part about the switch wizard is its not using the normal directory for perfdata, but instead is using /var/lib/mrtg, can you show us the output of

Code: Select all

ll /var/lib/mrtg
Also, can you run the following and show us the entire output:

Code: Select all

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --check
One last thing to check, make sure cron is running:

Code: Select all

service crond status
Nicholas Scott
Former Nagios employee
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: Switch Wizard - rrd does not exists

Post by gm_rajkumar »

ll /var/lib/mrtg, it has read and write access for root and im running in nagios in root. t

LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --check - i gave this command, but there is no result.


service crond status - running fine. I can able to see port status but for bandwidth details only im getting this issue.
One more thing, i have configured other cisco switches that i can see port, bandwidth details. But tricky that is i am using Giga ports, therefore port bandwindth (in & out) unable to capture by rrd(just guessing).
let me know if you need further info.

Regards,
Raj.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Switch Wizard - rrd does not exists

Post by nscott »

Just to be clear, the file you stated earlier: /var/lib/mrtg/172.16.4.10_11401.rrd, does this file actually exist on the file system. Can you give me the output of

Code: Select all

ll /var/lib/mrtg
Nicholas Scott
Former Nagios employee
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: Switch Wizard - rrd does not exists

Post by gm_rajkumar »

I can see -rw-r--r--r-- for all the files in /var/lib/mrtg. let me know if you need further details.

Thanks!
Raj
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Switch Wizard - rrd does not exists

Post by scottwilkerson »

Again, does the file /var/lib/mrtg/172.16.4.10_11401.rrd exist?
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: Switch Wizard - rrd does not exists

Post by gm_rajkumar »

No, doesnt exists..
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Switch Wizard - rrd does not exists

Post by nscott »

Did you add monitoring of this port after you had already set up monitoring of the switch and router? To clarify my point: Did you run the switch and router wizard once, then at a later point run it again and added additional ports to it?
Nicholas Scott
Former Nagios employee
gm_rajkumar
Posts: 187
Joined: Tue Feb 28, 2012 7:08 am
Location: CA, USA

Re: Switch Wizard - rrd does not exists

Post by gm_rajkumar »

Im configuring this specific cisco switch for the first time, other than this i have configured other switches as well its working fine with out any issues. For this issue, i have deleted the services and host entries and reconfigured it. However, i have got the same issue. Is this issue related to Gbps/Mbps earlier all switch ports (working ones) in Mbps but this is one Gbps. let me know if you need further info.

Regards,
Raj.
Locked