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
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?
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]