NSClient++ Help (#1) - Change down SERVICESTATE to warning (#317) - Message List
is it possible to alter the state of e.g.
check_nt!SERVICESTATE!-d SHOWALL -l 'W3SVC'
to warning if the service is down.
I believe this would be interesting for service that are down but do not require immediate action.
Is there a way to do that?
Check the config section there you can specify which states report what...
MickeMmickem01/13/09 20:47:59 (4 years ago)
Thanks for your answer.....
what config section are you talking about?
I don't want to change to generell handling of service checks.
I need something like a parameter for each check_nt!SERVICESTATE, that changes down->critical or down->warning.
MatthiasMatthias01/14/09 08:46:53 (4 years ago)
Check [CheckSystem] it is all the check_all_services[XXX]=<value> I am talking about.
[Check System] ... ;# CHECK ALL SERVICES ; Configure how to check services when a CheckAll is performed. ; ...=started means services in that class *has* to be running. ; ...=stopped means services in that class has to be stopped. ; ...=ignored means services in this class will be ignored. ;check_all_services[SERVICE_BOOT_START]=ignored ;check_all_services[SERVICE_SYSTEM_START]=ignored ;check_all_services[SERVICE_AUTO_START]=started ;check_all_services[SERVICE_DEMAND_START]=ignored ;check_all_services[SERVICE_DISABLED]=stopped
MickeMmickem01/14/09 17:59:48 (4 years ago)
Thanks for the answer but if I understand correctly ... this would do "something" to a group (I can not really change)... and when I look in the Notice-Text of the Showall explanation: "This does not affect the actual resulting code, just the text message. ". This is not what I want.
Maybe adding a parameter is an idea for the next version ;-)
Thanks for your answers and such a great tool.
MatthiasMatthias01/15/09 09:16:41 (4 years ago)