Miguel Lanz | 25 May 17:02
Picon

astaro firewall nagios-plugin

Hello everyone,

Is there a way maybe through a nagios-plugin that would allow you to get traps off of an astaro firewall? for example if the firewall reach a certain amount of bandwidth get a nagios notification etc.

Thanks for your help.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
Ajay Jethani | 25 May 15:29
Favicon

Manually run custom command via nagios dashboard possible?

I'd like the nagios dashboard to allow me to run commands MANUALLY when I see there is an issue.
For example, when a service goes into the 'CRITICAL state' I would check the dashboard and do a sanity check by looking at the performance output and perhaps even log onto the machine. I'd like to keep the dashboard open and click a hyperlink that executes a command that I choose on the remote machine.

I know there is the concept of event handlers which can AUTOMATICALLY execute a command when a service check returns a failure, but I'd prefer to do this type of healing manually.

Does nagios offer an ability to run a custom command/script I choose via the dashboard?

Thanks
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
vishesh kumar | 24 May 15:43
Picon

nrpe on ssl

Hi Members,


I am new to this list and nagios.

I want to know how i can verify that nagios nrpe_check connecting to nrpe daemon via ssl .


Thanks
Vishesh Kumar
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
Marco Borsani | 24 May 10:21
Favicon

passive check always Pending

Hi all.

 

I supposed to use “initial_state” parameter to see a particular state waiting the first output from a passive check, but it is still in pending state.

 

How can I solve it ?

Must I use other parameters together it?

 

I can’t use the check_dummy active command because it deletes the error before it is really solved…I disabled active checks

 

Thanks

Marco

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
Mark Elsen | 24 May 07:48
Picon

Loosing NAGIOS_* env variables in 3.4.1


 - I have some 'home-written' notification scripts launched from NAGIOS ; now when using
nagios 3.4.1 , all NAGIOS_*  variables are gone. (printenv listing).

    How come ?
    How can I get them back ?

M.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
Kumar, Ashish | 22 May 11:10
Picon

Monitoring shared filesystems

Dear fellow Nagios users,

We have a bunch of servers on which we have shared filesystems.  The filesystem actually resides on the SAN storage and are connected to physical servers.  Let's say /home is shared among server1 and server2.  When /home breaches the WARNING or CRITICAL threshold it raises two tickets, one from each server.

I tried utilising the check_cluster and check_cluster2 plugins to raise only one ticket when there is a problem instead of two.

I have the following definitions...

"Disk Monitor /home" is being monitored on server1 and server2 using NRPE with notifications disabled.

hostgroups
==========

define hostgroup {
        hostgroup_name                 clustered_servers
        alias                          Clustered servers
        members                        server1,server2
        }



servicecluster.cfg
==================
define service {
        service_description             Clustered disk /home
        hostgroup_name                  clustered_servers
        check_command                   check_cluster_service2!$SERVICESTATEID:server1:Disk Monitor /home$,$SERVICESTATEID:server2:Disk Monitor /home$
        max_check_attempts              3
        check_interval                  2
        retry_interval                  1
        notification_interval           15
        contacts                        sysadms
        register                        1
        }


It seems when the hostgroup_name expands internally in Nagios it creates two service checks in both the servers so it is understood that there will be two alerts.  What changes can I make to raise only one ticket?  In certain cases we have around 10 servers with shared filesystems, so you can understand the havoc it creates.

Please let me know if you have any questions.

Thanks,
Ashish

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
Simone Felici | 22 May 09:46
Picon

High Service Check Latency

Hello!

Yes, it's a common problem, but cannot figure out how to debug it.
I've a distributed setup with a master server collecting >9.000 passive services sent from other 
servers, all with active latencies near 0. The master server checks *only* itself as active 
services, ~40 services, most of them every 5 minutes. AFAIK passive services should not affect 
"active service check latency" statistics. Looking into retention.dat file, the high latencies are 
all related to the local executed active services. Actual stats:

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 20h 40m 53s
Nagios PID:                             9360
Used/High/Total Command Buffers:        0 / 7 / 10000

