Re: [Nagios-users] Nagios is ignoring the retry_interval setting

2012-11-29 Thread Gary Every
Your check_interval is set to 1, that takes precedence over retry_interval

g.;

On Nov 29, 2012, at 9:10 AM, Andrew Thompson and...@fulgent.co.uk wrote:

 Hi,
  
 My nagios box has decided to stop listening to the retry_interval entry in my 
 templates.
  
 My server template reads:
  
 define host{
  name   host-server 
  check_period  server_24x7  
  check_interval1
  retry_interval3
  max_check_attempts3
  notification_period   server_24x7  
  notification_interval  3
  notification_options  d,r
  notifications_enabled  1
  contact_groupsservers email, servers sms
  event_handler_enabled  1
  process_perf_data 1
  retain_status_information1 
  retain_nonstatus_information 1 
  passive_checks_enabled  0
  obsess_over_host  0
  check_freshness  0
  flap_detection_enabled  0
  failure_prediction_enabled   0 
  }
  
 Now this is what happens:
  
 · Server goes down at 1pm.
 · I check the next scheduled check and it clearly states 1.03pm
 · But at 1.01pm it checks again and then spits out an email and text 
 message saying the server is down.
  
 Completely ignoring the retry_interval setting!!!
  
 Id expect from the above:
  
 · 1pm server goes down
 · 1.03pm check 2 is done
 · 1.06pm check 3 is done and determined hard state.
 · At 1.06pm the notification should be sent out.
  
 Why is this, is something in my config wrong?
  
 Ubuntu 12.04 desktop and Nagios 3.4.1
  
 Thanks
  
  
 --
 Keep yourself connected to Go Parallel: 
 VERIFY Test and improve your parallel project with help from experts 
 and peers. 
 http://goparallel.sourceforge.net___
 Nagios-users mailing list
 Nagios-users@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

--
Keep yourself connected to Go Parallel: 
VERIFY Test and improve your parallel project with help from experts 
and peers. http://goparallel.sourceforge.net___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Plugins to monitor HTTP latency, page load times

2012-04-18 Thread Gary Every
you can use your nagios users .netrc file to overcome basic auth.



On Wed, Apr 18, 2012 at 12:10 PM, Alex Griffin agrif...@nagios.com wrote:

 Hey Serge,

 I use Smokeping for checking network latency, integrated with Nagios
 using check_smokeping. It do everything you're asking for like browser
 rendering times or authentication, though. It's likely that you'll need
 to use something significantly more powerful for something like that,
 like selenium.

 Alex Griffin
 ---
 Tech Team
 agrif...@nagios.com

 Serge Dukic wrote:
  Hi,
 
  I'm looking for a Nagios plugin to be able to monitor the latency of a
  web page i.e. how long from when the HTTP request is sent, until the
  first response is received
 
  As well as a plugin for measuring page load times. i.e. how long from
  when the first HTTP response is received until the page is fully loaded.
 
  The application we're trying to monitor also doesn't make use of basic
  HTTP Auth, but rather a HTTP form and the page we're trying to measure
  requires authentication. Would anyone know of a plugin which could
  tie-in with the other two plugins mentioned above to enable us to
  monitor these metrics?
 
  Thank you
  Serge
 
 
 
 
 --
  For Developers, A Lot Can Happen In A Second.
  Boundary is the first to Know...and Tell You.
  Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
  http://p.sf.net/sfu/Boundary-d2dvs2
 
 
 
  ___
  Nagios-users mailing list
  Nagios-users@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


 --
 Better than sec? Nothing is better than sec when it comes to
 monitoring Big Data applications. Try Boundary one-second
 resolution app monitoring today. Free.
 http://p.sf.net/sfu/Boundary-dev2dev
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] check_http + headers

2011-07-29 Thread Gary Every
Try using something besides  a ; to separate the user and userlogin or
better yet encapsulate them in quotes???

 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324'

On Fri, Jul 29, 2011 at 6:35 AM, af.at.w...@gmail.com wrote:

 With cURL, I can successfully log into the website I ultimately want
 have Nagios test by passing --cookies.

 Something like this: curl --cookie
 user=4reqrerqwr;userlogin=123adsfjlk324
 http://mysite.com/home/index.aspx -v | grep Welcome

 I know it is successful because, 1, I can visually see the rendered
 code and 2, the grep search for Welcome would only be seen if the
 authentication was successful.

 I am trying to mimic this in Nagios with check_http like so:

 ./check_http -H mysite.com -u http://mysite.com/home/index.aspx -f
 follow -s Welcome -k 'Cookie: user=4reqrerqwr;userlogin=123adsfjlk324'
 -v

 One big difference I see is that in cURL the cookie is set on 1 line
 but the verbose response from check_http shows the cookie on two
 lines.

 Cookie: user=4reqrerqwr;userlogin=123adsfjlk324 vs

 Cookie: user=4reqrerqwr
 userlogin=123adsfjlk324

 I am open to suggestions and of course alternatives. I have checked
 out WebInject but this seems to be SO close I hate to drop it.

 Lastly, I have tried check_curl, and extended it to support cookies.
 This DOES work but I am getting (null) on the responses and the grep
 never causes Nagios to fail regardless of a valid result being
 returned.


 --
 Got Input?   Slashdot Needs You.
 Take our quick survey online.  Come on, we don't ask for help often.
 Plus, you'll get a chance to win $100 to spend on ThinkGeek.
 http://p.sf.net/sfu/slashdot-survey
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Single host, multiple HTTP services

