Graphing with pnp4nagios

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Graphing with pnp4nagios

Postby camilo.cipagauta » Thu Mar 23, 2017 4:04 pm

Right now im working with Nagios Core and pnp4Nagios; i Need to graph full stats of check_http command.

I have a host configured when i monitor a customer web site.
One of the services that i configured is HTTP using check_http command.
Code: Select all
define service{
        use                             local-service,srv-pnp          ; Name of service template to use
        host_name                       IntranetBlu
        service_description             HTTP - Fuera
        check_command                   check_http!intranetblu.com

And in commands.cfg HTTP command i cconfigured it with -E option in order to have full stats
Code: Select all
define command{
        command_name    check_http
        command_line    $USER1$/check_http -I $HOSTADDRESS$ $ARG1$ -E
        }

Succefully its taking in performance Data but pnp4nagios its only grafing two first stats. I need pnp4Nagios to graph full stats
Captura.PNG
Captura.PNG (8.25 KiB) Viewed 199 times


What i have to configure so pnp4Nagios ghaph full stats?? (time_connect=0.000000s;;; time_headers=0.000009s;;; time_firstbyte=0.001027s;;; time_transfer=0.001103s;;;)

Thanks
camilo.cipagauta
 
Posts: 1
Joined: Thu Mar 23, 2017 3:34 pm

Re: Graphing with pnp4nagios

Postby tgriep » Thu Mar 23, 2017 4:49 pm

You probably have to edit the PNP4Nagios template for the check_http command.
On a typical install, the file is located here.
Code: Select all
/usr/local/pnp4nagios/share/templates.dist/check_http.php

You may want to look at this template from the pnp4nagios web site.
https://docs.pnp4nagios.org/templates/check_http
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 6349
Joined: Thu Oct 30, 2014 9:02 am

Re: Graphing with pnp4nagios

Postby bchill » Wed Jan 10, 2018 3:53 am

Hi Camilo,

Did you ever put together a template or find a template to handle the check_http perf stats?

Brian
bchill
 
Posts: 1
Joined: Sun Apr 23, 2017 12:17 am

Re: Graphing with pnp4nagios

Postby tmcdonald » Wed Jan 10, 2018 10:15 am

We'll leave this open for comment, but the original poster has not been online since first posting, so it is doubtful they will return any time soon.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tmcdonald
Support Lead / Operations Engineer
 
Posts: 8765
Joined: Mon Sep 23, 2013 8:40 am


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 15 guests