Re: [Nagios-users] Nagios 2.1 on Debian Sarge ?
On 3/29/06, Matthew Joyce [EMAIL PROTECTED] wrote: Is anyone able to run Nagios (mysql) v2.1 on Debain Sarge ? The version in Apt is only 1.3. Nagios 2.0 is in the unstable release already as the nagios2 package. I expect that the maintainer will do an upgrade to 2.1 fairly soon. You have to tweak the Debian control and compat level somewhat to backport the package to Sarge but it wasn't particularly hard. -- Huaqing Zheng Beer and Code Wrangler at Large --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] NRPE: Unable to read output Problems
Hi all, I installed a new script in a remote server but on trying to invoke it from my Nagios host with the command : ./check_nrpesun -H 192.168.5.10 -p 5666 -t 5 -c check_wlheap I get a NRPE: Unable to read output message. Now, before anybody suggests that I check the file and directory permissions, I have already done that and confirmed and reconfirmed that the script has the proper permissions. :) I have a number of scripts running on this remote server and all of them run fine except for this one. All have the same permissions and are configured Ok in the nrpe.cfg. Is there anything else I should check for ? TIA, sg --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] Suse rpm's
Hi All, Has anyone got any recomendations for 2.x Suse 9 RPM's? Thanks Greg --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ 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] NRPE: Unable to read output returns ok?
[ Fedora Core 4 ] [ Nagios 2.0 ] [ NRPE 2.4 ] Hello list I am getting some wrong information when checking some of my switches, as you can see here (from the web interface): SW-14 ALIVECRITICAL30-03-2006 11:16:52 0d 0h 22m 10s 3/3 CRITICAL - Host Unreachable (y.y.y.y) SW-14 PORT 24OK 30-03-2006 11:17:03 0d 19h 43m 48s 1/3 NRPE: Unable to read output My question is: is it correct that NRPE returns OK when unable to read the output? In my opinion, it should return a critical alert or at least an unknown state. That's not the only example; in some cases I get OK for NRPE: Unable to read output even when the switch is up. That's my configuration for the involved services/hosts/checks/nrpe. Understand that I can't check the host directly as that switch is behind a firewall - so that I use the nrpe_master host to query them. define host { use default_host check_command check_tcp!5666 host_name nrpe_master alias NRPE MASTER address x.x.x.x } define service { use default_service host_name nrpe_master service_description SW-14 ALIVE check_command check_nrpe!check-host-alive!y.y.y.y } define service { use default_service host_name nrpe_master service_description SW-14 PORT 24 check_command check_nrpe!check_snmp_int!y.y.y.y!161!public!'Port 24 on Unit 1' } define command { command_namecheck_nrpe command_line$USER1$/check_nrpe -t 30 -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ $ARG10$ $ARG11$ } # NRPE commands command[check-host-alive]=/usr/local/nagios/libexec/check_ping -H $ARG1$ -w 3000.0,80% -c 5000.0,100% -p 1 -t 30 command[check_snmp_int]=/usr/local/nagios/libexec/check_snmp_int.pl -t 30 -H $ARG1$ -p $ARG2$ -C $ARG3$ -n '$ARG4$' -- Rafael Costa [EMAIL PROTECTED] Curitiba - ParanĂ¡ - Brasil --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ 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 with nrpe 2.0 and 2.4 on x86_64
Hello, On 3/30/2006 7:08 PM, Werner Flamme wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi all, for about 2 weeks we have problems with 2 monitored servers. Both are running SuSE Linux Enterprise Server 9 x86_64 on AMD Opteron, both have following components installed: - - NRPE Version: 2.3 Last Modified: 01-23-2006 (I downloaded 2.4 ;-) - - nagios-plugins 1.4.2 - - nagios-plugins-sap-ccms-0.7.2-45 - - xinetd-2.3.13-39.11 Which gcc version did you use? Are these _all_ your SLES/x86 machines, do you have similar software on 32-bit-systems, or other software (i.e. older/newer versions, different gcc versions, different libraries...) on similar hardware? Each time the monitoring server sends a nrpe trap, I find kernel: nrpe[8893]: segfault at 0030 rip 002a9568a911 rsp 007fbfffb800 error 4 in /var/log/messages. So I assume it's nrpe crashing. Xinetd complains about xinetd[12263]: Reading included configuration file: /etc/xinetd.d/nrpe [file=/etc/xinetd.d/nrpe] [line=15] I don't see a complaint. Anyway, I'd recommend to try compiling nrpe on the x64 server without optimization, i.e. using -O0 (Oh-zero). In another project there are reports that gcc 4.x on 64-bit-architectures may generate faulty code. in /var/log/messages. You see /etc/xinetd.d/nrpe here: - ---snip--- # default: on # description: NRPE (Nagios Remote Plugin Executor) # only_from: 141.65.129.80 service nrpe { socket_type = stream protocol= tcp wait= no user= nagios group = nagios disable = no server = /usr/bin/nrpe server_args = -n -c /etc/sapmon/nrpe.cfg -i flags = REUSE log_on_failure += USERID } - ---pins--- As you see, line 15 contains the closing bracket. It does not make any differences whether the order of the lines are changed or if I use nobody/nogroup instead - it's an error on line 15. When I add the only_from directive, it is still line 15. When I enter a faulty parameter (disabled instead of disable) I see the corresponding line number in the error text. Bad enough, but I'd ignore this for the time being. And to add to my confusion, the same configuration runs fine on another machine with i686 architecture. Just the instance names of some SAP checks are changed... Best of all is that the monitoring server shows all services as green, and with the correct output. I am just a bit concerned since one day we had a /var/log/messages of 35 Gig size :-( Fun... :-| What did I do till now? Well, first I tried the rpms delivered with SLES9. Then I removed them and compiled nrpe 2.0 (and later nrpe 2.4) on the machines. File a bug report at SuSE / Novell and let theyr support crew work on the problem. After all, that's one of the differences between SLES and SL without ES. No changes - the error appears, nagios shows good results. Then I commented out all the commands in /etc/sapmon/nrpe.cfg. The error is still there, now nagios shows (correctly) that the service is not defined. Can someone please put me on the way to get rid of those error lines? Google and alltheweb.com only told me that there was an issue with nrpe segfaulting when the config was faulty - but this was 3 years ago... BTW, I did not find something like nrpe -v -c /etc/sapmon/nrpe.cfg or something similar to have nrpe check its config file. Is it planned to support this check in the future? I don't think this is a configuration issue. Arno Sigh Werner - -- Werner Flamme, Abt. WKDV UFZ Umweltforschungszentrum Leipzig-Halle GmbH, Permoserstr. 15 - 04318 Leipzig Tel.: (0341) 235-3921 - Fax (0341) 235-453921 http://www.ufz.de - eMail: [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFELBCnk33Krq8b42MRAg8WAJ9QOW+ZmnEpYvpPNqyLaHgMlMFt4gCZAcTJ go694Dw6RzF0OrPZ+qyvL0s= =qWPr -END PGP SIGNATURE- --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ 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 -- IT-Service Lehmann[EMAIL PROTECTED] Arno Lehmann http://www.its-lehmann.de --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications
[Nagios-users] Error when starting nagios
When I start nagios I get the following error but it seem to start fine. Starting network monitor: nagios This account is currently not available. PID TTY TIME CMD 2953? 00:00:00 nagios Can any one tell me what this mean? Like I said, is working fine but I get this error when I restart or start the service. Thank you, Sameka Prather Office of Internet Services [EMAIL PROTECTED] 301-713-1384 x 109 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ 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] Error when starting nagios
On Thu, 2006-03-30 at 15:35 -0500, Sameka Prather wrote: When I start nagios I get the following error but it seem to start fine. Starting network monitor: nagios This account is currently not available. PID TTY TIME CMD 2953? 00:00:00 nagios Can any one tell me what this mean? Like I said, is working fine but I get this error when I restart or start the service. Add -x to your #! line and look at where it's happening in the script. signature.asc Description: This is a digitally signed message part
RE: [Nagios-users] nagios-to-visio?
Try looking at nagvis it doesn't automate it but very simple to creat custom views www.nagvis.org Rusty -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Haber Sent: Thursday, March 30, 2006 5:35 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] nagios-to-visio? Hi, nagios' status maps are becoming unreadable quite quickly even for moderatly large networks. Additionally, my suits want our network team to document network structure graphically in Visio, and we don't have an intern to do this work. Is there a solution to convert a nagios configuration (comments, long host names, parent hosts etc) into some file format which visio 2003 can import without too much hassle? Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things.Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ 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 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid0944bid$1720dat1642 ___ 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] won't start as daemon
On Thu, 2006-03-30 at 19:32 -0500, James Nachlin wrote: I'm having this crazy problem. `nagios -v nagios.cfg` says there are no errors in the config file. Nagios will run in the foreground (`nagios nagios.cfg`). But `nagios -d nagios.cfg` does nothing. No nagios in background. No nagios in foreground. No error messages. Nothing. This is Nagios 2.0 running in CentOS on the 2.6.9 kernel. I'm issuing these commands as root. Any ideas, thoughts, musings, or insights appreciated. what does the log tell you? signature.asc Description: This is a digitally signed message part
[Nagios-users] Nagios Plugins 1.3.1 installation problems
I have been trying to install nagios 1.3.1 plug-ins from a source RPM that I downloaded. When I try to do a build from the spec file I get the following messages: Failed build dependencies: openssl-devel is needed by nagios-plugins-1.3.1-10.rf radiusclient-devel is needed by nagios-plugins-1.3.1-10.rf fping is needed by nagios-plugins-1.3.1-10.rf openssh-clients is needed by nagios-plugins-1.3.1-10.rf qstat is needed by nagios-plugins-1.3.1-10.rf openldap-devel is needed by nagios-plugins-1.3.1-10.rf mysql-devel is needed by nagios-plugins-1.3.1-10.rf perl(Net::SNMP) is needed by nagios-plugins-1.3.1-10.rf net-snmp-devel is needed by nagios-plugins-1.3.1-10.rf net-snmp-utils is needed by nagios-plugins-1.3.1-10.rf I am having a hard time finding these modules for SuSE intel and s390 environments. Does anyone know of a place where I can find source rpms all of these? I am not asking anyone to do the work for me. I have been googling around but not successful. Many of the sources are marked for spefific Linux distros and I do not find this in SuSE distro or at Novell's site. Guidance appreciated. __ Ranga Nathan / CSG Systems Programmer - Specialist; Technical Services; BAX Global Inc. Irvine-California Tel: 714-442-7591 Fax: 714-442-2840