2011-07-21 Thread Gary Every
Service:
define service {
  use   generic-check-store
  hostgroup_nameStorefront
  service_description   storename
  check_command
check_store!storename.com!/index.php?product_id=12345!String
to find
  contact_groupsUnix,ProductionSupport
  notification_interval 1440
}

Check command:
define command{
command_namecheck_store
command_line/usr/lib/nagios/plugins/check_http -I $HOSTADDRESS$
-H $ARG1$ -s $ARG3$ -u $ARG2$
}


That will check the ip with the specific hostname,  direct it to the
appropriate page (/index.php?product_id=12345 and find whatever string you
expect to see on that particular page (String to find)

This allows the same ip with different virtualhosts to be checked

g.;


On Thu, Jul 21, 2011 at 6:59 AM, dave stern - e-mail.pluribus.unum 
dit.d...@gmail.com wrote:

 One way might be to use the check_http plug-in but
 have it look for a specific string in each web-page being hosted
 and use the warn/critical-time returns for empirical threshold

 On Thu, Jul 21, 2011 at 9:02 AM,  af.at.w...@gmail.com wrote:
  Hey gang, I am having some difficulty getting a single host setup that
  would have multiple HTTP services attached to it. The scenario is a
  load balanced group of web servers and I am looking to monitor
  numerous public facing web sites that would be bound to a single load
  balanced IP address. Any help would be most appreciated!
 
 
 --
  5 Ways to Improve  Secure Unified Communications
  Unified Communications promises greater efficiencies for business. UC can
  improve internal communications as well as offer faster, more efficient
 ways
  to interact with customers and streamline customer service. Learn more!
  http://www.accelacomm.com/jaw/sfnl/114/51426253/
  ___
  Nagios-users mailing list
  Nagios-users@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
 


 --
 5 Ways to Improve  Secure Unified Communications
 Unified Communications promises greater efficiencies for business. UC can
 improve internal communications as well as offer faster, more efficient
 ways
 to interact with customers and streamline customer service. Learn more!
 http://www.accelacomm.com/jaw/sfnl/114/51426253/
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
5 Ways to Improve  Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Reloading configuration on-the-fly

2011-07-01 Thread Gary Every
I wrote a script for checking first, then reloading nagios. It's pretty
simple:

snip
#!/bin/bash

cd /etc/nagios
/usr/bin/nagios -v nagios.cfg
RETVAL=$?
if [ $RETVAL = 0 ]
then
service nagios reload
exit 0
else
echo #   ERROR IN CONFIG   ##
echo # Please fix the above issue and try again #
echo 
exit 1
fi

/snip


On Fri, Jul 1, 2011 at 11:08 AM, Edwin Zoeller
edwin.zoel...@ama-assn.orgwrote:

 Also, if on Linux OS, make it a service and all you have to do is issue:
 service Nagios reload


 -Original Message-
 From: Jim Avery [mailto:j...@jimavery.me.uk]
 Sent: Friday, July 01, 2011 10:49 AM
 To: Nagios Users List
 Subject: Re: [Nagios-users] Reloading configuration on-the-fly

 On 1 July 2011 16:22, nag ios nagiost...@gmail.com wrote:
  can u let me know the on-fly process in detail.


 You can send a HUP signal to the Nagios daemon to tell it to re-read the
 configuration.

 Make sure you verify the configs first though:

 /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

 Then:

 kill -1 `cat /usr/local/nagios/var/nagios.lock`

 
 --
 All of the data generated in your IT infrastructure is seriously
 valuable.
 Why? It contains a definitive record of application performance,
 security threats, fraudulent activity, and more. Splunk takes this data
 and makes sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 Nagios-users mailing list
 Nagios-users@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


 --
 All of the data generated in your IT infrastructure is seriously valuable.
 Why? It contains a definitive record of application performance, security
 threats, fraudulent activity, and more. Splunk takes this data and makes
 sense of it. IT sense. And common sense.
 http://p.sf.net/sfu/splunk-d2d-c2
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] check_snmp_load.pl best linux practices

2011-03-11 Thread Gary Every
 supporting info will risk being sent to /dev/null




-- 
Gary Every
Pay it Forward!
--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Applying a multiplier to check_snmp results

2010-08-12 Thread Gary Every
 list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] check_yum issue

2010-06-03 Thread Gary Every
It appears that root has permissions but whatever user the nagios instance
is running doesn't. Start there
g.;


On Thu, Jun 3, 2010 at 11:28 AM, Terry td3...@gmail.com wrote:

 Hello,

 I am trying to use check_yum:

 http://exchange.nagios.org/directory/Plugins/Uncategorized/Operating-Systems/Linux/Check_Yum/details

 It works great from the command line:
 [r...@foo ~]# yum --security check-update
 Loaded plugins: dellsysid, rhnplugin, security
 Limiting package lists to security relevant ones
 Needed 4 of 11 packages, for security

 rhn-check.noarch
 0.4.20-33.el5_5.2
 rhel-x86_64-server-5
 rhn-client-tools.noarch
 0.4.20-33.el5_5.2
 rhel-x86_64-server-5
 rhn-setup.noarch
 0.4.20-33.el5_5.2
 rhel-x86_64-server-5
 rhn-setup-gnome.noarch
 0.4.20-33.el5_5.2
 rhel-x86_64-server-5
 [r...@foo ~]# /usr/lib64/nagios/plugins/check_yum
 YUM CRITICAL: 4 Security Updates Available. 7 Non-Security Updates
 Available
 [r...@foo ~]# echo $?
 2

 It returns this from nagios:
 [r...@foo ~]# /usr/lib64/nagios/plugins/check_nrpe -H 10.0.0.2 -t 50
 -c check_yum
 YUM OK: 0 Security Updates Available

 Here's my NRPE configuration:
 [r...@bar ~]# cat /etc/nagios/nrpe.cfg | grep check_yum
