On Sep 3, 2008, at 10:15 AM, nadia kheffache wrote: > hi , > > I jute reintall backuppc, i have no error when i backup. when i > execut this command, i have no error: > > bash-3.1$ /usr/bin/sudo -u backuppc /usr/local/nagios/libexec/ > check_backuppc -v > BACKUPPC OK - (0/1) failures
There is much discussion of sudo in the archives (search gmane), but the most likely is that your sudoers file requires that the caller have a TTY. Nagios plugins do not. Make sure that requiretty is disabled. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users@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