Do you know where can I find some information to configure sms service? I try to set notification by e-mail but it seems doesn’t work.
well, I try to explain hoe I configure my “nagios_configuation.cfg”. I think to forget something but, I have some difficult to find my error.
First of all I whant to clearify how my network layout is.
I install nagios on a host where CENTOS run, it is a server machine for development.
From this I’d like to monitor few host, and on one of these there is mail server installed.
My problem is how to send e-mail notification of nagios from nagios host to e-mail administrator.
I read every official documentation a lot, but I think to forget some row of declaration somewhere.
In /root_nagios/etc I edit a lot of files but where I can find som einformation about notification mode are belove:
My file is very simple; I what to send everything to same administrator:
so I define “nagiossupervisor” in contact.cfg
In this case I want receive every kind of notification
So I edit hosts.cfg, services.cfg and hostgroups.cfg to define who send notification to and what kind of notification send.
This belove is a piece of file:
Generic host definition template
name generic-host ; The name of this host template - referenced in other host definitions, used for template recursion/res
notifications_enabled 1 ; Host notifications are enabled
event_handler_enabled 1 ; Host event handler is enabled
flap_detection_enabled 1 ; Flap detection is enabled
process_perf_data 1 ; Process performance data
retain_status_information 1 ; Retain status information acro ss program restarts
register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
alias server sviluppo
alias server interni
and on nagios.cfg I enable notification option:
Finally when I see the nagios web interface I select, from menu on the left, Notification menu and I can see every mail sended for every problems selected for, but I never receive any e-mail