Total Services:                         9098
Services Checked:                       9098
Services Scheduled:                     33
Services Actively Checked:              39
Services Passively Checked:             9059
Total Service State Change:             0.000 / 100.000 / 1.351 %
Active Service Latency:                 4.156 / 7943.743 / 6163.392 sec   <<<<<<<<
Active Service Execution Time:          0.010 / 2.485 / 0.319 sec
Active Service State Change:            0.000 / 22.890 / 2.443 %
Active Services Last 1/5/15/60 min:     0 / 0 / 0 / 0
Passive Service Latency:                0.088 / 7.914 / 1.997 sec
Passive Service State Change:           0.000 / 100.000 / 1.346 %
Passive Services Last 1/5/15/60 min:    1851 / 7501 / 8084 / 8392
Services Ok/Warn/Unk/Crit:              8784 / 78 / 76 / 160
Services Flapping:                      4
Services In Downtime:                   112

Total Hosts:                            1912
Hosts Checked:                          1912
Hosts Scheduled:                        0
Hosts Actively Checked:                 74
Host Passively Checked:                 1838
Total Host State Change:                0.000 / 46.910 / 0.135 %
Active Host Latency:                    0.000 / 1425.848 / 1104.205 sec
Active Host Execution Time:             0.012 / 0.402 / 0.096 sec
Active Host State Change:               0.000 / 0.000 / 0.000 %
Active Hosts Last 1/5/15/60 min:        0 / 0 / 0 / 0
Passive Host Latency:                   0.000 / 639.353 / 1.197 sec
Passive Host State Change:              0.000 / 46.910 / 0.140 %
Passive Hosts Last 1/5/15/60 min:       1 / 12 / 27 / 70
Hosts Up/Down/Unreach:                  1850 / 57 / 5
Hosts Flapping:                         0
Hosts In Downtime:                      35

Active Host Checks Last 1/5/15 min:     42 / 194 / 565
    Scheduled:                           0 / 0 / 0
    On-demand:                           42 / 194 / 565
    Parallel:                            0 / 0 / 0
    Serial:                              0 / 0 / 0
    Cached:                              42 / 194 / 565
Passive Host Checks Last 1/5/15 min:    1 / 14 / 45
Active Service Checks Last 1/5/15 min:  0 / 0 / 0
    Scheduled:                           0 / 0 / 0
    On-demand:                           0 / 0 / 0
    Cached:                              0 / 0 / 0
Passive Service Checks Last 1/5/15 min: 2311 / 9235 / 12988

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

I've some broker modules to handle sql logging and distributed setup. Other parameters that could be 
interesting:

command_check_interval=-1
service_inter_check_delay_method=s
max_concurrent_checks=80
check_result_reaper_frequency=2
max_check_result_reaper_time=30
obsess_over_services=0
obsess_over_hosts=0

Looking on suggesions by the proc:

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
Timing information on object configuration processing is listed
below.  You can use this information to see if precaching your
object configuration would be useful.

Object Config Source: Config files (uncached)

OBJECT CONFIG PROCESSING TIMES      (* = Potential for precache savings with -u option)
----------------------------------
Read:                 0.703470 sec
Resolve:              0.018964 sec  *
Recomb Contactgroups: 0.454370 sec  *
Recomb Hostgroups:    0.010414 sec  *
Dup Services:         0.025101 sec  *
Recomb Servicegroups: 0.000211 sec  *
Duplicate:            0.003912 sec  *
Inherit:              0.008386 sec  *
Recomb Contacts:      0.000000 sec  *
Sort:                 0.000003 sec  *
Register:             0.050582 sec
Free:                 0.006160 sec
                       ============
TOTAL:                1.281574 sec  * = 0.521362 sec (40.68%) estimated savings

RETENTION DATA TIMES
----------------------------------
Read and Process:     0.514352 sec
                       ============
TOTAL:                0.514352 sec

Timing information on configuration verification is listed below.

CONFIG VERIFICATION TIMES          (* = Potential for speedup with -x option)
----------------------------------
Object Relationships: 0.185991 sec
Circular Paths:       0.020317 sec  *
Misc:                 0.009450 sec
                       ============
TOTAL:                0.215758 sec  * = 0.020317 sec (9.4%) estimated savings

