Re: [Nagios-users] Logging issues

2011-11-09 Thread Axel Rosenski
Hi Alex, 

Am Donnerstag 10 November 2011, 05:50:32 schrieb Alex:
 I can tcpdump traffic from 64.XX.YY.2, so Im confident it is reaching
 the server and no firewall rules are involved. Other services, such as
 checking port 25, work successfully.
[...]
 server_address=127.0.0.1

# SERVER ADDRESS
# Address that nrpe should bind to in case there are more than one interface
# and you do not want nrpe to bind on all interfaces.
# NOTE: This option is ignored if NRPE is running under either inetd or xinetd

You bound nrpe on your loopback interface. 
You have to enter the IP of your network interface connected to the rest of 
the world and restart nrpe.

Regards, 
Axel 









 nrpe_user=nrpe
 nrpe_group=nrpe
 allowed_hosts=127.0.0.1,64.XX.YY.2
 
 dont_blame_nrpe=0
 debug=1
 command_timeout=60
 connection_timeout=300
 include_dir=/etc/nrpe.d/
 command[check_disk_boot]=/usr/lib64/nagios/plugins/check_disk -w 20%
 -c 10% -p /boot
 command[check_disk_home]=/usr/lib64/nagios/plugins/check_disk -w 20%
 -c 10% -p /home
 command[check_disk_root]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10%
 -p / command[check_mdstat_boot]=/usr/lib64/nagios/plugins/check_mdstat md0
 command[check_mdstat_root]=/usr/lib64/nagios/plugins/check_mdstat md1
 command[check_mdstat_home]=/usr/lib64/nagios/plugins/check_mdstat md2
 command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 35,30,25 -c
 30,25,20 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs
 -w 5 -c 10 -s Z
 command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c
 220 command[check_mailq_pre]=/usr/lib64/nagios/plugins/check_mailq -w 4 -c
 6 command[check_dns]=/usr/lib64/nagios/plugins/check_dns -H example.com -s
 192.168.1.1 -a 8.8.8.8
 command[check_procs_named]=/usr/lib64/nagios/plugins/check_procs -w
 1:7 -c 1:10 -C named -u named
 command[check_procs_master]=/usr/lib64/nagios/plugins/check_procs -w
 1:1 -c 1:1 -C master -u root
 command[check_procs_sshd]=/usr/lib64/nagios/plugins/check_procs -w 1:
 -c 1: -C sshd
 command[check_procs_Z]=/usr/lib64/nagios/plugins/check_procs -w 4 -c 6 -s Z
 command[check_procs_D]=/usr/lib64/nagios/plugins/check_procs -w 15 -c 20 -s
 D command[check_procs_total]=/usr/lib64/nagios/plugins/check_procs -w
 1:210 -c 1:230
 command[check_ntp]=/usr/lib64/nagios/plugins/check_ntp -H localhost
 command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10
 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5
 -c 10 -s Z
 command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c
 200
 
 Thanks for any ideas.
 Alex
 
 ---
 --- RSA(R) Conference 2012
 Save $700 by Nov 18
 Register now
 http://p.sf.net/sfu/rsa-sfdev2dev1
 ___
 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


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
___
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] disk checks unreliable

2011-10-06 Thread Axel Rosenski
Hi Tim, 

Am Donnerstag 06 Oktober 2011, 04:52:20 schrieb Tim Dunphy:
  hello.. I am running a nagios disk check that reports OK even when the
 partition is not mounted or the machine is shut down .. how can I test the
 check and adjust it so that it reports accurately?
 How can I best address this problem?

I've added -E and -M

-E, --exact-match
For paths or partitions specified with -p, only check for exact paths
-M, --mountpoint
Display the mountpoint instead of the partition

Regards, Axel 


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
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] How can I change Nagios/NRPE log location?

2011-10-05 Thread Axel Rosenski
Hi R., 

