Sign in to leave a message
Remember me
Do not have an account?
Sign up now!
Register

User name
Password
Confirm password
Email

 
 
FAQ
View: 8394|Reply: 0
Print Prev. thread Next thread

How to read and customize Wisvia API URLs

[Copy link]
How to read and customize Wisvia API URLs
wisvia_admin
0
8394
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)