Page 2 of 2
Re: Nagios not seeing all indexes in the router
Posted: Tue Aug 02, 2011 1:50 pm
by lamin
I am still having that issue.
Re: Nagios not seeing all indexes in the router
Posted: Tue Aug 02, 2011 3:59 pm
by nscott
Ok, lets see if this is an MRTG issue or a Nagios XI issue, do this command:
Code: Select all
cfgmaker <your community string>@<devices IP> --global --output > MRTGTESTOUT.txt
What is MRTG saying about the interface in that text file? Is it showing up in there?
Re: Nagios not seeing all indexes in the router
Posted: Wed Aug 03, 2011 6:23 am
by lamin
yes indeed, I am seeing the interface in the output file. I guess the issue is with nagios.
Re: Nagios not seeing all indexes in the router
Posted: Wed Aug 03, 2011 9:22 am
by nscott
Wow, this is bizarre. But, bizarre is good, because bizarre has symptoms. Also, I apologize for asking you to do so many steps, but I've never seen this before so I have to take it one step at a time rather than offer you an immediate solution.
We will next need to see what Nagios is using as a reference file. These usually get stored in
/usr/local/nagiosxi/tmp/ as mrtgscan-<IPADDRESS OF DEVICE>
So open up the wizard, run a scan against the router and then check the corresponding mrtgscan, do you see your interface in there, or is it commented out?
Re: Nagios not seeing all indexes in the router
Posted: Wed Aug 03, 2011 9:39 am
by lamin
bingo! After deleting the mrtgscan-<IPADDRESS OF DEVICE> file in /usr/local/nagiosxi/tmp/ then requery the wizard and i see the new port/index. So waht is the remedy going forward? Is it ok to delete all reference files even though i am still monitoring the devices?
Thanks
Re: Nagios not seeing all indexes in the router
Posted: Wed Aug 03, 2011 10:05 am
by nscott
Those mrtgscan are only for the initial setup by the wizard, so you will not need them going forward. And thats great, thanks for troubleshooting that for, I'll try and get this incorporated in a switch wizard bugfix.
Re: Nagios not seeing all indexes in the router
Posted: Wed Aug 03, 2011 10:09 am
by lamin
Thank you. Are all reference wizards stored in the directory?
Re: Nagios not seeing all indexes in the router
Posted: Wed Aug 03, 2011 10:36 am
by nscott
Do you mean 'Are all temporary reference files for wizards stored in that folder?' Then yes, any wizards that need a temporary file (SNMPWalk and the Switch wizard are the only ones I know off the top of my head) will store them in there. But the actual wizards are not stored in that directory.
Re: Nagios not seeing all indexes in the router
Posted: Wed Aug 03, 2011 10:38 am
by lamin
Cool, so deleting them will not hurt anything. Right!
Re: Nagios not seeing all indexes in the router
Posted: Wed Aug 03, 2011 10:44 am
by nscott
Nope, you should be ok deleting those.