check_netscaler icon indicating copy to clipboard operation
check_netscaler copied to clipboard

Check that ACLs are Enabled

Open eamallory72 opened this issue 3 years ago • 2 comments

Hello, I extended your script to check if a particular ACL is enabled. Specifically the Deny_All acl. When we update the firmware in our ADC cluster the Deny_All gets automatically removed and the admin sometimes forgets to replace it. The code below starts on line 366 just below the elsif ($plugin->opts->objecttype eq 'server') stanza. } elsif ($plugin->opts->objecttype eq 'nsacl') { $params{'endpoint'} = $plugin->opts->endpoint || 'config'; $field_name = 'aclname'; $field_state = 'state'; $enable_perfdata = 0;

We're using version Version: v1.4.0 (2017-08-20) We should probably upgrade. :) Hope you find this useful. Thanks, Erik Mallory

eamallory72 avatar Jul 28 '22 20:07 eamallory72

In the current version this edit should occur on line 439 should you choose to include it. Thanks, Erik

eamallory72 avatar Jul 28 '22 21:07 eamallory72

Hey @eamallory72,

thanks for your message, but isn't this already be possible with the existing checks? Maybe with matches/matches_not? Or do i get something wrong?

Also it sounds like that your use case is very specific. I don't know if it makes sense to implement this for everyone.

slauger avatar Jul 31 '22 17:07 slauger