-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SUDO_ASKPASS when using with Icinga instead of Nagios #171
Comments
so, under icinga, the plugin is ran with also, could you please post contents of your |
That is correct, it is running with Here is the output of
|
i tried to add duplicate line, but that results syntax error:
however, if using comma, does it work for you?
seems it's valid syntax according to manual:
|
It indeed works perfect, I now have: |
When using the plugin with Icinga instead of Nagios an error is displayed: "sudo: no askpass program specified, try setting SUDO_ASKPASS" even when running "check_raid.pl -S".
To resolve this edit "/etc/sudoers.d/check_raid" and edit the first config line to "User_Alias CHECK_RAID=icinga".
It would be helpful to be able to specify a username when running "check_raid.pl -S".
Output of
check_raid -d
:Output of each command from
check_raid -d
The text was updated successfully, but these errors were encountered: