Metoda dedicatedMonitoringServiceAddSMS
zpět na index skupiny
dedicatedMonitoringServiceAddSMS
stringdedicatedMonitoringServiceAddSMS (
stringsession,
stringhostname,
stringip,
intport,
stringprotocol,
stringperiod,
stringstring,
stringurl,
stringsmsAccount,
stringphoneNumberTo
)
Popis
Create a service monitoring and warn wit SMSParametry
- stringsession : the session id
- stringhostname : the hostname to monitor
- stringip : the IP to monitor
- intport : the port to monitor
- stringprotocol : the protocol to use (openTCP|HTTP|SMTP|POP|IMAP|SSH|FTP)
- stringperiod : the test period (5m|30m|1h|6h)
- stringstring : the expected return
- stringurl : the url to test
- stringsmsAccount : the smsAccount to use
- stringphoneNumberTo : the phone number to contact
Návrat
the id of the record in the sql tabl