Am Mittwoch 05 Oktober 2011, 15:13:42 schrieb R. Leigh Hennig:
 On my remote hosts, /var/log/messages is filling up with messages like
 this:
 
 Sep 26 06:33:53 REMOVED xinetd[13362]: EXIT: nrpe status=0 pid=8099
 duration=0(sec)
 Sep 26 06:34:01 REMOVED xinetd[13362]: START: nrpe pid=8105
 from=REMOVED Sep 26 06:34:01 REMOVED xinetd[13362]: EXIT: nrpe
 status=0 pid=8105 duration=0(sec)
 Sep 26 06:34:57 REMOVED xinetd[13362]: START: nrpe pid=8113
 from=REMOVED
 
 How can I make it so that Nagios/NRPE throws these in a different file, and
 not just /var/log/messages?

You have to configure your logserver.

Regards, Axel 

-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
___
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] Nrpe and Windows

2011-09-23 Thread Axel Rosenski
 Thanks for the suggestions. I'll give check_wmi_plus consideration.
 
 It's disappointing that nrpe is failing like this though. I'm only checking
 local disk usage using check_pdm.exe for the c: drive at the moment.

What's the advantage of check_pdm.exe? 
We use NSClient++ and check_nrpe to check a bunch of Windows server and 
it's working without any issues. 

Regards

-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
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-d2dcopy2
___
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] How to configure MySQL password for check_mysql via NRPE?

2011-09-23 Thread Axel Rosenski
Hi Christoph, 

you have to add user and password to your nrpe command. 
command[check_mysqld]=/usr/lib/nagios/plugins/check_mysql -H localhost -u 
anyuser-panypass

You need to ensure that the chosen user has usage rights and if you like to 
monitor replication of a slave the user needs replication slave and 
replication client

Regards 
Axel 


Am Freitag 23 September 2011, 15:35:19 schrieb Grothaus, Christoph:
 Hello nagios-users!
 
 I inherited a Linux box (latest Debian stable, aka Squeeze) with a MySQL
 database and a Nagios NRPE. Now I'd like to check MySQL status with NRPE.
 I configured /etc/nagios/nrpe_local.cfg with the following line:
 
 command[check_mysql]=/usr/lib/nagios/plugins/check_mysql
 
 so that this command is available to NRPE. Then I configured the following
 check on my separate Nagios server:
 
 define service{
 use web-check-alert   # use some
 template configuration host_name   ...   #
 check my MySQL host check_command   check_nrpe!-c check_mysql #
 check the MySQL via command check_mysql }
 
 Sadly, I get a critical alert for this service with the following message:
 
 Access denied for user nagios@localhost (using password: NO)
 
 The NRPE daemon runs under user nagios -- as you might have guessed.
 According to /etc/passwd, the login shell for this user is /bin/false, and
 the home directory is /var/lib/nagios. I tried to add a file .my.cnf
 there:
 
 root@myhost:~# ls -la /var/lib/nagios/.my.cnf
 -rw--- 1 nagios nagios 40 21. Sep 17:37 /var/lib/nagios/.my.cnf
 
 This file contains the necessary bits to connect to the local MySQL
 database. The login information are correct, I checked exactly the same
 file with my user account on the server. So, this file seems not to be
 picked up.
 
 I am lost here. What am I doing wrong? How must I configure Nagios/NRPE to
 get a working connection to the MySQL database?
 
 Any help appreciated.
 
 
 Regards,
 
 Christoph Grothaus
 ---
 --- 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-d2dcopy2
 ___
 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-d2dcopy2
___
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] Different notification behaviour depending on daytime?

2011-09-05 Thread Axel Rosenski
Hi, 

I want to know whats the best or common way to get different notification 
behaviour depending on the time of day. 

For some checks I want to receive warning notifications during business 
hours but outside normal working hours I only want critical notifications.

Do I need a second service definition for each check or can this be done with 
different contact groups? 
Any help is appreciated.


Regards, 
Axel Rosenski

-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free Love Thy Logs t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
___
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] Nagios authentication thru LDAP.

2011-08-11 Thread Axel Rosenski
Hi Robert, 

Am Mittwoch, 10. Aug. 11, 12:23:17 schrieb Robert J Molerio:
 Can anyone indicate how this can be done?
 We would like users to log on to Nagios via LDAP.
 I think we need to configure the Apache server within Nagios to be able to
 do this but we're not sure.

you need to install the apache ldap modules and put this in your apache nagios 
vhost config. In this case it's better to have a redundant ldap ;) 

