- or download this
<conf name="snoopdogg" serial="1" target="172.16.1.3">
<services>
...
<crit value="10" operator=">"/>
</probe>
(...)
- or download this
my $configuration = $xml->XMLin(
$conf,
...
},
KeepRoot => 0
);
- or download this
my $warn = $configuration->{snoopdogg}{services}{cpu}{plugins}{cpu}{pr
+obes}{load1}{warn}{value};
- or download this
my $warn = $configuration->{snoopdogg}{cpu}{cpu}{load1}{warn}{value};
- or download this
GroupTags => { services => 'service' => name }