Nagios web interface


#1

Hi All

I am hoping someone can assist me as I am a complete newbie to nagios.
I have installed nagios on a system running suse 9.3 (what a mission that was).

I had some issues when trying to restart nagios after setting up notifications for the localhost but after fixing the config issue (syntax problem) I got nagios to restart.

I then received a mail stating that the local host is down :frowning:

I need to know the following:

  • How can I set up nagios to have a web interface to monitor systems etc…

  • Is there a way that I can confirm my setup for checking the local host as the localhost can not be down… the commands.cfg file is like greek to me.

  • Is there a web / gui interface to do basic setup like creating of users, resetting of passwords, adding host definitions and user groups etc?

I will appreciate some feedback from you guys…

tx


#2

[quote=“medieval”]
I need to know the following:

  • How can I set up nagios to have a web interface to monitor systems etc…[/quote]

nagios.sourceforge.net/docs/2_0/installing.html
info on Identify Web Server User
&
nagios.sourceforge.net/docs/2_0/installweb.html

Be sure you have completed this task also:
nagios.sourceforge.net/docs/2_0/cgiauth.html

[quote=“medieval”]

  • Is there a way that I can confirm my setup for checking the local host as the localhost can not be down… the commands.cfg file is like greek to me.[/quote]

Well, you should get familiar with config files, 'cause they are most important if you want Nagios to monitor devices the way you want.
Add something like this in host definiton (everything is well explained in official documentation, so it is advisable for you to read it and understand how Nagios works):
define host{
host_name localhost
alias Nagios server
address localhost
check_command check-host-alive
max_check_attempts 10
check_period 24x7
notification_interval 720
notification_period 24x7
notification_options d,u,f
notifications_enabled 1
contact_groups admins
}

Then define, for example, checkping service for localhost, and then add host to hostgroup and service to servicegroup if you want to see them in web GUI.

[quote=“medieval”]

  • Is there a web / gui interface to do basic setup like creating of users, resetting of passwords, adding host definitions and user groups etc?[/quote]

I’m not sure if there is web interface for adding users/passwords, you can check that on
nagiosexchange.org/Categories.7.0.html

But there are some plugins for managing host and services from web interface:
nagiosexchange.org/Configuration.20.0.html