Directory /usr/local/nagios/sbin
AllowOverride None
AuthType basic
AuthName Auth needed!
AuthBasicProvider ldap
AuthLDAPURL ldap://your.ldap.server:389/dc=bla,dc=fasel?uid?sub?
(objectClass=whatYouNeed)
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
require ldap-group your-ldap-group
require ldap-user your-ldap-user
Options ExecCGI
Order allow,deny
Allow from all
/Directory

Directory /usr/local/nagios/share
AllowOverride None
AuthType basic
AuthName Auth needed!
AuthBasicProvider ldap
AuthLDAPURL ldap://your.ldap.server:389/dc=bla,dc=fasel?uid?sub?
(objectClass=whatYouNeed)
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
require ldap-group your-ldap-group
require ldap-user your-ldap-user
Options ExecCGI
Order allow,deny
Allow from all
/Directory

Kind regards, 
Axel 

-- 

Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-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_procs count going haywire on Ubuntu - still broken

2011-08-11 Thread Axel Rosenski
Hi, 

Am Mittwoch, 10. Aug. 11, 18:24:17 schrieb Kimberly McKinnis:
 Thank you for that observation. I was being dumb with the quoting.
 ButŠit's still not working correctly.
 
 The commands work properly on the command line on the host (admin1), but
 the Nagios server (monitor1) sees +1 count again. I am very confused by
 this. Does Nagios server force it back to the dash shell in Ubuntu? I
 thought maybe the +1 was transient because I ran the check manual, but all
 of the checks are also reporting +1 and I haven't run them manually.

I got this Problem, too.
It looks like -a counts it's own process grep.
Use -C to fix that.

Regards, Axel 

-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
Get a FREE DOWNLOAD! and learn more about uberSVN rich system, 
user administration capabilities and model configuration. Take 
the hassle out of deploying and managing Subversion and the 
tools developers use with it. 
http://p.sf.net/sfu/wandisco-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] What the best way to monitor Windows?

2011-08-04 Thread Axel Rosenski
Am Donnerstag, 04. Aug. 11, 09:57:02 schrieb Martin Hugo:
 I second NSClient++, easy to install on the hosts, no restart necessary. 
 Here's a tip, once you have one working, copy the client.ini file to your
 install point and drop it in the appropriate folder on the new client
 before you start the service.

I second NSClient++, too. We use NRPE checks to monitor Windows server. For 
the most common checks we don't even need to modify nsclient.ini

Regards, Axel

-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
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] Antwort: Re: What the best way to monitor Windows?

2011-08-04 Thread Axel Rosenski
Am Donnerstag, 04. Aug. 11, 13:16:13 schrieb Thomas Borger:
 You can also look at http://www.mathias-kettner.de for check_mk.
 It is a nice Nagios-Agent.

Thanks for the hint.
 
I found check_mk a while ago. It seems to be very nice and easy to use. 
At the moment all templates are based on check_nrpe, but I will definitely 
give it a try when I have to rework the config.

Regards, Axel 

-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos  much more. Register early  save!
http://p.sf.net/sfu/rim-blackberry-1
___
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_WMI

2011-07-11 Thread Axel Rosenski
On Montag, 11. Jul. 11 08:44:56 nag ios wrote:
 define service{
   use local-service
   host_name localhost
   service_description checkcpu
   check_command check_wmi!checkcpu!c!70!80
   }
 
 define command{
   command_name check_wmi
   command_line$USER1$/check_wmi.pl -H hostname -u
 domainname/user -p password -w $ARG1$ -c $ARG2$
  }

Re-check your command and service definition. You are passing checkcpu as 
first, and c as second argument.

Kind Regards, 
Axel


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
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] Nagios monitor Windows diskspace

2011-06-30 Thread Axel Rosenski
Hi  Marc, 

using check_nrpe is recommended. 

You can check your disk with this command 

check_commandcheck_nrpe!CheckDriveSize!-a ShowAll 
$_HOSTWINDOWS_DISK_LIMIT$

Regards, Axel 

