How can I disable DUO from CLI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
drowland82
Posts: 4
Joined: Mon Jan 03, 2022 12:30 pm

How can I disable DUO from CLI

Post by drowland82 »

How can I disable DUO from CLI? An error was in the DUO config so we can't access the web interface.
cnorell
Developer
Posts: 141
Joined: Mon Nov 27, 2017 3:08 pm

Re: How can I disable DUO from CLI

Post by cnorell »

drowland82,

Could you paste the error here? We need to know - at least roughly - where the issue is happening before we can give you some direction on how to resolve it. That said, this may be something that is difficult to resolve over a forum thread, and you may be better served opening a ticket with support.

Best Regards,

Cory Norell
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
drowland82
Posts: 4
Joined: Mon Jan 03, 2022 12:30 pm

Re: How can I disable DUO from CLI

Post by drowland82 »

I've attached a file with the error they receive when trying to login. Thank you!
You do not have the required permissions to view the files attached to this post.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: How can I disable DUO from CLI

Post by eloyd »

There is no officially supported mechanism for manipulating XI components through the command line or API. So unfortunately, you'll have to do something not supported.

In the simplest terms, you need to open up the MySQL "nagiosxi" database and delete the "duo_enabled" option. Or at least set it to a false value. This should tell Nagios XI to ignore the DUO login.

If you don't know how to do that, PM me and I'll walk you through the steps you'll need. I don't want to teach the world how to bypass Nagios security. :-)
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
drowland82
Posts: 4
Joined: Mon Jan 03, 2022 12:30 pm

Re: How can I disable DUO from CLI

Post by drowland82 »

Thank you, I had not used private message before so I'm being denied access. Working to get access now.
User avatar
eloyd
Cool Title Here
Posts: 2190
Joined: Thu Sep 27, 2012 9:14 am
Location: Rochester, NY
Contact:

Re: How can I disable DUO from CLI

Post by eloyd »

I've sent you a PM instead. You should be able to reply to it.
Image
Eric Loyd • http://everwatch.global • 844.240.EVER • @EricLoyd
I'm a Nagios Fanatic! • Join our public Nagios Discord Server!
drowland82
Posts: 4
Joined: Mon Jan 03, 2022 12:30 pm

Re: How can I disable DUO from CLI

Post by drowland82 »

You Rock!! That worked like a champ. My teammate says thank you, that saved him a lot of time!!
Locked