creating another account in nagios core to access

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
amjedlk
Posts: 5
Joined: Tue Feb 11, 2014 12:04 pm

creating another account in nagios core to access

Post by amjedlk »

could anyone please help me to create another user account to access nagios .

default what we using nagiosadmin now i need to create another account with same privileges
User avatar
jsmurphy
Posts: 989
Joined: Wed Aug 18, 2010 9:46 pm

Re: creating another account in nagios core to access

Post by jsmurphy »

The below steps are for a default set up but they are rather simple so you should be able to work it out easy enough if you've changed some stuff:
htpasswd2 -c /usr/local/nagios/etc/htpasswd.users <new_username>
service apache2 restart

vi /usr/local/nagios/etc/cgi.cfg
change the following lines:
authorized_for_system_information=nagiosadmin,<new_username>
authorized_for_all_hosts=nagiosadmin,<new_username>
save
service nagios restart
That's all there is to it! The first steps are adding a valid apache user and the cgi.cfg steps configure the permissions within Nagios for that user.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: creating another account in nagios core to access

Post by slansing »

Awesome, thanks for the help jsmurphy. Amjedlk, if you have any further questions feel free to ask!
Locked