pnp4nagios & Nagios

Martin Hugo Martin_Hugo at hboe.org
Fri May 13 18:20:48 CEST 2011


Hmm, don't know why it is not showing up.  I know that I have to add the host-pnp and srv-pnp templates to my hosts and services to generate graphs.  I typically add host-pnp to every host definition and then just add srv-pnp to every service check that I want graphed.  So a windows server would be  "use windows-server,host-pnp" and my switches are "use generic-switch,host-pnp".

I also made all the edits to the Nagios.cfg and commands file as documented in the Nagios Manual.

I am running on CentOS installed from source.

Martin T. Hugo
Network Administrator
Hilliard City Schools
614-921-7102 (Ph)
614-771-7243 (Fax)
[Think before you print.]Think before you print

From: khurram aziz [mailto:khurramazizkhalid at yahoo.com]
Sent: Friday, May 13, 2011 12:07 PM
To: Nagios Users List
Subject: Re: [Nagios-users] pnp4nagios & Nagios

perfdata is enabled is I am using generic services for all of my servers. graphs are generated by using perfdata for the server on which i have installed the client and performance data is also being collected for the server which is added using SNMP. Attaced screenshot shows that performance data is being collected for the later server.

Khurram Aziz Khalid


________________________________
From: Michael Friedrich <michael.friedrich at univie.ac.at>
To: nagios-users at lists.sourceforge.net
Sent: Fri, May 13, 2011 8:44:51 PM
Subject: Re: [Nagios-users] pnp4nagios & Nagios

khurram aziz wrote:

  *   Did you add the pnp4nagios commands to your commands file?

     *       NO i did not add any pnp4nagios commands to my commands file, not for the server that is showing grpahs in pnp4nagios and not for the servers which i have added using SNMP

  *       Are your hosts using the host-pnp template?

     *       NO, my hosts are using the default templates

  *   Is your service definition using the srv-pnp template?

     *   No, my service definitions are using the default definitions.

Khurram Aziz Khalid

check

- service defitions - enable perfdata
- check plugin itsself - does it return perfdata
- read the pluginapi.html for further information how perfdata will look like




________________________________
From: Martin Hugo <Martin_Hugo at hboe.org><mailto:Martin_Hugo at hboe.org>
To: Nagios Users List <nagios-users at lists.sourceforge.net><mailto:nagios-users at lists.sourceforge.net>
Sent: Fri, May 13, 2011 8:23:20 PM
Subject: Re: [Nagios-users] pnp4nagios & Nagios
Did you add the pnp4nagios commands to your commands file?  Are your hosts using the host-pnp template? Is your service definition using the srv-pnp template?

Marty

From: khurram aziz [mailto:khurramazizkhalid at yahoo.com]
Sent: Friday, May 13, 2011 10:58 AM
To: nagios mailinglist
Subject: [Nagios-users] pnp4nagios & Nagios

Hi All,

I have configured "Nagios 3.2.3" with default settings and for generating graphs i have configured "pnp4nagios-0.6.11". I have added a server in Nagios by installing the host file on that server and its working fine. i am also able to generate graphs for that server in pnp4nagios. b
Now i have added 4 of my web servers using SNMP and they are all added in Nagios but they dont appear in pnp4nagiogs. can some1 tell me how i can make these web servers appear in pnp4nagios so that i can generate graph.

Khurram Aziz Khalid




------------------------------------------------------------------------------

Achieve unprecedented app performance and reliability

What every C/C++ and Fortran developer should know.

Learn how Intel has extended the reach of its next-generation tools

to help boost performance applications - inlcuding clusters.

http://p.sf.net/sfu/intel-dev2devmay



_______________________________________________

Nagios-users mailing list

Nagios-users at lists.sourceforge.net<mailto:Nagios-users at lists.sourceforge.net>

https://lists.sourceforge.net/lists/listinfo/nagios-users

::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.

::: Messages without supporting info will risk being sent to /dev/null


--

DI (FH) Michael Friedrich



Vienna University Computer Center

Universitaetsstrasse 7 A-1010 Vienna, Austria



email:  michael.friedrich at univie.ac.at<mailto:michael.friedrich at univie.ac.at>

phone:  +43 1 4277 14359

mobile: +43 664 60277 14359

fax:    +43 1 4277 14338

web:    http://www.univie.ac.at/zid

        http://www.aco.net



Icinga Core & IDOUtils Developer

http://www.icinga.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110513/662f8d71/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.gif
Type: image/gif
Size: 87 bytes
Desc: image001.gif
URL: <https://www.monitoring-lists.org/archive/users/attachments/20110513/662f8d71/attachment.gif>
-------------- next part --------------
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list