Build precise queries to find exactly what you need
Press ESC to close
Hello:
I made a change along the same lines as the comment above to allow for more exclusions to be specified. My change to the code is here:
# process any exclusions, if they have been defined if ($the_arguments{‘_arg2’}) { # exclusion regex defined, decide if we want this row my @excl = split(/,/,$the_arguments{‘_arg2’}); foreach my $service_exclusion (@excl) { if ($$row{‘DisplayName’}=~/$service_exclusion/ || $$row{‘Name’}=~/$service_exclusion/) { # regex matches so exclude this row $num_excluded++; $debug && print “—> Excluding “$$row{‘DisplayName’}” ($$row{‘Name’})n”; $process_this_row=0; } } }
Thanks for this plugin, it is great!
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!