Re: [Nagios-users] FW: Nagios3 switch.cfg

2013-05-16 Thread Andreas Ericsson
On 2013-05-15 23:25, Joel Roberts wrote:
 Typo in the email post, I do have host_name in the .cfg file, not host-name. 
 Still returning error.


You also have Define instead of define. Copy-typing is pretty much
frowned upon for reasons like that. While at it, you may want to make
sure you're not using windowsy line-endings. I know some versions of
Nagios complains about that, but since you haven't specified the exact
version of Nagios you're using it's impossible to say if that affects
you.

One thing strikes me as odd though; Nagios has never had an error
message that goes Could not add property. Are you sure you're using
Nagios and not some bastard version of it? Or perhaps you just manually
copied it by re-typing the error message from memory. Please don't do
that. It takes longer for you and makes those who can answer your
questions doubt your competence.

Now; If you attach your switch_nagios2.cfg file, I'm sure we can solve
the issue quite quickly. If you insist on copy-typing and keep getting
things wrong, you'll be on your own.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
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: Nagios3 switch.cfg

2013-05-16 Thread Joel Roberts
Attached is the .cfg file. The Define was done by the email client, as you 
can see in the .cfg file, define host is entered correctly, as is host-name.

The Nagios installation is on Debian Linux 6.0.7 Squeeze. It was installed 
from the packages included with the distro. The version of Nagios is 3.2.1

All editing of the .cfg files was done via vi in Linux console, no Windows 
involved.

Thank you,

Joel


-Original Message-
From: Andreas Ericsson [mailto:a...@op5.se] 
Sent: Thursday, May 16, 2013 1:53 AM
To: Nagios Users List
Cc: Joel Roberts
Subject: Re: [Nagios-users] FW: Nagios3 switch.cfg

On 2013-05-15 23:25, Joel Roberts wrote:
 Typo in the email post, I do have host_name in the .cfg file, not host-name. 
 Still returning error.


You also have Define instead of define. Copy-typing is pretty much frowned 
upon for reasons like that. While at it, you may want to make sure you're not 
using windowsy line-endings. I know some versions of Nagios complains about 
that, but since you haven't specified the exact version of Nagios you're using 
it's impossible to say if that affects you.

One thing strikes me as odd though; Nagios has never had an error message that 
goes Could not add property. Are you sure you're using Nagios and not some 
bastard version of it? Or perhaps you just manually copied it by re-typing the 
error message from memory. Please don't do that. It takes longer for you and 
makes those who can answer your questions doubt your competence.

Now; If you attach your switch_nagios2.cfg file, I'm sure we can solve the 
issue quite quickly. If you insist on copy-typing and keep getting things 
wrong, you'll be on your own.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and terror, I 
think we should give some serious thought to declaring war on peace.



switch_nagios2.cfg
Description: switch_nagios2.cfg
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d___
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] Pasiuve service check undependent of Host check

2013-05-16 Thread Felipe
Hello experts,

Although we have been running Nagios for a while, I couldn't manage to
solve this issue:
We would liek to have a Service Check (passive) independent from the host
check in order to send notifications

We get something liket his:
12:03:05 HOST down 1/2
12:03:50 PASIVE ALARM - it does not trigger notification because dependency
on HOST
12:04:05 HOST up

And we've lost an important alarm, basically a host reboot. This has
happened several times in our VMware environemtn (they reboot specially
fast).
I know that the answer can be simple, but I got blind looking at the
problem. Probably wrong question, so sorry if this was so trivial.

thanks in advance and regards,

kfelipe
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d___
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] check_openmanage on ESXi 5.0

2013-05-16 Thread CSantana
Hello,

I'm using nagios with the check_openmanage plugins to checks my ESX 
servers running on Dell PowerEdge R710.

The plugin working fine whith my ESX on version 4.1 but my problem is that 
I recently upgrade it on VMware ESXi 5.0.0 Update 2 and then 
check_openmanage plugin return this error: 
ERROR: (SNMP) OpenManage is not installed or is not working correctly 

I install OpenManage 7.0.0 on my ESX 5.0 (I follow this steps):

