check_wmi_plus - multiple services similar name
Posted: Wed Jun 13, 2012 1:18 am
Hi
Having an issue with check_wmi_plus. I am wanting to check if one service is running but i get the below reply
CRITICAL - [Triggered by _NumBad>0] - Found 3 Services(s), 1 OK and 2 with problems (0 excluded). 'Oracleagent11g1Agent' (Oracleagent11g1Agent) is Running, 'Oracleagent11g1AgentSNMPPeerEncapsulator' (Oracleagent11g1AgentSNMPPeerEncapsulator) is Stopped, '
Its due to fact there is 3 services with similar names Oracleagent11g1Agent, Oracleagent11g1AgentSNMPPeerEncapsulator, Oracleagent11g1AgentSNMPPeerMasterAgent
Only one of these is running how ever, so in turn it throws an error which is rather annoying, is anyway i can tell it to specific 1 service. not look for all with similar name.
Cheers
Having an issue with check_wmi_plus. I am wanting to check if one service is running but i get the below reply
CRITICAL - [Triggered by _NumBad>0] - Found 3 Services(s), 1 OK and 2 with problems (0 excluded). 'Oracleagent11g1Agent' (Oracleagent11g1Agent) is Running, 'Oracleagent11g1AgentSNMPPeerEncapsulator' (Oracleagent11g1AgentSNMPPeerEncapsulator) is Stopped, '
Its due to fact there is 3 services with similar names Oracleagent11g1Agent, Oracleagent11g1AgentSNMPPeerEncapsulator, Oracleagent11g1AgentSNMPPeerMasterAgent
Only one of these is running how ever, so in turn it throws an error which is rather annoying, is anyway i can tell it to specific 1 service. not look for all with similar name.
Cheers