command[check_yum]=/usr/lib64/nagios/plugins/check_yum

 What am I missing here?


 --
 ThinkGeek and WIRED's GeekDad team up for the Ultimate
 GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
 lucky parental unit.  See the prize list and enter to win:
 http://p.sf.net/sfu/thinkgeek-promo
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Return code of 139 is out of bounds!!!

2010-04-06 Thread Gary Every
Looks like you're looking at the J drive, not the E: drive. Do you have a J:
drive?



On Tue, Apr 6, 2010 at 6:28 PM, ravishankar.gundlap...@wipro.com wrote:

  Hi,



 I am using Nagios 3.0.6 with Nagios plugins 1.4.14 on Linux with Fedora

 10.1.



 I have recently changed the warning and critical thresholds for E: drive of
 one server to 95% and 98% respectively.



 The moment I changed, nagios started showing the status as ‘Return code of
 139 is out of bounds’ for this drive.





 define service{

 use generic-service

 host_name   lvecpp01

 service_description E:\ Drive Space

 check_command   check_nt!USEDDISKSPACE!-l J -w 95 -c 98

 }





 Please let me know what might be the problem…





 Thanks  Regards,

 *Ravi G*


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] check_snmp plugin not visible

2010-03-08 Thread Gary Every




-- 
Gary Every
Pay it Forward!
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Command execution failed

2010-01-25 Thread Gary Every
Looks like either the execute permissions are improperly set on the script
you're trying to run - via ssh - on the remote (not nagios) server, or the
user that you've set up shared keys with doesn't have permission to run the
command or script.

The problem with shared keys and check-by-ssh is that either you've got to
set up your scripts to be able to be run by a non-priveleged user, or you've
got to share the root users keys . . ..

g.;


On Mon, Jan 25, 2010 at 3:03 PM, ReynierPM rper...@uci.cu wrote:

 Hi every:
 Some time ago I wrote a message to this list for get help in how to
 check Bacula over Nagios. As bacula nagios plugins use check_host_by_ssh
 command I configure shared key between client (monitoring server, where
 nagios reside) and server(bacula - server to check) and it works because
 I can login from Nagios Server to Bacula Server without enter any
 password. Now Nagios is reporting this error:

 Remote command execution failed: Permission denied, please try again.

 How I can fix this now?
 --
 Saludos
 ReynierPM


 --
 The Planet: dedicated and managed hosting, cloud storage, colocation
 Stay online with enterprise data centers and the best network in the
 business
 Choose flexible plans and management services without long-term contracts
 Personal 24x7 support from experience hosting pros just a phone call away.
 http://p.sf.net/sfu/theplanet-com
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Gary sent you photos on Tagged :)

2009-06-06 Thread Gary Every
If you can't see this email please click here




Gary
Every


Gary
Every sent you photos on Tagged

Want to see the photos?




Click
Yes if you want to see the photos, otherwise
click No.
But you have to click!



Please respond or Gary may think you said no :(



Click here to block all emails from Tagged Inc., 110 Pacific Mall Box #117, San Francisco, CA. 94111







--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] sidebar does not display correctly

2009-05-22 Thread Gary Every
Do the logs show any 404's when looking for main.css ?

On Fri, May 22, 2009 at 12:56 PM, Kevin Keane subscript...@kkeane.comwrote:

 side.html

 It looks like it actually is displaying correctly but ignoring the
 styles for some reason.

 Haffner, David (GE, Corporate, consultant) wrote:
  Hi all,
  I've been having a horrible time getting the sidebar to display
  correctly.  Can anyone point me to a file or directory or something
  that needs to be tweeked?
  I've got it running on RHEL4.  Everything functions fine, it's
  just that the sidebar displays wrong.  Here's a screenshot.
 
  Thanks!
 
 
  Dave Haffner
 
  
 
 
 --
  Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
  is a gathering of tech-side developers  brand creativity professionals.
 Meet
  the minds behind Google Creative Lab, Visual Complexity, Processing, 
  iPhoneDevCamp asthey present alongside digital heavyweights like
 Barbarian
  Group, R/GA,  Big Spaceship. http://www.creativitycat.com
  
 
  ___
  Nagios-users mailing list
  Nagios-users@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


 --
 Kevin Keane
 Owner
 The NetTech
 Find the Uncommon: Expert Solutions for a Network You Never Have to Think
 About

 Office: 866-642-7116
 http://www.4nettech.com

 This e-mail and attachments, if any, may contain confidential and/or
 proprietary information. Please be advised that the unauthorized use or
 disclosure of the information is strictly prohibited. The information herein
 is intended only for use by the intended recipient(s) named above. If you
 have received this transmission in error, please notify the sender
 immediately and permanently delete the e-mail and any copies, printouts or
 attachments thereof.



 --
 Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
 is a gathering of tech-side developers  brand creativity professionals.
 Meet
 the minds behind Google Creative Lab, Visual Complexity, Processing, 
 iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
 Group, R/GA,  Big Spaceship. http://www.creativitycat.com
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
Group, R/GA,  Big Spaceship. http://www.creativitycat.com ___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] parsing log files on remote hosts