Steps  to install OpenManage.
1.  Downloaded OpenManage VIB from Dell 
http://www.dell.com/support/drivers/us/en/g_5/DriverDetails/DriverFileFormats?DriverId=N3R0HFileId=2773322235
2.  Uploaded VIB to ESX host and placed in /var/log/vmware/
3.  SSH to host as root
4.  ran command esxcli software vib install -d 
/var/log/vmware/OM-SrvAdmin-Dell-Web-6.5.0-542907.VIB-ESX50i_A02.zip
5.  After software install, I rebooted the host.

And nothing better... SNMP works and respond to standards OIDs, my check 
is set with the correct SNMP community name.

I have no idea of where can be the problem...


Thanks if you have a solution for my problem.--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d___
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: Nagios3 switch.cfg

2013-05-16 Thread Andreas Ericsson
On 05/16/2013 04:30 PM, Joel Roberts wrote:
 Attached is the .cfg file. The Define was done by the email client,
 as you can see in the .cfg file, define host is entered correctly, as
 is host-name.

 The Nagios installation is on Debian Linux 6.0.7 Squeeze. It was
 installed from the packages included with the distro. The version of
 Nagios is 3.2.1


Well, that particular config file should work just fine. Try upgrading
from sources and see if that works better. It passes with Nagios 4 at
least.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.

--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
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: Nagios3 switch.cfg

2013-05-16 Thread Joel Roberts
I think I found the issue, it looks like the templates.cfg.gz didn't unzip and 
put out all the default templates. After extracting it and slicing it up into 
the standard .cfg files, I'm able to add hosts now, will try switches next.

Thank you,

Joel 



-Original Message-
From: Andreas Ericsson [mailto:a...@op5.se] 
Sent: Thursday, May 16, 2013 1:11 PM
To: Nagios Users List
Cc: Joel Roberts
Subject: Re: [Nagios-users] FW: Nagios3 switch.cfg

On 05/16/2013 04:30 PM, Joel Roberts wrote:
 Attached is the .cfg file. The Define was done by the email client, 
 as you can see in the .cfg file, define host is entered correctly, as 
 is host-name.

 The Nagios installation is on Debian Linux 6.0.7 Squeeze. It was 
 installed from the packages included with the distro. The version of 
 Nagios is 3.2.1


Well, that particular config file should work just fine. Try upgrading from 
sources and see if that works better. It passes with Nagios 4 at least.

-- 
Andreas Ericsson   andreas.erics...@op5.se
OP5 AB www.op5.se
Tel: +46 8-230225  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and terror, I 
think we should give some serious thought to declaring war on peace.


--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
___
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_openmanage on ESXi 5.0

2013-05-16 Thread Werner, Robert
check_openmanage doesn't seem to work with ESXi 5.x .  Anyway,  there is 
another plugin is use for this purpose:
http://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php

it allows me to get the same checks I was getting through open manage from ESXi 
hosts and it works on several different vendors hardware.  The only 
difficulties I've had are that the CIM service stoped working the other day and 
I had to restart it.

You do need to have a valid user and password to connect to the ESXi server.

Check it out though.

--
Robert G. Werner
Oracle Apps Systems Administrator
rwer...@pomwonderful.com
559.521.5089

From: csant...@noz.fr [csant...@noz.fr]
Sent: Thursday, May 16, 2013 6:59 AM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] check_openmanage on ESXi 5.0

Hello,

I'm using nagios with the check_openmanage plugins to checks my ESX servers 
running on Dell PowerEdge R710.

The plugin working fine whith my ESX on version 4.1 but my problem is that I 
recently upgrade it on VMware ESXi 5.0.0 Update 2 and then check_openmanage 
plugin return this error:
ERROR: (SNMP) OpenManage is not installed or is not working correctly

I install OpenManage 7.0.0 on my ESX 5.0 (I follow this steps):

Steps  to install OpenManage.
1.Downloaded OpenManage VIB from Dell 
http://www.dell.com/support/drivers/us/en/g_5/DriverDetails/DriverFileFormats?DriverId=N3R0HFileId=2773322235
2.Uploaded VIB to ESX host and placed in /var/log/vmware/
3.SSH to host as root
4.ran command esxcli software vib install -d 
/var/log/vmware/OM-SrvAdmin-Dell-Web-6.5.0-542907.VIB-ESX50i_A02.zip
5.After software install, I rebooted the host.

And nothing better... SNMP works and respond to standards OIDs, my check is set 
with the correct SNMP community name.

I have no idea of where can be the problem...


Thanks if you have a solution for my problem.
--
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d___
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