Wisvia Forum

Title: How to read and customize Wisvia API URLs [Print this page]

Author: wisvia_admin    Time: 2014-7-16 18:18
Title: How to read and customize Wisvia API URLs
When a Wisvia company administrator logon to Wisvia portal at http://www.wisvia.com/wisvia-portal, from the Company Management link on top right, there are two API URL links similiar as follows,
http://www.wisvia.com/mts-server/alert.htm?q=HFIY%2BplKNaO%2Beyu2eTQLNw%3D%3D&system=Nagios&altId2=$HOSTNAME$&altId1=$SERVICEDESC$¬ificationType=$NOTIFICATIONTYPE$&state=$SERVICESTATE$&altMsg='contactmail $CONTACTEMAIL$ ** $NOTIFICATIONTYPE$ Service Alert: $SERVICEDESC$ on $HOSTNAME$ State: $SERVICESTATE$ @ $LONGDATETIME$ **'

This link is customized for Nagios. For nagios systems, simply copy and paste the Host URL and Service URL to Nagios notification commands. For other monitoring systems or signal generators, you can specify the follow parameters.
q: your company code that can be retrieved from Nagios URL
s: name of the service
h: name of the host
notificationType: RECOVERY|PROBLEM
state: OK|WARNING|CRITICAL (When OK is specified in state, the ticket's status will be set to green, other wise it will create a new ticket of red status)







Welcome to Wisvia Forum (http://www.wisvia.com/forum/) Powered by Discuz! X3.1