Switch wizard adding everything except entry in mrtg.cfg
Posted: Thu Feb 27, 2014 3:13 pm
So I've tried everything I can think of now. I'm trying to add a router, and using the wizard. I'm running XI 2012R2.9 and I know the switch wizard is working correctly for other hosts (I just added a completely different router 20 minutes ago with no issues), but this one is being a pain. After running the wizard, configmaker (I think that's what it's called) adds the rrd and xml files needed into perfdata, it adds the rrd files in var/lib/mrtg, it adds the cfg files into /usr/local/nagios/etc/hosts and services, but it does not add the router to mrtg.cfg.
Little background refresher (I've been here for mrtg issues before):
I have the separate_mrtg_configs script, which seems to be working fine. I only mention it because I don't know if it'd be relevant or not. There is also not a separate cfg file for this router in the conf.d directory if that matters.
This router is using snmpv2 (same as all of our routers, which are working)
This router was in Nagios before, but wasn't collecting bandwidth data so I decided to re-add it. I removed it from mrtg.cfg, removed all rrd and xml files in perfdata, removed all rrd files in /var/lib/mrtg, cleared mrtgscan tmp files, removed the separate cfg file from /etc/mrtg/conf.d, and removed the cfg files from the host and services directories. Basically removing all trace of the router as if I were starting from scratch. This issue cropped up when I tried to re-add it.
It should also be noted that I just did this exact process (remove completely and re-add a router) roughly 20-30 minutes ago on a different router and everything worked without issue.
Little background refresher (I've been here for mrtg issues before):
I have the separate_mrtg_configs script, which seems to be working fine. I only mention it because I don't know if it'd be relevant or not. There is also not a separate cfg file for this router in the conf.d directory if that matters.
This router is using snmpv2 (same as all of our routers, which are working)
This router was in Nagios before, but wasn't collecting bandwidth data so I decided to re-add it. I removed it from mrtg.cfg, removed all rrd and xml files in perfdata, removed all rrd files in /var/lib/mrtg, cleared mrtgscan tmp files, removed the separate cfg file from /etc/mrtg/conf.d, and removed the cfg files from the host and services directories. Basically removing all trace of the router as if I were starting from scratch. This issue cropped up when I tried to re-add it.
It should also be noted that I just did this exact process (remove completely and re-add a router) roughly 20-30 minutes ago on a different router and everything worked without issue.