EVENT SCHEDULING TIMES
-------------------------------------
Get service info:        0.014388 sec
Get host info info:      0.002899 sec
Get service params:      0.000010 sec
Schedule service times:  0.000679 sec
Schedule service events: 0.000231 sec
Get host params:         0.000000 sec
Schedule host times:     0.000102 sec
Schedule host events:    0.000051 sec
                          ============
TOTAL:                   0.018360 sec

Projected scheduling information for host and service checks
is listed below.  This information assumes that you are going
to start running Nagios with your current config files.

HOST SCHEDULING INFORMATION
---------------------------
Total hosts:                     1912
Total scheduled hosts:           0
Host inter-check delay method:   SMART
Average host check interval:     0.00 sec
Host inter-check delay:          0.00 sec
Max host check spread:           15 min
First scheduled check:           N/A
Last scheduled check:            N/A

SERVICE SCHEDULING INFORMATION
-------------------------------
Total services:                     9098
Total scheduled services:           33
Service inter-check delay method:   SMART
Average service check interval:     1770.91 sec
Inter-check delay:                  9.09 sec
Interleave factor method:           SMART
Average services per host:          4.76
Service interleave factor:          1
Max service check spread:           5 min
First scheduled check:              Tue May 22 09:41:22 2012
Last scheduled check:               Tue May 22 09:46:12 2012

CHECK PROCESSING INFORMATION
----------------------------
Check result reaper interval:       2 sec
Max concurrent service checks:      80

PERFORMANCE SUGGESTIONS
-----------------------
I have no suggestions - things look okay.

If I force a schedule of an active check, I can see how the force is immediatly logged into 
nagios.log, but executed with the high delay.
Is there a way I can debug or what parameter should I tune? Increasing logging could help?
I've still looked on the nagios tuning page, but doesn't help me much. Some suggestions based on the 
information provided?

Thank's a lot!

Simon

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Ajay Jethani | 22 May 00:41
Favicon

Nagios - can it send email when leaving a service comment?

I'd like nagios to send an email after I leave a service comment through the web dashboard.

The purpose of this would be that it would send a mail to the contact list that someone is working on the issue at hand and to track this information over time (how long it takes to resolve and issue and what the solution was and so forth).

Is support for Nagios being able to send a mail when leaving a service comment built in?


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
Camron W. Fox | 21 May 22:04
Favicon

check_procs and negating regex in --ereg-argument-array

All,

	Is it possible to negate the regular expression used in
--ereg-argument-array with check_procs?

	We want to ignore one of the processes running on a machine but when we
try to use negative lookahead the regex is not processed correctly
because it reads ! as a bash internal command:

./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?!john).)*$
./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?john
--show passwd.ldap).)*$
bash: syntax error near unexpected token `('

	And the Nagios web output shows: NRPE: Unable to read output

	Does anyone have any suggestions?

Best Regards,
Camron

-- 
Camron W. Fox
Hilo Office
High Performance Computing Group
Fujitsu Management Services of America, Inc.
E-mail:		cwfox <at> us.fujitsu.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Sugianto So | 18 May 05:11

does monitoring stop while nagios is flushing queued items?

Hi all,

My installation is centreon + nagios.
Sometimes I need to do maintenance on mysql so I stop ndo2db and let nagios cache the result first.
And when I start ndo2db, nagios will start flushing the items.
I notice from the service perf data file, the data stops coming (or nagios not polling new data) while nagios is flushing queued item.

I just want to confirm whether it is the behavior of nagios? If yes, any workaround for this?

--
 

Best Regards,


Sugianto So


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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
Sugianto So | 18 May 03:43

is Multiple instances of broker_module possible?

Hi All,


Since I'm having a constant database crash with my centreon+nagios installation, I'm thinking to run 2 brokers, each feeding data to different servers.
is running multiple instances of broker_module possible?


--
 

Best Regards,


Sugianto So
LGA Telecom Pte Ltd
Email: sugianto <at> lgatelecom.net
Tel: (65) 6892 2308
Website: http://www.lgatelecom.net


------------------------------------------------------------------------------------------------------------------
Powering Next Generation Nationwide Broadband Network Solutions for Infinite Possibilities
------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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

Gmane