Am Donnerstag, 30. Jun. 11, 13:40:26 schrieb Marc Haber:
 Hi all.
 I am currently deploying a Nagios installation to monitor several hundreds
 of nodes within our company. I installed NSClient++ on the WXP machines
 and configured Nagios to query it.
 Standard monitoring plugins work flawlessly (CPU load, Memory usage, NSC++
 version), but I can't seem to make the disk space check work.
 The error reported by nagios is wrong -l argument and the configuration
 is as follows:
 
 define service{
 use generic-service
 hostgroup_name win-workstations
 service_description C:\ Drive Space
 check_command check_nt!USEDDISKSPACE!-l c:\ -w 80 -c 90
 }
 
 Any clues as why it's not working?
 
 Marc
 
 
 ---
 --- 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


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
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] Expand service group error in 43 line test config (why?)

2011-06-28 Thread Axel Rosenski
Hi, 

Am Montag, 27. Jun. 11, 23:45:37 schrieb Eric B.:
 Error: Could not expand servicegroups specified in service escalation
 (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on
 line 13)
Error processing object config files!

afaics you do not reference your service(group) in your host definition. 
You have to add your host to this servicegroup and the error should disappear.

I had the same issue with my hostgroup definition

HTH
Axel 


 
 Here's the config:
 
 define servicegroup {
servicegroup_name   group-1
alias   All Services
register0
 }
 
 define contact {
contact_nameprimary-oncall
alias   Primary Oncall
email   f...@bar.com
 }
 
 define serviceescalation {
servicegroup_name   group-1
first_notification  1
last_notification   6
notification_interval   5
contactsprimary-oncall
 }
 
 define service {
servicegroups   group-1
host_name   admin.qa
check_command   check_foo
 }
 
 define host {
host_name   admin.qa
address 127.0.0.1
 }
 
 define command {
command_name   check_foo
command_line   /bin/true
 }


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
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] Issue with check_http from intranet

2011-06-14 Thread Axel Rosenski
Is nokia.com an external IP from your net or is it resolved to a local adress?  

Regards,
Axel 

Am Montag, 13. Jun. 11, 21:30:26 schrieb krishna.poth...@nokia.com:
 Hi,
I am not able to use check_http from intranet.
 
 If I do
 
 ./check_http H google.com
 
 It is giving socket timeout
 
 ./check_http -H nokia.com
 
 It is working fine.
 
 Please help


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-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] Services are dependent on the host they run on?

2011-05-27 Thread Axel Rosenski
Hi, 
I found a solution by adding a service dependency on the nrpe daemon. 

This works well with a single dependency definition for standard checks I like 
to have on all server but you need to define additional service dependencie for 
every service. 
When you work with hostgroups you can use them and don't need to define a 
dependency for every IP you want to check. 

Regards, Axel 



Am Freitag, 27. Mai. 11, 09:04:03 schrieb Roberto Nunnari:
 Terry Carmen wrote:
  Quoting Assaf Flatto nag...@flatto.net:
  Any hint/advice/guidance is very welcome.
  
  Thank you and best regards.
  
  Robi
  
  check out service dependencies
  
  http://nagios.sourceforge.net/docs/3_0/dependencies.html
  
  I'm in the same boat.
  
  This should be very simple, but I'm probably just missing something.
  The above docs show all sorts of complex dependencies, but I'm
  actually looking for something simple.
  
  If a host can't be pinged, there is little point in attempting to
  check disk space or anything else, so I'd like to disable all the
  other checks when ping fails; however according to the link above,
  this would require creating specific dependency definitions for each
  host and all services, defining everything as a dependency of ping.
  
  Is there some sort of rule or wild-card that would tell Nagios that
  all network based checks should be disabled if the host can't be pinged?
 
 Yes. That's exactly what I'm looking for.
 Robi
 
  Thanks!
  
  Terry
 
 ---
 --- vRanger cuts backup time in half-while increasing security.
 With the market-leading solution for virtual backup and recovery,
 you get blazing-fast, flexible, and affordable data protection.
 Download your free trial now.
 http://p.sf.net/sfu/quest-d2dcopy1
 ___
 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


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
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] Host downtime set - service notifications still sent

2011-05-18 Thread Axel Rosenski
Hi all, 

I've had a problem with a scheduled downtime for a host. 

The host was rebooted and some service checks failed and went in a hard 
critical state.

