Nagios not seeing all indexes in the router
Re: Nagios not seeing all indexes in the router
I am still having that issue.
You do not have the required permissions to view the files attached to this post.
Re: Nagios not seeing all indexes in the router
Ok, lets see if this is an MRTG issue or a Nagios XI issue, do this command:
What is MRTG saying about the interface in that text file? Is it showing up in there?
Code: Select all
cfgmaker <your community string>@<devices IP> --global --output > MRTGTESTOUT.txtNicholas Scott
Former Nagios employee
Former Nagios employee
Re: Nagios not seeing all indexes in the router
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.
Re: Nagios not seeing all indexes in the router
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?
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
Former Nagios employee
Re: Nagios not seeing all indexes in the router
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
Thanks
Re: Nagios not seeing all indexes in the router
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
Former Nagios employee
Re: Nagios not seeing all indexes in the router
Thank you. Are all reference wizards stored in the directory?
Re: Nagios not seeing all indexes in the router
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
Former Nagios employee
Re: Nagios not seeing all indexes in the router
Cool, so deleting them will not hurt anything. Right!
Re: Nagios not seeing all indexes in the router
Nope, you should be ok deleting those.
Nicholas Scott
Former Nagios employee
Former Nagios employee