Check_command define is not working
Posted: Thu Dec 20, 2018 9:32 am
I have the nagios plugin for AWS ALB unhealthy host check, I have checked this plugin manually it works, but once we define this plugin in check_commands and passing the parameter. it wont respond.
the command looks like
./alb_unhealthyCheck.py --targetgroup <targetgroup-name> --loadbalancer <loadbalancer-name> --period 300 --statistics Average --unit Count --ok_threshold 0 --critical_threshold 0
for this above plugin can anyone tell me how to define this in check_commands.cfg or misccommands.cfg file.
the command looks like
./alb_unhealthyCheck.py --targetgroup <targetgroup-name> --loadbalancer <loadbalancer-name> --period 300 --statistics Average --unit Count --ok_threshold 0 --critical_threshold 0
for this above plugin can anyone tell me how to define this in check_commands.cfg or misccommands.cfg file.