[Nagios-users] Setup and configuration
Hello All, I am new to Nagios and am looking to try and configure the system. I have read alot of documentation. I am having an issue trying to configure one system to start. The error I get is as follows. ** Error: Could not find any host matching 'host_a' Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/services.cfg', starting on line 1) ** My Services config is: * define service{ service_description HTTP host_name host_a servicegroups http_services check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval1 check_period24x7 notification_interval 60 notification_period 24x7 notification_optionsw,u,c contact_groups network_team } ** My hosts files is as follows: ** define host{ host_name host_a alias main system address 192.168.0.19 hostgroups temp check_period24x7 max_check_attempts 1 contact_groups network_team notification_interval 30 notification_period 24x7 notification_optionsd,u,r } *** My servicegroups is as follows: *** define servicegroup{ servicegroup_name http_services alias Web Servers members host_a,HTTP } *** My hostgroups is as follows: *** define hostgroup{ hostgroup_name temp alias temp Network members host_a } *** Am I even in the right direction? Thanks for any help or any directions where I can find the answer. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Setup and configuration
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Antonio Pereira Sent: Tuesday, July 11, 2006 8:00 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Setup and configuration Hello All, I am new to Nagios and am looking to try and configure the system. I have read alot of documentation. I am having an issue trying to configure one system to start. The error I get is as follows. ** Error: Could not find any host matching 'host_a' Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/services.cfg', starting on line 1) ** My Services config is: * define service{ service_description HTTP host_name host_a servicegroups http_services check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval1 check_period24x7 notification_interval 60 notification_period 24x7 notification_optionsw,u,c contact_groups network_team } ** My hosts files is as follows: ** define host{ host_name host_a alias main system address 192.168.0.19 hostgroups temp check_period24x7 max_check_attempts 1 contact_groups network_team notification_interval 30 notification_period 24x7 notification_optionsd,u,r } Do you list the file containing this host definition as a cfg_file in nagios.cfg? -- Marc - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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
Re: [Nagios-users] Setup and configuration
Thanks That was it. Something so simple. I knew it. -Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Antonio Pereira Sent: Tuesday, July 11, 2006 8:00 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Setup and configuration Hello All, I am new to Nagios and am looking to try and configure the system. I have read alot of documentation. I am having an issue trying to configure one system to start. The error I get is as follows. ** Error: Could not find any host matching 'host_a' Error: Could not expand hostgroups and/or hosts specified in service (config file '/usr/local/nagios/etc/services.cfg', starting on line 1) ** My Services config is: * define service{ service_description HTTP host_name host_a servicegroups http_services check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval1 check_period24x7 notification_interval 60 notification_period 24x7 notification_optionsw,u,c contact_groups network_team } ** My hosts files is as follows: ** define host{ host_name host_a alias main system address 192.168.0.19 hostgroups temp check_period24x7 max_check_attempts 1 contact_groups network_team notification_interval 30 notification_period 24x7 notification_optionsd,u,r } Do you list the file containing this host definition as a cfg_file in nagios.cfg? -- Marc - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@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