Skip to content

Commit

Permalink
agents: use swap check instead of commited
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Aug 5, 2024
1 parent 65e0003 commit 8a41c91
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ sub get_checks {
'info' => Thruk::Agents::SNClient::make_info($mem),
};
}
if($mem->{'type'} eq 'committed') {
if($mem->{'type'} eq 'swap') {
push @{$checks}, {
'id' => 'mem.swap',
'name' => 'memory swap',
'check' => 'check_memory',
'parent' => 'agent version',
'args' => { "type" => "committed" },
'args' => { "type" => "swap" },
'info' => Thruk::Agents::SNClient::make_info($mem),
};
}
Expand Down

0 comments on commit 8a41c91

Please sign in to comment.