Menu

#12 Name of config-file (-c) seemed to be cutted HP-UX 11.23

open
nobody
None
5
2008-06-04
2008-06-04
No

Hello,
this problem is only on HP-UX 11.23 with NRPE 2.12 !

- Starting nrpe in the bootscript with the
command

/bin/su - $USERID -c "/usr/local/nagios/nrpe/nrpe - c /usr/local/nagios/nrpe/nrpe.cfg -d"

(where USERID=nagios)

fails with exit code 2 and has no output messages

- so i set debug=1 in nrpe.cfg and start again.
no the funny message in the /var/adm/syslog/syslog.log file:

Jun 3 07:55:03 Q4DE3RSY239 nrpe[28352]: No variable value specified in config f
ile '/usr/local/nagios/' - Line 1
Jun 3 07:55:03 Q4DE3RSY239 nrpe[28352]: Config file '/usr/local/nagios/' contained errors, aborting...

==> it seemed, that the nrpe.cfg was read first
correctly, so he reads the debug-Parameter first.
in the a next step, the filename and path was truncated.

The following woraround handle the bug:

/bin/su - $USERID -c "cd /usr/local/nagios/nrpe ; ./nrpe -c ./nrpe.cfg -d"

On HP-UX 11.11 there and other (Linux,Solaris 10, AIX 5.1/5.3) there is no Problem !

73 de DF7BE

Discussion


Log in to post a comment.

MongoDB Logo MongoDB