Password for hosts and special chars

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
WilliamLea1
Posts: 11
Joined: Fri Nov 05, 2021 11:00 am

Password for hosts and special chars

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Password for hosts and special chars

Post 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
WilliamLea1
Posts: 11
Joined: Fri Nov 05, 2021 11:00 am

Re: Password for hosts and special chars

Post 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.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Password for hosts and special chars

Post 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
WilliamLea1
Posts: 11
Joined: Fri Nov 05, 2021 11:00 am

Re: Password for hosts and special chars

Post by WilliamLea1 »

Ah ok thanks for looking into it. Will raise with IBM
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Password for hosts and special chars

Post by ssax »

Sounds good. Let us know when we're okay to lock this post and mark it as resolved.
Locked