Just noticed a new default when editing user accounts

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Just noticed a new default when editing user accounts

Post by SteveBeauchemin »

In Admin > Manage Users > edit a user
CCM-Access.PNG
I see that CCM access = Login by default.

Can that default be changed globally somehow?

I have many accounts and will have to edit 200+ to turn that to "none'.

Can someone provide a SQL statement for me to fix this maybe?

Also can there be a default control for this? If there is already a control, please let me know. I need it set to none for all user additions.

Thanks

Steve B
You do not have the required permissions to view the files attached to this post.
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Just noticed a new default when editing user accounts

Post by npolovenko »

Hello, @SteveBeauchemin. If I click on "Add new user" in XI it defaults to None. But to change this option to none for all existing users you can try executing the following query:
echo "UPDATE xi_usermeta SET keyvalue = '0' WHERE keyname='ccm_access';" | mysql -u root -pnagiosxi nagiosxi
*Please back up your XI before running the command.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Just noticed a new default when editing user accounts

Post by SteveBeauchemin »

After I run this - will I have caused my admin users a problem?

I can probably construct a query to skip them. Or if you know the syntax I'll take what I can.

All my existing users are set to Login. Sounds like the new user default is good.

Thanks for the info

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Just noticed a new default when editing user accounts

Post by npolovenko »

@SteveBeauchemin, Looks like the nagiosadmin user doesn't have such field so it's automatically excluded from this query. And for other users, if the authorization level is set to -> Admin then the ccm_access keyvalue seems to be ignored. So I'd say this query should work fine for all types of users.
Please backup XI server.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SteveBeauchemin
Posts: 524
Joined: Mon Oct 14, 2013 7:19 pm

Re: Just noticed a new default when editing user accounts

Post by SteveBeauchemin »

Thank you for looking in to this. I will use ESX snapshot when I run the query just in case.

Probably not gonna run this until my next upgrade cycle.

You can close this.

Thanks!!

Steve B
XI 5.7.3 / Core 4.4.6 / NagVis 1.9.8 / LiveStatus 1.5.0p11 / RRDCached 1.7.0 / Redis 3.2.8 /
SNMPTT / Gearman 0.33-7 / Mod_Gearman 3.0.7 / NLS 2.0.8 / NNA 2.3.1 /
NSClient 0.5.0 / NRPE Solaris 3.2.1 Linux 3.2.1 HPUX 3.2.1
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Just noticed a new default when editing user accounts

Post by scottwilkerson »

SteveBeauchemin wrote:Thank you for looking in to this. I will use ESX snapshot when I run the query just in case.

Probably not gonna run this until my next upgrade cycle.

You can close this.

Thanks!!

Steve B
great, Locking
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked