Methode dedicatedMonitoringServiceAddSMS
terug aan de groep index
dedicatedMonitoringServiceAddSMS
stringdedicatedMonitoringServiceAddSMS (
stringsession,
stringhostname,
stringip,
intport,
stringprotocol,
stringperiod,
stringstring,
stringurl,
stringsmsAccount,
stringphoneNumberTo
)
Beschijving
Create a service monitoring and warn wit SMSParameters
- stringsession : sessie 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
Terug
the id of the record in the sql tabl