Page 1 of 1

Password for hosts and special chars

Posted: Thu Dec 23, 2021 11:02 am
by WilliamLea1
Hi,

I have been trying to change passwords for IBM i hosts in Nagios XI. First off it seems the only way I can change the password is to change it on the IBM i and then go into the config wizard and then IBM i service and change the password in there. Seems a bit cumbersome?

Next issue is that i have been putting special chars in the password on the IBM i and then when I try to change it in the password field in the Nagios wizard it says its wrong when I know its right. Does the password field do something funky where it changes your UK keyboard entries into US entries? Obviously I cant see anything other than ******

If I dont use special characters or characters that are the same on both US and UK keyboards such as ! just cant seem to use £ for example

Cheers Will.

Re: Password for hosts and special chars

Posted: Mon Dec 27, 2021 2:43 pm
by ssax
Please PM me a copy of your profile.zip from Admin > System Profile > Download Profile button so I can see how they are setup.

You may be able to use a User Macro in the wizard but I haven't tested that specifically as the IBM devs would have needed to implement it.

You could also just use a User Macro in the configs as well:

https://assets.nagios.com/downloads/nag ... ponent.pdf

Re: Password for hosts and special chars

Posted: Wed Jan 05, 2022 8:39 am
by WilliamLea1
Hi SSAX,

Thanks for the response. However it appears i dont have the PM feature ability yet as I am a newbie. ?

Cheers Will.

Re: Password for hosts and special chars

Posted: Wed Jan 05, 2022 10:34 am
by ssax
Apologies, you need 3 post before it will let you PM files but we don't actually need it for this.

The IBMi plugin/wizard is 3rd party and written by IBM and that's the way the wrote the functionality.

The developers of the wizard/plugin said that we are supposed to direct support/feature-requests for it to the IBM devs since they wrote it and know how it works, here is the the contact info they gave us:

Code: Select all

Yan VT Zhang [email protected] –developer
Yun CDL Wang [email protected] –dev manager
Tim Rowe [email protected] –architect
You'll need to contact them to have them investigate the special characters issue as we don't have access to any IBMi systems to test against.

I decompiled the HostConfig.class that it uses and it looks like it may store the credentials in this file but they are likely encrypted:

Code: Select all

/usr/local/nagios/var/Nagios.host.java.config.ser

Re: Password for hosts and special chars

Posted: Thu Jan 06, 2022 8:56 am
by WilliamLea1
Ah ok thanks for looking into it. Will raise with IBM

Re: Password for hosts and special chars

Posted: Thu Jan 06, 2022 5:31 pm
by ssax
Sounds good. Let us know when we're okay to lock this post and mark it as resolved.