Active Directory bulk import?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
ChathamDaleJ
Posts: 55
Joined: Tue Jul 02, 2013 10:44 am

Active Directory bulk import?

Post by ChathamDaleJ »

Other than accessing MySQL directly, is there a way to give Nagios a list of AD users and have it create those users as Nagios users?

Thanks,

Dale
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Active Directory bulk import?

Post by hsmith »

You can do it with the checkboxes, but if I understand correctly, you want to just be able to give something like a comma delimited text file and have it look for those users and add? If that's the case, it's not currently possible, but I could put in a feature request. Let me know what you're looking for before I do that, though.
Former Nagios Employee.
me.
ChathamDaleJ
Posts: 55
Joined: Tue Jul 02, 2013 10:44 am

Re: Active Directory bulk import?

Post by ChathamDaleJ »

Our windows admins are less than thrilled with that solution. I did some research and it appears to be suboptimal at best.

Here is a link describing why and stating that the solution properly lies on the application side. I have to agree.

I did find in the tools directory two tools to modify a user in the MySQL database. The are mod_user and mod_usermeta or something like that. It appears to me that these tools could be easily modified to allow the creation of a user. I found the MySQL tables, it appears to be fairly straightforward. However, one thing I looked for in the process was a way to backup the database on the fly. That does not appear to be possible.

So, consider this three feature requests which would make your Nagios XI much more pleasant to use.

Thanks,

Dale
User avatar
hsmith
Agent Smith
Posts: 3539
Joined: Thu Jul 30, 2015 11:09 am
Location: 127.0.0.1
Contact:

Re: Active Directory bulk import?

Post by hsmith »

ChathamDaleJ wrote:Here is a link describing why and stating that the solution properly lies on the application side. I have to agree.
I don't see a link attached anywhere.
ChathamDaleJ wrote:The are mod_user and mod_usermeta or something like that. It appears to me that these tools could be easily modified to allow the creation of a user. I found the MySQL tables, it appears to be fairly straightforward. However, one thing I looked for in the process was a way to backup the database on the fly.
You want command line tools to do the bulk import? I'm a little unclear on what you're asking for here.
ChathamDaleJ wrote:one thing I looked for in the process was a way to backup the database on the fly. That does not appear to be possible.
Have you looked at our backup and restore feature? https://assets.nagios.com/downloads/nag ... ios-XI.pdf The database is one of the things that it backs up.
ChathamDaleJ wrote:So, consider this three feature requests which would make your Nagios XI much more pleasant to use.
I'm not 100% sure what you want these feature requests to be. We have a way to back up the database, and I don't fully understand what you want out of the mod_user script.
Former Nagios Employee.
me.
Locked