How do I create actions?

Creating an action using MarkVision Messenger

The following steps provide an example of how to create an action in MarkVision Messenger. This sample action sends an e-mail message to a specified address whenever a printer monitored by the MarkVision Server enters a Paper Jam state.

  1. From the MarkVision Messenger Home screen, click Create New.

  2. Provide action information:

    • Type the name of the action (required)

    • Type a description of the action (optional)

    • Type notes about the action (optional)

  3. Click the right arrow icon.

  4. Choose whether to make the action private or public, and then click the right arrow icon.

  5. Select Device Status Alerts, and then click the right arrow.

  6. Choose the event that will trigger the action.

    Select Paper Jam from the Events list, and then click the right arrow to add Paper Jam to the Selected Events box.

  7. Click the right arrow. Select a method of device selection.

  8. Click Monitor All Devices on the MarkVision Server, and then click the right arrow.

  9. Select the type of command the action will execute. Click Send SMTP E-mail, and then click the right arrow.

  10. If you have not entered settings for your SMTP server, type the SMTP mail server information (for example, mailserver.mycompany.com).

  11. In the From box, type an e-mail address.

  12. Click the right arrow.

  13. Compose an e-mail message.

    • In the To box, type the e-mail address of the message recipient.

    • To carbon copy (Cc) someone, type their e-mail address in the Cc box.

    • For this example, type Paper Jam in the Subject box.

    • In the Body box, type: There is a paper jam at: $ {source.ipAddress}, model: $ {source.model}, and then click the right arrow.

      Note: Both source.ipAddress and source.model are keywords. You can select them from the Keywords list, and then move them to the Body box by clicking the right arrow. The source.ipAddress keyword contains the TCP/IP network address (if applicable) of the print server to which the printer is attached. The source.model keyword contains the model name of the printer. Many keywords are available in MarkVision Messenger. Find a description of each in the Keyword Detail box, under the Keywords list.
  14. Select filter type for the action:

    • Trigger on Active—Sends an e-mail whenever a printer enters a Paper Jam state

    • Trigger on Either Active or Clear—Sends an e-mail whenever a printer enters or exits a Paper Jam state

    • Custom—Create a custom filter script

  15. Click Trigger on Active, and then click the Next arrow icon.

    A summary of the action appears.

  16. Click Yes to enable the action.

What are the results of this action?

If a printer monitored by MarkVision Professional enters a Paper Jam state, an e-mail will be sent to the specified e-mail address. The subject will be "Paper Jam," and the body will be similar to: “There is a paper jam at: 123.123.123.123, model: generic printer.” In this example, 123.123.123.123 is the TCP/IP network address of the print server to which the printer is attached, and generic printer is the model name of the printer.