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
Active Directory bulk import?
Re: Active Directory bulk import?
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.
me.
-
ChathamDaleJ
- Posts: 55
- Joined: Tue Jul 02, 2013 10:44 am
Re: Active Directory bulk import?
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
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
Re: Active Directory bulk import?
I don't see a link attached anywhere.ChathamDaleJ wrote:Here is a link describing why and stating that the solution properly lies on the application side. I have to agree.
You want command line tools to do the bulk import? I'm a little unclear on what you're asking for here.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.
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: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.
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.ChathamDaleJ wrote:So, consider this three feature requests which would make your Nagios XI much more pleasant to use.
Former Nagios Employee.
me.
me.