Switch Wizard - rrd does not exists
-
gm_rajkumar
- Posts: 187
- Joined: Tue Feb 28, 2012 7:08 am
- Location: CA, USA
Switch Wizard - rrd does not exists
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.
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
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.rrdRe: Switch Wizard - rrd does not exists
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
Also, can you run the following and show us the entire output:
One last thing to check, make sure cron is running:
Code: Select all
ll /var/lib/mrtgCode: Select all
LANG=C LC_ALL=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --checkCode: Select all
service crond statusNicholas Scott
Former Nagios employee
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
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.
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
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/mrtgNicholas Scott
Former Nagios employee
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
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
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
Again, does the file /var/lib/mrtg/172.16.4.10_11401.rrd exist?
-
gm_rajkumar
- Posts: 187
- Joined: Tue Feb 28, 2012 7:08 am
- Location: CA, USA
Re: Switch Wizard - rrd does not exists
No, doesnt exists..
Re: Switch Wizard - rrd does not exists
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
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
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.
Regards,
Raj.