2009-04-17 Thread Gary Every
#!/bin/bashLOGFILE=/tmp/logfile
WORD=word_to_find
GREP=/bin/grep
found=`$GREP -i $WORD $LOGFILE`
if [ -z $found ]  ## $found is zero bytes
then
  ok=1
  RETSTRING=0 ## To be used for the exit code
  LINE=No instances found
else
  ok=0
  RETSTRING=1
  LINE=$found
fi

echo $LINE
exit $RETSTRING

## End of snippet


On Fri, Apr 17, 2009 at 7:35 AM, kaouther mechri kmec...@gmail.com wrote:

 Hello All,

 I am seraching a way to parse some  application log files on remote hosts
 and grep for specific words, I need to add this as a nagios check.

 Can anyone help me
 kind regards
 kaouther


 --
 Stay on top of everything new and different, both inside and
 around Java (TM) technology - register by April 22, and save
 $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
 300 plus technical and hands-on sessions. Register today.
 Use priority code J9JMT32. http://p.sf.net/sfu/p
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Excluding a hostgroup from a service check

2009-04-09 Thread Gary Every
On Thu, Apr 9, 2009 at 11:44 AM, Sean McAfee 
smca...@collaborativefusion.com wrote:

 Edward Trochim wrote:

  And a service definition like this. I want to exclude hostgroup5 from
  this one service definition:
 
  define service{
   use  standard-check
   hostgroup_name   !hostgroup5
   service_description  Disk Space
  }
 
  Instead of doing what I want this excludes every hostgroup defined in
  the template. host1 still gets the service though.
 
  I am currently running nagios version 3.0.6.
 
  Is this a bug in nagios or am I misunderstanding the way this should
  behave?

 I believe you're just missing the magic + that indicates additive
 inheritance instead of making it override.

 Try:

 define service{
   use  standard-check
   hostgroup_name   +!hostgroup5
   service_description  Disk Space
 }

 --
 Sean McAfee
 System Engineer

Sean is right. Otherwise, you're REDEFINING the hostgroup_name directive.
-- 
Gary Every
Pay it Forward!
--
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Manage Nagios Project from specifications to deployment

2008-12-24 Thread Gary Every
On Wed, Dec 24, 2008 at 12:57 PM, Brian A. Seklecki 
laval...@spiritual-machines.org wrote:



   and how much time such project can take...


 As long as it takes.

 It will probably take you years to become intimately familar with Nagios.

 ~BAS

True enough, but - if you read the manual, look at the plethora of examples
out there on nearly every directive, get the plugins you need ( see
http://nagiosexchange.com http://nagiosexchange.com/cgi-bin/page.cgi?d=1  )
and test, test, test - get one server done, then use servicegroups for
intelligent monitoring, e.g. webserver, fileserver, dbserver etc
servicegroups.

Nagios is a mature and highly-configurable project. It supports inheritance,
so pay close attention to the use directive for templates.

You should be able to have nagios running and simple host checks (make sure
a host responds) done in a couple hours. Then just build more, restart
nagios, test, build more, restart nagios, test . . . ad infinitum.

Good luck!




 --

 ___
 Nagios-users mailing list
 Nagios-users@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

 --

 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] I don't understand the check_by_ssh plugin

2008-12-05 Thread Gary Every
I, for one, am against any use of check_by_ssh as it requires authorized
keys, hence opening a security hole. All scripts can be executed thru snmp.
Install it on your servers and use the exec directive to remotely execute
the script. The output will return the last line and the exit code from the
call, so the check_snmp plugin can work.
NOTE: Unless snmp was already installed on your nagios server prior to
installing nagios, you'll need to re-run the ./configure, make and make
install commands for the plugins, so check_snmp will be compiled in.

A simple line in your snmpd.conf file like the one below can be executed
from the nagios server:

snip
exec checkrootpartition /usr/local/nagios/libexec/check_disk -w 1000 -c 500
-p / -u MB
/snip

Subsequent exec directives can be added as well.

Of course, you'll need to copy the libexec directory over to the remote
server (although it's not necessary, you can write your own scripts if you'd
like)

All parameters will need to be on the line in the snmpd.conf file. Then
write a little script on the nagios server to check it. Here's the contents
of that script. It DOES require the community name be the same on both
servers. In snmpd.conf, edit this line:

com2sec readonly  default community

and replace community with your made-up string

script snippet
#!/bin/bash
usage() {
 echo USAGE:  test_snmp server snmp #
 exit
}
if [ $1 ==  ]
 then
   usage
fi
if [ $2 ==  ]
 then
   usage
fi

/usr/local/nagios/libexec/check_snmp -t 7 -H $1 -C community-string -o
enterprises.ucdavis.extTable.extEntry.extResult.$2,enterprises.ucdavis.extTable.extEntry.extOutput.$2
-w 0 -c 1

/script snippet

Edit it so that it fits your environment, such as the path to check_snmp and
the community string.

Now, name it test_snmp and run the script:
./test_snmp servername 1
where 1 is the ordinal exec directive. exec directives in snmpd.conf are
numbered as they appear in the file, so the first exec directive is accessed
as 1, the second as 2 etc.



