Q6650010: I want to modify checks in the configuration. Can this be achieved programmatically?
Sure. There are samples for Powershell and VBScript in the following default Folder:
C:\ProgramData\ActiveXperts\Network Monitor\Configuration API\Powershell\
and
C:\ProgramData\ActiveXperts\Network Monitor\Configuration API\VBScript\
Check out Powershell scripts ModifyChecks.ps1 and ModifyCheck.ps1, or VBScript scripts ModifyChecks.vps and ModifyCheck.vbs.
Network Monitor > Configuration APIQ6650020: I want to put certain checks 'On Hold' in a scripted way, so I can schedule this job.
Use the following script for that:
C:\ProgramData\ActiveXperts\Network Monitor\Configuration API\VBScript\HoldChecks.ps1 (Powershell)
or
C:\ProgramData\ActiveXperts\Network Monitor\Configuration API\VBScript\HoldChecks.vbs (VBScript)
Network Monitor > Configuration API Q6650200: Can I use the Configration API in CSharp.NET?
Sure. To write a .NET based console application, please use the following steps:
Launch Microsoft Visual Studio;
Create a new '.NET Console Project'
In the Project context menu, choose 'Add->COM Reference...' and 'ActiveXperts Network Monitor Configuration API'
In your program source code, include the 'ActiveXperts Network Monitor Configuration API' namespace like this:
using AXNMCFGLib;
Declare and create a new Network Monitor Config API object like this:
NMConfig objN...
Network Monitor > Configuration API Q6650210: Can I use the Configration API in VB.NET?
If your Visual Studio version still supports VB.NET, it is possible. VB.NET has become less prominet in recent versions of Visual Studio.
To write a VB.NET based console application, please use the following steps:
Launch Microsoft Visual Studio;
Create a new 'VB.NET Console Project'
In the Project context menu, choose 'Add->COM Reference...' and 'ActiveXperts Network Monitor Configuration API'
In your program source code, include the 'ActiveXperts Network Monitor Configuration API' names...
Network Monitor > Configuration API Q6650040: I would like to create new checks, in an automated way.
Use the following script for that:
C:\ProgramData\ActiveXperts\Network Monitor\Configuration API\VBScript\CreateCheck.ps1 (Powershell)
or
C:\ProgramData\ActiveXperts\Network Monitor\Configuration API\VBScript\CreateCheck.vbs (VBScript)
Network Monitor > Configuration API Q6650030: How can I display all properties of a particular Check?
Use the following script for that:
C:\ProgramData\ActiveXperts\Network Monitor\Configuration API\VBScript\ShowCheck.ps1 (Powershell)
or
C:\ProgramData\ActiveXperts\Network Monitor\Configuration API\VBScript\ShowCheck.vbs (VBScript)
Network Monitor > Configuration API
|