Oracle remote monitoring

Thomas Guyot-Sionnest dermoth at aei.ca
Tue Jul 8 17:09:32 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 08/07/08 10:45 AM, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I
wrote:
> I guess the login is the problem!
> 
> When I run the command from the monitoring system I get the timeout. The remote system log shows:
> Jul  8 14:30:11 Oracle_client sudo(pam_unix)[31119]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=nagios
> 
> I tried putting oracle and nagios in the line /usr/bin/sudo but received the same error.

Undo this change...

> How does one configure sudo so that it will run?

Edit the sudoers file (the recommended way is using the "visudo" command
which will launch vim on it)

Wou will have to add nagios with no password AND no tty.

"man sudoers" for more details.

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIc4Ms6dZ+Kt5BchYRAtPCAJ9ZnW0firnAuvWV64e/PIIvGx/dqQCfbI2D
szOh7HSUsiSOwNq9tg3TvFQ=
=Q1oP
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list