After receiving some messages I scheduled a downtime for this host, but I 
still received service notifications from nagios. 

Is that the normal behaviour and would it be better to disable notifications 
for services and the host?

Regards Axel

-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
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] Newbie Question

2011-05-16 Thread Axel Rosenski
Hi,
did you install the plugins from source? 
 
You have to install libmysqlclient and reinstall the plugins again. configure 
checks the libraries on your system. 

Regards Axel 


Am Montag, 16. Mai. 11, 16:01:22 schrieb Matty Sarro:
 Weird, I just reinstalled the plugins and I still don't see
 check_mysql_query or check_mysql. This is installing from source
 following the quickstart guide.
 
 On Mon, May 16, 2011 at 9:47 AM, Matty Sarro msa...@gmail.com wrote:
  This is for mysql. I saw a plugin called check_mysql_query but it
  doesn't seem to be included in the plugins package I downloaded. I'm
  going to try reinstalling the plugins in case something got borked. I
  can't find it on exchange either.
  
  I may have one other possibility after some more searching:
  check_mysql_count
  
  Any further suggestions would really be appreciated though.
  -Matty
  
  On Mon, May 16, 2011 at 9:34 AM, Terry Carmen te...@cnysupport.com 
wrote:
  Quoting Matty Sarro msa...@gmail.com:
  Hey everyone,
  I am still a newbie to nagios, so please bear with me. I am trying to
  find a plugin that will monitor the contents of a particular DB table.
  If certain status codes show up, then generate an alert. Is there
  something available off the shelf that can do this?
  
  What database server?
  
  Terry
  
  
  
  -- Achieve unprecedented app performance and reliability
  What every C/C++ and Fortran developer should know.
  Learn how Intel has extended the reach of its next-generation tools
  to help boost performance applications - inlcuding clusters.
  http://p.sf.net/sfu/intel-dev2devmay
  ___
  Nagios-users mailing list
  Nagios-users@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
 
 ---
 --- Achieve unprecedented app performance and reliability
 What every C/C++ and Fortran developer should know.
 Learn how Intel has extended the reach of its next-generation tools
 to help boost performance applications - inlcuding clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 Nagios-users mailing list
 Nagios-users@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


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
___
Nagios-users mailing list
Nagios-users@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] define service with multiple contactgroups

2011-03-23 Thread Axel Rosenski
Am Mittwoch, 23. Mär. 11, 05:54:47 schrieb Anand, Sakshi:
 Purpose of both the services are essentially the same but they come with
 Nagios installation because they have defined these configurations for
 windows as well as linux users.
 
 You must use only one of them depending on the OS being used.
 
  I've recently taken over our Nagios config so am still learning, but we
  seem to do something similar using two services, they just have the same
  description.  You can't tell there are two services when looking at the
  alerts or web pages.
  
  (example syntax below, probably full or errors)

How do you manage service escalations with only one service defined?

When I use two hostgroup, one service and one servicegroup definition for all 
default checks the first notifications goes to the correct group, but 
escalations for this service go to all members of both teams
I want to send escalations only to one team. 

Here's my initial config:

# linux server
define host{
   use  tpl-host-default
   name tpl-host-linux
   contact_groups   pager-linuxadmin
   hostgroups   hgrp-linux-server
   register 0
}

define host{
   use  tpl-host-linux
   host_name10.9.1.121
   aliaslxdev
   address  10.9.1.121
}

define service{
   service_description  Swap
   use  tpl-service-standard
   servicegroupssgrp-check-standard
   check_commandcheck_nrpe!check_space_swap
   hostgroup_name   hgrp-linux-server
}

define serviceescalation{
   hostgroup_name   hgrp-linux-server
   servicegroup_namesgrp-check-standard
   contact_groups   +cgrp-nagios-test-escalation-mail
   first_notification   3
   last_notification0
   notification_interval10
}

## Windows Server
define serviceescalation{
   hostgroup_name   hgrp-windows-server
   servicegroup_namesgrp-check-standard
   contact_groups   +cgrp-nagios-test-escalation-phone
   first_notification   3
   last_notification0
   notification_interval10
}

As mentioned in the first reply of my initial question i did not have a 
contact_group for my service templates and with this the notifications are sent 
to the contact group of the host definition.

