DCI via VBScript through Agent

Started by ascendo, March 27, 2008, 05:58:20 PM

Previous topic - Next topic

ascendo

Hi everyone

Is there a way to collect data and generate events through VBscript code run by the agent? If this is possible, is there an easy way to send the code to be run to multiple agents at once?

Thanks

Victor Kirhenshtein

#1
Hello!

You can call external commands from agent by creating new parameters with ExternalParameter configuration option. As an external command you can use cscript to run your vbscripts. Agent will return first line of script output as a value of parameter.
You can also look at this topic for some examples of ExternalParameter usage:
https://www.netxms.org/forum/index.php/topic,255.0.html

Best regards,
Victor