Jump to content

epsone

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by epsone

  1. epsone

    email notification

    yes i already installed postfix ,but the problem in the configuration /etc/postfix/main.cf .in the link that you sent me the configuration is more complicate thank you
  2. epsone

    email notification

    execuse me i can use our exchange server so nagios server sends messages to exchange server ??? thank you
  3. epsone

    email notification

    Can someone help me please thank you
  4. epsone

    email notification

    I don't think so , that i need That is, my server does not store the mailboxes of users, it only transmits messages to the SMTP server, which manages the boxes.
  5. epsone

    email notification

    Hi I have a problem i can't receive notification by email (when one server or service down that i do it manualy just for the test) . I installed mailx and postfix under Fedora10 . Now i think the problem is in the /etc/postfix/main.cf because i think i should modify just this three parametre if i m right . myhostname myhostname = ServerNagios.domaine.com mydestination mydestination = $myhostname, ServerNagios.domaine.com , localhost.$mydomain, localhost relayhost #relayhost = $mydomain #relayhost = [gateway.my.domain] #relayhost = [mailserver.isp.tld] #relayhost = uucphost #relayhost = [an.ip.add.ress] Please can you help me to solve this big problme ,I will be thankful. many thanks
  6. epsone

    nagios problem

    Thanks i already find the solution but when someone ask for somthing because is bloked but anyway thanks again
  7. epsone

    nagios problem

    but when in the host i can added the contactgroups ? can you show me please . Thank you
  8. epsone

    nagios problem

    I use the nagios web interface to see the status now the problem that i have : Checking hosts... Warning: Host 'SERV1' has no default contacts or contactgroups defined! now ican see just localhost but other server i can't (SERV1) i have this in my nagios.cfg # You can specify individual object config files as shown below: cfg_file=/etc/nagios/objects/commands.cfg cfg_file=/etc/nagios/objects/contacts.cfg cfg_file=/etc/nagios/objects/timeperiods.cfg cfg_file=/etc/nagios/objects/templates.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/contactgroups.cfg in my contacts.cfg file ############################################################################### ############################################################################### # # CONTACTS # ############################################################################### ############################################################################### # Just one contact defined by default - the Nagios admin (that's you) # This contact definition inherits a lot of default values from the 'generic-contact' # template which is defined elsewhere. define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias Nagios Admin ; Full name of user email nagios@localhost ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email email [email protected] pager } ############################################################################### ############################################################################### # # CONTACT GROUPS # ############################################################################### ############################################################################### # We only have one contact in this simple configuration file, so there is # no need to create more than one contact group. define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } contactgroups.cfg file define contactgroup{ contactgroup_name srvprd alias contactes members nagios } hosts.cfg file define host{ use generic-host host_name SERV1 alias ACTIVE-DIRECTORY address 10.5.1.20 check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } i don't no what can i do to solve this problem , if you have an idea i will be thankful many Thanks
  9. epsone

    nagios problem

    sorry i dont understand , now i can't monitore nothing so if i remove will be worst than befor yhank you
  10. epsone

    nagios problem

    Good Day i m Checking my config file and i havethe following errors : Checking hosts... Warning: Host 'W2K3DC1' has no default contacts or contactgroups defined! Checking contacts... Error: Service notification command 'notify-by-email' specified for contact 'nagios' is not defined anywhere! Error: Host notification command 'host-notify-by-email' specified for contact 'nagios' is not defined anywhere! if you have an idea i will be thankful many thanks
×
×
  • Create New...