PNP swap template HOWTO

Ayotunde Itayemi Ayotunde.Itayemi at zain.com
Wed May 6 17:09:43 CEST 2009


Hi All,
By default I have nothing in the templates directory of my PNP
installation so all my graphs use the "Default Template."
I noticed that this inverts the SWAP utilization graph i.e., the red and
yellow lines (warning/critical) are very close to the bottom of the
graph while the utilization shows as almost 100% (close to the top)
instead of very low is it actually is.
I have copied the check_swap.php from the templates.dist directory into
the templates directory, deleted all the existing swap.xml and swap.rrd
files, and restarted the npcd daemon.
I have also tried renaming check_swap.php to swap.php.
I noticed also that all my graphs use the Default Template and the XML
files for all of them have <TEMPLATE>check_nrpe</TEMPLATE>. As these
files are generated automatically, how do I get the SWAP graph to use
the SWAP template?
What else do I need to do?
I am using PNP version 0.4.13
Thanks. 

"This mail is from a Gimper"


-----Original Message-----
From: Ed Donahue [mailto:liberaled at gmail.com] 
Sent: Thursday, April 30, 2009 5:13 PM
To: nagios-users at lists.sourceforge.net
Subject: [Nagios-users] [nagios] Trigger alert via email

Is it possible to trigger an alert by sending an email to nagios
(passive check)?
I'm guessing it isn't a straight forward as that, just wonder if it is
doable,
and any links to examples would be cool too.

Thanks in advance
Ed

------------------------------------------------------------------------
------
Register Now & Save for Velocity, the Web Performance & Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance & Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
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

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
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