Page 1 of 1

Email Delivery - Too Many Arguments?

Posted: Fri Dec 28, 2012 7:47 am
by Gavin
We are using Nagios XI 2012R1.3, and have configured the Email Delivery checker through the Wizard. It was working perfectly, until I edited the service today (via. CCM) and applied my changes.

The check is now not working, because not all the arguments are present. The check command uses twelve arguments, but the GUI only shows eight fields. I'm guessing that when you click save, the other arguments (which are hidden?) are wiped.

Code: Select all

$USER1$/check_email_delivery --mailto $ARG1$ --mailfrom $ARG2$ -H $ARG3$ --smtp-server $ARG3$ --smtp-username $ARG4$ --smtp-password $ARG5$ --smtp-port $ARG6$ $$([ "$ARG7$" ] && echo --smtptls) --imap-server $ARG8$ --username $ARG9$ --password $ARG10$ --imap-port $ARG11$ $$([ "$ARG12$" ] && echo --imapssl)
Is there some way round this, as we currently can't edit this type of service via. CCM?

Many thanks,

Gavin

Re: Email Delivery - Too Many Arguments?

Posted: Fri Dec 28, 2012 10:43 am
by scottwilkerson
This is a known issue. This wizard was created some time ago and the person who created it made a big mistake using 12 args..

I have this on the TODO list, but for the time being the best way to fix this would be to re-run the wizard.

Sorry for the inconvenience..

Re: Email Delivery - Too Many Arguments?

Posted: Fri Dec 28, 2012 12:25 pm
by Gavin
Thanks Scott. We got around it by making a new command that just calls '$USER1$/check_email_delivery $ARG1$', so we can add in the parameters ourselves. It's a little manual but it does work.

Do you publish a bug list? It would be handy as it would save us time diagnosing problems you're already aware of.

Many thanks,

Gavin

Re: Email Delivery - Too Many Arguments?

Posted: Fri Dec 28, 2012 1:44 pm
by slansing
Hey Gavin, you can check the following site for Nagios XI bugs, you can also submit bugs and feature requests through the tracker:

http://tracker.nagios.com/

Re: Email Delivery - Too Many Arguments?

Posted: Fri Dec 28, 2012 4:03 pm
by Gavin
Fantastic, thank you very much! :D