Results 1 to 4 of 4

Thread: [RESOLVED] Temperature probes - PNP

  1. #1
    Junior Member
    Join Date
    Jan 2013
    Posts
    2

    [RESOLVED] Temperature probes - PNP

    Hi everyone,

    First of all, thank you to the Shinken team, your tool is great and since it's my first post here I wanted to start with a thank you ! ;D

    Now, as the subject suggests, I've defined a custom check tool (basically a bash script that wrap around check_snmp) that returns the value from a temperature probe.
    The command works fine in Shinken. I've tested warning and critical threshold, no problem.

    I've also installed PNP4NAGIOS which also works fine for all my host and services (using Shinken provided definitions).

    Now, when I try to get my custom "check_temp" command to send perf_data, all I can get is a blank graph for that service…

    The output (very simple) of the "check_temp" command is:

    Code:
    OK - 22°C|temperature=22
    The generated graph seems to consider the "temperature" metric (it appears in the graph legend) but the graph is desperately blank…
    Also, I'd like to set warning and critical temp level in the graph.

    Do you guys have any idea ?

    Any advice, link, doc, you-name-it will be appreciated !

    Thank you.

    EDI: By the way, I use Shinken 1.2.3 on a CentOS 6.3 system.

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

    Re: Temperature probes - PNP

    Should be good. Can you look in npcd daemon logs?
    No direct support by personal message. Please open a thread so everyone can see the solution

  3. #3
    Junior Member
    Join Date
    Jan 2013
    Posts
    2

    Re: Temperature probes - PNP

    Thanks for your answer.

    I apologize for taking your time because it works now…

    Following your message, I restarted the npcd daemon (I should have done it before…).

    After the restart, the graph is working.

    My mistake, I'll be careful not posting for such irrelevant "problem" in the future…

    I guess you can delete the subject.

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

    Re: Temperature probes - PNP

    No problem. The solution an help other, so I will not delete it but put it as solved
    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
  •