From fc54179ab56af0e1a81aff66bb111b4b331e36ae Mon Sep 17 00:00:00 2001 From: Per Cederqvist <ceder@lysator.liu.se> Date: Thu, 5 Jun 2008 08:54:02 +0000 Subject: [PATCH] Added check_postgrey. --- Makefile | 2 +- check_postgrey | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100755 check_postgrey diff --git a/Makefile b/Makefile index a947599..4bdc722 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 0000000..821fd33 --- /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= -- GitLab