[Bug 1787110] Re: False positives in reporting server unavailable

2019-10-03 Thread Launchpad Bug Tracker
This bug was fixed in the package nagios-plugins-rabbitmq - 1:1.2.0-2.2ubuntu0.18.04.1 --- nagios-plugins-rabbitmq (1:1.2.0-2.2ubuntu0.18.04.1) bionic; urgency=medium * Avoid breaking to get stats from an idle server that has no socket descriptors open (LP: #1787110) -- Christ

[Bug 1787110] Re: False positives in reporting server unavailable

2019-10-03 Thread Launchpad Bug Tracker
This bug was fixed in the package nagios-plugins-rabbitmq - 1:1.2.0-2.1ubuntu0.1 --- nagios-plugins-rabbitmq (1:1.2.0-2.1ubuntu0.1) xenial; urgency=medium * Avoid breaking to get stats from an idle server that has no socket descriptors open (LP: #1787110) -- Christian Ehrhardt

[Bug 1787110] Re: False positives in reporting server unavailable

2019-10-03 Thread Launchpad Bug Tracker
This bug was fixed in the package nagios-plugins-rabbitmq - 1:1.2.0-2.2ubuntu0.19.04.1 --- nagios-plugins-rabbitmq (1:1.2.0-2.2ubuntu0.19.04.1) disco; urgency=medium * Avoid breaking to get stats from an idle server that has no socket descriptors open (LP: #1787110) -- Christi

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-25 Thread Christian Ehrhardt 
Upgrading worked as expected: # apt install nagios-plugins-rabbitmq Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: nagios-plugins-rabbitmq 1 upgraded, 0 newly installed, 0 to remove and 31 not upgraded. Need

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-25 Thread Christian Ehrhardt 
In ensured pre-upgrade the systems were affected and then: B: root@b:/usr/lib/nagios/plugins-rabbitmq# ./check_rabbitmq_server --node $(hostname -s) --hostname 127.0.0.1 --port=15672 -u "guest" -p "guest" RABBITMQ_SERVER OK - Memory OK (0.45%) Process OK (0.03%) FD OK (0.04%) Sockets OK (0.00%)

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Brian Murray
Hello Robbert, or anyone else affected, Accepted nagios-plugins-rabbitmq into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source /nagios-plugins-rabbitmq/1:1.2.0-2.1ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Brian Murray
Hello Robbert, or anyone else affected, Accepted nagios-plugins-rabbitmq into bionic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source /nagios-plugins-rabbitmq/1:1.2.0-2.2ubuntu0.18.04.1 in a few hours, and then in the -proposed repository. Please help

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Brian Murray
Hello Robbert, or anyone else affected, Accepted nagios-plugins-rabbitmq into disco-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source /nagios-plugins-rabbitmq/1:1.2.0-2.2ubuntu0.19.04.1 in a few hours, and then in the -proposed repository. Please help u

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Christian Ehrhardt 
The fix in Eoan works as expected. Uploaded the same fix (as tested in containers already) to X/B/D for SRU review. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1787110 Title: False positives in re

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Launchpad Bug Tracker
This bug was fixed in the package nagios-plugins-rabbitmq - 1:1.2.0-2.2ubuntu1 --- nagios-plugins-rabbitmq (1:1.2.0-2.2ubuntu1) eoan; urgency=medium * Avoid breaking to get stats from an idle server that has no socket descriptors open (LP: #1787110) -- Christian Ehrhardt Tue

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Christian Ehrhardt 
** Changed in: nagios-plugins-rabbitmq (Ubuntu) Status: Confirmed => In Progress ** Changed in: nagios-plugins-rabbitmq (Ubuntu Xenial) Status: New => Confirmed ** Changed in: nagios-plugins-rabbitmq (Ubuntu Xenial) Status: Confirmed => Triaged ** Changed in: nagios-plugins-

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Christian Ehrhardt 
** Description changed: + [Impact] + + * If a rabbitmq server has no socket descriptors used the code +triggers a false positive and errors out mistakenly reporting the +server in a bad state. + + * Backport the fix from upstream, which is there for more than 3 years +but hasn't t

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Launchpad Bug Tracker
** Merge proposal linked: https://code.launchpad.net/~paelzer/ubuntu/+source/nagios-plugins-rabbitmq/+git/nagios-plugins-rabbitmq/+merge/373115 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1787110

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Christian Ehrhardt 
In fact on Xenial the default setup as one can check via: $ rabbitmqctl add_user full_access secret Creating user "full_access" $ rabbitmqctl set_user_tags full_access administrator Setting tags for user "full_access" to [administrator] # web browse to :15672 then and we will find 1 socket on the x

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Christian Ehrhardt 
This is a fix that does not touch the current Freeze being active in Eoan, lets prepare a fix for this and verify it. Note: I have already locally modified the script and know the fix works. But to be sure we don#t run into issues on re-build lets do the full path. -- You received this bug notif

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Christian Ehrhardt 
Optional checks if something isn't working Note: some of the commands only exist in newer versions of rabbitmq # Check that rabbit is up and "happy" # rabbitmqctl -n rabbit@$(hostname -s) node_health_check Timeout: 70 seconds ... Checking health of node rabbit@e ... Health check passed # Check ena

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Christian Ehrhardt 
After some debugging I came up with a simple Testcase for this issue: $ apt install rabbitmq-server nagios-plugins-rabbitmq # Enable management http api $ rabbitmq-plugins enable rabbitmq_management # Now do the same via the nagios plugin (no actual nagios server needed) $ cd /usr/lib/nagios/plugi

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-24 Thread Christian Ehrhardt 
Per the test above Bionic/Disco/Eoan are affected. The default install of Xenial is not, it has the same issue in the code but it seems the default setup has something not triggering this. Even when copying in the same version from B/D/E that fails there it works. So it must be like "there are soc

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-23 Thread Christian Ehrhardt 
The actual upstream issue is: https://github.com/nagios-plugins-rabbitmq/nagios-plugins-rabbitmq/issues/57 With the fix being: https://github.com/nagios-plugins-rabbitmq/nagios-plugins-rabbitmq/commit/caabebdf4e1d820c19b7d7fa8e682848f22834e9 Versions in Ubuntu are: nagios-plugins-rabbitmq | 1:1.2

[Bug 1787110] Re: False positives in reporting server unavailable

2019-09-17 Thread Christian Ehrhardt 
** Changed in: nagios-plugins-rabbitmq (Ubuntu) Assignee: (unassigned) => Christian Ehrhardt  (paelzer) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1787110 Title: False positives in reportin

[Bug 1787110] Re: False positives in reporting server unavailable

2018-08-28 Thread Ante Karamatić
** Tags added: cpe-onsite -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1787110 Title: False positives in reporting server unavailable To manage notifications about this bug go to: https://bugs.lau

[Bug 1787110] Re: False positives in reporting server unavailable

2018-08-15 Thread Ubuntu Foundations Team Bug Bot
The attachment "Fixes issue" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team. [This is an automated message performed by a Launchpad user owned by ~brian-murray, fo

[Bug 1787110] Re: False positives in reporting server unavailable

2018-08-15 Thread Robbert Muller
** Patch added: "Fixes issue" https://bugs.launchpad.net/ubuntu/+source/nagios-plugins-rabbitmq/+bug/1787110/+attachment/5175643/+files/nagios-plugins-rabbitmq.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.laun