Hello
we need to install NRPE on our server's with nagios user on LDAP server, how can we do it ?
Installing NRPE with LDAP nagios user
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Installing NRPE with LDAP nagios user
What type of servers?
Re: Installing NRPE with LDAP nagios user
Hello Scott,
Client machine to be monitored is Solaris 10, where we are not authorized to create Local user, so we have to use Ldap user.
Client machine to be monitored is Solaris 10, where we are not authorized to create Local user, so we have to use Ldap user.
Re: Installing NRPE with LDAP nagios user
This is possible, but the users/groups need to be pre-configured through ldap. The nrpe agent assumes a "nagios" user who is member of the groups "nagcmd" and "nagios". If those account/groups preexist from ldap, then you could probably comment out the user/group creation lines from the 2-usersgroups sub script of the nrpe install:
Code: Select all
#eval "$useraddbin" -n "$nagiosuser"
#eval "$groupaddbin" "$nagiosgroup"
#eval "$useraddbin" "$nagiosuser"
#eval "$groupaddbin" "$nagioscmdgroup"
#eval "$usermodbin" -a -G "$nagioscmdgroup" "$nagiosuser"
#eval "$usermodbin" -a -G "$nagiosgroup" "$nagiosuser"
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.