Results 1 to 2 of 2

Thread: PNP4Nagios, passive host check graph

  1. #1
    Member
    Join Date
    May 2013
    Location
    France - Valence
    Posts
    91

    PNP4Nagios, passive host check graph

    Hi,
    I am using passive host checking and I would like to graph my hosts uptime.

    The host check command I am using is sending a perfdata with my system's uptime :
    [tt]
    Check output:
    Host is alive, uptime is 104417 seconds (1 days 5 hours 0 minutes 17 seconds 474 ms)|'Uptime'=104417
    [/tt]

    Default PNP installation is using default template and I do not understand how I can configure PNP for such a passive check. The service alias received by Shinken is "host_check", the host check_command is "check_dummy!2!Host not alive" ... where sould I define the PNP template to use ?

    BR, Fred

  2. #2
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,130

    Re: PNP4Nagios, passive host check graph

    If I'm not wrong you can't. There is an hack to make check_nrpe "templatisable", but not dummy. Try to grok pnp4Nagios code for this nrpe check and add a dummy hook too.
    No direct support by personal message. Please open a thread so everyone can see the solution

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •