Page 1 of 1
Suggested item to add: password textfield
Posted: Thu Jul 29, 2010 2:29 pm
by niebais
One thing we've noticed over and over is the need to hide passwords when they are entered in as arguments. One way to do this would be to add a new argument field called $PARG$ which would be a password text field.
Re: Suggested item to add: password textfield
Posted: Thu Jul 29, 2010 3:17 pm
by admin
Nice idea. Here's a method that may work for you.
Edit /usr/local/nagios/etc/resource.cfg and add your own $USERx$ variables (don't modify $USER1$ or $USER2$). You can then use the $USERx$ macro in your command definitions and the value won't appear in the Core Config Manager interface.
Hope that helps.
Re: Suggested item to add: password textfield
Posted: Thu Jul 29, 2010 4:03 pm
by niebais
I'll give that a try, thanks!
Re: Suggested item to add: password textfield
Posted: Fri Jul 30, 2010 3:01 am
by Box293
admin wrote:Edit /usr/local/nagios/etc/resource.cfg and add your own $USERx$ variables (don't modify $USER1$ or $USER2$). You can then use the $USERx$ macro in your command definitions and the value won't appear in the Core Config Manager interface.
It would be good if you could use the XI web interface to configure the values $USER3$ - $USER9$.