Home » Categories » Products » NRDP » Documentation

NRDP - Passive Host And Service Definitions

Overview

Once your Nagios service is receiving Passive NRDP checks, they will not appear anywhere in Nagios until you define host and service definitions.

The following definitions compliment the guides for using NCPA to send passive check results to Nagios via NRDP.

The following Nagios Definitions will result in:

  • A Passive Host object for the server S1601

  • Passive Service objects for the server S1601 for the services:

    • CPU Usage

    • Disk Usage

    • Swap Usage

    • Memory Usage

    • Process Count

Which will result in something like this in Nagios:

 

 

 

Command

define command {
    command_name            check_dummy
    command_line            $USER1$/check_dummy $ARG1$
}

 

Templates

Host

define host {
    use                        generic-host
    name                        passive_host
    active_checks_enabled        0
    passive_checks_enabled        1
    flap_detection_enabled        0
    register                    0
    check_period                24x7
    max_check_attempts        1
    check_interval            5
    retry_interval            1
    check_freshness            0
    contact_groups            admins
    check_command            check_dummy!0
    notification_interval    60
    notification_period        24x7
    notification_options        d,u,r
}

 

Service

define service {
    use                        generic-service
    name                        passive_service
    active_checks_enabled        0
    passive_checks_enabled        1
    flap_detection_enabled        0
    register                    0
    check_period                24x7
    max_check_attempts        1
    check_interval            5
    retry_interval            1
    check_freshness            0
    contact_groups            admins
    check_command            check_dummy!0
    notification_interval    60
    notification_period        24x7
    notification_options        w,u,c,r
}

 

Host Definition

define host {
    use            passive_host
    host_name        S1601
}

 

Service Definitions

CPU Usage

define service {
    use                    passive_service
    service_description    CPU Usage
    host_name                S1601
}

 

Disk Usage

define service {
    use                    passive_service
    service_description    Disk Usage
    host_name                S1601
}

 

Swap Usage

define service {
    use                    passive_service
    service_description    Swap Usage
    host_name                S1601
}

 

Memory Usage

define service {
    use                    passive_service
    service_description    Memory Usage
    host_name                S1601
}

 

Process Count

define service {
    use                    passive_service
    service_description    Process Count
    host_name                S1601
}

 

 

Final Thoughts

For any support related questions please visit the Nagios Support Forums at:

http://support.nagios.com/forum/

2.33 (3)
Article Rating (3 Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
NRDP - Client Scheduling And Configuration - Linux
Viewed 4790 times since Thu, Apr 28, 2016
Nagios XI - Configuring Inbound Checks
Viewed 5469 times since Wed, Jan 27, 2016
Nagios XI - Monitoring Unconfigured Objects
Viewed 6274 times since Thu, Jan 28, 2016
Nagios XI - Configuring Outbound Checks
Viewed 4755 times since Wed, Jan 27, 2016
Nagios Log Server - Alerting On Log Events
Viewed 9491 times since Thu, Jan 28, 2016
NRDP - Overview
Viewed 8069 times since Thu, Jan 28, 2016
Nagios XI - Configuring Passive Services With Nagios XI
Viewed 5574 times since Wed, Jan 27, 2016
NRDP - Configuring SSL/TLS
Viewed 8393 times since Mon, Jul 3, 2017
Nagios XI - Distributed Monitoring With NRDP
Viewed 5752 times since Thu, Aug 17, 2017
NRDP - send_nrdp Client
Viewed 16477 times since Mon, Jun 19, 2017