Search found 11 matches

by nickp
Mon Aug 11, 2014 11:11 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

Yes, the nagios client is always restarted after making any changes and there is only one .cfg file

root@ed-uk:~# find / -name nrpe.cfg
/etc/nagios/nrpe.cfg
by nickp
Fri Aug 08, 2014 3:41 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

Is it located at /usr/bin/nrpe? /usr/bin/nrpe -h It is located here: root@ed-**:~# find / -name nrpe /usr/sbin/nrpe root@ed-uk:~# /usr/sbin/nrpe -h NRPE - Nagios Remote Plugin Executor Copyright (c) 1999-2008 Ethan Galstad (nagios@nagios.org) Version: 2.12 Last Modified: 03-10-2008 License: GPL v2 ...
by nickp
Thu Aug 07, 2014 3:02 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

I ran the following:

# add-apt-repository ppa:nagiosinc/ppa
# apt-get update
# apt-get install nagios-agent
by nickp
Wed Aug 06, 2014 5:00 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

Here is result of the command:

root@ed-uk:~# /usr/local/nagios/bin/nrpe -h
-bash: /usr/local/nagios/bin/nrpe: No such file or directory

As you can see there are no /usr/local/nagios/bin/ directories, only /usr/local

Should these directories have been created during the Nagios agent install?
by nickp
Tue Aug 05, 2014 11:23 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

I have made the changes on the remote host and I am still getting the same error
by nickp
Mon Aug 04, 2014 5:54 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

Hi, I can confirm that I do not have the following on the client nrpe.cfg: command[check_init_service]=sudo /usr/local/nagios/libexec/check_init_service $ARG1$ This is also the case on the Nagios XI hosting server nrpe.cfg file Also the following entry is not in the client or host sudoers file: nagi...
by nickp
Fri Aug 01, 2014 4:01 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

Hi,

Yes, all the other functioning service checks are using command arguments so I can't understand why the Postfix one isn't working correctly on any of the servers we are monitoring.
by nickp
Thu Jul 31, 2014 3:32 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

Hi,

I have made the changes you suggested but I'm still getting the same error.

All the other processes are being monitored OK it is just Postfix that is throwing this error.
by nickp
Wed Jul 30, 2014 4:57 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

Hi,

I get the following when running the command you provided:

NRPE: Unable to read output

I have attached the nrpe.cfg as requested.
by nickp
Fri Jul 25, 2014 3:43 am
Forum: Nagios XI
Topic: Ubuntu Postfix NRPE: Unable to read output
Replies: 21
Views: 5237

Re: Ubuntu Postfix NRPE: Unable to read output

Hi Andy and thanks for your reply.

This is the command that is checking the Postfix service:

check_nrpe!check_init_service!-a 'postfix'

I will look into the plugins as well.

Cheers