diff --git a/Makefile b/Makefile index a9475990bb58d9f034be7c2ac2f02b341471100c..4bdc7226f241443e48ec67ebca8d5e7115ae327c 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ SCRIPTS = check_cups check_glsa check_saned check_lpd check_hddtemp \ check_link_status check_true check_lysrdiff check_syslog \ check_ping check_enodia_monitored check_hostextinfo \ check_hydra check_datorhandbok check_no_server check_iostatE \ - check_nfs_server check_svcs check_zfs + check_nfs_server check_svcs check_zfs check_postgrey SUBDIRS = bin rules site-rules diff --git a/check_postgrey b/check_postgrey new file mode 100755 index 0000000000000000000000000000000000000000..821fd33cd367f68cb72c6ba2f0c99655c98d006a --- /dev/null +++ b/check_postgrey @@ -0,0 +1,16 @@ +#!/bin/sh +exec /usr/nagios/libexec/check_tcp -H localhost -p 10030 -s "\ +request=smtpd_access_policy +protocol_state=RCPT +protocol_name=SMTP +helo_name=nagios.check +queue_id=8045F2AB23 +sender=nagios@nagios.nagios +recipient=nagios@nagios.nagios +recipient_count=0 +client_address=10.0.0.0 +client_name=nagios.nagios +reverse_client_name=nagios.nagios +instance=123.456.7 + +" -e action=