centreon-plugins icon indicating copy to clipboard operation
centreon-plugins copied to clipboard

network::f5::bigip::snmp::mode::poolstatus : adding pool members

Open gagzou opened this issue 4 years ago • 2 comments

Hi,

We have the message: CRITICAL: Pool '/ Common / xxxxxxxxxx_pool' status: red [state: enabled] [reason: The children pool member (s) are down]

The pool appears red (status red) but the all members of the pool are disabled. It is not possible to disable a pool directly (just delete it), we can however disable the members of the pool.

It would be interesting to add a parameter in the list-pools mode (currently status and state) to transmit to pool-status mode. This would allow filtering the pools with disable members.

There is the oid: .1.3.6.1.4.1.3375.2.2.5.6.2.1.5 (.iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipLocalTM.ltmPools.ltmPoolMemberStatus.ltmPoolMbrStatusTable.ltmPoolMbrStatusEntry.ltmPoolMbrStatusAvailState) for status pool-members. .1.3.6.1.4.1.3375.2.2.5.6.2.1.6 (.iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipLocalTM.ltmPools.ltmPoolMemberStatus.ltmPoolMbrStatusTable.ltmPoolMbrStatusEntry.ltmPoolMbrStatusEnabledState) for state pool-members.

I send you the snmpwalk by mail.

Thanks.

gagzou avatar Mar 17 '21 09:03 gagzou

mibs_f5.tar.gz

gagzou avatar Mar 17 '21 09:03 gagzou

Hello,

I have the same problem.

It would be good if the status would no longer be red because basically everything is ok with the pool. At the moment the people who manage the f5 have simply disabled the members manually. This is not the same as having members down due to problems.

Now I have to keep asking the administrators that it is normal and then put this temporary shutdown in the monitoring.

regards, Geert

gbin2265 avatar May 19 '21 10:05 gbin2265

Hi, Have you been able to make progress on this improvement (which would be very useful) ? It should be avoided to have a critical alarm if the children of the failed pool are deactivated (ltmPoolMbrStatusEnabledState).

ltmPoolMbrStatusEnabledState OBJECT-TYPE SYNTAX INTEGER { none(0), enabled(1), disabled(2), disabledbyparent(3) }

Best regards.

gagzou avatar Sep 30 '22 14:09 gagzou

https://github.com/centreon/centreon-plugins/pull/3954

Now, you can use following syntax:

--critical-status='%{membersAllDisabled} eq "no" and %{state} eq "enabled" and %{status} eq "red"'

garnier-quentin avatar Oct 03 '22 14:10 garnier-quentin

Thanks, testing with unstable, it's almost good. just one thing missing : If the node is in the 'disabledbyparent' state (transparent grey), it doesn't work, I still have the critical alarm. I think the script does not take the status of the node 'disabledbyparent'.

gagzou avatar Oct 04 '22 15:10 gagzou

I didn't know for that status. It should be ok when it's merged: https://github.com/centreon/centreon-plugins/pull/3956

garnier-quentin avatar Oct 04 '22 15:10 garnier-quentin

Ok thanks :+1:
everything is working

gagzou avatar Oct 05 '22 20:10 gagzou