Suggested item to add: password textfield

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Suggested item to add: password textfield

Post 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.
User avatar
admin
Site Admin
Posts: 256
Joined: Mon Oct 12, 2009 8:21 am

Re: Suggested item to add: password textfield

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Ethan Galstad
President
User avatar
niebais
Posts: 349
Joined: Tue Apr 13, 2010 2:15 pm

Re: Suggested item to add: password textfield

Post by niebais »

I'll give that a try, thanks!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Suggested item to add: password textfield

Post 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$.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked