I wanted to use the command line client in Nagios. Nagios has a convention where you run the program and it interprets its return code:
0 - OK
1 - WARNING
2 - CRITICAL
I've added an option --blacklisted-return-code so that the user can decide if they want the program to return 1, 2, or some other number, when the URL is found in black list.
I wanted to use the command line client in Nagios. Nagios has a convention where you run the program and it interprets its return code: 0 - OK 1 - WARNING 2 - CRITICAL
I've added an option --blacklisted-return-code so that the user can decide if they want the program to return 1, 2, or some other number, when the URL is found in black list.