We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9557357 commit d812058Copy full SHA for d812058
plugins/plugins-available/agents/lib/Thruk/Agents/SNClient.pm
@@ -436,8 +436,9 @@ sub _extract_checks {
436
}
437
my $proto = "https";
438
$proto = "http" if($mode && $mode eq 'http');
439
- my $command = sprintf("check_snclient!%s -p '%s' -u '%s://%s:%s' '%s'",
+ my $command = sprintf("check_snclient!%s %s -p '%s' -u '%s://%s:%s' '%s'",
440
_check_nsc_web_extra_options($c, $mode),
441
+ ($chk->{'nscweb'} // ''),
442
$svc_password,
443
$proto,
444
'$HOSTADDRESS$',
plugins/plugins-available/agents/lib/Thruk/Agents/SNClient/Checks/Base.pm
@@ -39,6 +39,7 @@ sub get_checks {
39
'id' => 'version',
40
'name' => 'agent version',
41
'check' => 'check_snclient_version',
42
+ 'nscweb' => '-e CRITICAL',
43
};
44
45
if($inventory->{'uptime'}) {
0 commit comments