Re: [Nagios-users] Installing Nagios-Plugins [make errors]
Hello, On 19 April 2010 08:48, Mark Elsen mark.el...@gmail.com wrote: Try 'gmake' (GNU Make) , After using 'gmake' the error has now changed to this; *Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_freesslutils.o SSL_readsslutils.o SSLv23_client_methodsslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdownsslutils.o SSL_CTX_freesslutils.o SSL_library_initsslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status gmake[2]: *** [check_http] Error 1 gmake[2]: Leaving directory `/tmp/nagios-plugins-1.4.14/plugins' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/tmp/nagios-plugins-1.4.14' gmake: *** [all] Error 2* Something wrong with the check_http plugin, perhaps? Juki. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Installing Nagios-Plugins [make errors] - Resolved
Thanks for the input Mark! I successfully installed openssl (pre-compiled package) and then re-run the 'configure' with this; ./configure --with-openssl=/usr/local/ssl --with-mysql=/usr/sfw/bin I added the 'with-mysql' path option because of a compile error that was looking for the path to mysql. I found the path to mysql by running; /usr/sfw/bin/mysql -V Then after 'configure' completed successfully, I run the following; gmake clean [really important step] gmake gmake install Thanks for the help! Regards, Juki -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Installing Nagios-Plugins [make errors]
Hello list, I have encountered the following 'make' error while trying to compile nagios-plugins-1.4.14 (after successfully running the 'configure' command) on a Solaris 10 client host. *Undefined first referenced symbol in file SSL_load_error_strings sslutils.o SSL_write sslutils.o OpenSSL_add_all_algorithms sslutils.o SSL_set_fd sslutils.o SSL_freesslutils.o SSL_readsslutils.o SSLv23_client_methodsslutils.o SSL_new sslutils.o SSL_CTX_new sslutils.o SSL_connect sslutils.o SSL_shutdownsslutils.o SSL_CTX_freesslutils.o SSL_library_initsslutils.o ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `check_http' Current working directory /tmp/nagios-plugins-1.4.14/plugins *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='gl tap lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \ echo Making $target in $subdir; \ if test $subdir = .; then \ dot_seen=yes; \ local_target=$target-am; \ else \ local_target=$target; \ fi; \ (cd $subdir make $local_target) \ || eval $failcom; \ done; \ if test $dot_seen = no; then \ make $target-am || exit 1; \ fi; test -z $fail make: Fatal error: Command failed for target `all-recursive' Current working directory /tmp/nagios-plugins-1.4.14 *** Error code 1 make: Fatal error: Command failed for target `all'* Anyone know a way to resolve this? Thanks, Juki -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Nagios-Plugins Compile errors
Hello list, I'm running Solaris 10 on a client host and I'm in the processing of installing and compiling the nagios-plugins (v1.4.14). However, I have encountered the following error and can't seem to get around it; *ld: fatal: Symbol referencing errors. No output written to check_http collect2: ld returned 1 exit status *** Error code 1 make: Fatal error: Command failed for target `check_http' Current working directory /tmp/nagios-plugins-1.4.14/plugins *** Error code 1 The following command caused the error: failcom='exit 1'; \ for f in x $MAKEFLAGS; do \ case $f in \ *=* | --[!k]*);; \ *k*) failcom='fail=yes';; \ esac; \ done; \ dot_seen=no; \ target=`echo all-recursive | sed s/-recursive//`; \ list='gl tap lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \ echo Making $target in $subdir; \ if test $subdir = .; then \ dot_seen=yes; \ local_target=$target-am; \ else \ local_target=$target; \ fi; \ (cd $subdir make $local_target) \ || eval $failcom; \ done; \ if test $dot_seen = no; then \ make $target-am || exit 1; \ fi; test -z $fail make: Fatal error: Command failed for target `all-recursive' Current working directory /tmp/nagios-plugins-1.4.14 *** Error code 1 make: Fatal error: Command failed for target `all'* Anyone encountered this before? Any pointers? Thanks in advance, Juki -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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 alert
If memory serves me right, you will have to look at your service and contact definitions... On 3/19/10, Rutul Patel rutul.pa...@nrsonline.com wrote: I didn't change any nagios default setting, Nagios is sending alert to all receipts every 15-30 mins, From: Marcel [mailto:mits...@gmail.com] Sent: Friday, March 19, 2010 11:34 AM To: Nagios Users List Subject: Re: [Nagios-users] nagios alert at least it's not a question about notifications *not* being sent. what do you mean about nagios sending alerts very often? Isn't that why you setup it for? On Fri, Mar 19, 2010 at 12:09 PM, Rutul Patel rutul.pa...@nrsonline.commailto:rutul.pa...@nrsonline.com wrote: Hi, I need to configure nagios such a way that it sends alert when host is down and when host is up, Currently nagios is sending alert very often. Please advice, Thanks, Rutul -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto: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 Click herehttps://www.mailcontrol.com/sr/5Hc5FsJcaTfTndxI!oX7Ul+sZxelw3DR0PVgaTAmE61LwrbhhUhgCsMaZqwSP2TdszKPm4qle7q8ewgPpp7kgg== to report this email as spam. -- JuKi Intelligence plus character - that is the goal of true education. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Streamline Alerts/Notifications for user group
Hello list, On 9 March 2010 13:51, Juki juki.e...@gmail.com wrote: On 9 March 2010 12:13, Martin Melin mme...@gmail.com wrote: If these users should never get anything else than DOWN notifications, use service_notification_options and host_notification_options in the contact definition. Thanks, Martin I have chosen to implement this method. I'll monitor it over the course of the day and return to the list with some results. It worked like a charm :) Thanks! -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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 install vs. SSL
Hi Gezina, On 9 March 2010 15:38, Gezina Dekker gezin...@gmail.com wrote: Hi all, During my NRPE install on Solaris 10, I ran into the problem that the SSL libraries are not visible to the install process. The install process is looking for it in /usr but in effect there is a link in /usr/include/openssl that points to /usr/sfw/include/openssl. Some products allow you to specify parms when you install, can I do the same here to get past this hurdle? Go to your NRPE install directory and run this; ./configure –with-ssl=path-to-your-ssl_dir –with-ssl-lib=path-to-your-ssl_lib I have also found this link to be quite helpful; http://www.utahsysadmin.com/2008/03/14/configuring-nagios-plugins-nrpe-on-solaris-10/ Regards, Juki -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Streamline Alerts/Notifications for user group
On 9 March 2010 12:13, Martin Melin mme...@gmail.com wrote: If these users should never get anything else than DOWN notifications, use service_notification_options and host_notification_options in the contact definition. Thanks, Martin I have chosen to implement this method. I'll monitor it over the course of the day and return to the list with some results. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Streamline Alerts/Notifications for user group
Hi list, I'm running Nagios-3.2.0 with plugins-1.4.14 on an openSuSE 11.0 platform. I have setup both e-mail and sms notifications for different groups of users based on the instructions here; http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html I would like to be able to send host DOWN *only* notifications/alerts to a particular user group. In other words, I would like that user group to receive alerts ONLY when a host goes DOWN and no other alerts/notifications whatsoever. I have looked at on-call rotations but that doesn't seem to suite my need. Has anyone got suggestions on how to implement this? Thanks, Juki -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Multiple NRPE Processes
Hi all, I have noticed that when I turn off monitoring on the client machine, all the other socket connections disappear and I'm only left with; nag...@pms # netstat -a | grep nrpe *.nrpe *.*0 0 49152 0 LISTEN As soon as I enable monitoring for the client, the socket connections that the OS is keeping in a TIME_WAIT state return. But like Marc advised, I'll take this up on another list since NRPE is not *directly* involved. Thanks all! -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-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] Multiple NRPE Processes
Hi Marc, 2010/1/19 Marc Powell m...@ena.com There's nothing to kill and these entries are appropriate... Welcome to the world of TCP and a greater understanding of how it all _really_ works. http://www.developerweb.net/forum/showthread.php?t=2941 I will have a look at this How long are they sticking around? What OS are you using? I'm running Solaris 10. They are more less sticking around indefinitely. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-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
[Nagios-users] Multiple NRPE Processes
Hi all, I'm running Solaris 10 on the client that is being monitored. However, when I run the command netstat -a | grep nrpe, I see multiple instances of the NRPE daemon running as shown below; nag...@pms # netstat -a | grep nrpe *.nrpe *.*0 0 49152 0 LISTEN pms.nrpe h1de4.n2 56147 5888 0 50540 0 TIME_WAIT pms.nrpe h1de4.n2 56148 5888 0 50540 0 TIME_WAIT pms.nrpe h1de4.n2 56149 5888 0 50540 0 TIME_WAIT I have tried to *kill* them (using kill command) but that doesn't seem to work because they just don't go away - weird right? :) I would like to kill all the pms.nrpe processes.. Anyone have another way of achieving this? Thanks, Juki -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-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] Problems checking external host
2009/12/12 ReynierPM rper...@uci.cu I just have a little problem here. How can I became nagios if I login as root? I mean after login as root I get a root shell, how I can became nagios from this point? Do; # su - nagios -- Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-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] Exact same swap + root / partition info showing up for different hosts(?) - Resolved!
Hello again, I followed the documentation that Greg advised and also the additions that Kevin suggested and everything worked out just fine using the check_nrpe plugin. A snippet of some definitions are; *Service Definition;* define service{ use generic-service host_name eapp03 service_description Users is_volatile 0 check_period24x7 max_check_attempts 6 normal_check_interval 3 retry_check_interval1 contact_groups admins notification_interval 120 notification_period 24x7 notification_optionsw,u,c,r check_command check_nrpe!check_users } define service{ use generic-service host_name eapp03 service_description Load is_volatile 0 check_period24x7 max_check_attempts 6 normal_check_interval 3 retry_check_interval1 contact_groups admins notification_interval 120 notification_period 24x7 notification_optionsw,u,c,r check_command check_nrpe!check_load *Command Definition;* # 'check_users' command definition define command{ command_namecheck_users command_line$USER1$/check_users -w $ARG1$ -c $ARG2$ } # 'check_load' command definition define command{ command_namecheck_load command_line$USER1$/check_load -w $ARG1$ -c $ARG2$ } *Host Definition;* # Application server host definition define host{ host_name eapp03 use generic-host alias Server 3 address xx.xx.xx.xx check_command check-host-alive check_period24x7 check_interval 5 contact_groups admins retry_interval 1 max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_optionsd,u,r } Thanks everyone for the help - much appreciated! Regards, Juki -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ 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] Exact same swap + root / partition info showing up for different hosts(?)
Hi list, I am facing a similar problem as posted by Bill. I'm running Nagios-3.2.0 on openSUSE 11.1 and monitoring a number of hosts using NRPE v2.12. When I look at the web GUI, it reports/shows the exact stats about disk size/usage, no. of users, swap usage etc.. for the monitored hosts (target machines) and the localhost (Nagios server). The check_disk plugin is installed and running on the target (remote) hosts. I also tested this on each of the remote hosts and it returns the right results as shown; *bash-3.00$ /usr/local/nagios/libexec/check_disk /var/opt/BGw/Server1 DISK OK - free space: /var/opt/BGw/Server1 41643 MB (80% inode=99%);| /var/opt/BGw/Server1=10192MB;;;0;54272* However, from the web GUI, it shows the exact stats as those of the localhost. This means it is reporting the localhosts's statistics and not those of the remote (target) hosts. Anyone with an idea about how to go about this? Regards, Juki -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ 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] Exact same swap + root / partition info showing up for different hosts(?)
Hi Greg, My configuration is as below; *For host definition;* define host{ host_name emm4 use generic-host alias Old BGW address 10.151.28.32 check_command check-host-alive check_period24x7 check_interval 5 contact_groups admins retry_interval 1 max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_optionsd,u,r } *For service definitions;* define service{ use generic-service host_name emm4 service_description Users is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups admins notification_interval 120 notification_period 24x7 notification_optionsw,u,c,r check_command check_users!5!10 } define service{ use generic-service host_name emm4 service_description Load is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups admins notification_interval 120 notification_period 24x7 notification_optionsw,u,c,r check_command check_load!5.0,4.0,3.0!10.0,6.0,4.0 } define service{ use generic-service host_name emm4 service_description Total Processes is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups admins notification_interval 120 notification_period 24x7 notification_optionsw,u,c,r check_command check_procs!250!400!RSZDT } define service{ use generic-service host_name emm4 service_description Disk Usage is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval1 contact_groups admins notification_interval 120 notification_period 24x7 notification_optionsw,u,c,r check_command check_disk!/ } *And finally the command definitions; * # 'check_users' command definition define command{ command_namecheck_users command_line$USER1$/check_users -w $ARG1$ -c $ARG2$ } # 'check_load' command definition define command{ command_namecheck_load command_line$USER1$/check_load -w $ARG1$ -c $ARG2$ } # 'check_procs' command definition define command{ command_namecheck_procs command_line$USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ } # 'check_disk' command definition define command{ command_namecheck_disk command_line$USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ } Regards, Juki 2009/12/2 Greg Pangrazio pangr...@gmail.com Without your config file I cannot be sure, but likely the services are either using the wrong command ie not the nrpe version, or your check command is not configured properly.. Can you provide your host and service definitions as well as the command configuration for the commands you are using? -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ 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] Integrate Nagios with Netcool
Hello people, I have a Nagios (v3.2.0) installation running on openSUSE 11.1 with nagio-plugins (v1.4.14) and nrpe (v2.12) on the target hosts. I would like to integrate Nagios with Netcool so that Nagios alerts can be forwarded to Netcool. I have read somewhere that its possible to do so by sending SNMP traps (when an alarm occurs) to Netcool using net-SNMP, however, I do not know how to achieve this. Anyone on the list that has implemented this before? Or some kind of a step-by-step guide that I could make use of? Thanks in advance. Juki -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ 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] Installing Nagios Server on a Virtual Machine
Hello people, I would like to know if it is advisable (or best practice) to install and run a Nagios monitoring server on a virtual machine (in this case, with OpenSuSE as the OS) with the intention of monitoring physical hardware client machines on the same LAN. If so, what known issues should I look out for in this case? Thanks, Juki -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ 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_by_ssh error - Remote command execution failed
2009/9/2 Thomas Guyot-Sionnest derm...@aei.ca This had to do with the server's kay that changed and is being cached in the nagios user's ~/.ssh/known_hosts. Find any entry matching the target host name or IP and delete them, then connect manually to the host as the nagios user. Thanks for the reply. I deleted the entry matching the remote host's IP from the nagios user's ~/.ssh/known_hosts file on the nagios server. But that didn't help at all. On running the command again, I still got the error; nag...@central-host:/ /usr/local/nagios/libexec/check_by_ssh -H x.x.x.x -C /export/home/nagios/plugins/check_swap -w 50% -c 10% Remote command execution failed: ## !!! WARNING !!! # In reply to Grant's comments, my Nagios user's home directory is stored on a local disk partition. Any more pointers? -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ 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] [Nagiosplug-help] Regarding Reports in Nagios
Assuming you have already selected the particular host a couple of screens back, you can select a Report Period from the drop down menu say, last 7 days or last month. After which, just click 'Create Availability Report' If you would like to specify a custom period, go under the 'Report Period' drop down menu and select 'Custom Period'. After which, you may go ahead and choose your Start and End dates. After which, just click 'Create Availability Report' HTH, Juki 2009/8/28 Saiprasad @ Yahoo saim...@yahoo.com Can someone let me know what all options (see the print screen) do I need to select if I need to generate a report (Availability) for a particular host / service using Nagios. NOTE : I am using Nagios Version 3.0.3 on Linux Would appreciate a quicker response. -- *From:* Marc Powell m...@ena.com *To:* Nagios Plugin Help List nagiosplug-h...@lists.sourceforge.net *Sent:* Wednesday, 26 August, 2009 8:27:17 PM *Subject:* Re: [Nagiosplug-help] Regarding Reports in Nagios On Aug 26, 2009, at 9:32 AM, Narasimha Tadepalli wrote: Hi Mark I got same question for a while. If I turn of this flag 'log_initial_states' am I able to see the all entries even after every restart of nagios?. With this enabled, on restart Nagios will log the current state of all hosts and services. The option only controls whether nagios does this on restart. Nagios does not need this but it's there in case you do. -- Marc -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagiosplug-help mailing list nagiosplug-h...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagiosplug-help ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Beauty is just a click away. Find beauty parlor listings on Yahoo! India Local http://in.rd.yahoo.com/tagline_local_6/*http://in.local.yahoo.com/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ 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 -- JuKi Intelligence plus character - that is the goal of true education. -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july___ 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 disk usage
Hello again, Thanks for the tips so far. Now some responses; On the monitored host, I have setup nrpe.cfg and therein I have set the option allowed_hosts=IP of monitoring server and also revised the format as shown below; *#specific commands# command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / -p /var -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora command[check_swap]= /usr/local/nagios/libexec/check_swap -a -w 10% -c 5% command[check_procs]=/usr/local/nagios/libexec/check_procs -w 300 -c 400 command[check_ssh]=/usr/local/nagios/libexec/check_ssh -4 -t 10 -p 22 localhost command[check_ftp]=/usr/local/nagios/libexec/check_ftp -t 5 *Then on the monitoring server, I have also setup the monitored host file (host.cfg) with the service description as follows; *define service{ use generic-service ; Name of service template to use host_name emm4 service_description Root Partition check_command check_nrpe!check_disk!15%!10%! }* * *After setting up all this, I refreshed the nrpe client on the monitored host and also restarted the nagios service on the monitoring server, this is after I checked that there were no errors whatsoever in the nagios configuration files. And yes, I logged into the monitored host as the nagios user and was able to verify that the check_nrpe command definition does run successfully. When I log into the nagios web GUI, I'm able to see the alerts, warnings and details for the check_swap, check_procs, check_ssh and for check_ftp. For the case of check_disk, I only see alerts/warnings and details only for the root (/) partition and NOT those for the /var, /var/opt/BGw/Server, /var/opt/mediation/ora. This is despite the fact that these partitions are defined in the nrpe.cfg file on the monitored host as shown above. This is still puzzling* * -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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 disk usage
% command[check_procs]=/usr/local/nagios/libexec/check_procs -w 300 -c 400 command[check_ssh]=/usr/local/nagios/libexec/check_ssh -4 -t 10 -p 22 localhost command[check_ftp]=/usr/local/nagios/libexec/check_ftp -t 5 # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this # config file is set to '1'. This poses a potential security risk, so # make sure you read the SECURITY file before doing this. #command[check_users]=/usr/local/nagios/libexec/check_users -w $ARG1$ -c $ARG2$ #command[check_load]=/usr/local/nagios/libexec/check_load -w $ARG1$ -c $ARG2$ #command[check_disk]=/usr/local/nagios/libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ #command[check_procs]=/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$* It still puzzles me Regards, Juki -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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 disk usage
Hi Guy, 2009/7/15 Guy Waugh guid...@gmail.com Yes, indeed the checks do work. These have been run on the monitored host. See below; *bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 DISK OK - free space: /var/opt/BGw/Server1 35606 MB (68% inode=97%);| /var/opt/BGw/Server1=16589MB;37990;43417;0;54272 bash$ /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 DISK OK - free space: /var/opt/BGw/Server1 35614 MB (68% inode=97%);| /var/opt/BGw/Server1=16581MB;37990;43417;0;54272* OK, so they look like checks run from the monitored host itself, right? Yes, indeed. Eek! How come there are two??? There should only be one nrpe daemon running. You can see that the first one has been running since January. Kill them both, with extreme prejudice, restart it and verify that there's only one copy of the nrpe daemon running. This will probably solve your problem. I have killed them both, however, I can't seem to get the nrpe daemon running again on the monitored host (the OS is Soalris 10) . This is what I executed; *bash$ svcadm enable nrpe bash$/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d* Then to verify... *bash-3.00# svcs | grep nrpe legacy_run Jan_09 lrc:/etc/rc3_d/S60nrpe online 16:39:40 svc:/network/nrpe/tcp:default maintenance16:41:16 svc:/application/management/nagios/nrpe:default* And more verification... *bash-3.00# netstat -a | grep 5666* The netstat command above didn't return any output. So this means the NRPE daemon is either not running or not listening on port 5666. Am I doing the NRPE start up the right way? Are there other ways to start NRPE daemon on Solaris 10? Regards, Juki -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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 disk usage
Hi Marc, 2009/7/15 Marc Powell m...@ena.com Are you sure it's listing port numbers and not symbolic names. Try 'netstat -an | grep 5666'. * bash-3.00# netstat -an | grep 5666 *.5666 *.*0 0 49152 0 LISTEN* The NRPE daemon still doesn't seem to be running on the monitored host despite the above output... *bash-3.00# ps -afe | grep nrpe root 2110 14582 0 17:37:25 pts/4 0:00 grep nrpe * Regards -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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] Monitoring disk usage
Hello, I have installed nrpe v2.11 on a monitored host running Solaris 10. An excerpt from nrpe.cfg on the monitored host is as follows; *command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 15% -p / command[check_disk]=/usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora command[check_swap]= /usr/local/nagios/libexec/check_swap -a -w 10% -c 5% command[check_procs]=/usr/local/nagios/libexec/check_procs -w 300 -c 400 command[check_ssh]=/usr/local/nagios/libexec/check_ssh -4 -t 10 -p 22 localhost command[check_ftp]=/usr/local/nagios/libexec/check_ftp -t 5* My intention is to monitor disk usage on the partitions /var/opt/BGw/Server1 and /var/opt/mediation/ora. This is not working yet. When I log into the Nagios web interface on the monitoring server, I do not see any details (alerts and warnings) to do with the above mentioned partitions. However, I do see other details like ssh, processes, swap and even those for the / partition. If I run on the monitored host, I get some info; *bash-3.00# /usr/local/nagios/libexec/check_disk -w 30% -c 20% -p /var/opt/BGw/Server1 -p /var/opt/mediation/ora DISK OK - free space: /var/opt/BGw/Server1 16937 MB (31% inode=94%); /var/opt/mediation/ora 9738 MB (64% inode=99%);| /var/opt/BGw/Server1=36502MB;37990;43417;0;54272 /var/opt/mediation/ora=5323MB;10997;12568;0;15711 * From my understanding, the output above shows that the check_disk plugin actually works, however on logging into the web interface, there are no details to this effect and also no alerts/warnings at all. How do I get to see the details of these partitions in the web interface including warnings and alerts. Thanks in advance, Juki -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ 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