Hi,
I’m using check_mk 1.2.2b5 with omd on CentOS 6.3. Everything looks good, but I have an issue using wato…
Using web ui, when I go to “Wato configuration”, “Global settings”, I get the error…
Error
**sudo: no tty present and no askpass program specified **
In my /etc/sudoers, I have…
Needed for WATO - the Check_MK Web Administration Tool
Defaults:apache !requiretty
apache ALL = (root) NOPASSWD: /usr/bin/check_mk --automation *
ls -al /usr/bin/check_mk
lrwxrwxrwx 1 root root 31 Apr 2 10:38 /usr/bin/check_mk -> /omd/sites/mysite/bin/check_mk
Thanks for the help.
ShiB.
while ( ! ( succeed = try() ) );
And /var/log/secure says…
Apr 2 13:53:52 m101006 sudo: apache : no tty present and no askpass program specified ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/su - mysite -c check_mk --automation get-configuration –
···
ShiB.
while ( ! ( succeed = try() ) );
On Tue, Apr 2, 2013 at 6:34 PM, Shibashish shib4u@gmail.com wrote:
Hi,
I’m using check_mk 1.2.2b5 with omd on CentOS 6.3. Everything looks good, but I have an issue using wato…
Using web ui, when I go to “Wato configuration”, “Global settings”, I get the error…
Error
**sudo: no tty present and no askpass program specified **
In my /etc/sudoers, I have…
Needed for WATO - the Check_MK Web Administration Tool
Defaults:apache !requiretty
apache ALL = (root) NOPASSWD: /usr/bin/check_mk --automation *
ls -al /usr/bin/check_mk
lrwxrwxrwx 1 root root 31 Apr 2 10:38 /usr/bin/check_mk → /omd/sites/mysite/bin/check_mk
Thanks for the help.
ShiB.
while ( ! ( succeed = try() ) );
SOLVED !
/etc/sudoers…
apache ALL = (root) NOPASSWD: /bin/su - mysite -c check_mk --automation *
···
ShiB.
while ( ! ( succeed = try() ) );
On Tue, Apr 2, 2013 at 7:25 PM, Shibashish shib4u@gmail.com wrote:
And /var/log/secure says…
Apr 2 13:53:52 m101006 sudo: apache : no tty present and no askpass program specified ; TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/bin/su - mysite -c check_mk --automation get-configuration –
ShiB.
while ( ! ( succeed = try() ) );
On Tue, Apr 2, 2013 at 6:34 PM, Shibashish shib4u@gmail.com wrote:
Hi,
I’m using check_mk 1.2.2b5 with omd on CentOS 6.3. Everything looks good, but I have an issue using wato…
Using web ui, when I go to “Wato configuration”, “Global settings”, I get the error…
Error
**sudo: no tty present and no askpass program specified **
In my /etc/sudoers, I have…
Needed for WATO - the Check_MK Web Administration Tool
Defaults:apache !requiretty
apache ALL = (root) NOPASSWD: /usr/bin/check_mk --automation *
ls -al /usr/bin/check_mk
lrwxrwxrwx 1 root root 31 Apr 2 10:38 /usr/bin/check_mk → /omd/sites/mysite/bin/check_mk
Thanks for the help.
ShiB.
while ( ! ( succeed = try() ) );