strace the daemons. Am 27.03.2014 14:22 schrieb "Ferenc Stelcz" <ferenc.ste...@gmail.com>:
> Hi! > > I've just upgraded my DRBD backed 2 node Icinga pacemaker cluster on > SLES11SP3 to the most recent Icinga version. > > I have a third node which is (was... :P) sending passive service check > results from a remote site. After the upgrade I get the following in > /var/log/messages: > > Mar 27 14:11:21 icingacl-nodea nsca[5701]: SERVICE CHECK -> Host Name: > 'test_host', Service Description: 'Current Load NRPE', Return Code: '0', > Output: 'OK - load average: 0.24, 0.17, 0.15|load1=0.240;5.000;10.000;0; > load5=0.170;4.000;6.000;0; load15=0.150;3.000;4.000;0;' > Mar 27 14:11:21 icingacl-nodea nsca[5701]: Attempting to write to nagios > command pipe > Mar 27 14:11:21 icingacl-nodea nsca[5701]: Could not open command file > '/var/run/icinga/icinga.cmd' for writing > Mar 27 14:11:21 icingacl-nodea nsca[5701]: End of connection... > > NSCA on the cluster is running as icinga.icingacmd > > Permissions of /var/run/icinga/icinga.cmd are OK. rw-rw-rw, owned by > icinga.icingacmd > > I've tried to change the location of icinga.cmd to /tmp/icinga.cmd, > restarted everything, rebooted both nodes, still the same. > > The command pipe can be written by any user at any time as far as I can > tell: > > su - user > echo "TEST" >/var/run/icinga/icinga.cmd > > tail /var/log/messages: > Mar 27 14:16:37 icingacl-nodea icinga: External command error: Malformed > command > > Which is the expected behavior. > > Tried running nsca as root, still the same. > > lsof | grep icinga.cmd > icinga 5626 icinga 7u FIFO 8,6 0t0 > 23 /var/run/icinga/icinga.cmd > > Does anyone have any clue how to go further or any solution? > > Thank you in advance, > > Ferenc STELCZ > > _______________________________________________ > icinga-users mailing list > icinga-users@lists.icinga.org > https://lists.icinga.org/mailman/listinfo/icinga-users > >
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users