On Fri, Dec 5, 2008 at 10:55 AM, David Dyer-Bennet [EMAIL PROTECTED] wrote:

 I'm running Nagios 2.10 (the Centos 5.2 packaged version).

 I want to do some small local checks on each of a bunch of real and
 virtual servers, and I really don't want to have to set up Nagios (even a
 minimal install) on each of them just to check uptime, load average, and
 disk space.  (Mostly I'm testing externally visible services on them.)

 The documentation on this plugin doesn't seem to tell me anything about
 what it does with the part of the command output it processes (I see that
 the -S and -E commands let me prune what command output it looks at).

 When I run it from the command line simply, I just get the output of the
 remote command (as if the plugin was just passing it through).  I see that
 I could cause it to produce errors based on how long it takes, but nothing
 about how to actually use the output.

 Then I see some tantalizing hints about passive mode, where it writes a
 file that seems to show it doing some parsing and making decisions based
 on the data (in the example).  But I can't get the example to produce a
 non-empty file from the command line.

 So I'm pretty sure I'm missing something about how to use this plugin in
 the first place, or what it's supposed to let me do, or some such.

 Or, if the answer to what I'm trying to do is some other approach
 entirely, I'd settle for enlightenment about that!

 Help?
 --
 David Dyer-Bennet, [EMAIL PROTECTED]; http://dd-b.net/
 Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/
 Photos: http://dd-b.net/photography/gallery/
 Dragaera: http://dragaera.info



 --
 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

 http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting

Re: [Nagios-users] problems to send notifications via email

2008-06-03 Thread Gary Every
MTA? First off, check out this site: http://google.com and type MTA in the
input box

Ignore the Transit Administration links - then read the wikipedia on it

Any flavor of MTA will suffice (such as sendmail) to send mail


On Tue, Jun 3, 2008 at 12:53 PM, Luis Gardea [EMAIL PROTECTED] wrote:

 Hello

 What's MTA?


 I need install senmail in my nagios server to do that?






 On Mon, Jun 2, 2008 at 2:47 PM, Hugo van der Kooij
 [EMAIL PROTECTED] wrote:
  -BEGIN PGP SIGNED MESSAGE-
  Hash: SHA1
 
  Luis Gardea wrote:
  | Hi
  |
  |
  | I just running nagios v3 on ubuntu server.   But the notificatiosn
  | don't arrive to my  emails  (local email, gmail)
 
  Frankly. No. Since there is nothing in your message even remoty telling
  us how you did setup Nagios to transfer the message to your MTA nor how
  you did configure your MTA.
 
  So help yourself by showing us relevant information like:
  ~ - Nagios command to send notifications
  ~ - Logs about the events and notifications
  ~ - Logs of your MTA.
 
  Perhaps if your start to dig in thos you may see what is wrong yourself.
 
  Hugo.
 
  - --
  [EMAIL PROTECTED]   http://hugo.vanderkooij.org/
  PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
 
 A: Yes.
 Q: Are you sure?
 A: Because it reverses the logical flow of conversation.
 Q: Why is top posting frowned upon?
 
  Bored? Click on http://spamornot.org/ and rate those images.
 
  -BEGIN PGP SIGNATURE-
  Version: GnuPG v1.4.7 (GNU/Linux)
 
  iD8DBQFIRFxaBvzDRVjxmYERApDjAJ9e34tt/TdmxnbC4oXwh0v+P3+sIQCgkL2j
  PNCzRguZKmON/C4yFP+F+Zc=
  =gLMw
  -END PGP SIGNATURE-
 
  -
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
  ___
  Nagios-users mailing list
  Nagios-users@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
 

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Announce: Check_Yum for RedHat/CentOS serverpackagealerts

2008-04-30 Thread Gary Every
;198757673;13503038;p?http://java.sun.com/j
 avaone
 ___
 Nagios-users mailing list
 Nagios-users@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

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.

 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] check_smtp

2008-04-28 Thread Gary Every
Usage:check_smtp -H host [-p port] [-e expect] [-C command] [-f from
addr][-A authtype -U authuser -P authpass] [-w warn] [-c crit] [-t timeout]
[-S] [-D days] [-n] [-v] [-4|-6]


Do that from the command-line, you'll see the output - as well as status.



On Mon, Apr 28, 2008 at 8:10 AM, Nair [EMAIL PROTECTED] wrote:

 hi all,

 Could you pls let me know usage of check_smtp to exceute an smtp command
 and display its output.

 Thank you,
 nair.


 [image: JS RED]
 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.

 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] check_users: list the users?

2008-04-17 Thread Gary Every
Could write a script that runs on the local machine(s) when called from
nagios via snmp

This will require that all snmp's are set up alike on all the local
machines, and a line formatted similarly below be added to each
/etc/snmp/snmpd.conf file:

exec check_users /usr/local/bin/check_users.sh

snip
#!/bin/bash
## Title: check_users.sh

## This will check the users logged in and report a crit if there are too
many
WHO=/usr/bin/who
WC=/usr/bin/wc
WARN=1
CRIT=3
users=`$WHO`
output=`$WHO | $WC -l`

if [ $output = 1 ]  || [ $output = 2 ]
then
RETVAL=1
elif [ $output -gt 2 ]
then
RETVAL=2
fi


if [ $users =  ]
then
users=No users logged in
fi

## Let's output it:
echo $users
exit $RETVAL
/snip

Restart your snmpd

