You are correct - the exit codes are specified as follows:
0 OK UP
1 WARNING UP or DOWN/UNREACHABLE*
2 CRITICAL DOWN/UNREACHABLE
3 UNKNOWN DOWN/UNREACHABLE
TwitsBlog Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
So how can I change the check_init_services script so that it gives a 1? for finding a service stopped/waiting? or even a 2 as the services are critical for what we are trying to monitor.
If the "check_init_service" is not working with this service, perhaps you can find a different plugin or set up a custom command in order to accomplish your goal.
Be sure to check out our Knowledgebase for helpful articles and solutions!
I am not sure if using "heat-api" as the name of the process (regexp) will produce the expected results. You may need to run snmpwalk to see what is available.
Be sure to check out our Knowledgebase for helpful articles and solutions!