NRPE on CPanel

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

NRPE on CPanel

Postby gastonq05 » Wed Oct 10, 2018 12:57 pm

I installed NRPE on CPANEL and allways recieve this error (local or remote with root or nagios user)

What could it be ?

# id
uid=0(root) gid=0(root)

]# /usr/local/nagios/libexec/check_nrpe -H localhost -c check_mailqueue
ERROR: is not executable by (uid 1296:gid(1297 1297))

]$ id

]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c check_mailqueue
ERROR: is not executable by (uid 1296:gid(1297 1297))

]$ ls -laht /usr/local/nagios/libexec/check_nrpe
-rwxrwxr-x 1 nagios nagios 76K Oct 10 12:48 /usr/local/nagios/libexec/check_nrpe
Posts: 1
Joined: Wed Oct 10, 2018 12:53 pm

Re: NRPE on CPanel

Postby mcapra » Wed Oct 10, 2018 2:21 pm

Can you post your nrpe.cfg file from the cPanel machine? Be sure to remove any potentially sensitive information before sharing it publicly.

What process did you use to install NRPE on the cPanel machine? Did you follow any specific documentation?

Can you share the output of ls -laht executed against the path on the cPanel machine (not your Nagios Core machine) that contains your Nagios plugins? Presumably this is /usr/local/nagios/libexec/.
Former Nagios employee
User avatar
Posts: 3542
Joined: Thu May 05, 2016 3:54 pm

Re: NRPE on CPanel

Postby cdienger » Wed Oct 10, 2018 4:49 pm

In addition to @mcapra's suggestions, try running the check_mailqueuecommand directly and not through nrpe. The full command can be found in the nrpe.cfg file.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
Support Tech
Posts: 3012
Joined: Tue Feb 07, 2017 11:26 am

Return to Nagios Core

Who is online

Users browsing this forum: Bing [Bot] and 31 guests