Alerting and Actions
IPNetwork Monitor provides various methods of automatic response to monitored resource state changes. Prompt and informative notification on a monitored resource operation failure allows you to substantially reduce the downtime of important resources, which saves the users work time and improves administrator work effectiveness. The following notification methods can be used:- e-mail notification,
- SMS over GSM modem or e-mail,
- instant messaging (using any XMPP client),
- sending a message to another computer,
- sending Push notification to a mobile device,
- playing a sound file, and
- displaying a message in a dialog or pop-up window.
- run a program or script on local machine,
- run a program or script on local or remote machine via SSH,
- set SNMP value on local or remote SNMP-enabled machine.
- send HTTP(S) request
- Down (e-mail + pop-up) alert that will be executed in 10 seconds after the problem occurs, both simple actions: e-mail and pop-up will be executed 24/7:
- Escalation (e-mail to Senior Administrator) alert that will be sent in 30min if the problem still persists, this e-mail simple action will be executed on worktime only:
- Recovery from down (e-mail) alert that will be sent after the problem is resolved, this e-mail simple action will be executed 24/7:
- Recovery from escalated down (e-mail to Senior Administrator) alert that will be sent after the long-term problem is resolved, i.e. if the resource switches to OK state after the long (in this case 30min) Down. This simple action will be executed on worktime only:
- a problem occurs
- monitor recovers from the problem state
- monitor remains in the problem state for a long time (escalation)
- monitor recovers from the escalated problem state
- Alert(s) to execute on OK -> Down and Down -> OK transitions (Down State Alerts):
- Alert(s) to execute on OK -> Warning and Warning -> OK transitions (Warning State Alerts):
- Alert(s) to execute on an event (Event Alert):
- how soon after a state change the alert will be executed;
- how soon the alert should be escalated;
- how soon the alert should be repeated if the monitor stays in a ‘bad’ state too long.
- The rule inherited from the monitor parent (host, application or device), this is the default,
- One of the named rules,
- A custom rule specific to this monitor.
- inherited: use section from the rule for this monitor;
- use custom: use specific section for this monitor instead of the section from the rule;
- do not report: do nothing on this state change.
- Change the current alert name;
- Add a simple action to the current alert;
- Remove a selected simple action from the current alert;
- Edit a selected simple action or its copy;
- Change time schedules assigned to simple actions.
- Send an e-mail to specified recipients. Variables can be used in the message template, such as $MonitorName, $CurrentState, etc. (see the variables full list), which allows using a single template for all and any state changes.
- Send an SMS message directly over the GSM modem or GSM cell phone attached to the computer. This action allows you to specify one or several phone numbers to send notifications to. To use this action you need to configure the GSM modem as explained here.
By default, this action uses a short one-line message template to ensure that a single SMS message is enough to deliver the action. - Send an SMS message over e-mail to a cell phone. This action allows you to select a provider from the predefined list; the e-mail address stub for this provider is created automatically and you should enter a valid user name or phone number into the bracketed placeholder. You can also specify the e-mail address manually. Make sure to enable the e-mail to SMS service for your phone number (this can be done on the provider’s web portal).
By default, this action uses a short one-line message template to ensure that a single SMS message is enough to deliver the action. - Send a message to an Internet pager. Supported IM clients are all the XMPP (Jabber) clients. Generally, you need two accounts to use this action: the first account represents IPNetwork Monitor (the sender) and you should enter a password for it in the monitor settings; the second account is the destination address for the message (you should start your IM client for this account to receive messages from IPNetwork Monitor).
By default, this action uses a short one-line message template to ensure that a single line in the IM chat log is enough to view the action. Hence, the chat log looks like a common log file. - Show a pop-up message.
It is a standard pop-up balloon with the default notification connected to the application icon in the system tray. The message body can’t be configured. - Send a message via Net Send.
It is a standard window with a message, or a standard dialog with a message on a local or remote machine. The send method ‘NET SEND’ is not available on Windows Vista and later, hence the ‘MSG’ method should be used on all modern Windows versions. - Run a program.
This simple action starts a native binary or executes a script code in a language supported by Windows Scripting Host. The path to the file and its arguments (if any) should be specified. You can use a variable to specify program arguments. You can also specify a custom account for the program or script selecting the appropriate user credentials. One example: you can send alerts to Telegram using this simple action as explained in this article. - Run a Python script
This simple action starts a Python script using Python interpreter configured here in a Settings Dialog. The path to the script, its arguments and input to the script (if any) should be specified. You can also specify a custom account for the script by selecting the appropriate user credentials. This is necessary say when the script has to access LAN resources (monitoring service runs under Local System account by default and has no LAN access). - Run a program remotely via SSH.
It allows you to start any script or command on a given remote host over SSH. The command and credentials to access the remote host should be specified as explained here. You can specify program arguments using the variables. - Play a sound file.
This action plays a sound file either directly on the monitoring host or in the web browser. Supported audio format is MP3; .wav files are converted to MP3 ‘on the fly’ when you configure the action. In order to listen sound alerts in the web browser, you should:- select the Play Sound in Web Browser checkbox in the action parameters
- open the Dashboard, Reports, or Alerts tab in the IPNetwork Monitor Web interface
- Set an SNMP value
This action sets a given value via the SNMP protocol. The SNMP account used by this action should be granted write permissions for the variable to set. Changing some variables (sysName, sysLocation) may be prohibited by the SNMP agent even though they are formally writable. ‘Value Encoding Type‘ setting is normally auto detected based on the OID (using an SNMP GET request issued when you click on the ‘New Value‘ setting); however you can also select it manually; the default value for this setting is MIB lookup (auto detect)‘ which instructs IPNetwork Monitor to determine the value type using the current set of MIB files so the SNMP variable should be defined by one of the MIB files. - Send HTTP(S) request
This action sends GET/POST request via the HTTP(S) protocol. Send an GET/POST request to the server with specified URL. Variables can be used in the GET/POST data, such as $MonitorName, $CurrentState, etc. (see the variables full list), which allows using a single template for all and any state changes. HTTP(S) action has two types of validation: validation of response text and response code validation. If response doesn’t pass the validation, then action will be marked as a failed action in the log panel. This action can be used for integration with many web-based tools and applications. For example, you can post alerts to the following destinations:- Slack channels: see this article
- HipChat rooms: see this article
- Stride rooms: see this article
- Microsoft Teams channels: see this article
- Send Push notification
This action sends Push notification to one or several mobile devices. Note:- IPNetwork Monitor needs internet connection to be able to send notifications.
- You need to install the IPNetwork Monitor Mobile app on your device and setup the connection to IPNetwork Monitor installation.