Re: configure_nagios.sh seems to be stuck in a loop
Posted: Thu Apr 29, 2021 12:11 pm
Hi Benjamin
Sorry to say that did not fix it I did have hopes there for a minute
I did the sudoers file from the steps provided but that still did not allow for the System Profile to be completed via the web page so I had to run the two commands and download the zip file
We have our systems configured by puppet so I had to reenable puppet and that put all the details back into the sudoers file
because of puppet we have the same contents in all the sudoers files on all of our Nagios servers
After running puppet I was tailing the cmdsubsys.log file and it looked good this is what I seen
RETURNCODE=0
.....................................................
PROCESSED 2 COMMANDS
............................................................
PROCESSED 0 COMMANDS
.........................................................
PROCESSED 0 COMMANDS
.........................................................................
PROCESSED 0 COMMANDS
...............................................
PROCESSED 0 COMMANDS
..............................................................
PROCESSED 0 COMMANDS
..........................................................
PROCESSED 0 COMMANDS
..........................................................
But as soon as I Applied the Configuration the system went back into its loop again just applying the config over and over again
See attached files
Sorry to say that did not fix it I did have hopes there for a minute
I did the sudoers file from the steps provided but that still did not allow for the System Profile to be completed via the web page so I had to run the two commands and download the zip file
We have our systems configured by puppet so I had to reenable puppet and that put all the details back into the sudoers file
because of puppet we have the same contents in all the sudoers files on all of our Nagios servers
After running puppet I was tailing the cmdsubsys.log file and it looked good this is what I seen
RETURNCODE=0
.....................................................
PROCESSED 2 COMMANDS
............................................................
PROCESSED 0 COMMANDS
.........................................................
PROCESSED 0 COMMANDS
.........................................................................
PROCESSED 0 COMMANDS
...............................................
PROCESSED 0 COMMANDS
..............................................................
PROCESSED 0 COMMANDS
..........................................................
PROCESSED 0 COMMANDS
..........................................................
But as soon as I Applied the Configuration the system went back into its loop again just applying the config over and over again
See attached files