Nagios config file entries

6 posts / 0 new
Last post
rnk
Offline
Last seen: 7 years 2 months ago
Joined: 01.04.2014 - 08:56
Nagios config file entries

Hello Team,

 

1) We have installed nagios windows server & clinet ("NSCP-0.4.1.73-x64.exe(NSclinet ++)) successfully and also we are able to connect the host using check_nrpe. present we are facing the issues with configurations, we are not able to add more host entries & services in configuration, could you please help me in adding multiple hosts and services. because of this issue we are not proceeding further.

 

define host{

        use                     windows-server,host-pnp            ; Name of host template to use

                     ; This host definition will inherit all variables that are defined

                     ; in (or inherited by) the linux-server host template definition.

        host_name               < >

        alias                   < >

      hostgroups             windows-servers

        address                 < >

        }

   define service{

        use generic-service

      host_name < >

      service_description CPU Status

      check_command check_nrpe!alias_cpu

      }

   define service{

        use generic-service

      host_name < >

      service_description Service Status

      check_command check_nrpe!alias_service

      }

      

      define host{

        use                     windows-server,host-pnp            ; Name of host template to use

                     ; This host definition will inherit all variables that are defined

                     ; in (or inherited by) the linux-server host template definition.

        host_name             < >

        alias                   < >

      hostgroups             windows-servers

        address                 < >

        }

      

 

   define service{

        use generic-service

      host_name < >

      service_description c: Free Space

      check_command check_nrpe!alias_disk

      }

 If i add one more service immediately web url is not working.
 
2) If we execute the "nagios check configuration" everty thing looks fine.
      ==================================================
       Running pre-flight check on configuration data...
 
Checking objects...
Checked 15 services.
Checked 3 hosts.
Checked 1 host groups.
Checked 0 service groups.
Checked 1 contacts.
Checked 1 contact groups.
Checked 23 commands.
Checked 5 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 3 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 5 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
 
Total Warnings: 0
Total Errors:   0
 
Things look okay - No serious problems were detected during the pre-flight check
==========================================================
 
3) If we check the nagios services all 4 nagios services status is "started"
 
4) if we add Multiple host entries in confige  we are not able to see the web results then we remove one  host entry restart the nagios service we are able to see the results.  (C:\Program Files (x86)\ICW\etc\nagios\nagwin)
 
please help on configuration file entries. if you have any standard config templeat supports multiple hosts pelase share.
 
Thanks & Regards,
Naveen 
  

itefix
Offline
Last seen: 10 hours 24 min ago
Joined: 01.05.2008 - 21:33
Which Nagwin version do you

Which Nagwin version do you use ?

rnk
Offline
Last seen: 7 years 2 months ago
Joined: 01.04.2014 - 08:56
Currently we are installed

Currently we are installed "nagwin_free_edition_2.0.1_installer.zip",

itefix
Offline
Last seen: 10 hours 24 min ago
Joined: 01.05.2008 - 21:33
Free edition version 2.0.1

Free edition version 2.0.1 supports up to 5 hosts and 15 services. We do not provide free editions of Nagwin any longer.

rnk
Offline
Last seen: 7 years 2 months ago
Joined: 01.04.2014 - 08:56
Please suggest which version

Please suggest which version we need to use for windows?

itefix
Offline
Last seen: 10 hours 24 min ago
Joined: 01.05.2008 - 21:33
Please visit our Nagwin

Please visit our Nagwin product page for our offering.