Nagios is sending critical false alerts about current users

Saikrishna lovesaikrishna at gmail.com
Mon Jan 23 22:06:46 CET 2012


Hello All,

Nagios seems to be sending false alerts about few hosts, (ex: There were no
users on one host and still Nagios was reporting a critical alert and says
6 users are logged in. How do I fix this one?

Also, I have installed nagios and added 12 hosts as a start and monitoring
few details on them, how do I send false alerts and check if they are being
reported through nagios server?

[root at proof etc]# uname -a
Linux proof 2.6.18-274.el5 #1 SMP Fri Jul 22 04:43:29 EDT 2011 x86_64
x86_64 x86_64 GNU/Linux
[root at proof etc]# cat /etc/redhat-release
CentOS release 5.7 (Final)

[root at proof objects]# /usr/local/nagios/bin/nagios -v

Nagios Core 3.2.3
Copyright (c) 2009-2010 Nagios Core Development Team and Community
Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 10-03-2010
License: GPL

Website: http://www.nagios.org
Usage: /usr/local/nagios/bin/nagios [options] <main_config_file>

Options:

  -v, --verify-config          Verify all configuration data
  -s, --test-scheduling        Shows projected/recommended check scheduling
and other
                               diagnostic info based on the current
configuration files.
  -x, --dont-verify-paths      Don't check for circular object paths - USE
WITH CAUTION!
  -p, --precache-objects       Precache object configuration - use with -v
or -s options
  -u, --use-precached-objects  Use precached object config file
  -d, --daemon                 Starts Nagios in daemon mode, instead of as
a foreground process

Visit the Nagios website at http://www.nagios.org/ for bug fixes, new
releases, online documentation, FAQs, information on subscribing to
the mailing lists, and commercial support options for Nagios.

[root at proof objects]# /usr/local/nagios/bin/nagiostats

Nagios Stats 3.2.3
Copyright (c) 2003-2008 Ethan Galstad (www.nagios.org)
Last Modified: 10-03-2010
License: GPL

CURRENT STATUS DATA
------------------------------------------------------
Status File:                            /usr/local/nagios/var/status.dat
Status File Age:                        0d 0h 0m 7s
Status File Version:                    3.2.3

Program Running Time:                   0d 1h 16m 58s
Nagios PID:                             28047
Used/High/Total Command Buffers:        0 / 0 / 4096

Total Services:                         78
Services Checked:                       78
Services Scheduled:                     78
Services Actively Checked:              78
Services Passively Checked:             0
Total Service State Change:             0.000 / 12.700 / 1.263 %
Active Service Latency:                 0.015 / 12.142 / 0.551 sec
Active Service Execution Time:          0.005 / 4.028 / 0.678 sec
Active Service State Change:            0.000 / 12.700 / 1.263 %
Active Services Last 1/5/15/60 min:     16 / 44 / 78 / 78
Passive Service Latency:                0.000 / 0.000 / 0.000 sec
Passive Service State Change:           0.000 / 0.000 / 0.000 %
Passive Services Last 1/5/15/60 min:    0 / 0 / 0 / 0
Services Ok/Warn/Unk/Crit:              65 / 0 / 0 / 13
Services Flapping:                      0
Services In Downtime:                   0

Total Hosts:                            13
Hosts Checked:                          13
Hosts Scheduled:                        13
Hosts Actively Checked:                 13
Host Passively Checked:                 0
Total Host State Change:                0.000 / 0.000 / 0.000 %
Active Host Latency:                    4.145 / 23.283 / 12.981 sec
Active Host Execution Time:             4.008 / 4.016 / 4.010 sec
Active Host State Change:               0.000 / 0.000 / 0.000 %
Active Hosts Last 1/5/15/60 min:        0 / 13 / 13 / 13
Passive Host Latency:                   0.000 / 0.000 / 0.000 sec
Passive Host State Change:              0.000 / 0.000 / 0.000 %
Passive Hosts Last 1/5/15/60 min:       0 / 0 / 0 / 0
Hosts Up/Down/Unreach:                  13 / 0 / 0
Hosts Flapping:                         0
Hosts In Downtime:                      0

Active Host Checks Last 1/5/15 min:     3 / 22 / 55
   Scheduled:                           0 / 13 / 33
   On-demand:                           3 / 9 / 22
   Parallel:                            0 / 13 / 33
   Serial:                              0 / 0 / 0
   Cached:                              3 / 9 / 22
Passive Host Checks Last 1/5/15 min:    0 / 0 / 0
Active Service Checks Last 1/5/15 min:  16 / 44 / 135
   Scheduled:                           16 / 44 / 135
   On-demand:                           0 / 0 / 0
   Cached:                              0 / 0 / 0
Passive Service Checks Last 1/5/15 min: 0 / 0 / 0

External Commands Last 1/5/15 min:      0 / 0 / 0



Thanks
Saikrishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20120123/081588c1/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
-------------- 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