Alerting Actions
NetCrunch allows many alerting actions such as notifications, remote execution, creating tickets in help desk systems, sending messages to other systems, and NetCrunch configuration actions.
Actions are executed in response to an alert, and they organized in sequences by Alert Action Lists.
Alerts are grouped to make finding the desired Action easier. Groups refer to their purpose and are gathered into tabs in the Add Action window.
Basic Actions
Desktop
- Play Sound
- The action plays a sound file (in .way format) as the response to an alert.
- Display Desktop Notification Window
- The action shows a small notification window above the Windows Task Bar.
Diagnostics
These actions can extend alert information, so when the next action would be sending an email notification, it will also contain diagnostic action results.
- Add Traceroute to Alert Message
- Executes traceroute to determine the point where the remote connection is broken.
- Add Network Services Status to Alert Message
- Adds the status of all node network services to the alert information.
Notify
- Notify user or group
- This is a recommended notification to be used. It automatically chooses the right users and profiles depending on defined user profiles and groups.
Simple
- SMS via Email
- SMS via GSM
- This is simple, but use it only in case of a single administrator or a straightforward notification scheme. You can directly specify the notification type (email or SMS) and the recipient.
To use the SMS notification via GSM phone, you need to connect and set up the GSM phone or modem to the NetCrunch Server.
Control Actions
Controlling Computers
NetCrunch can execute various control actions remotely. Event descriptions can be passed to action when needed in XML format. By default, actions can be executed on a node causing an alert or on any other node from the Atlas.
Windows
- Run Windows Program
- The program can be copied to and executed on the desired machine.
- Run Windows Script
- Run the script that can be copied to and executed on the desired machine by a given scripting host.
- Terminate Windows Process
- Terminates the process by its name.
- Start, Stop, Pause Windows Service
- Perform control action on a given service. (Specify service by its name or select from the list of running services).
Unix Family
- Run SSH Script
- Run script using SSH connection can be copied to and executed on the desired machine by a given scripting host.
Any OS
- Shutdown Computer
- Shutdown remote node (it can be executed on every supported OS).
- Restart Computer
- Restart remote node (it can be executed on every supported OS).
Other
- Set SNMP Variable
- Set a given SNMP variable on a remote node (you can use the MIB database or enter OIDs manually).
- Wake on LAN
- Send "Wake on LAN" packet, which can turn the device power on if supported by the device.
NetCrunch Actions
- Change Node Monitoring State
- Enable/disable node monitoring. Action can disable node monitoring indefinitely or only for a specified time.
- Change Node Monitoring Time
- Change node monitoring time.
- Modify Node Issue List
- Turn alerts into issues—set or clear issues on a node.
- Modify Node Custom Field
- Change or clear node custom field.
- Set Issue
- Add the issue upon an alert to the node issue list.
- Clear Issue
- Clear issue related to alert (created by set issue) from the node issue list.
Integrations
This section allows integration with the external service desk, productivity, and notification systems:
Notification
- Amazon SNS
- send notification via Amazon Simple Notification Service,
- Campfire
- send a message into Campfire Chatroom,
- IFTTT
- send a web request to IFTTT service
- Microsoft Teams
- send Microsoft Team Message
- MQTT
- publish a message to MQTT Broker
- Pushover
- send a notification to devices using Pushover,
- Ryver
- send notification via Ryver
- Slack
- send notification via Slack
- send a tweet or direct message
SMS Gateway
- Clickatell
- send SMS/text message via Clickatell service
- MessageBird
- send SMS/text message via MessageBird service
- SMSEagle
- send SMS/text message via SMSEagle Gateway
Service Desk
- AlertOps
- create or close alert in AlertOps source
- Asana
- Create, update or close the Asana task
- Connectwise
- Create or close the ConnectWise Service Desk ticket
- Flowdock
- Create or close the ticket in Flowdock source
- Freshdesk
- Create or close the Freshdesk ticket
- Freshservice
- Create or close the Freshservice ticket
- JIRA
- Create or comment on JIRA Service Desk ticket
- JiTBiT
- Create or close the JitBit ticket
- LiveAgent
- Open or resolve the LiveAgent ticket.
- Mojo Helpdesk
- Create or close the Mojo Helpdesk ticket
- Ops Genie
- Create or close the OpsGenie alert
- PagerDuty
- Create or resolve the PagerDuty incident
- ServiceNow
- Create or close the ServiceNow incident
- Trello
- Create or update Trello card
- Zendesk
- Create or close ZenDesk ticket
Logging
Local
Actions execute on the NetCrunch Server machine. You can specify the desired message format for the action.
- Write to File
- Action appends information about the alert at the end of the selected file. The file must be accessible from NetCrunch Server. The file will be created if it does not exist.
- Write to Windows Event Log
- Writes information about the alert into specified Windows Event Log.
- Write to Unique File
- Writes detailed information about the alert to unique per each alert file.
Remote
- Send SNMP Trap
- Sends SNMP trap with given alert information. To understand NetCrunch SNMP traps by the remote SNMP manager, export NetCrunch SNMP MIB and import/compile in that manager. See Integrating NetCrunch with other NMS.
- Send Syslog Message
- Sends syslog message using defined message form to remote syslog server.
- Trigger Webhook
- Sends HTTP POST request to a given URL with event data as payload. Supports XML and JSON data format.
Please note that while selecting the Write to File and Write to Unique File actions on a remote Administration Console, the Filename or Directory fields require providing the path manually. The Select Directory or Open File icons are grayed out.
Scripts
Linux
- Shutdown Linux Machine
- Reboot Linux Machine
- Restart Linux SNMP Daemon
- Mount CD-ROM
- Dismount CD-ROM
Windows
- Start SNMP Service
- Stop SNMP Service