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.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
su dpnagios
cd /usr/local/nagios/libexec
./check_ping -H localhost -w 25,20% -c 50,40%
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Also, can you verify that your cgi.cfg has the correct path to your main.cfg
I want to point out that using different usernames for the nagios user and the fact that for whatever reason your system already had nagios users makes troubleshooting this quite difficult.
Do you know why your server had these users setup before?
bash-3.2# bash-3.2# cat /etc/passwd | grep "^nagios"
bash-3.2# cat /etc/group | grep "^nagcmd"
bash-3.2# /usr/sbin/useradd -m nagios
useradd: user nagios exists
bash-3.2# cat /etc/passwd | grep nagios
dpnagios:x:36135:36135::/dpstore/localhome/dpnagios:/bin/bash --> here it only shows the user dpnagios which i used to install nagios and never the user "nagios" which it says exists.
bash-3.2#
Not sure why this is happening and also not sure if the server is configured to check the AD or NIS before creating the local user.