Now, from the nagios box cli:
/usr/lib/nagios/plugins/check_snmp -H YOUR_HOST_TO_CHECK  -C
YOUR_SNMP_COMMUNITY_STRING -o
enterprises.ucdavis.extTable.extEntry.extResult.NUMBER,enterprises.ucdavis.extTable.extEntry.extOutput.NUMBER
-w 0 -c 1

where:
NUMBER above is actually the exec command you want to execute in the
snmpd.conf file. You can have many exec lines, and they are accessed via
this number. For example:

snip from snmpd.conf\
exec check_users /usr/local/bin/check_users.sh
exec check_procs /usr/local/bin/check_procs.sh
/snip

If those are the only two, then you access check_users.sh by replacing
NUMBER with 1
or check_procs.sh by replacing it with 2, and so on . . . .

HTH!
G.~



On Thu, Apr 17, 2008 at 2:06 PM, Jay R. Ashworth [EMAIL PROTECTED] wrote:

 I've just installed Nagios 3 and begun to configure it for my network
 (25ish servers, all but 2 running Linux, 250ish workstations, all but
 about 25 running Ubuntu), and after slogging through SSL error on
 check_nrpe -- which means about 3 different things having nothing to do
 with SSL -- and the ever popular audio embeds *aren't*
 application/wav; they're audio/x-wav, just ask my mime.types file
 problems, I'm now up to the possibly uncommon way I want to use
 check_users...

 I'm setting check_users (via nrpe) to warn at 1 and CRIT at 3 users --
 I'm putting this on servers that, typically, have no humans logged in
 at all.

 Since that's true, I'd like to have the list of users from who -q
 returned as part of the status message.

 a) Is this a not uncommon usage, and when I patch the program, should I
 therefore post and or submit a patch to do this?

 b) How long can that status message become without breaking 1) nagios
 and 2) nrpe?

 Anyone have opinions, answers, or pointers?

 Cheers,
 -- jra
 --
 Jay R. Ashworth   Baylink
 [EMAIL PROTECTED]
 Designer The Things I Think   RFC
 2100
 Ashworth  Associates http://baylink.pitas.com '87
 e24
 St Petersburg FL USA  http://photo.imageinc.us +1 727 647
 1274

 Those who cast the vote decide nothing.
 Those who count the vote decide everything.
   -- (Joseph Stalin)

 -
 This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
 Don't miss this year's exciting event. There's still time to save $100.
 Use priority code J8TL2D2.

 http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] (no subject)

2008-03-17 Thread Gary Every
Guess I forgot the link ;-[

http://www.nagiosexchange.org/Image_Packs.75.0.html?tx_netnagext_pi1%5Bp_view%5D=252


On Mon, Mar 17, 2008 at 8:50 AM, Laack,Jacob C [EMAIL PROTECTED] wrote:

  All-

 I've compiled nagios 3.0 on my RHEL 5 64-bit machine.  I have the daemon
 compiled…



 ./configure \

 --prefix=/usr/local/nagios \

 --with-cgiurl=/cgi-bin \

 --with-htmurl= \

 --with-nagios-user=nagios \

 --with-nagios-group=nagios \

 --with-command-group=nagioscmd \

 --enable-embedded-perl \

 --with-perlcache



 …and running with the sample configs.  I have configured my apache Virtual
 Server myself like so…



 Directory /usr/local/nagios/share

 RewriteEngine off

 Options Indexes FollowSymLinks

 AllowOverride None

 Order allow,deny

 Allow from all

 /Directory



 VirtualHost *:80

 ServerAdmin [EMAIL PROTECTED]

 DocumentRoot /usr/local/nagios/share

 ServerName nagiosnew.alegent.org

 ErrorLog logs/nagios_log

 CustomLog logs/nagios_log common

 ScriptAlias /cgi-bin/ /usr/local/nagios/sbin/

 /VirtualHost



 …I can access the page fine and the CGIs work as well.  However, all the
 pages generated by the CGIs have this in their head…



 LINK REL='stylesheet' TYPE='text/css' HREF='common.css'

 LINK REL='stylesheet' TYPE='text/css' HREF='tac.css'



 ..which is making them all appear rather ugly.  Is there an option to
 specify the stylesheet URL?  Did I do something else wrong?  Thanks.



 Jake Laack

 Alegent Health, Open Systems Engineer

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Monitoring Unix servers CPU, memory and hard-disk

2008-03-05 Thread Gary Every
Go to:
http://ultralight.caltech.edu/web-site/ultralight/workgroups/network/sc2005/snmpd.conf

There are most of the ucdavis snmp strings that work. Use it as a model and
replace the strings from my command

It'll take a little playing, but it's worth it!


On Wed, Mar 5, 2008 at 9:30 AM, Hari Sekhon [EMAIL PROTECTED] wrote:

 Gary Every wrote:
  Here is my command for checking load - it grabs 1,5,15 mins and
  displays them. I'm watching to 5 min load, so it is first in the check:
 
  command_line/usr/lib/nagios/plugins/check_snmp -H $HOSTADDRESS$ -C
  $ARG1$ -o
  enterprises.ucdavis.laTable.laEntry.laLoadInt.2,
 enterprises.ucdavis.laTable.laEntry.laLoadInt.1,
 enterprises.ucdavis.laTable.laEntry.laLoadInt.3
  -w :$ARG2$ -c :$ARG3$ -u is 5min - ,is Current - ,is 15min
 
 
  The important thing in this is the
  enterprises.ucdavis.laTable.laEntry.laLoadInt.2 where 2 is the
  second object returned, but since it is first, that is what nagios
  will measure. The -u is formatting so the nagios check looks like this
  on the webpage:
 
  SNMP OK - 68 is 5min - 72 is Current - 63 is 15min
 
  snmp is the way to go. Read up on it, you can do MANY checks - mem,
  procs, disk space, execute remote commands, etc
 Don't forget to CC the list.

 -h

 --
 Hari Sekhon




-- 
Gary Every
Pay it Forward!
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] FW: Cisco Call Manager Monitoring

