Change default Nagios user and Nagios group

Dei Bertine deibertine at yahoo.com
Sat Apr 25 02:57:42 CEST 2009


Hi all,
I'm trying to change the default user name "nagios" and the group "nagios" to user admmon and group admmon.
After doing so, restarted apache and nagios - got this error from the admin page:
Error: Could not read host and service status information! 
The most common cause of this error message (especially for new users),
is the fact that Nagios is not actually running. If Nagios is indeed
not running, this is a normal error message. It simply indicates that
the CGIs could not obtain the current status of hosts and services that
are being monitored. If you've just installed things, make sure you
read the documentation on starting Nagios. 
Some other things you should check in order to resolve this error include:
Check the Nagios log file for messages relating to startup or status data errors.

Always verify configuration options using the -v command-line option before starting or restarting Nagios!

Make sure you've compiled the main program and the CGIs to use
the same status data storage options (i.e. text file or database). If
the main program is storing status data in a text file and the CGIs are
trying to read status data from a database, you'll have problems.Make sure you read the documentation on installing, configuring and
running Nagios thoroughly before continuing. If all else fails, try
sending a message to one of the mailing lists. More information can be
found at http://www.nagios.org. 
I made sure I changed all cfg's that read "nagios" as user and "nagios" as group to the new one admmon in all hosts and the nagios cfgs itself. 

Need expert advise please, I appreciate it!

Thanks. 
DB


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090424/cb7b1d10/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list