Watching Services or Processes
-
The documentation for one of your competing products seems easier. I'm a laymen, and trying to figure out from your docs, or your software how to watch a service.
I believe I need to create a DCI.... and set a threshold.
So I tried clicking on 'my pc' underneath a IP. I clicked 'Data Collection':
System.ServiceState("Nero BackItUp Scheduler 4.0") -- Does the service name go in there?
Then I'm entirely confused as to what to put for the 'Threshold screen'. I just wanted to get a notice saying that this service went down... it went up. This was just a test exercise of your product.Thankx,
Robert
-
Hi!
For System.ServiceState parameter, you should specify service name - don't be confused with display name you see in "Services" in MMC. Service name can be seen in service properties. System.ServiceState returns service status code, which can be one of the following:
0 - service running;
1 - service paused;
2 - service starting (start pending);
3 - service pausing (pause pending);
4 - service starting after pause (continue pending);
5 - service stopping (stop pending);
6 - service stopped;
255 - unable to get current service state.So in threshold you have to check if status code not equal 0 and if it is, generate appropriate event. The following discussion could also be useful:
https://www.netxms.org/forum/index.php/topic,166.0.htmlBest regards,
Victor -
Ok I think I get this...(I realize this is built for Network Engineers) Now I'm having to try to figure out how to create an alarm from this, and it is just not intuitive. ???
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login