The Alarm Menu :: Alarm Server
param.cgi?cmd=setmdalarm-aname=server2
Function | Activate the 3rd Alarmserver to send HTTP GET Requests |
---|---|
Authority | admin |
Parameter | aname: |
switch : [on, off] | |
Return | Success, Error |
Remark | Only the 3rd Alarmserver is availble - Others might be used for other purposes and should not be reconfigured! You can check the other Alarmserver with the GET command above. |
Example | GET: http://admin:instar@192.168.2.168/cgi-bin/hi3510/param.cgi?cmd=getmdalarm&-aname=server2 |
SET: http://admin:instar@192.168.2.168/cgi-bin/hi3510/param.cgi?cmd=setmdalarm&-aname=server2&-switch=on |
param.cgi?cmd=setalarmserverattr
Function | Configure the 3rd Alarmserver |
---|---|
Authority | admin |
Parameter | as_server : [IP or Domain] Adress of your server |
as_port : [1-65536] Serverport | |
as_path : [String] | |
as_query1 and as_query2 : Add a attributes & value to your URL | |
as_queryattr1 and as_queryattr2 : Attribute of your variable | |
as_queryval1 and as_queryval2 : Value of your variable | |
as_auth : [0, 1] Activate/Deactivate Authentification | |
as_username and as_password User login | |
Return | Success, Error |
Example | SET: http://admin:instar@192.168.2.168/cgi-bin/hi3510/param.cgi?cmd=setalarmserverattr&-as_index=3&-as_server=192.168.1.114&-as_port=8999&-as_path=%2FPath%2FTo%2FScripts-as_query1=1&-as_queryattr1=ir&-as_queryval1=on&-as_query2=1&-as_queryattr2=ptz&-as_queryval2=2&-as_auth=1&-as_username=admin&-as_password=admin |