Nagios not seeing all indexes in the router

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Nagios not seeing all indexes in the router

Post by lamin »

I am still having that issue.
You do not have the required permissions to view the files attached to this post.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios not seeing all indexes in the router

Post 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?
Nicholas Scott
Former Nagios employee
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Nagios not seeing all indexes in the router

Post by lamin »

yes indeed, I am seeing the interface in the output file. I guess the issue is with nagios.
You do not have the required permissions to view the files attached to this post.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios not seeing all indexes in the router

Post 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?
Nicholas Scott
Former Nagios employee
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Nagios not seeing all indexes in the router

Post 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
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios not seeing all indexes in the router

Post 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.
Nicholas Scott
Former Nagios employee
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Nagios not seeing all indexes in the router

Post by lamin »

Thank you. Are all reference wizards stored in the directory?
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios not seeing all indexes in the router

Post 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.
Nicholas Scott
Former Nagios employee
lamin
Posts: 177
Joined: Thu Oct 28, 2010 6:59 am

Re: Nagios not seeing all indexes in the router

Post by lamin »

Cool, so deleting them will not hurt anything. Right!
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios not seeing all indexes in the router

Post by nscott »

Nope, you should be ok deleting those.
Nicholas Scott
Former Nagios employee
Locked