2008-02-04 Thread Gary Every
I say block him, specifically - he was requested to not post in that
fashion, and continues to do so.

Zack? Got an email client?


On Mon, Feb 4, 2008 at 2:15 PM, Jonathan Dill [EMAIL PROTECTED] wrote:

 James E. Pratt wrote:
  Can the list-manager please yank this guy off the list? 10 messages
  saying the same thing in a bit over one hour? ... I don't know about
  you, but I have better/bigger things to delete all day...
 
 Better yet, block submissions from nagiosexchange / desire.netways.de
 [213.95.18.138] until they get their scripts straightened out.  I sent a
 message to support at nagiosexchange about the problem.

 Jonathan

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2008.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 Nagios-users mailing list
 Nagios-users@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




-- 
Gary Every
Pay it Forward!
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Hosts and services not sending mail

2007-05-16 Thread Gary Every
://nagios.quepasa.com/nagios/cgi-bin/extinfo.cgi?type=0All
Services Enabled All Hosts Enabled
Any idea where else to check I've deleted my retention file and
restarted nagios as well
Pulling my hair out here

G.~


--
Gary Every
Pay it Forward!
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Nagios-users mailing list
Nagios-users@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

Re: [Nagios-users] Hosts and services not sending mail

2007-05-16 Thread Gary Every

I added some checks, the check_sendmail being one of them.

I've also successfully executed the following from the command line (as
nagios user) :

/usr/bin/printf %b * Nagios 2.9 *\n\nNotification Type:
NOTIFICATIONTYPE\nHost: HOSTNAME\nState: HOSTSTATE\nAddress:
HOSTADDRESS\nInfo: HOSTOUTPUT\n\nDate/Time: NOW\n | /bin/mail -s Host DOWN
alert for testmachine (address obfuscated)


mail is working on the machine. I'm getting absolutely no NOTIFICATION
entries in the logs (nagios.log) so the nagios server isn't even trying to
send 'em out. That's the part that perplexes me.

TIA
G.~




On 5/16/07, Valdinger, Stephen (DOV, MSX) [EMAIL PROTECTED]
wrote:




Have any configuration changes been made to the system since yesterday
that you are aware of?  Because on the day it worked your logs show nothing
about sendmail, and on the day it stopped working sendmail shows up in the
log. That leaves me to believe there is something fishy with the mail piece
and not nagios itself. Try emailing yourself thru the terminal with both
mail and sendmail and see with works and also in your notify-host-by-email
add /usr/sbin/mail and see if works then.



Stephen Valdinger

MIS Helpdesk Coordinator

Dover Chemical Corporation

3676 Davis Rd NW

Dover, OH 44622

330-365-3622

[EMAIL PROTECTED]



  Ever notice how fast Windows runs ?
— Neither did I.



 If at first you don't succeed, work for Microsoft.
  --

