Page 1 of 2

Switch Wizard - rrd does not exists

Posted: Mon Aug 13, 2012 7:29 am
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.

Re: Switch Wizard - rrd does not exists

Posted: Mon Aug 13, 2012 10:53 am
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

Re: Switch Wizard - rrd does not exists

Posted: Mon Aug 13, 2012 11:07 am
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

Re: Switch Wizard - rrd does not exists

Posted: Mon Aug 13, 2012 12:28 pm
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.

Re: Switch Wizard - rrd does not exists

Posted: Mon Aug 13, 2012 3:11 pm
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

Re: Switch Wizard - rrd does not exists

Posted: Tue Aug 14, 2012 7:15 am
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

Re: Switch Wizard - rrd does not exists

Posted: Tue Aug 14, 2012 7:51 am
by scottwilkerson
Again, does the file /var/lib/mrtg/172.16.4.10_11401.rrd exist?

Re: Switch Wizard - rrd does not exists

Posted: Tue Aug 14, 2012 8:52 am
by gm_rajkumar
No, doesnt exists..

Re: Switch Wizard - rrd does not exists

Posted: Tue Aug 14, 2012 9:10 am
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?

Re: Switch Wizard - rrd does not exists

Posted: Tue Aug 14, 2012 9:21 am
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.