Logaholic.de

Avatar

queer as code!

Nagios: NRPE: Unable to read output error – check_apachestatus_auto.pl

Today I solved a problem I had with check_apachestatus_auto.pl executed via NRPE.

Running the command as root worked fine but, running as user “nagios” just gave no output – which translated to the error message “NRPE: Unable to read output error” on the Nagios NRPE Client.

After checking file permissions, any debug modes and logs i found… i finally got to /tmp and there was it: “127.0.0.1……”, a temporary file created by that particular check plugin. Since i tested the plugin first as root, the file had root-only permissions, and the plugin executed as nagios just stopped somewhere while not being able to use/overwrite that file.

I deleted that particular file, and everything works fine now…

Bookmark and Share

Related posts:

  1. Error #0 on AIR application installation
  2. Apache, SSL and phpUnderControl

No Comments, Comment or Ping

Reply to “Nagios: NRPE: Unable to read output error – check_apachestatus_auto.pl”