News:

We really need your input in this questionnaire

Main Menu

Monitoring services?

Started by xenth, April 22, 2008, 04:09:55 PM

Previous topic - Next topic

xenth

I have a specific service that I want to monitor to see if it's up or not.

However the problem is, when it goes down (service stops) it's status stays at "0" and it just turns red, and I can't monitor it!

How do I get this DCI to switch to status 4 when it's down just like the internal status check?

Victor Kirhenshtein

You can use ChildStatus(*) internal parameter to monitor status of child objects for a node (interfaces and services). It takes child object ID or name as an argument, like


ChildStatus(eth0)


for interface eth0 on the node.

Best regards,
Victor

xenth

How about: ChildStatus(408) ?

Because that isn't working, and 408 is the ID of the DCI i want to monitor  :-\


Victor Kirhenshtein

What you mean by "monitor DCI"? DCI has a value by itself, you don't need another DCI to monitor it. I think you was asking about network service objects...

Best regards,
Victor

xenth

Sorry, I'll explain a little better.

DCI 1) Monitors a windows XP service through SNMP.

When this service is stopped, this DCI does not switch to status 4, instead it turns red.
Now I want to know how I can make a policy for this DCI if the status never changes?