Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
I am having trouble finding anything wrong with your definition, what happens when you change the command definition to check for the commands.cfg as I mentioned above and you force the check through the web UI. I'm wondering if it will tell you it cant find that file too..
slansing wrote:I am having trouble finding anything wrong with your definition, what happens when you change the command definition to check for the commands.cfg as I mentioned above and you force the check through the web UI. I'm wondering if it will tell you it cant find that file too..
That sounds like a good idea! Another thought might be to add the nagios user to tmc group so that it will have access.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
sreinhardt wrote:That sounds like a good idea! Another thought might be to add the nagios user to tmc group so that it will have access.
I added nagios to the tmc group and tmc to the nagios group a few days ago and that did not help.
I found the reason why it was not working... /media and /media/tmc are owned by root:root. The reason Nagios did not have access is /media/tmc was lacking 'other' read rights. As soon as I gave the /media/tmc folder nagios can see everything just fine!
Thank you everyone! Still very new to Linux and it feels like I'm trying to swim before learning how to dog paddle... But its fun!