[Nagios-users] Nagios: External directory permission issue.

2009-05-01 Thread Jimmyboy
Hi, After installing Nagios 3.0.6, I login to the web interface using http://localhost/nagios. When I attempt to restart the Nagios service using 'Process Info', the error thrown is as seen below. =-=-= Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The perm

Re: [Nagios-users] Check Windows Updates question

2009-05-01 Thread Jon Angliss
On Fri, 01 May 2009 15:24:39 +0200, Albrecht Dreß wrote: >Hi, > >I try to use the plugin > via >nrpe as to detect pending Windows updates. However, running the >plug-in says > > >r...@my-server:/opt/nagios/libexec# ./check_nr

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread jmoseley
Yep, all the important stuff was commented out. James Moseley Bo Gusman wrote: Your file is first. I did 0 configuration on it - so much for trusting things right out of the box. :) Bo 41c41 < com2sec notConfigUser default OcwyronAs4 --- > > com2sec notConfigUser de

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread jmoseley
You're welcome. I'd be interested in the diff output... James Moseley Bo Gusman wrote: Wow, that changed things big time. Using snmpwalk locally this time resulted in 221 lines of output along the lines of SNMPv2-SMI::enterprises.3582.1.1.14.0 = INTEGER: -1 check_sasraid_megaraid say

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread Bo Gusman
Wow, that changed things big time. Using snmpwalk locally this time resulted in 221 lines of output along the lines of SNMPv2-SMI::enterprises.3582.1.1.14.0 = INTEGER: -1 check_sasraid_megaraid says Megaraid OK - 2 logical disks, 6 physical drives, 1 controllers found I think I'll com

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread jmoseley
To be honest, I'm stumped. Have you disabled SELinux to see if that does the trick? At this point in time it's a problem with SNMP, the Dell Perc agent, and/or the controller. You might open a ticket with Dell to see if there are any known compatibility issues with the software and your specific

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread jmoseley
Attached is a sample snmpd.conf config. Just change COMMUNITY-STRING and the 192.168.1.0/24 settings to what works for you. If you are still having problems, then it's most likely your RAID card is not supported by the version of Perc agent you downloaded. (See attached file: snmpd.conf) James

[Nagios-users] Ndoutils only capturing host data, there is no service information

2009-05-01 Thread shadih rahman
All, I recently discovered that my nagios setup is only storing in nagios_hostchecks table. In my ndomod.cfg file I have selected data_processing_options=67108863, which suppose to process all data. Little overview about my setup I have two mahcine running nagios active failover settings. O

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread Bo Gusman
Well, krikey! SELinux is disabled so that isn't in play. I will get in touch with Dell, although their linux-poweredge mailing list (where I also asked the same question as here) has returned null. I appreciate all of your help with this, James. Karma points for you! Bo jmose...@corp.xana

[Nagios-users] check_mssql_health Plugin

2009-05-01 Thread Sean Carolan
We're trying to use the check_mssql_plugin from Gerhard's site here: http://www.consol.de/opensource/nagios/check-mssql-health It seems not to work on 64 bit systems. When we run it on our 64 bit nagios host we get this error: [r...@monitorbox libexec]# ./check_mssql_health --hostname=server.ex

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread Bo Gusman
Yep, percagent is clearly running per ps -ef. snmpwalk -c public -v 2c localhost .1.3.6.1.4.1.3582 returns SNMPv2-SMI::enterprises.3582 = No more variables left in this MIB View (It is past the end of the MIB tree) jmose...@corp.xanadoo.com wrote: > First, have you verified that the p

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread jmoseley
First, have you verified that the perc agent is actually running on the remote host? ps -ef | grep perc Furthermore, you're certainly not going to be able to connect to your remote server via SNMP by using the default percsnmpd.conf file. If you are able to connect to your host using the origina

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread Bo Gusman
Well, if I use the default snmpd.conf, I can connect to the host using snmpwalk locally and from the nagios host, but I can't see anything related to the perc array. It is this configuration that causes the perl substr error when I run check_sasraid_megaraid. Renaming percsnmpd.conf -> snmpd.co

Re: [Nagios-users] SNMP Checking - Alert if a single value is detected

2009-05-01 Thread Jason Frisvold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Patrick Morris wrote: > Wrapper scripts are pretty handy for stuff like this, but there's not > enough detail in the problem description to be much more specific than > that. I thought about writing a wrapper script, just wanted to make sure there was

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread Bo Gusman
Progress, of sorts. I installed nagios on another CentOS box to ensure that you and I are working from the same essential config. Had exactly the same perl errors as before. Doing some debugging of the script, it occurred to me that the first error substr outside of string at ./check_s

Re: [Nagios-users] Please remove my email from this posting

2009-05-01 Thread Marc Powell
Only you can do that. Follow the instructions you received in the Welcome e-mail when you signed up or by going to the listinfo link that's at the bottom of every message. Look for the " Nagios-users Subscribers " section. -- Marc On May 1, 2009, at 10:09 AM, Dunn, Larry wrote: > Please r

[Nagios-users] Please remove my email from this posting

2009-05-01 Thread Dunn, Larry
Please remove this email address from future email deliveries. Thank you, Larry Dunn -- Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread jmoseley
Doesn't matter if you're not using the plugin within Nagios yet. What matters is if you have all the perl utilities installed. If you haven't already, install the following: yum install nagios-plugins Then rerun the script. I have a CentOS 5.2 box with Perl, Nagios, and Nagios-plugins installe

Re: [Nagios-users] experience with check_sasraid_megaraid for Dell PERC 4?

2009-05-01 Thread Bo Gusman
Host OS is CentOS 5.x (originally 5.2 with ongoing updates applied via yum.) Perl is default install v 5.8.8. On the Nagios box (actually a VM) I'm using Groundwork Community Edition 5.3 VM as provided by groundwork. I've not actually connected the plugin to anything Nagios yet, I'm just runni

[Nagios-users] Check Windows Updates question

2009-05-01 Thread Albrecht Dreß
Hi, I try to use the plugin via nrpe as to detect pending Windows updates. However, running the plug-in says r...@my-server:/opt/nagios/libexec# ./check_nrpe -H winbox -c check_win_updates ; echo $? Critical: 10 Updates

Re: [Nagios-users] [nagios] Trigger alert via email

2009-05-01 Thread Kevin Keane
Nagios itself doesn't receive emails, but if you have control over the mail server in some form, you can make it work. For instance, if you have sendmail (or anything that can invoke procmail), you can use that to call a script, and the script in turn can send an external command to Nagios. Ed