Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up

Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More

  • Home
  • Directory
  • Library
  • Support
  • About
Plugins4405Themes and Skins13Add-ons757Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
DHCP and BOOTP DHCP server Responses to discover / inform requests through nmap
0.0 (0)
5.5K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Yoann LAMY (7)deskwork_itunes142 (4)Chad Columbus (3)Marcin Bednarski (3)Julien DESMAREST (3)
See More
Newest Contributors
signalgrid (1)Sanna Glue (2)fisherrs (1)smolinux (1)juanfertor (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Joris
J

Joris

@dejoris

User Stats

Member Since: September 4, 2013

Favorites0

Views

Projects0

No Projects Found
check_amavis

Thanks and some room for improvement

In general this script works fine. Thanks for the effort of making this for the community. There is some minor room for improvement though which a wanted to share. The nagios embedded perl interpreter (can be switched on/off) runs check commands with use strict. So at line 28 the "$result =" should be "my $result =", otherwise use strict (of the embedded perl) will fail. But if the above is changed it clashes with "my $result =" on line 79 . This should be changed to something like "my $smtp_result =". The $result at line 82 and 86 should be changed accordingly. The regexp at line 82 only catches if amavis is configures with "$final_virus_destiny = D_DISCARD" or "$final_virus_destiny = D_ACCEPT". It fails in case of "$final_virus_destiny = D_REJECT". An alternative for rule 82 might be: if ( $smtp_result =~/2.7.[01] Ok, discarded/ or $smtp_result =~/5.7.[01] Reject, id=/ ) { Or even better perhaps to: if ( $smtp_result =~ /INFECTED:sEicar-Test-Signature/ ) { Just a few thoughts for improvement. Thanks again for the effort.

Reviewed 13 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile