We have Nagios XI2014R2.3
I have combed through forum, and visited http://www.openparty.net/2008/software/ ... ivery.html and still can't get my check_email_delivery from the command line to work. Once i get the command line to work it should work in Nagios using ARGs. Here are my commands below. Note: the check_smtp_send and check_imap_receive plugins work as expected if running them independently.
What am I missing?
1) without TOKEN
./check_email_delivery –-plugin "/usr/local/nagios/libexec/check_smtp_send -H snmptserver --mailto [email protected] --mailfrom [email protected] -–header 'Subject: Nagios Monitor Test'" –-plugin "/usr/local/nagios/libexec/check_imap_receive -H imapserver.com -U user -P pwd -s SUBJECT -s 'Nagios Monitor Test'"
2) using default TOKEN
./check_email_delivery –-plugin "/usr/local/nagios/libexec/check_smtp_send -H snmptserver --mailto [email protected] --mailfrom [email protected] -–header 'Subject: Nagios Monitor Test %TOKEN1%.'" –-plugin "/usr/local/nagios/libexec/check_imap_receive -H imapserver.com -U user -P pwd -s SUBJECT -s 'Nagios Monitor Test %TOKEN1%.'"
As usual, thanks for you help