Page 1 of 1

Pugins - NRPE to NCPA

Posted: Mon Nov 11, 2024 9:37 am
by RichardG
We have a nagios plugin NRPE check_disk on a secure directory, which relies on the nrpe account having this sudo entry:

nrpe ALL=(ALL) NOPASSWD: /usr/lib64/nagios/plugins/check_disk

How to we get the same plugin to work, using NCPA ?
the ncpa_listener process runs as the nagios user. is it just a matter of adding nagios to sudoers, like so:

nagios ALL=(ALL) NOPASSWD: /usr/local/ncpa/plugins/check_disk

Or are there any better ways?

regards
Richard

Re: Pugins - NRPE to NCPA

Posted: Mon Nov 11, 2024 5:15 pm
by gwesterman
Hi @RichardG,

I do not know of a "better" way at the moment, but your method seems reasonable. Can you try it and let us know if it works for you or not?

Thank you!