Pugins - NRPE to NCPA

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Post Reply
RichardG
Posts: 1
Joined: Wed Nov 10, 2021 5:18 am

Pugins - NRPE to NCPA

Post 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
gwesterman
Posts: 269
Joined: Wed Aug 23, 2023 11:29 am

Re: Pugins - NRPE to NCPA

Post 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!
Post Reply