×
Testservicecheck - Setting
Parameters:
hostname & servicename
— to identify the service.args
— Optional. Arguments to use to execute. If no TESTCHANGE access, will be ignored and the default used (same as GET args).
Returns:
{
"command" : "check_snmp_sysinfo -H '127.0.0.1' -t 5 -v '3' -U 'user3' -P XXauthpasswordXX -a \"md5\" -e 'des' -x XXprivpasswordXX",
"monitored_by" : "master", // Will not be set if there are no remotely managed collectors
"return_code" : "0",
"stderr" : "",
"stdout" : "Status is OK - SYSTEM: debian7 CONTACT: Joe Bloggs LOCATION: Reading, UK, IN SNMP AGENT: .1.3.6.1.4.1.8072.3.2.10 Linux debian7 3.2.0-4-686-pae #1 SMP Debian 3.2.57-3 i686\n"
}
["Opsview On-premises"]
["API", "Technical Reference"]