Latest nagios plugins rpm ships with checks that can't run
Posted: Thu May 23, 2019 3:42 am
A bunch of my servers auto updated to this package this morning: nagiosxi-nagiosplugins-5.6.2-1.el7.x86_64, and the almost all of the checks have lost their execute bit.
The /usr/local/nagios/libexec install dir looks like this:
The upstream rpm file originates from here: https://repo.nagios.com/nagios/7/nagios ... x86_64.rpm
A server I downgraded the plugins to the package nagiosxi-nagiosplugins-5.6.1-1.el7.x86_64 on looks like this:
We execute the plugins remotely from NagiosXI via ncpa, and ncpa won't exec the plugins, so now I have 80 alerts to deal with. It would be quite a bit higher, but not everything auto updates, and we use ncpa's internal where we can.
Here's the output of the rpm command showing the chmod entries set on install:
Can someone please fix the rpm ASAP?
As an aside, as a paying customer, I really do expect a duty of care that's absent with this update, given the considerable amount we're spending on the NagiosXI product.
The /usr/local/nagios/libexec install dir looks like this:
Code: Select all
[root@broken-server ~]# ls -l /usr/local/nagios/libexec/|head
total 11248
-rw-r--r--. 1 nagios nagios 210400 May 17 09:07 check_apt
-rw-r--r--. 1 nagios nagios 6897 May 17 09:07 check_asterisk.pl
-rw-r--r--. 1 nagios nagios 1978 May 17 09:07 check_asterisk_sip_peers.sh
-rw-r--r--. 1 nagios nagios 4173 May 17 09:08 check_bl
-rw-r--r--. 1 nagios nagios 2287 May 17 09:08 check_bpi.php
-rw-r--r--. 1 nagios nagios 2342 May 17 09:07 check_breeze
-rw-r--r--. 1 nagios nagios 214400 May 17 09:07 check_by_ssh
A server I downgraded the plugins to the package nagiosxi-nagiosplugins-5.6.1-1.el7.x86_64 on looks like this:
Code: Select all
[root@working-server libexec]# ls -l /usr/local/nagios/libexec/|head
total 11248
-rwxrwxr-x. 1 nagios nagios 210400 May 1 03:10 check_apt
-rwxrwxr-x. 1 nagios nagios 6897 May 1 03:11 check_asterisk.pl
-rwxrwxr-x. 1 nagios nagios 1978 May 1 03:11 check_asterisk_sip_peers.sh
-rwxrwxr-x. 1 nagios nagios 4173 May 1 03:12 check_bl
-rwxrwxr-x. 1 nagios nagios 2287 May 1 03:11 check_bpi.php
-rwxrwxr-x. 1 nagios nagios 2342 May 1 03:10 check_breeze
-rwxrwxr-x. 1 nagios nagios 214400 May 1 03:10 check_by_ssh
Here's the output of the rpm command showing the chmod entries set on install:
Code: Select all
[root@broken-server ~]# rpm -ql --dump nagiosxi-nagiosplugins-5.6.2-1.el7.x86_64|head
/usr/local/nagios/libexec/check_apt 210400 1558040826 156f78e9d4a13baa1d08989c40da064fdadf899ed2f61f8a9d671cc7872b8583 0100644 nagios nagios 0 0 0 X
/usr/local/nagios/libexec/check_asterisk.pl 6897 1558040874 2da2deef908b221e9b948b062859dbd4499b2f9cb06bc1d1e17712e813ec7c71 0100644 nagios nagios 0 0 0 X
/usr/local/nagios/libexec/check_asterisk_sip_peers.sh 1978 1558040874 9af8447e749f5af826d52663b6d9b8c0f3beb654286ba881ad855579af0b5e62 0100644 nagios nagios 0 0 0 X
/usr/local/nagios/libexec/check_bl 4173 1558040921 d2b7c57dd8edc25a6f903e9d8afb64735e045ab8d130c67324297773b63f502b 0100644 nagios nagios 0 0 0 X
/usr/local/nagios/libexec/check_bpi.php 2287 1558040906 df9ff8f164af71dc500aa17745ce84900ae429e686f5f31629318d6b10317221 0100644 nagios nagios 0 0 0 XAs an aside, as a paying customer, I really do expect a duty of care that's absent with this update, given the considerable amount we're spending on the NagiosXI product.