I am trying to add new ports to be monitored. When adding them they rrd files do not seem be created. I checked folder permissions and everything seems fine. bc is install and I am running the latest version of XI. I look in the mrtg.cfg file and the port is listed there and looks proper.
Jim
Not creating rrd files
Not creating rrd files
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Not creating rrd files
Just to be clear, I am getting "/var/lib/mrtg/10.10.10.80_8.rrd does not exist." error. Of course the IP changes depending on the device.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Not creating rrd files
So everything is working fine with the old ports, it's just the new ones that you are having issues with, right?
Can you describe the steps you took to add the new ports? The more details you give us the easier will be for us to troubleshoot the issue.
Can you describe the steps you took to add the new ports? The more details you give us the easier will be for us to troubleshoot the issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Not creating rrd files
Correct, old ports are working fine.lmiltchev wrote:So everything is working fine with the old ports, it's just the new ones that you are having issues with, right?
Can you describe the steps you took to add the new ports? The more details you give us the easier will be for us to troubleshoot the issue.
Steps I took were:
*using the monitoring wizard
*selected network switch/router.
*entered IP, community string, selected port description and selected Cisco
*Let it scan for ports and when completed hit next.
Last time I did this was back in May, 2011 when I was first installing XI using the VM. Since then I have upgraded with every new version that was released.
Thanks
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Not creating rrd files
Bandit,
When you run the Switch wizard it checks to see if there are any entries in the mrtg.cfg that already pertain to the host you are polling, if it contains any entries for your particular host it will not edit your mrtg.cfg. To add items you'll need to go through the mrtg.cfg and remove all entries that pertain to that particular hosts (eg: all switch ports, interfaces, etc). Then you'll need to navigate to /usr/local/nagiosxi/tmp and delete all instances of mrtgscan, you will not harm anything by deleting these mrtgscan files. Then run the wizard.
Before you edit your mrtg.cfg I suggest you make a backup, its not a difficult process to change the mrtg.cfg, but do it for safety reasons. After editing your mrtg.cfg, you can test your changes by running mrtg:
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
If that goes through without a config parse error, you should be good and continue on to the wizard as long as you cleared out all entries for the host you're trying to add to.
When you run the Switch wizard it checks to see if there are any entries in the mrtg.cfg that already pertain to the host you are polling, if it contains any entries for your particular host it will not edit your mrtg.cfg. To add items you'll need to go through the mrtg.cfg and remove all entries that pertain to that particular hosts (eg: all switch ports, interfaces, etc). Then you'll need to navigate to /usr/local/nagiosxi/tmp and delete all instances of mrtgscan, you will not harm anything by deleting these mrtgscan files. Then run the wizard.
Before you edit your mrtg.cfg I suggest you make a backup, its not a difficult process to change the mrtg.cfg, but do it for safety reasons. After editing your mrtg.cfg, you can test your changes by running mrtg:
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg
If that goes through without a config parse error, you should be good and continue on to the wizard as long as you cleared out all entries for the host you're trying to add to.
Nicholas Scott
Former Nagios employee
Former Nagios employee
Re: Not creating rrd files
And it will create all the rrd file missing? I don't need to delete the already existing rrd files for that host also?
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
Re: Not creating rrd files
Worked great, thanks!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github