The Control actions involve specific actions that allow you to change the state of a node, its services, properties or processes of the device generating the event, NetCrunch or the selected node. During configuration of these action types, the Edit Action Parameters window is opened. It consists of various parameters depending on the selected control action.
Computers
The Computers group contains the following actions:
- Restart or Shutdown Computer
- Performs a restart or shutdown of a computer. You can perform this action directly on the node causing the event or any other node of the atlas. For Linux type of nodes you can select the connection type to the node to be via either SSH (Secure Shell) or Telnet (that is needed to perform a restart/shutdown).
- Run Windows Program, Run Windows Script, Run SSH Script, Run NetWare Commands
- Involves running an external program or script to help solve the occurred problem. Please note that the program/script may be executed locally (on the machine where the program is running) or remotely (on the node where the alert was generated). An alert that executes a program/script locally on the same machine running NetCrunch Server means that you can immediately use other applications to notify you or perform other useful tasks. Defining a remote program/script alert action, permits you to take precautionary or corrective actions; for example, fixing the problem on the actual node where the event occurred. Please note that in order to run a program or script, the appropriate credentials must be provided for selected node.
- Set SNMP Variable
- Use this type of action when you need to set a particular SNMP variable on the node causing the event or any other node of the current atlas. Specifically, you can select a particular OID of the desired SNMP variable from the MIB database or by entering its value directly. You can also set an SNMP variable consisting of a hexadecimal format instead of an integer.
- Terminate Windows Process
- The ability to terminate any previously indicated process of a Windows type of node. Of course, you can terminate a process on the actual Windows node causing the event or another Windows node of the atlas.
- Start, Stop, Pause Windows Service
- For Windows type of nodes (either the node causing the event or another node of the atlas), you can additionally perform an action relating to the control of any of its Windows services. Specifically, you can start, stop, pause, restart or continue a selected Windows service for a node.
- Wake on LAN
- This type of action is used to switch on a computer remotely via a Wake on LAN command (through special network packets).
NetCrunch
The NetCrunch group contains the following actions:
- Change Node Monitoring State
- An action enables/disables node monitoring, disables node monitoring for a specified time only. The action can be assigned to the node causing the event or another one of the atlas.
- Modify Node Issue List
- This action allows setting or clearing issue on a node. You can select the appropriate option and provide custom information in the Issue field of the Edit Action Parameters window. This information will appear in the Monitoring Issues window. In the Reason field you can provide a short message, which will be displayed in the Info field of the Event Log window and tool tip.
- Set Event Arrived Issue
- Action will be executed to add the issue to the node issue list.
- Clear Event Arrived Issue
- Action will be executed to clear issue from the node issue list.
Note During the editing of action properties, you will be asked to choose which node to perform indicated action on.
From the drop-down list you can choose the node running NetCrunch, the node causing the event or any other node of choice from the atlas.
See also: Alerting Action Types Basic Action Types Logging Action Types Scripts Action Types