Windows Service states

Started by Nikk, November 25, 2013, 03:47:35 PM

Previous topic - Next topic

Nikk

Hi,

I was wondering if there is way to create DCI's System.ServiceState(instance) for all services on windows with Startup Type "Automatic"?
Or now, when i have added all services manually, can I add Thresholds to them all at once, or I have to do that individually?

Thanks in advance,
Nikk

Victor Kirhenshtein

Hi!

If you know Python, you best option is to create script for nxshell which will do bulk changes. There are some examples on our wiki: http://wiki.netxms.org/wiki/Using_nxshell_to_automate_bulk_operations.

Best regards,
Victor

Nikk


Alex Kirhenshtein

I usually setup single DCI with thresholds, then convert it to template, export, and use resulting xml as a template for script, which generate new template xml based on list of services (in this example)

Nikk