Email Delivery - Too Many Arguments?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Email Delivery - Too Many Arguments?

Post 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
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Email Delivery - Too Many Arguments?

Post 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..
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Re: Email Delivery - Too Many Arguments?

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Email Delivery - Too Many Arguments?

Post 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/
Gavin
Posts: 58
Joined: Mon Dec 24, 2012 4:56 am

Re: Email Delivery - Too Many Arguments?

Post by Gavin »

Fantastic, thank you very much! :D
Locked