[Nagios-users] Problems starting nagios
Nagios 3.0rc1 on RHEL3 I've RPM'd up this release - I have it working fine on one RHEL3 box, and various other rhel4 boxes without issue, with the same configuration on all boxes. One (and only one) other RHEL3 box is causing me problems - nagios is quietly refusing to start, citing problems with the config file, but not saying what they are. Any ideas on where to begin debugging? [EMAIL PROTECTED] nagios]# /etc/init.d/nagios restart Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration. [EMAIL PROTECTED] nagios]# nagios -v /etc/nagios/nagios.cfg Nagios 3.0rc1 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 12-17-2007 License: GPL Reading configuration data... *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [EMAIL PROTECTED] nagios]# tail -f /var/log/nagios/nagios.log - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Problems starting nagios
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Try with strace to get much logs; strace nagios -v /etc/nagios/nagios.cfg 21 | egrep '(access|open)' /tmp/strace.log strace nagios -v /etc/nagios/nagios.cfg 21 | egrep '()' /tmp/strace.log Alan Cooper wrote: Nagios 3.0rc1 on RHEL3 I've RPM'd up this release - I have it working fine on one RHEL3 box, and various other rhel4 boxes without issue, with the same configuration on all boxes. One (and only one) other RHEL3 box is causing me problems - nagios is quietly refusing to start, citing problems with the config file, but not saying what they are. Any ideas on where to begin debugging? [EMAIL PROTECTED] nagios]# /etc/init.d/nagios restart Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration. [EMAIL PROTECTED] nagios]# nagios -v /etc/nagios/nagios.cfg Nagios 3.0rc1 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 12-17-2007 License: GPL Reading configuration data... *** One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [EMAIL PROTECTED] nagios]# tail -f /var/log/nagios/nagios.log - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHaO8UdS4H/t4eKFARAsZbAKC6kUUVriYmfnlF6Sq+oBKcohO2MQCgjwmV TzNHY6JJQRJeHu66OUHaiEw= =+rXK -END PGP SIGNATURE- - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] monitor Emc clariion
I have an EMC CLARiiON AX150 I would like to monitor disk usage, fan, power supply, battery, temperature and uptime using Nagios’s check_snmp plug-in but when I snmpwalk my Emc it does not seem give any MIBS on disk usage, fan, power supply e.t.c Can anyone please enlighten me on this? What MIBS do I use the monitor the above?What MIBS indicate the disk usages, fan, power supply, battery, temperature and uptime? Here is my snmpwalk output SNMPv2-MIB::sysDescr.0 = STRING: AX150 - Flare 2.20.0.150.5.022 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.1981.1.1 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (398693054) 46 days, 3:28:50.54 SNMPv2-MIB::sysContact.0 = STRING: SNMPv2-MIB::sysName.0 = STRING: gsx-emc-2 SNMPv2-MIB::sysLocation.0 = STRING: SNMPv2-MIB::sysServices.0 = INTEGER: 72 IF-MIB::ifNumber.0 = INTEGER: 2 IF-MIB::ifIndex.1 = INTEGER: 1 IF-MIB::ifIndex.2 = INTEGER: 2 IF-MIB::ifDescr.1 = STRING: Internal loopback interface for 127.0.0 network IF-MIB::ifDescr.2 = STRING: Broadcom NetLink (TM) Gigabit Ethernet - Packet Scheduler Miniport IF-MIB::ifType.1 = INTEGER: softwareLoopback(24) IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6) IF-MIB::ifMtu.1 = INTEGER: 32768 IF-MIB::ifMtu.2 = INTEGER: 1500 IF-MIB::ifSpeed.1 = Gauge32: 1000 IF-MIB::ifSpeed.2 = Gauge32: 10 IF-MIB::ifPhysAddress.1 = STRING: IF-MIB::ifPhysAddress.2 = STRING: 0:60:16:b:71:eh IF-MIB::ifAdminStatus.1 = INTEGER: up(1) IF-MIB::ifAdminStatus.2 = INTEGER: up(1) IF-MIB::ifOperStatus.1 = INTEGER: dormant(5) IF-MIB::ifOperStatus.2 = INTEGER: dormant(5) IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00 IF-MIB::ifLastChange.2 = Timeticks: (3873272640) 448 days, 7:05:26.40 IF-MIB::ifInOctets.1 = Counter32: 0 IF-MIB::ifInOctets.2 = Counter32: 1713614552 IF-MIB::ifInUcastPkts.1 = Counter32: 0 IF-MIB::ifInUcastPkts.2 = Counter32: 12693640 IF-MIB::ifInNUcastPkts.1 = Counter32: 0 IF-MIB::ifInNUcastPkts.2 = Counter32: 2863274 IF-MIB::ifInDiscards.1 = Counter32: 0 IF-MIB::ifInDiscards.2 = Counter32: 0 IF-MIB::ifInErrors.1 = Counter32: 0 IF-MIB::ifInErrors.2 = Counter32: 0 IF-MIB::ifInUnknownProtos.1 = Counter32: 0 IF-MIB::ifInUnknownProtos.2 = Counter32: 0 IF-MIB::ifOutOctets.1 = Counter32: 0 IF-MIB::ifOutOctets.2 = Counter32: 1854654510 IF-MIB::ifOutUcastPkts.1 = Counter32: 0 IF-MIB::ifOutUcastPkts.2 = Counter32: 12824062 IF-MIB::ifOutNUcastPkts.1 = Counter32: 0 IF-MIB::ifOutNUcastPkts.2 = Counter32: 37809 IF-MIB::ifOutDiscards.1 = Counter32: 0 IF-MIB::ifOutDiscards.2 = Counter32: 0 IF-MIB::ifOutErrors.1 = Counter32: 0 IF-MIB::ifOutErrors.2 = Counter32: 0 IF-MIB::ifOutQLen.1 = Gauge32: 0 IF-MIB::ifOutQLen.2 = Gauge32: 0 IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero IP-MIB::ipForwarding.0 = INTEGER: forwarding(1) IP-MIB::ipDefaultTTL.0 = INTEGER: 128 IP-MIB::ipInReceives.0 = Counter32: 35511127 IP-MIB::ipInHdrErrors.0 = Counter32: 0 IP-MIB::ipInAddrErrors.0 = Counter32: 1696 IP-MIB::ipForwDatagrams.0 = Counter32: 0 IP-MIB::ipInUnknownProtos.0 = Counter32: 0 IP-MIB::ipInDiscards.0 = Counter32: 0 IP-MIB::ipInDelivers.0 = Counter32: 35509443 IP-MIB::ipOutRequests.0 = Counter32: 34129435 IP-MIB::ipOutDiscards.0 = Counter32: 0 IP-MIB::ipOutNoRoutes.0 = Counter32: 0 IP-MIB::ipReasmTimeout.0 = INTEGER: 60 seconds IP-MIB::ipReasmReqds.0 = Counter32: 0 IP-MIB::ipReasmOKs.0 = Counter32: 0 IP-MIB::ipReasmFails.0 = Counter32: 0 IP-MIB::ipFragOKs.0 = Counter32: 0 IP-MIB::ipFragFails.0 = Counter32: 0 IP-MIB::ipFragCreates.0 = Counter32: 0 ___ Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] monitor Emc clariion
Trevor Obba asks: I have an EMC CLARiiON AX150 I would like to monitor disk usage, fan, power supply, battery, temperature and uptime using Nagios's check_snmp plug-in but when I snmpwalk my Emc it does not seem give any MIBS on disk usage, fan, power supply e.t.c Can anyone please enlighten me on this? Based on the snmpwalk provided, you don't have the EMC (Data General, actually) MIB installed in your SNMP setup. You'll need to locate that someplace on EMC's web-site. There's not a whole lot in the MIB, either; it's mainly trap definitions. I've got one that I faked up so my SNMP management system (also running Nagios) can properly understand traps if anybody's interested. +--+---+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast |01760-2098 | | mailto:[EMAIL PROTECTED] +---+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +--+---+ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] could not be performed due to a fork() error.
Hi, Greg a écrit : Hi, I have installed and configured Nagios 3.0b7 to active check ~50 hosts, ~8 services / host. The usage of system CPU is growing to 35% in 12 hours, at 35% Nagios stop checking with this error in the log file : 'SSH' on host 'varan-01' could not be performed due to a fork() error. The check will be rescheduled. Still having the problem. I started nagios this morning at 10:18, 3 hours later nagios is using 1.6Go RAM ! 15160 nagios25 0 1702m 1.6g 2224 R 69 21.0 65:45.43 nagios 27665 nagios25 0 1702m 1.6g 508 S 24 20.9 0:00.12 nagios and fork for each check. What's the hell ? -- Greg - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] could not be performed due to a fork() error.
Greg a écrit : Still having the problem. I started nagios this morning at 10:18, 3 hours later nagios is using 1.6Go RAM ! 15160 nagios25 0 1702m 1.6g 2224 R 69 21.0 65:45.43 nagios 27665 nagios25 0 1702m 1.6g 508 S 24 20.9 0:00.12 nagios and fork for each check. What's the hell ? Found! I recompile Nagios 3 without embedded perl, disable embedded perl : epoc-01:/etc/nagios# grep embedded nagios.cfg enable_embedded_perl=0 use_embedded_perl_implicitly=0 and now Nagios use only 2Mo of memory, and stop growing ! -- Greg - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] could not be performed due to a fork() error.
On Dec 19, 2007, at 6:49 AM, Greg wrote: Hi, Greg a écrit : Hi, I have installed and configured Nagios 3.0b7 to active check ~50 hosts, ~8 services / host. The usage of system CPU is growing to 35% in 12 hours, at 35% Nagios stop checking with this error in the log file : How frequently are you checking these hosts/services? What type of plugins are you using to check them? 'SSH' on host 'varan-01' could not be performed due to a fork() error. The check will be rescheduled. I'd guess your box is running out of RAM/swap. Still having the problem. I started nagios this morning at 10:18, 3 hours later nagios is using 1.6Go RAM ! 15160 nagios25 0 1702m 1.6g 2224 R 69 21.0 65:45.43 nagios 27665 nagios25 0 1702m 1.6g 508 S 24 20.9 0:00.12 nagios Taking a stab at it, do you have the embedded perl interpreter compiled in? There are known memory leak issues with it. Search for previous posts from Stanley Hopcroft for more information. and fork for each check. This would be normal. What's the hell ? Smells like a memory leak. You shouldn't act too surprised when using beta, non-production quality software. Problems are to be expected. -- Marc - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Linux Software Raid Plugin Recommendation?
We use SNMP to monitor hardware RAID arrays (of course, they must be IP based). If you're using certain 3ware controllers, you can also use smartd to monitor the member devices (see man smartctl). Or, if you're using mdadm (software RAID), set the following line in /etc/mdadm.conf PROGRAM /usr/local/nagios/libexec/eventhandlers/md_monitor which alerts Nagios that your RAID array is degraded (see man mdadm). The above service will have to be configured as a passive check (can be set up to be a passive/active check using freshness_threshold and check_freshness). What kind of RAID do you want to monitor? e.g. software or hardware? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian A. Seklecki Sent: 17 December 2007 15:39 To: Jake Solid Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Linux Software Raid Plugin Recommendation? On Mon, 2007-12-17 at 10:35 -0500, Jake Solid wrote: need to use a plugin that will check the status of the raid. Anyone RAID? LVM2, Soft-Raid, or Hardware? ~BAS - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace ___ 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 - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Monitoring using MIBs
Here's an example on using snmpwalk: snmpwalk -Of -c public -v1 -m IFT-SNMP-MIB 172.16.140.35 private where the MIB is stored in /usr/share/snmp/mibs/. The MIB can also be specified in the check_snmp plugin, which obtains it from the specified path. Examine the MIB first and browse through the output of snmpwalk to obtain OID of interest. Hope this helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hugo Rebello Sent: 18 December 2007 11:20 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Monitoring using MIBs Can anyone help me ? I'd like to monitor a specific proxy service (Blue Coat) and I don't know if Nagios works with different mibs. Anybody knows a good tip about that ? Thank you. Cheers, Hugo - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace ___ 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 - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Linux Software Raid Plugin Recommendation?
On Dec 19, 2007, at 8:02 AM, Miah, W (Wadud) wrote: We use SNMP to monitor hardware RAID arrays (of course, they must be IP based). If you're using certain 3ware controllers, you can also use smartd to monitor the member devices (see man smartctl). Or, if you're using mdadm (software RAID), set the following line in /etc/mdadm.conf PROGRAM /usr/local/nagios/libexec/eventhandlers/md_monitor which alerts Nagios that your RAID array is degraded (see man mdadm). The above service will have to be configured as a passive check (can be set up to be a passive/active check using freshness_threshold and check_freshness). What kind of RAID do you want to monitor? e.g. software or hardware? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian A. Seklecki Sent: 17 December 2007 15:39 To: Jake Solid Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Linux Software Raid Plugin Recommendation? On Mon, 2007-12-17 at 10:35 -0500, Jake Solid wrote: need to use a plugin that will check the status of the raid. Anyone RAID? LVM2, Soft-Raid, or Hardware? Anything that has a command line utility that gives you text output displaying the status of your array can be scripted to create your own plug in. You just may need to know a little sh/perl/python to get it done. What utility do you use to check the status of your array now? Can you give me some sample output? Perhaps I have the time to script something for you today. - Eric F Crist Secure Computing Networks - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Linux Software Raid Plugin Recommendation?
There are several plugins for this this already on nagios exchange. I would take a look there as well. Some of them are: http://www.nagiosexchange.org/Linux.55.0.html?tx_netnagext_pi1[p_view]=639 Python plugin to check the status of a software based RAID device. patched version, So it will work on both older (fedora core 1, 2) and newer (fc3, fc4, fc5, centos 4) hosts. (patch from rouilj, 03.02.2006) test ok on Debian woody, and http://www.nagiosexchange.org/Check_Plugins.21.0.html?tx_netnagext_pi1[p_view]=880 Linux Software Raid Plugin for 32-bit and 64-bit systems From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Eric F Crist [EMAIL PROTECTED] Sent: Wednesday, December 19, 2007 9:12 AM To: Miah, W (Wadud) Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Linux Software Raid Plugin Recommendation? On Dec 19, 2007, at 8:02 AM, Miah, W (Wadud) wrote: We use SNMP to monitor hardware RAID arrays (of course, they must be IP based). If you're using certain 3ware controllers, you can also use smartd to monitor the member devices (see man smartctl). Or, if you're using mdadm (software RAID), set the following line in /etc/mdadm.conf PROGRAM /usr/local/nagios/libexec/eventhandlers/md_monitor which alerts Nagios that your RAID array is degraded (see man mdadm). The above service will have to be configured as a passive check (can be set up to be a passive/active check using freshness_threshold and check_freshness). What kind of RAID do you want to monitor? e.g. software or hardware? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian A. Seklecki Sent: 17 December 2007 15:39 To: Jake Solid Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Linux Software Raid Plugin Recommendation? On Mon, 2007-12-17 at 10:35 -0500, Jake Solid wrote: need to use a plugin that will check the status of the raid. Anyone RAID? LVM2, Soft-Raid, or Hardware? Anything that has a command line utility that gives you text output displaying the status of your array can be scripted to create your own plug in. You just may need to know a little sh/perl/python to get it done. What utility do you use to check the status of your array now? Can you give me some sample output? Perhaps I have the time to script something for you today. - Eric F Crist Secure Computing Networks - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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 - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] newbie questions
Hello, i have installed nagios yesterday and i have a check_ping on 4 servers, a check_http on an apache server and a check_mysql on another one but i have a lot of websphere servers and i would like to add them to my nagios platform, they answer on the 9080, 9043 and 9060 ports, is there a plugin for websphere?, or do i have to modify only the commands.cfg for websphere? i also have another question, if i want to check a socket on iseries (as400), is it ok to use the check_tcp plugin?, has anyone use it before? -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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_NRPE plugin issue after 3.0b7 upgrade.
I've migrated from 1.0 to 3.0b7 recently and I'm running into a couple of issues, the most pressing of which is a problem with the check_nrpe plugin's return of data. This is my command definition: define command { command_namecheck_nrpe command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Copied from my old config. This is the service in question: ## Check Linux /db Partition on DB servers define service { use generic-service hostgroup_name generic-hostgroup service_description /db Partition contact_groups GRP-Systems,GRP-Pagers check_period24x7 notification_interval 15 notification_optionsw,u,c,r notification_period 24x7 check_command check_nrpe!check_disk2 max_check_attempts 3 normal_check_interval 15 retry_check_interval1 } This is the relevant part of the nrpe.cfg located on one of the affected hosts: command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 15 -p /dev/sda10 Now this command works fine, and outputs this in Nagios: /db Partition OK 12-19-2007 09:37:54 4d 11h 53m 8s 1/3 DISK OK - free space: /db 3653 MB (4% inode=99%): So, my problem here is that Nagios clearly sees that there is 4% of disk space free, and yet still thinks the service is in an OK state. I need it to recognize the Warning/Critical levels on the new system like it did on the old system. I'm using these packages on Centos 5.1: nagios-3.0b7.tar.gz nagios-plugins-1.4.7.tar.gz Any help/suggestions would be greatly appreciated Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ 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_NRPE plugin issue after 3.0b7 upgrade.
-Original Message- From: [EMAIL PROTECTED] [mailto:nagios-users- [EMAIL PROTECTED] On Behalf Of Lorand S. D'Caltan Sent: Wednesday, December 19, 2007 8:51 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Check_NRPE plugin issue after 3.0b7 upgrade. I've migrated from 1.0 to 3.0b7 recently and I'm running into a couple of issues, the most pressing of which is a problem with the check_nrpe plugin's return of data. This is the relevant part of the nrpe.cfg located on one of the affected hosts: command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 15 -p /dev/sda10 Now this command works fine, and outputs this in Nagios: /db Partition OK 12-19-2007 09:37:54 4d 11h 53m 8s 1/3 DISK OK - free space: /db 3653 MB (4% inode=99%): So, my problem here is that Nagios clearly sees that there is 4% of disk space free, and yet still thinks the service is in an OK state. I need it You're only telling check_disk to warn if there are less than 20 KB free, critical if less than 15 KB. If you mean to be talking about percentages, you need to include the '%' sign. See --help for specifics but here is the example -- Examples: check_disk -w 10% -c 5% -p /tmp -p /var -C -w 10 -c 5 -p / Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB -- Marc - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Setting UP Host Groups
Hello All, I have been trying to figure out to setup host groups for a long time now and cannot figure it out at all. I have a both switches and servers that I wish to organize in how they are displayed by Nagios. It would be nice to have groups defined where all DSL routers are categorized under the DSL routers group and all Frame Relay routers are categorized under Frame Relay group. I recently started monitoring servers and I would like to have servers categorized under the servers group. I am not sure if I have my configuration files set up correctly. As an example I just created two configuration file in my server folder. I do not understand how to fix this error message error: Host group 'windows-servers' has already been definedError: Could not register host group (config file '/usr/local/nagios/etc/servers/inbp.cfg', starting on line 49) I have over 42 cfg files in my routers folder and will have 42 server config file in my server container. Also, It would be nice if the Status Map did not look like one huge circle, everything is piled up one on top of another.impossible to read. Thanks Michael _ Share life as it happens with the new Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ 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_NRPE plugin issue after 3.0b7 upgrade.
Nagios isn't seeing anything - it's the check_disk plugin that's returning the OK result. check_disk --help shows that -w and -c are used to show free space in units when a percent sign doesn't follow the number: check_disk --help Options: -w, --warning=INTEGER Exit with WARNING status if less than INTEGER units of disk are free -w, --warning=PERCENT% Exit with WARNING status if less than PERCENT of disk space is free -c, --critical=INTEGER Exit with CRITICAL status if less than INTEGER units of disk are free -c, --critical=PERCENT% Exit with CRITCAL status if less than PERCENT of disk space is free In your case, free space is around 3600 MB, far more than the 15/20 required to trigger a critical/warning status. So, the command you really want is probably: command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20% -c 15% -p /dev/sda10 - Brock Brock Kuhse EC Group 4555 E. Broadway Blvd, Tucson, AZ 85711 (520) 622-1173 [EMAIL PROTECTED] From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Lorand S. D'Caltan Sent: Wednesday, December 19, 2007 7:51 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Check_NRPE plugin issue after 3.0b7 upgrade. I've migrated from 1.0 to 3.0b7 recently and I'm running into a couple of issues, the most pressing of which is a problem with the check_nrpe plugin's return of data. This is my command definition: define command { command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Copied from my old config. This is the service in question: ## Check Linux /db Partition on DB servers define service { use generic-service hostgroup_name generic-hostgroup service_description /db Partition contact_groups GRP-Systems,GRP-Pagers check_period 24x7 notification_interval 15 notification_options w,u,c,r notification_period 24x7 check_command check_nrpe!check_disk2 max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 } This is the relevant part of the nrpe.cfg located on one of the affected hosts: command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 15 -p /dev/sda10 Now this command works fine, and outputs this in Nagios: /db Partition OK 12-19-2007 09:37:54 4d 11h 53m 8s 1/3 DISK OK - free space: /db 3653 MB (4% inode=99%): So, my problem here is that Nagios clearly sees that there is 4% of disk space free, and yet still thinks the service is in an OK state. I need it to recognize the Warning/Critical levels on the new system like it did on the old system. I'm using these packages on Centos 5.1: nagios-3.0b7.tar.gz nagios-plugins-1.4.7.tar.gz Any help/suggestions would be greatly appreciated Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ 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] Monitoring using MIBs
One more question. I have the mib information below, however I don't know how can I use it on the Nagios check. I have tried this command, but I've just receive SNMP Warning message. ./check_snmp -H 192.168.1.12 -o .iso.org.dod.internet.private.enterprises.blueCoat.blueCoatMgmt.deviceUsageMIB.deviceUsageMIBObjects.deviceUsageTable.deviceUsageEntry.deviceUsageStatus.1 -C public SNMP WARNING - ok(1) ** usage.mib The usage.mib file sends a notification when the percentage of available space that is used exceeds a threshold specified by the deviceUsageHigh variable. Resources that can be monitored include: Disk CPU The usage.mib trap variables and their values are described in the table below. Trap Variable Description Value deviceUsageName The textual name of the resource; for example, CPU.. --- deviceUsagePercent Percentage of the resource that is in use --- deviceUsageStatus Comparison of the deviceUsagePercent value with the deviceUsageHigh variable. ok(1) high(2) The deviceUsageHigh variable can specify values for each resource, using an SNMP set operation. A notification is sent when the value is reached. For more information on the deviceUsageHigh variable, refer to the usage.mib file. The error messages produced by the deviceUsageHigh variable are described in the table below. Message Status ok (1) Normal high (2) Warning *** Thank you. Cheers, Miah, W (Wadud) escreveu: Here's an example on using snmpwalk: snmpwalk -Of -c public -v1 -m IFT-SNMP-MIB 172.16.140.35 private where the MIB is stored in /usr/share/snmp/mibs/. The MIB can also be specified in the check_snmp plugin, which obtains it from the specified path. Examine the MIB first and browse through the output of snmpwalk to obtain OID of interest. Hope this helps. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Hugo Rebello Sent: 18 December 2007 11:20 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Monitoring using MIBs Can anyone help me ? I'd like to monitor a specific proxy service (Blue Coat) and I don't know if Nagios works with different mibs. Anybody knows a good tip about that ? Thank you. Cheers, Hugo - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace ___ 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 - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ 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_nt - Output in MB instead of Bits for VRAM usage of a single Process.
I'm using this script: # #!/bin/bash RESULT=`./check_nt -H adr01 -p 1248 -v COUNTER -l \Process(EvDRServer)\Virtual Bytes -w 1500 -c 2000` CALCULATED=`echo $RESULT | awk '{print $1/8/100 MB}'` echo $CALCULATED exit 0 # To parse the output of the check_nt COUNTER command that's grabbing the virtual memory usage for a particular process on a particular server. The script works great from the command line: # ./check_adr01_vmem 204.457 MB However, when I go into the service detail for the server through Nagios web, I get this: ADR-Server-VM-Usage OK 12-18-2007 15:21:16 0d 0h 0m 29s 1/3 0 MB Am I missing something that would cause Nagios to fail to grab the output from the script correctly? Running the check_nt -H adr01 -p 1248 -v COUNTER -l \Process(EvDRServer)\Virtual Bytes -w 1500 -c 2000 command results in an output of Virtual Memory Usage: 141369344 in Nagios, which isn't particularaly useful, so I got some assistance writing the script above. If there's a better/easier solution to parse the outlput from Bits to MB I would be more than happy to use it instead of the script. Any help would be greatly appreciated. Thank you Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ 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] Fw: Question about external notifications.
50% of Nagios Notification Service (notify-host-by-email / notify-service-by-email) is active...I mean 50% because I'm able to delivery notifications just to users accounts within my server (allocating Nagios), nevertheless external user accounts can not be reached (external email domains). Do I have to work on the MTA (EXIM or SENDMAIL in my case) in order to get the 50% remaining and deliver mail to remote domains ? Thanks in advanced for your support. Saludos desde El Salvador Nene - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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: Question about external notifications.
Nene wrote: 50% of Nagios Notification Service (notify-host-by-email / notify-service-by-email) is active...I mean 50% because I'm able to delivery notifications just to users accounts within my server (allocating Nagios), nevertheless external user accounts can not be reached (external email domains). Do I have to work on the MTA (EXIM or SENDMAIL in my case) in order to get the 50% remaining and deliver mail to remote domains ? Yes. -- Andreas Ericsson [EMAIL PROTECTED] OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Multiple Servicegroups
Hi All! We are running version 2.5. We host several companies each with a product environment (PE) and a test environment (TE). We would like to have a service group for the company which contrains the services in the PE and the TE. We also have cases where there are three levels: customer, project, PE/TE. As far as I can tell, there is no way to create hierarchical service groups where we define one servicegroup and use it in another group like one can do with service templates. The only was I see of doing what I would like is to specify the list servicegroups within the service definition. For example, service1 is in the PE, so it would have an entry like servicegroups customer_pe, customer_te. Is there any other way of doing this? Any info is appreaciated. Regards, Jim Mohr - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Starting activity check on one host, but referencing another.
Hi All! We have a couple of NetApp storage applicance that we monitor from the Nagios server. I would like to define service for several of the filesystems, but instead of being services of the Nagios server I would like them to be services of the host that mounts them. One alternative would obviously be to simply create the service and set the host to the other machine and either user an active check on the remote machine or a passive check that is started on the Nagios server and sets the status accordingly. My boss does not want to install NRPE, so that leaves the passive service. We have about 20 filesystems to monitor and my boss does not like the idea of 20 services attached to the nagios sever like that. My suggestion one a single active service on the nagios machine that checks all of the Netapp filesystems and the sets the status on the respective passive service on the remote host. Can anyone thing of any other alternatives? Any info is appreaciated. BTW, we have nagios 2.5. Regards, Jim Mohr - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Announce: Check All Automatic Windows Services Plugin
Hi, I have just released a plugin for Windows to check all automatic services. I got this idea from NagiosExchange in fact and thought it was a good one, except that it only ran with NC_Net which I have no intention of using, and was a bit of a nagios server side hack against remote servers, the kind of thing I do a lot but wouldn't release since they are inefficient and cheap (I may rewrite some of those things in fact). I've written this plugin to hopefully be better than the other one in every way: 1. It will work with any Nagios Remote Execution Method (I like NSClient++ for it's simplicity of automated deployment) 2. Native Windows Execution - Written as a WSF (VBS + XML) - will work on any modern Windows Operating System 3. Efficient - Only 1 Execution Call to check everything 4. Flexible - Accepts service exclusions, windows and unix options and shortcuts, can run against remote servers as easily as local server 5. Simple, you can just run it if you don't have fancy needs. 6. Written to follow Nagios coding guidelines quite closely as always, with debugging verbosity, timeout etc. I'm not sure how good an idea you guys out there think this is, but I thought it was quite useful as it's only 1 check in your nagios interface but will alert you to any number of automatic startup services having died or stopped for any reason, and gives a good catch-all net for things that should be but aren't running, even if you otherwise haven't thought of it or don't normally monitor it. Extra tripwires are good I think... Hope some of your find it useful. Feedback, feature requests, bugs, discussion on coding style or general questions about this are welcome at this address. As always, I'm always eager to have feedback, I've written it as well as I could before releasing it (which is why it's already at version 0.8) but am always open to making improvements. Thanks for reading. -h -- Hari Sekhon - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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_perc.pl
Good Afternoon I am having an issue with this plugin. Maybe one of you can help. I am receiving a null return when nagios runs this command, however when running on command line, it returns just fine. Here is my command definition and define service: # 'check_perc.pl' command definition define command{ command_name check_perc command_line $USER1$/check_perc.pl -H $HOSTADDRESS$ -C $ARG1$ -D $ARG2$ -T $ARG3$ } define service{ use local-service host_name HostNameHere service_descriptionCheck Perc check_command check_perc!public!phys!am } As I said, I have been successful in running this at the command line both as root and as nagiosuser. Any help would be appreciated. Thanks, Robert - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___ 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_perc.pl
Hi Karl, Actually, I have run it as nagios (as well as root) also and I am getting the correct responses at the command line. I often over look that sort of thing, so thanks for looking out for me. To be honest, I was running it as root for some time and then starting reading posts about running it as nagios. Thanks for getting back to me so quickly, Robert -Original Message- From: Karl Katzke [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 19, 2007 4:17 PM To: nagios-users@lists.sourceforge.net; Robert Ferguson Subject: Re: [Nagios-users] check_perc.pl Robert - Let me guess, you're running it as root... ? Remember that the Nagios user is very unprivileged, and if you're having a problem with it running things, you may need to wrap the command so that it can run as a privileged user. -Karl --- Karl Katzke Systems Analyst II TAMU - RGS Robert Ferguson [EMAIL PROTECTED] 12/19/2007 3:09 PM Good Afternoon I am having an issue with this plugin. Maybe one of you can help. I am receiving a null return when nagios runs this command, however when running on command line, it returns just fine. Here is my command definition and define service: # 'check_perc.pl' command definition define command{ command_name check_perc command_line $USER1$/check_perc.pl -H $HOSTADDRESS$ -C $ARG1$ -D $ARG2$ -T $ARG3$ } define service{ use local-service host_name HostNameHere service_descriptionCheck Perc check_command check_perc!public!phys!am } As I said, I have been successful in running this at the command line both as root and as nagiosuser. Any help would be appreciated. Thanks, Robert - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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] Linux Software Raid Plugin Recommendation?
There are several plugins for this this already on nagios exchange. I would take a look there as well. http://www.nagiosexchange.org/RAID_Controller.58.0.html?tx_netnagext_pi 1[p_view]=224 This is the one we use - it supports several hardware RAID, plus software raid on linux, solaris and AIX. However, I'm a bit biased in my recommendation because I wrote it. Steve - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ 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