1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 10:23:46 +01:00

IP address added to output

This commit is contained in:
Páll Guðjón Sigurðsson 2010-08-13 13:14:47 +00:00
parent 075bd2e20b
commit 599a3f3d11

View File

@ -109,11 +109,11 @@ else { $state = 'CRITICAL' }
if (%listed) if (%listed)
{ {
print "Listed at"; print "IP $host is listed at";
foreach (keys(%listed)) { print " $_" } foreach (keys(%listed)) { print " $_" }
print "\n"; print "\n";
} }
else { print "Not black-listed\n" } else { print "IP $host Not black-listed\n" }
exit $ERRORS{$state}; exit $ERRORS{$state};