*From:* Gary Every [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, May 16, 2007 2:32 PM
*To:* nagios-users@lists.sourceforge.net
*Subject:* [Nagios-users] Hosts and services not sending mail



I'm pretty sure I've got everything set up correctly, as yesterday I was
getting notifications sent out, and today there are none going out.

I've added some services that I knew would go critical, and started
watching nagios.log. Here is a snippet from yesterdays log

[1179271433] EXTERNAL COMMAND:
SCHEDULE_FORCED_HOST_SVC_CHECKS;devstack01;1179271433
[1179271440] EXTERNAL COMMAND:
SCHEDULE_FORCED_HOST_SVC_CHECKS;devstack02;1179271440
[1179271445] HOST ALERT: devstack01;DOWN;SOFT;1;CRITICAL - Host
Unreachable (10.0.0.160)
[1179271448] HOST ALERT: devstack01;DOWN;SOFT;2;CRITICAL - Host
Unreachable ( 10.0.0.160)
[1179271451] HOST ALERT: devstack01;DOWN;SOFT;3;CRITICAL - Host
Unreachable (10.0.0.160)
[1179271451] EXTERNAL COMMAND:
SCHEDULE_FORCED_HOST_SVC_CHECKS;ilom-cp1;1179271449
[1179271454] HOST ALERT: devstack01;DOWN;SOFT;4;CRITICAL - Host
Unreachable (10.0.0.160)
[1179271457] HOST ALERT: devstack01;DOWN;SOFT;5;CRITICAL - Host
Unreachable ( 10.0.0.160)
[1179271460] HOST ALERT: devstack01;DOWN;SOFT;6;CRITICAL - Host
Unreachable (10.0.0.160)
[1179271460] EXTERNAL COMMAND:
SCHEDULE_FORCED_HOST_SVC_CHECKS;ilom-cp2;1179271459
[1179271463] HOST ALERT: devstack01;DOWN;SOFT;7;CRITICAL - Host
Unreachable (10.0.0.160)
[1179271466] HOST ALERT: devstack01;DOWN;SOFT;8;CRITICAL - Host
Unreachable ( 10.0.0.160)
[1179271469] HOST ALERT: devstack01;DOWN;SOFT;9;CRITICAL - Host
Unreachable (10.0.0.160)
[1179271469] EXTERNAL COMMAND:
SCHEDULE_FORCED_HOST_SVC_CHECKS;ilom-cp3;1179271467
[1179271472] HOST ALERT: devstack01;DOWN;HARD;10;CRITICAL - Host
Unreachable (10.0.0.160)
[1179271472] HOST NOTIFICATION:
lbeavers-pager;devstack01;DOWN;host-notify-by-epager;CRITICAL - Host
Unreachable ( 10.0.0.160)
[1179271472] HOST NOTIFICATION:
lbeavers;devstack01;DOWN;host-notify-by-email;CRITICAL - Host Unreachable (
10.0.0.160)
[1179271472] HOST NOTIFICATION:
gpoly-pager;devstack01;DOWN;host-notify-by-epager;CRITICAL - Host
Unreachable ( 10.0.0.160)
[1179271472] HOST NOTIFICATION:
gpoly;devstack01;DOWN;host-notify-by-email;CRITICAL - Host Unreachable (
10.0.0.160)
[1179271472] SERVICE ALERT: devstack01;ping;CRITICAL;HARD;1;CRITICAL -
Host Unreachable ( 10.0.0.160)

---
As you can see, host notifications are being sent out

Today's log:

---
[1179337965] EXTERNAL COMMAND:
SCHEDULE_FORCED_SVC_CHECK;contactpoint3;var_disk;1179337960
[1179337974] SERVICE ALERT: contactpoint3;var_disk;UNKNOWN;SOFT;1;SNMP
problem - No data received from host
[1179338034] SERVICE ALERT: contactpoint3;var_disk;UNKNOWN;SOFT;2;SNMP
problem - No data received from host
[1179338094] SERVICE ALERT: contactpoint3;var_disk;UNKNOWN;HARD;3;SNMP
problem - No data received from host
[1179338408] EXTERNAL COMMAND:
SCHEDULE_FORCED_SVC_CHECK;contactpoint3;sendmail_check;1179338407
[1179338414] SERVICE ALERT:
contactpoint3;sendmail_check;CRITICAL;SOFT;1;sendmail Processes CRITICAL -
*0*
[1179338474] SERVICE ALERT:
contactpoint3;sendmail_check;CRITICAL;SOFT;2;sendmail Processes CRITICAL -
*0*
[1179338484] EXTERNAL COMMAND:
SCHEDULE_FORCED_SVC_CHECK;contactpoint3;sendmail_check;1179338481
[1179338494] SERVICE ALERT:
contactpoint3;sendmail_check;CRITICAL;HARD;3;sendmail Processes CRITICAL -
*0*
[1179338604] Warning: The results of service 'ping' on host
'contactpoint4' are stale

Re: [Nagios-users] Remote check.... using nsca?

2007-05-10 Thread Gary Every

Using nsca to monitor is a great way to inform nagios than an event has
occurred, such as backups, logrotate, etc or a process has run that is
kicked off at a random time, such as a DB trigger that happens when a queue
gets to a certain length, etc.

I use it for notiying me of the need to burn DVD's of archives when the
archive directory gets to a certain size. This can be anywhere between 4 to
6 days apart, and it relieves me of having to watch. I get an email stating
that the directory is at its target size. by nsca firing off an event.

It also frees up nagios to do its active checks without the extra overhead
of making checks that are going to come back 99.9% of the time with an ok
status


PS. Lots of questions in your post, let's get you to embrace and play with
nsca first, then many of the other questions will answer themselves ;-]

G.~


On 5/10/07, Sebastien Roy [EMAIL PROTECTED] wrote:


 Hey folks,

I tryed to play a bit with nsca and I'm able to send some text message to
test it and that's works fine, but I have a couple of question about that...

1- Why I would use nsca to monitor something? How I should use it
(example)?  Can I use some plugin with nsca?  How can I monitor Windows
workstation remotly, for disk, memory, cpu usage, etc...?
2- If I need to monitor a remote site with a couple of
workstation/switches/router, what could be the best way to monitor it if I
can't monitor it directly (remote site with dynamic external IP).

Thanks

--

*Sébastien Roy*

Administrateur de Systèmes Senior / Senior System Administrator

*PointPub Media Communications Inc.* - St-Eustache, Canada
Bur.: (450) 735-4006 ..:.. Cell.: (514) 867-1079
[EMAIL PROTECTED] [EMAIL PROTECTED]*
**www.pointpubmedia.com* http://www.pointpubmedia.com/ ..::.. *
www.unevitrinesurlemonde.com* http://www.unevitrinesurlemonde.com/


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
Nagios-users mailing list
Nagios-users@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





--
Gary Every
Pay it Forward!
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Nagios-users mailing list
Nagios-users@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

[Nagios-users] Browser showing old check results

2007-04-30 Thread Gary Every

I'm using SNMP to execute scripts remotely, and passing the results back to
nagios. The scripts work great, as does the snmp portion, but when I watch
the browser, it occasionally does a flip-flop on which result it displays.
For example, if I see a check executed at 13:31 PM and wait for the
auto-refresh, sometimes it show the results from 13:16 instead - Not good,
especially if I need to keep up-to-date info on my screen.

Anybody else experience something like this?

G.~

--
Gary Every
Pay it Forward!
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
Nagios-users mailing list
Nagios-users@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