Comment 4 for bug 1939702

Revision history for this message
Gábor Mészáros (gabor.meszaros) wrote :

I have installed cs:~openstack-charmers-next/rabbitmq-server-437
and still getting Unable to read output errors

Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: CONN_CHECK_PEER: checking if host is allowed: 111.222.5.67 port 23256
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: Connection from 111.222.5.67 port 23256
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: is_an_allowed_host (AF_INET): is host >111.222.5.67< an allowed host >111.222.5.67<
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: is_an_allowed_host (AF_INET): is host >111.222.5.67< an allowed host >111.222.5.67<
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: is_an_allowed_host (AF_INET): host is in allowed host list!
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: Host address is in allowed_hosts
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: Host 111.222.5.67 is asking for command 'check_rabbitmq_queue' to be run...
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: Running command: /usr/local/lib/nagios/plugins/check_rabbitmq_queues.py -c \* \* 100 200 /var/lib/rabbitmq/data/juju-4278df-77-lxd-6_queue_stats.dat
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94310]: WARNING: my_system() seteuid(0): Operation not permitted
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: Command completed with return code 1 and output:
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: Return Code: 3, Output: NRPE: Unable to read output
Aug 24 09:05:15 juju-4278df-77-lxd-6 nrpe[94309]: Connection from 111.222.5.67 closed.

however the other check for check_rabbitmq succeeds:

Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: CONN_CHECK_PEER: checking if host is allowed: 111.222.5.67 port 59097
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: Connection from 111.222.5.67 port 59097
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: is_an_allowed_host (AF_INET): is host >111.222.5.67< an allowed host >111.222.5.67<
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: is_an_allowed_host (AF_INET): is host >111.222.5.67< an allowed host >111.222.5.67<
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: is_an_allowed_host (AF_INET): host is in allowed host list!
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: Host address is in allowed_hosts
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: Host 111.222.5.67 is asking for command 'check_rabbitmq' to be run...
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: Running command: /usr/local/lib/nagios/plugins/check_rabbitmq.py --user nagios-rabbitmq-server-3 --password <redacted>> --vhost nagios-rabbitmq-server-3
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94326]: WARNING: my_system() seteuid(0): Operation not permitted
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: Command completed with return code 0 and output: Ok: sent and received 10 test messages
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: Return Code: 0, Output: Ok: sent and received 10 test messages
Aug 24 09:05:30 juju-4278df-77-lxd-6 nrpe[94325]: Connection from 111.222.5.67 closed.