But when I inspect the settings in objects.cache all standard services 
escalate to both teams.

define serviceescalation {
   host_name   10.9.1.121
   service_description  Swap
   escalation_options   w,u,c,r
   contact_groups pager-linuxadmin,cgrp-nagios-test-escalation-phone
   }
   
define serviceescalation {
   host_name   10.9.1.121
   service_description  Swap
   escalation_options   w,u,c,r
   contact_groups pager-linuxadmin,cgrp-nagios-test-escalation-mail
   }


What do I have to change that escalations work properly? 
I tried to split the servicegroups definition for both teams, but afaics I need 
to define 2 services for each hostgroup.

-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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] define service with multiple contactgroups

2011-03-22 Thread Axel Rosenski
Hey,

that's been the solution. It's working now the way I want. 

Thanks,
Axel 

Am Montag, 21. Mär. 11, 22:04:05 schrieb Chris Beattie:
 Check out the documentation's section on implied inheritance.  It might let
 you do what you want:
 
 http://nagios.sourceforge.net/docs/3_0/objectinheritance.html
 
 Services can inherit their contact_groups from their associated host
 definition.  You do this by *not* assigning a contact_group in the service
 definition.


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
___
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] define service with multiple contactgroups

2011-03-21 Thread Axel Rosenski
Hi, 

I'd like to  create *one* service definition which I can use to alert different 
contact_groups depending on the hostgroup the server belongs to. I'd like to 
contact different teams for our windows and linuxserver. 

Below I added a short snippet of what I've done so far. As you can see I 
played around with serviceescalations but had no luck. When the service is 
critical both pager receive a notification.


My next thought is to use the generic template and create two service 
template 
snippets and change the contactgroup, but I don't like to define ecery service 
twice.
Perhaps there's a better way to achieve the desired behaviour. Any help is 
appreciated.

Regards, 
Axel 

### SNIP ### 

define contactgroup{
   contactgroup_name   pager-admin
   alias   Pager Administration
   contactgroup_memberspager-linuxadmin, pager-windowsadmin
}

define service{
   name tpl-service-standard
   contact_groups   pager-admin
   register 0
}

define service{
   service_description  Load
   use  tpl-service-standard
   servicegroupssgrp-check-standard
   check_commandcheck_nrpe!check_load
   hostgroup_name   hgrp-linux-server, hgrp-windows-server
}

define serviceescalation{
   hostgroup_name   hgrp-linux-server
   servicegroup_namesgrp-check-standard
   contact_groups   pager-linuxadmin
   first_notification   1
   last_notification2
   notification_interval10
}

define serviceescalation{
   hostgroup_name   hgrp-linux-server
   servicegroup_namesgrp-check-standard
   contact_groups   pager-linuxadmin, phone-linuxadmin
   first_notification   3
   last_notification0
   notification_interval10
}

define serviceescalation{
   hostgroup_name   hgrp-windows-server
   servicegroup_namesgrp-check-standard
   contact_groups   pager-windowsadmin
   first_notification   1
   last_notification2
   notification_interval10
}

define serviceescalation{
   hostgroup_name   hgrp-windows-server
   servicegroup_namesgrp-check-standard
   contact_groups   pager-windowsadmin,phone-windowsadmin
   first_notification   3
   last_notification0
   notification_interval10
}


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


--
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] tw_cli command

2010-08-18 Thread Axel Rosenski
 Hi,
 
 The issue with the above bash script is that it will exit with 2 if
 the controller c0 fail and it wont check for other controllers.
 I need to check for other controllers too at the same time
 
 Please suggest.

Take a look at the attachement. I use this script to check our controllers and 
discs.

Regards, Axel 


-- 
Axel Rosenski
- Administration -
__
Wave Computersysteme GmbH
Philipp-Reis-Str. 1-3 / 9
35440 Linden

Geschäftsführer: Carsten Kellmann
Registergericht Gießen HRB 1823

Tel.: +49 (0)6403 / 9050 8317
Fax: +49 (0)6403 / 9050 5089
mailto:rosen...@wave-computer.de
http://www.wave-computer.de


check_3ware.sh
Description: application/shellscript
--
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