NetXMS Support Forum

English Support => General Support => Topic started by: xenth on April 22, 2008, 04:09:55 PM

Title: Monitoring services?
Post by: xenth on April 22, 2008, 04:09:55 PM
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?
Title: Re: Monitoring services?
Post by: Victor Kirhenshtein on April 22, 2008, 06:53:24 PM
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
Title: Re: Monitoring services?
Post by: xenth on April 23, 2008, 12:55:39 PM
How about: ChildStatus(408) ?

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

Title: Re: Monitoring services?
Post by: Victor Kirhenshtein on April 23, 2008, 03:15:56 PM
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
Title: Re: Monitoring services?
Post by: xenth on April 23, 2008, 05:07:34 PM
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?