[Nagios-users] Web interface buffer overflow
: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479ed0a000-7f479efd3000 r--p fc:04 1709631 /usr/lib/locale/locale-archive, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479efd3000-7f479f188000 r-xp , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] fc:04 1052255 /lib/x86_64-linux-gnu/libc-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f188000-7f479f387000 ---p 001b5000 fc:04 1052255 /lib/x86_64-linux-gnu/libc-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f387000-7f479f38b000 r--p 001b4000 fc:04 1052255 /lib/x86_64-linux-gnu/libc-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f38b000-7f479f38d000 rw-p 001b8000 fc:04 1052255 /lib/x86_64-linux-gnu/libc-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f38d000-7f479f392000 rw-p 00:00 0 , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f392000-7f479f3b4000 r-xp fc:04 1052269 /lib/x86_64-linux-gnu/ld-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5a1000-7f479f5a2000 rw-p 00:00 0 , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5a2000-7f479f5a9000 r--s fc:04 1707473 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5a9000-7f479f5ac000 rw-p 00:00 0 , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5b1000-7f479f5b4000 rw-p 00:00 0 , referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5b4000-7f479f5b5000 r--p 00022000 fc:04 1052269 /lib/x86_64-linux-gnu/ld-2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7f479f5b5000-7f479f5b7000 rw-p 00023000 fc:04 1052269 /lib/x86_64-linux-gnu/ld-, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 2.15.so, referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7fffeb1ee000-7fffeb20f000 rw-p 00:00 0 [stack], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] 7fffeb28d000-7fffeb28e000 r-xp 00:00 0 [vdso], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all [Wed Sep 04 10:19:49 2013] [error] [client 172.16.0.84] ff60-ff601000 r-xp 00:00 0 [vsyscall], referer: http://axops01/nagios/cgi-bin/status.cgi?host=all - Has any one seen this before and is it a known bug? I have attempted to remove the service check and recreate it but it hasn't fixed the issue. Thanks -- Alex Clifford | IT Network Engineer Axxin Pty Ltd E| ale...@axxin.com W| www.axxin.com Australian Office: A| 576 Swan St, Richmond, VIC, Australia 3121 P| + 61 (0) 3 9329 1167 F| + 61 (0) 3 9818 8577 USA Office: A| 4370 La Jolla Village Drive, Suite 400, San Diego, CA, 92122 P|+ 1 858 736 9160 F| + 1 858 346 9300 This communication may contain confidential or copyright information of Axxin Pty Ltd (ABN 43 120 905 839). If you are not an intended recipient, you must not keep, forward, copy, use, save or rely on this communication and any such action is unauthorised and prohibited. If you have received this communication in error, please reply to this email to notify the sender of its incorrect delivery, and then delete both it and your reply. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140
Re: [Nagios-users] Is it possible to recieve a single global notification for all checks?
Hello. Thank you for this,definately it looks like the solution for me.. although mk-livestatus looks much unknown . Alex -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ 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] Is it possible to recieve a single global notification for all checks?
Hello Nginx, I have a single host, and dozens of services of the same type (http check) monitored. When a service goes down it is normal for others to report CRITICAL at the same time. Intead of generating a notification for each independant service can I have a SINGLE email consolidate the report on whats on CRITICAL? Perhaps using a global handler, however how would this work with the part of one email per minute if my understanding is that the global event handler runs independtly for each service? Anything creative is welcome. Alex -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ 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] About the global handler.
Hello, Iam trying to use a global handler so that it invokes a failover by distinguishing first if the host is CRITICAL, if its then it should failover all services under that host and ignore the number of services of that particular host in trouble and NOT try to failover specific services. If specific services of that host are in trouble AND the host state is OK then it should failover only the specific services. Is this something that can be achieved by a global host handler? If yes how? according to what i read i cannot pass specific service arguments to the global handler. It only gets fed the nagios macros so it cannot distinguish what action to take according to the circumstances. Alex -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ 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] Is it possible to recieve a single global notification for all checks?
Hello Steve, On 08/31/2013 03:41 PM, steve f wrote: I've built a few checks that monitor say 5 partitions or ping 5 ip addresses and will report back if one or more are down. results line says 1 is ok, 2 is ok, 3 is down,,, etc. Is that what you are looking for? Your solution was to create a single check that at the same time performs various checks, similar to the check_multi . However I need each check to be an independent check :( Any other suggestion is appreciated. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk___ 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] Event Handler for a group of services.
Hello Nagios Community, I have a host that has a series of checks (application checks, network stack checks, and others), i understand that event handlers can be set for specific services but what occurs when I want to execute an event handler based on a selective group of service states, or perhaps an event handler for a service group? If I assign the event handler for the host, its pointless because the actual host check can be OK but still have speific service checks in progress. Thanks for the feedback Alex -- Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031iu=/4140/ostg.clktrk ___ 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] Plugin for dmesg/kernel messages
Guys, Those messages didn't show up in /var/log/messages ? That's normally where I catch that stuff with a log monitor. No, they didn't show up in syslog, but perhaps they should have. What application are you using to monitor syslog log messages such as SEC[1] works really well. You set it up as an in-line destination on your central loghost, with actions that send events back to nagios via NSCA. -tt [1] http://simple-evcorr.sourceforge.net/ Guys, thanks for the tips. These both look good. I'll investigate both of them. Thanks, alex -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Plugin for dmesg/kernel messages
Hi, I've located a few plugins that I could modify, but does someone know of a plugin that can be used to monitor dmesg for general kernel issues? I noticed a ext4 filesystem issue on one of the servers, and realized I should be monitoring for kernel crashes, oops, or other failures. I realize there's already plugins for monitoring disk activity -- I'm looking for something specifically to monitor kernel messages. Thanks for any ideas. Alex -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Plugin for dmesg/kernel messages
Those messages didn't show up in /var/log/messages ? That's normally where I catch that stuff with a log monitor. No, they didn't show up in syslog, but perhaps they should have. What application are you using to monitor syslog log messages such as these? Thanks, Alex -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ 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] Disabling a host from all checks
Hi, I don't know how kosher this is, but I worked around that issue by disabling active checks and disabling notifications, then entering a passive check that showed the host as up. That way I wouldn't see reports about the downed system until I re-enabled active checks. Did that work for all services on that host as well? Or was it necessary to create a passive check (or even possible) for each service? Thanks, Alex -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-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] Disabling a host from all checks
Hi, On Wed, Jul 3, 2013 at 3:11 PM, Justin T Pryzby just...@norchemlab.com wrote: On Wed, Jul 03, 2013 at 06:07:15PM +, MAHONEY, DANIEL wrote: When I did it I only disabled a specific service check. I don't know if it's possible to disable all service checks for a given host in one step. It is, at least in nagios 3.2.3. Select host (extinfo.cgi?type=1host=...), Disable notifications for all services on this host +Disable For Host Too: Disable checks of all services on this host +Disable For Host Too: No, this is different. This is simply to disable the active checks and notifications. It doesn't work after nagios has already detected the host unavailable. It's necessary to disable the host and service checks prior to nagios detecting that it's down. Alex -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-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] Disabling a host from all checks
Hi, I recently had to do the same on one of my Nagios systems (v3.5.0 on a Centos 6.4 host). From the Nagios Admin web page (xx.xx.xx.xx/nagios), select Hosts, select the host that was removed. On the right side of the page is a list of Host Commands where you can 'Disable active checks of this host' and 'Disable notifications for this host'. The same can be performed for services and checks, but I am not sure if they are needed once you disable active checks. I didn't go that far when I removed the host. Thanks for the info. I've done this, but the host and all services were still being reported as down. This was particularly evident in the firefox nagios monitor plugin, so the host is still reported being available for status by nagios. It was indeed necessary for me to remove the configuration for this host, including my escalations, services, and hosts file. Had I stopped monitoring it before the host went down, none of that would have been necessary, but there was no way to bring it back up. Thanks, Alex -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-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] Disabling a host from all checks
Hi, I have a nagios-3.4.4 system on fc17 that's working properly. I physically removed a server without scheduling downtime or indicating to nagios to disable all checks. Now that the server has been removed, I'm receiving these constant alerts saying the host is down and connection refused on all services. How can I remove this host from nagios checks without having to edit the configuration file and removing all references to the hostname in all of them? I'm hoping there's an easier way. If it was possible, I'd put the host back into production, let nagios check all the services, then mark the system to not check this host, but I can't. Any ideas greatly appreciated. Thanks, Alex -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-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] Return code of 127 is out of bounds - plugin may be missing
Hello! Try to use this command_line: command_line$USER1$/check_by_ssh -H $HOSTNAME -l nagios -i /home/nagios/.ssh/id_rsa -E -o StrictHostKeyChecking=no -C /home/nagios/checkRAID.sh where $USER1$ variable is set in resource.cfg file 2013/6/11 MAHONEY, DANIEL dm5...@att.com Send to nagios-users@lists.sourceforge.net ** ** Greetings, all. I’ve googled the subject above and evaluated the answers I’ve found but haven’t yet found info that pinpoints my issue. ** ** I’m running Nagios Core 3.2.1 on RedHat 5.8. This installation has been running for a few years, I just inherited it’s care and maintenance recently. On one of my monitored servers I write a script “checkRAID.sh” that calls another piece of code, looks at the results, and returns either a 0 or a 2 (the result will always be either good or critical, depending on whether the RAID controller is unhappy). ** ** Nagios runs as user “nagios”. The remote machine is configured to allow user “nagios” to log in without a password, using a key pair. This works.* *** ** ** In /usr/local/nagios/etc/checkcommands.cfg I have : define command{ command_namecheck_raid command_line/usr/local/nagios/libexec/check_by_ssh -H $HOSTNAME -l nagios -i /home/nagios/.ssh/id_rsa -E -o StrictHostKeyChecking=no -C /home/nagios/checkRAID.sh } ** ** When I become nagios (“su – nagios”) and run that script, I get: [nagios@nagios ~]$ /usr/local/nagios/libexec/check_by_ssh -H remote server IP -l nagios -i /home/nagios/.ssh/id_rsa -E -o StrictHostKeyChecking=no -C /home/nagios/checkRAID.sh Check failed [nagios@nagios ~]$ echo $? 2 [nagios@nagios ~]$ ** ** That “Check failed” line is what’s written to stdout just before returning an exit code of 2. This shows me that the remote script is working fine, and that the local nagios user is able to execute it with no problems. However, once I add an entry to services.cfg to tie this service check to my remote host and give it time to run the command, when I look at nagios’ “Services” page it shows : check_raid CRITICAL 06-10-2013 21:17:250d 6h 14m 29s3/3 (Return code of 127 is out of bounds - plugin may be missing) ** ** This has me baffled. The return code is quite clearly 2. ** ** ** ** I recently set debug_level to -1 and restarted. I’m hoping that the debug log will ** ** Daniel Mahoney dm5...@att.com ** ** -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-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 -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-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] Escalation issues
Hi, I have also interval_length=60 in nagios.cfg. I don't understand why admins-escal isn't consulted after three consecutive attempts at communicating with the service. What am I doing wrong? This is a silly question, but are there contacts who are members of the admins-escal group? And do they have service_notification_options that overlap the ones defined in your escalation? I haven't tried using templates for escalations yet. Have you tried defining an escalation without using a template? Does the config page for service escalations show anything? The URL would end up being something like: http://your_nagios_host/nagios/cgi-bin/config.cgi?type=serviceescalationsexpand=mailhost Thanks for the info. I've ended up almost completely rebuilding the configuration, trying to understand how it all works and get notifications working, and stop alerting either too late or too many times. I have something that at least works now, but I'm continuing to make changes to improve it. Thanks again, Alex -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ 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] clamav socket check times out
Hi, I have an fc17 box with nagios-3.4.4 and using the clamd plugin, among others, to check on my systems. For some reason the clamd plugin very frequently times out when run through nrpe: command[check_procs_clamd]=/usr/lib64/nagios/plugins/check_clamd -H /var/spool/amavisd/clamd.sock -t 15 Even with a timeout period of 15s, it still very frequently reports the following: [1367955948] SERVICE ALERT: mail01;PROCS-clamd;CRITICAL;SOFT;1;CRITICAL - Socket timeout after 15 seconds [1367955958] SERVICE ALERT: mail01;PROCS-clamd;OK;SOFT;2;CLAMD OK - 3.568 second response time on socket /var/spool/amavisd/clamd.sock [PONG] This occurs on multiple servers, not just this mail01 system, and even when the system is idle. The plugin comes from the package nagios-plugins-tcp-1.4.16-5.fc17.x86_64 and I'm using clamav-0.97.7. What is the procedure the check_clamd process uses to query the socket? What could be the reason for this timeout occurring so frequently? Could it be an issue with the maximum number of connections for clamd? Any time I run the command manually, it succeeds, and comes back instantly. Thanks for any ideas, Alex -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ 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] Variables for determining time before first alert
Hi all, I'm trying to configure a nagios server that was set up a long time ago, but has never worked correctly. I'm trying to understand all the variables that are involved in controlling the time before the first notify-by-email alert is sent for a regular service and one that I've configured as critical. Is max_check_attempts the number of iterations it will perform the host/service check for each iteration of the check_interval period? In other words, if I set max_check_attempts to 5, and my interval_length is 60, does that mean it's 5 minutes before the first soft failure is generated? How does the notification_interval in the regular service definition compare with the notification_interval specified in one of the serviceescalation sections? In other words, if I set notification_interval to 10 minutes for regular services, and notification_interval to 5 minutes for escalated services, will I receive two notifications? I realize I could try this, but there seems to be so many other variables involved that I'd like to be sure my understanding is correct. Thanks, Alex -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ 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] Help reviewing current configuration
Hi all, I've worked hours and hours on trying to get these notifications working properly and I'm still confused. I really hoped someone could review my configuration to determine where I might be doing something wrong, and provide any suggestions for improvement. I have a handful of critical servers that I'd like to be notified by within two or three minutes of there being a problem, such as the web server having been stopped. It's my understand that I first define this as a service, while in parallel define varying types of escalations - a regular escalation and a critical escalation. Both of these rely on checking the host for service issues max_check_attempts times, and when that number is reached, an event trigger occurs and the service is escalated. Perhaps I don't understand the link between how a service is in a failed state and a serviceescalation directive is initiated. How are they connected or linked? If I have the first notification for an escalated service set to 1, and the last set to 10, with a notification_interval set to 2, there would effectively be two minutes between each notification, correct? I've included a few macros that I've built below, along with the services to which they belong, and hoped someone could review them to see where I might be going wrong. With the configuration below, it seems I'm only notified at the 10m mark, which I guess is the notification_interval set in the standard-service-24x7 macro. The service never seems to escalate to critical-services, where I should receive an alert after every second check of the host. define service { namestandard-service-24x7 active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 max_check_attempts 4 check_interval 1 retry_interval 1 is_volatile 0 check_period24x7 contact_groups admins notification_interval 10 notification_period 24x7 notification_optionsw,u,c,r register0 } # service for standard-service-24x7 macro above define service { use standard-service-24x7 host_name dedicatedtech service_description SMTP check_command check_smtp } # escalation definition for a critical service # admins-escal has several email addresses defined in it define serviceescalation { namecritical-services first_notification 1 last_notification 10 contact_groups admins-escal notification_interval 2 register0 } # test critical services define serviceescalation { use critical-services host_name beast service_description PROCS-qemu } Is there other information I should provide to better troubleshoot this? Any help greatly appreciated. Thanks, Alex -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ 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] Variables for determining time before first alert
Hi, Hi, I apologize for the terse reply, but I think you will find all the answers to your questions here - http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html Thanks for your help. I've actually read quite a bit of that, and I'm still confused. It wasn't clear that max_check_attempts is the number of attempts that are made for each iteration, before another alert is triggered. The check_interval is the number of minutes between each check. The notification_interval is how often to send an alert to an admin about a change in status of a service. Does that sound correct? I still don't understand this part: How does the notification_interval in the regular service definition compare with the notification_interval specified in one of the serviceescalation sections? In other words, if I set notification_interval to 10 minutes for regular services, and notification_interval to 5 minutes for escalated services, will I receive two notifications? I realize I could try this, but there seems to be so many other variables involved that I'd like to be sure my understanding is correct. What is the point of the notification_interval in a standard service definition? How is it triggered to use one of the escalation macros? If I have notification_interval specified in the escalation sections, I would think it would override the higher setting? Thanks, Alex -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ 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] Escalation issues
Hi all, I have a working nagios system on fc17, but I don't think I have the escalations configured properly. I have the following service templates defined: At what point are the services converted to being escalated services in my sample below? define service { namestandard-service-24x7 active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information1 max_check_attempts 5 # number of min between checks normal_check_interval 4 retry_check_interval1 is_volatile 0 check_period24x7 contact_groups admins # re-notify every ten minutes notification_interval 10 notification_period 24x7 notification_optionsw,u,c,r register0 } define serviceescalation { namecritical-services first_notification 3 last_notification 10 #contact_groups linux-admins,noc-admins,techs-phones contact_groups admins-escal notification_interval 10 register0 } I also have a number of services configured such as this: define service { use standard-service-24x7 host_name mailhost service_description MAILQ-pre check_command check-host-alive } define serviceescalation { use critical-services host_name mailhost service_description MAILQ-pre } I have also interval_length=60 in nagios.cfg. I don't understand why admins-escal isn't consulted after three consecutive attempts at communicating with the service. What am I doing wrong? Thanks, Alex -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ 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] Help with CPU Check Thresholds
Wow! What kind of hardware and type of load you have on it? I'm not sure, but it seems to me, that you misunderstood the Load Average value. I haven't seen ever a system whith Load Average in normal situation more, than 5-7. P.S.: Sorry for my poor English. On Tue, 26 Mar 2013 09:33:41 -0300 Net Warrior netwarrior...@gmail.com wrote: I changed the values to 30,25,20!50,45,40 Thanks. 2013/3/26 Edwin Zoeller edwin.zoel...@ama-assn.org: -w 15,10,5 -c 30,20,10 This works well for me -Original Message- From: C. Bensend [mailto:be...@bennyvision.com] Sent: Tuesday, March 26, 2013 6:54 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Help with CPU Check Thresholds This is how I configured the service, my aim is to get an alert when the CPU load ( uptime ) reaches 10% and a critical when there is a 20% check_command check_nrpe!check_load!10,4,3!20,15,10 flap_detection_enabled 0 notifications_enabled 1 notification_optionsw,u,r,c notification_period 24x7 check_period24x7 check_interval 1 max_check_attempts 2 first_notification_delay0 notification_interval 1 } The problems is that I get WARN when the load is less than that: WARNING - load average: 1.77, 1.94, 3.04 WARNING - load average: 2.11, 2.23, 3.45 WARNING - load average: 1.90, 3.59, 4.34 WARNING - load average: 5.65, 5.05, 4.86 You configured it to warn when the 15-minute average is 3.00, and in your above four examples, the 15-minute averages are all 3.00. It is working like you configured it to. The plugin's output is 1-minute, 5-minute, and 15-minute average. Benny -- Алексей Трифонов ЗАО НТЦ Передовые Системы (499)160-58-32, (499)169-21-22 доб. 206 -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ 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] Different notifications for different services
Hello, all! I'm using Nagios 3.3.1, and trying to setup different notifications for different hosts and services. I have 2 types of notifications, via sms and e-mail and I don't want to receive sms about paper jam in my printer, but i want to receive e-mail about it simultaneously I want to receive sms notifications from my web-servers for all services. Unfortunately directives host_notification_command and service_notification_commands is described only for contacts, but not for hosts and services. Could you help me to resolve this problem? P.S.: Sorry for my pure English. -- Алексей Трифонов ЗАО НТЦ Передовые Системы (499)160-58-32, (499)169-21-22 доб. 206 -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ 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] Defining a service dependency for large number of services
Personally, I would just define a new group with all the same services except that master service in it. You would have two nearly identical groups then; I'm not sure if that would be a problem for you. Alex Griffin --- Tech Team agrif...@nagios.com On 2012-11-28 16:40, Tech Support wrote: Thank you. That’s extremely helpful information. I have one problem though. Because the master service that the service group depends on is also part of the service group, I'm getting (an expected) error about the circular dependency. Is there an easy way around that? Thanks; John -Original Message- From: Mathieu Gagné [mailto:mga...@iweb.com] Sent: Tuesday, November 27, 2012 3:33 PM To: Nagios Users List Cc: Tech Support Subject: Re: [Nagios-users] Defining a service dependency for large number of services Hi, On 12-11-27 2:30 PM, Tech Support wrote: I need to define service dependencies for some services. Pretty straightforward stuff, do not check service B unless service A is running also. For example, I have 100 different service checks that all depend on service A. So my question is this. Is there an easy way to define a dependency for a large number of services? Any insight at all would be greatly appreciated. Thanks; You can use this trick: http://nagios.sourceforge.net/docs/3_0/objecttricks.html#same_host_dependenc y_with_servicegroups I use it to massively add service dependencies for all NRPE based service checks on the NRPE service running on the same host as the NRPE based service checks. -- Mathieu -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ 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 -- Keep yourself connected to Go Parallel: VERIFY Test and improve your parallel project with help from experts and peers. http://goparallel.sourceforge.net ___ 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] R: little question about disable notification and schedule downtime
For example, to disable host checks on host Sample1, check the documentation at http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=54, which tells you to run the following command on your Nagios server: # echo [$(date +%s)] DISABLE_HOST_CHECK;Sample1 /usr/local/nagios/var/rw/nagios.cmd The list of commands is located here: http://old.nagios.org/developerinfo/externalcommands/commandlist.php Alex Griffin --- Tech Team agrif...@nagios.com On 2012-11-20 03:10, Marco Borsani wrote: Thank you. What do you mean with “drop that command into nagios.cmd” ? Marco *Da:*Onotsky, Steve x55328 [mailto:steve.onot...@broadridge.com] *Inviato:* lunedì 19 novembre 2012 17:28 *A:* Nagios Users List *Oggetto:* Re: [Nagios-users] little question about disable notification and schedule downtime Correct. The former will cause notifications to remain disabled until told otherwise; the latter only for as long as specified. You should read up on the difference between Fixed and Flexible scheduled downtime while you’re at it. If you want service/host checks disabled, you need to select that option from the web GUI (or drop that command into nagios.cmd). Cheers Steve Onotsky Team Lead, Server Support Broadridge Investor Communication Solutions, Canada 5970 Chedworth Way Mississauga ON L5R 4G5 Tel: (905) 507-5328 Fax: (905) 507-5312 Inet: steve.onot...@broadridge.com mailto:steve.onot...@broadridge.com /The purpose of the universe is to explore the realm of possibility. / /Our purpose is to witness it. - S. James Gates Jr./ *From:*Marco Borsani [mailto:m.bors...@it.net] *Sent:* Monday, November 19, 2012 10:11 AM *To:* NAGIOS *Subject:* [Nagios-users] little question about disable notification and schedule downtime Hi all Reading for the first time the docs it seems that these 2 options do the same thing. Is it ? Is the only difference that the first one disable the notification forever, while the other only in a particular timeperiod ? Both do not stop the service checks. Marco Borsani *Unix and Monitoring Sysadmin* *Technical Operations Dpt.* tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Società con socio unico Direzione e Coordinamento di Libero S.r.l. This message and any attachments are intended only for the use of the addressee and may contain information that is privileged and confidential. If the reader of the message is not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any dissemination of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail and delete the message and any attachments from your system. -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ 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 -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ 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] About nsca and nrpe...
Does anyone have an idea of why it's not possible to send passive results over nrpe ??? NRPE is not designed for passive checks. The reason you can't send passive results over NRPE is because the only communication NRPE has with Nagios is through the output and exit code of check_nrpe. In other words, it does not submit the results directly to Nagios, rather it relies on Nagios running the command directly (the definition of an active check). NSCA is a solution for passive monitoring. You mentioned it in your subject line but not your message body: is there some reason you don't want to use NSCA, or something you're confused about regarding it? Alex Griffin --- Tech Team agrif...@nagios.com -- LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_jabber plugins
How did you install Nagios? By default, 'make install' will put the plugins in /usr/local/nagios/libexec, which is the correct location for source installs. However, if you installed from a package you will probably need to put them somewhere else, like /usr/lib/nagios/plugins for example. Alex Griffin --- Tech Team agrif...@nagios.com CORDIER Annie wrote: Hello I’ve downloaded the nagios plugins version 1.4.16, I’ve run configure, make all and make install. But I still don’t find the check_jabber plugins. What did I miss ? Regards annie Ce message et les pièces jointes sont confidentiels et réservés à l'usage exclusif de ses destinataires. Il peut également être protégé par le secret professionnel. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant être assurée sur Internet, la responsabilité du groupe Atos ne pourra être engagée quant au contenu de ce message. Bien que les meilleurs efforts soient faits pour maintenir cette transmission exempte de tout virus, l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne saurait être engagée pour tout dommage résultant d'un virus transmis. This e-mail and the documents attached are confidential and intended solely for the addressee; it may also be privileged. If you receive this e-mail in error, please notify the sender immediately and destroy it. As its integrity cannot be secured on the Internet, the Atos group liability cannot be triggered for the message content. Although the sender endeavors to maintain a computer virus-free network, the sender does not warrant that this transmission is virus-free and will not be liable for any damages resulting from any virus transmitted. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Creating a criteria:
No, this will only check once every 5 minutes. The max_check_attempts directive is for retrying after a failed check. You need to find or write a plugin that does all 10 requests itself and then set it up as a *passive* check in Nagios. I believe it must be passive, otherwise Nagios will kill it for running too long. Alex Griffin --- Tech Team agrif...@nagios.com Aravinth Anto Intern wrote: Hi all, I'm new to nagios. And trying to figure out how do I do this : Response time 2s for 10 continuous requests in a 5 minutes. If this is the case then I need to create a alert. I defined a template for this : define host{ host_nametest ;other stufs ;check command so that response time is less than 2s check_interval 5 retry_interval 1 max_check_attempts 10 check_period24x7 } For my criteria : Response time 2s for 10 continuous requests in a 5 minutes. Is that correct? Thanks in advance. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 servicegroup dependencies
I don't think that this can be done with just Nagios dependencies. You could set up BPI to accomplish this though. Check it out here: http://exchange.nagios.org/directory/Addons/Components/Nagios-Business-Process-Intelligence-%28BPI%29/details Alex Griffin --- Tech Team agrif...@nagios.com Jonathan Gazeley wrote: Hi list, I have a question about servicegroups and dependencies. I have a number of hosts and services and I am already host parents, host groups, host dependencies, service groups and service dependencies. Imagine I have 2 database servers, and I have a web server that depends on the database service. I want the HTTP service to depend on the MySQL service *group* rather than on individual MySQL services. So long as there is at least one database server up, the database service keeps on working. How can I express this? The same goes for groups of DHCP, DNS, NTP, RADIUS servers... :) Thanks, Jonathan -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Storing Configuration Files in Database
Nagios Core will still read its configuration from text files, but there's always something like NagiosQL for managing your configuration with a database backend. It will automatically write out the text files when changes to the database are applied. Alex Griffin --- Tech Team agrif...@nagios.com On 2012-07-18 12:11, Robert V. Bolton wrote: I'm exploring using NDOUtils or another database back-end with Nagios, but I don't think I understand how they work. After reading the NDOUtils documentation I noticed that it said that the Nagios daemon doesn't read the configuration information that is stored in the database. Is there something out there I can use with Nagios that will allow the daemon to read the configurations from a database and allow me to get rid of the flat configuration files? -- *Robert V. Bolton* Email: rob...@robertvbolton.com mailto:rob...@robertvbolton.com Web: http://robertvbolton.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Converting log format for legacy scripts
Hi, I have a few legacy scripts that I'd rather not have to update, and wondered if it was possible to somehow control the output of the hosts that were being monitored? The old scripts were written for version 1.0 of nagios, probably six years ago. The format looks like this: [1342314314] SERVICE;rogue;PROCS-httpd;OK;1/5;HARD;1342314216;1342314396;ACTIVE;1;1;1;1342292439;0;OK;124332003;0;540;0;0;0;1;0;0;1;0;0.00;0;1;1;1;OK - 16 processes running with command name httpd, UID = 48 (webd) Perhaps there's a perl module that will parse the existing format and put each value in a variable that I can then output to the correct format that I need? Any ideas greatly appreciated. Thanks, Alex -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] http://demos.nagios.com/
Nagios Core is the open source product which is discussed on this list. Nagios XI is a commercial product built on top of Core which provides an easier interface and many additional features [1]. Nagios Fusion is for helping you manage multiple installations of Nagios XI and viewing the statuses from all of them in one interface. [1]: http://www.nagios.com/products/nagiosxi/ Alex Griffin --- Tech Team agrif...@nagios.com On 2012-07-13 11:05, Kaushal Shriyan wrote: Hi, Can someone please help me understand about various Nagios products as mentioned in http://demos.nagios.com/ and typical use case in any organization. Regards, Kaushal -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] http://demos.nagios.com/
Yes, Nagios Fusion is commercial, but I guess I should clarify that it also works with Nagios Core in addition to Nagios XI. Alex Griffin --- Tech Team agrif...@nagios.com On 2012-07-13 12:17, Kaushal Shriyan wrote: On Fri, Jul 13, 2012 at 9:46 PM, Alex Griffin agrif...@nagios.com mailto:agrif...@nagios.com wrote: Nagios Core is the open source product which is discussed on this list. Nagios XI is a commercial product built on top of Core which provides an easier interface and many additional features [1]. Nagios Fusion is for helping you manage multiple installations of Nagios XI and viewing the statuses from all of them in one interface. Hi Alex, is Nagios Fusion commercial and meant for enterprises. Regards, Kaushal -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Regarding check_ping plugin
This is likely due to an IPv6 issue. Add '-4' to your command definition to force IPv4, and see if that helps. Alex Griffin --- Tech Team agrif...@nagios.com On 07/09/2012 08:07 AM, Diego Vitoriano wrote: Hello, guys My name is Diego and I got a couple questions about this plugin. This is the first time I'm using Nagios, so it's not my forte. First I would like to know if it only pings IPs or/and HOSTNAMES? I'm getting this ¨*CRITICAL - Network Unreachable (www.google.com.br http://www.google.com.br) *¨ even though my connection is OK. Second, I would like to know if there's a way to normalize this error. Was checking some commands, but there's nothing about changing the default HOSTNAME/IP it's pinging (). Thanks, -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Allow access to custom variables outside Nagios
Custom variables are are case-sensitive. Try using NAGIOS__HOSTserverfunction. Alex Griffin --- Tech Team agrif...@nagios.com On 06/16/2012 06:05 AM, Ruslan Valiyev wrote: Hi all, We have custom variables like this: define host { use linux-server host_name host.foo.com http://host.foo.com address 192.168.1.44 _serverfunction Oracle EBS R12 Application Server _serveradmin Admins_Linux _serviceadmin //Admins_Oracle _userorg ACME } Now we have our own script to send out the notifications. And, apparently, custom variables are not exported outside Nagios for safety. To give an example of when we’re able to get the var data: my $o_hostname = $ENV{NAGIOS_HOSTNAME}; And this one doesn’t return anything: my $o_hostfunction = $ENV{NAGIOS__HOSTSERVERFUNCTION}; Could someone help finding this limitation in the source code? The environment we have is pretty strict and isolated, also the custom variables we use never contain any confidential information. Regards, Ruslan -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Allow access to custom variables outside Nagios
Disregard this. I was clearly wrong... Alex Griffin --- Tech Team agrif...@nagios.com On 06/18/2012 12:24 PM, Alex Griffin wrote: Custom variables are are case-sensitive. Try using NAGIOS__HOSTserverfunction. Alex Griffin --- Tech Team agrif...@nagios.com On 06/16/2012 06:05 AM, Ruslan Valiyev wrote: Hi all, We have custom variables like this: define host { use linux-server host_name host.foo.comhttp://host.foo.com address 192.168.1.44 _serverfunction Oracle EBS R12 Application Server _serveradmin Admins_Linux _serviceadmin //Admins_Oracle _userorg ACME } Now we have our own script to send out the notifications. And, apparently, custom variables are not exported outside Nagios for safety. To give an example of when we’re able to get the var data: my $o_hostname = $ENV{NAGIOS_HOSTNAME}; And this one doesn’t return anything: my $o_hostfunction = $ENV{NAGIOS__HOSTSERVERFUNCTION}; Could someone help finding this limitation in the source code? The environment we have is pretty strict and isolated, also the custom variables we use never contain any confidential information. Regards, Ruslan -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 windows's manager tasks
What do you mean when you say it doesn't work? That's very vague and not enough information to help you. Alex Griffin --- Tech Team agrif...@nagios.com On 06/12/2012 07:33 AM, bruno beatrice wrote: hello, i'd like check my windows task manager. i'd like to receive a mail when it doesn't work. i don't nagios very well. Someone can explain me step by step how i must configure my nagios? thank's -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 Plugin to monitor tomcat and java applications
There are a few tomcat plugins here: http://exchange.nagios.org/index.php?option=com_mtreetask=searchItemid=74searchword=tomcat Alex Griffin --- Tech Team agrif...@nagios.com On 06/13/2012 12:49 PM, Kaushal Shriyan wrote: Hi, Any Nagios Plugin to monitor tomcat and java applications. Regards Kaushal -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Disk Partitioning for Nagios
I don't think it's really necessary to have a separate /usr or /boot partition. GRUB2 can boot from LVM partitions these days. 2 GB also seems excessive for a /tmp partition. In all honesty it doesn't actually matter as much as a lot of people think it does. There are some setups which are obviously brain dead, but much of it comes down to personal preference too. Using LVM will allow you to flexibly change your partitions as your needs shift, so you should definitely use that if you're unsure of your needs. Alex Griffin --- Tech Team agrif...@nagios.com On 06/07/2012 02:31 AM, Victor Sanchez2 wrote: Hi Faiz, the more important things are about database and performace. If you are going to work with NDOUtils for example and MySQL, the best option is to create a new and independent mount point depending on the data retention that you need. Then /var/lib/mysql could be a good option. For performance, if you are going to work with pnp4nagios for example, a good option is an independent mount point for /var/lib/pnp4nagios. And for global configuration, you can create the following for example: 250MB - /boot (out of the LVM) LVM XXX - swap (depending on your requirements) 2GB /tmp 10GB /usr 8GB /var 4GB /home (it depends on that you want to do) XXX /opt (if you don't need more external software, probably you don't need it with a big reserve) 2GB / 50GB /var/lib/mysql 30GB /var/lib/pnp4nagios Also, if you are going to work with SVN to save the .cfg files versions, you probably need a new mount point for this to separate it. This is a example, it depends on each time. If you can, separete the important things in different mount points and maintain an standard operating system partitioning. Best regards, Víctor. On 7 June 2012 08:25, Muhamad Faiz muhamad.f...@asia.xchanging.com mailto:muhamad.f...@asia.xchanging.com wrote: Hi guys, __ __ I’m not sure if this question has been asked before but I can’t find anything about this. What is the recommended partitioning scheme in Linux (ie Redhat) suitable for Nagios implementation? How much percentage for /, 40% for /var or what not. Please advice. __ __ Thanks. __ __ - Faiz __ __ CONFIDENTIALITY NOTICE: This message and any attachment are confidential and may also be privileged. If you are not the intended recipient of this e-mail you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. If you are not the intended recipient please telephone or e-mail the sender and delete this message and any attachment from your system. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net mailto: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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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
Re: [Nagios-users] monitor number of open files on linux
A quick search turned up 2 plugins that would do the job on Linux, check_open_files and check_linux_stats. [1]: http://exchange.nagios.org/index.php?option=com_mtreetask=searchItemid=74searchword=open%20files On Windows I would bet WMI exports that information somehow. Alex Griffin --- Tech Team agrif...@nagios.com On 06/08/2012 10:20 AM, Parkman, Mikhail wrote: Can somebody recommend plugin to monitor number of opened files. Thanks. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] passive check always Pending
The initial_state parameter is only for active checks. Passive services will remain in a pending state until they receive their first check results. Alex Griffin --- Tech Team agrif...@nagios.com On 05/24/2012 03:21 AM, Marco Borsani wrote: Hi all. I supposed to use “initial_state” parameter to see a particular state waiting the first output from a passive check, but it is still in pending state. How can I solve it ? Must I use other parameters together it? I can’t use the check_dummy active command because it deletes the error before it is really solved…I disabled active checks Thanks Marco -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Manually run custom command via nagios dashboard possible?
You could set up something like Ajaxterm so that you could log in to your nagios server from a web browser. Alex Griffin --- Tech Team agrif...@nagios.com On 05/25/2012 10:19 AM, Ajay Jethani wrote: Is there a recommended or a sample framework (outside of nagios) that would be useful in implementing that page or is the page that it would point to something that is mostly home-grown by developers? On Fri, May 25, 2012 at 10:21 AM, Andreas Ericsson a...@op5.se mailto:a...@op5.se wrote: On 05/25/2012 03:29 PM, Ajay Jethani wrote: I'd like the nagios dashboard to allow me to run commands MANUALLY when I see there is an issue. For example, when a service goes into the 'CRITICAL state' I would check the dashboard and do a sanity check by looking at the performance output and perhaps even log onto the machine. I'd like to keep the dashboard open and click a hyperlink that executes a command that I choose on the remote machine. I know there is the concept of event handlers which can AUTOMATICALLY execute a command when a service check returns a failure, but I'd prefer to do this type of healing manually. Does nagios offer an ability to run a custom command/script I choose via the dashboard? No. That would be akin to building in a secure shell client into Nagios, which is something we'll most likely never (ever) do. Most people who've wanted to do similar things make a separate page for it, point action_url or notes_url to that page, and then handle stuff in a script of their own. -- Andreas Ericsson andreas.erics...@op5.se mailto:andreas.erics...@op5.se OP5 AB www.op5.se http://www.op5.se Tel: +46 8-230225 tel:%2B46%208-230225 Fax: +46 8-230231 tel:%2B46%208-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Compile problem linking iconv library (nagios 3.4.1)
Unfortunately, I think this is actually a long-standing bug in Nagios Core. International characters are only displayed correctly from plugin output. They are not displayed correctly when read from object definitions, and are not allowed in text fields in the web interface like submitting passive check results. Alex Griffin --- Tech Team agrif...@nagios.com On 05/27/2012 11:39 PM, Yu Watanabe wrote: I am using ja_JP.UTF-8 for character code. Yu Watanabe さんは書きました: Hi ! I had some trouble displaying Japanese characters on UI. I am guessing that this occured because of the link error to iconv library during the compileation. configure:5977: checking for main in -liconv configure:6004: gcc -o conftest -g -O2 conftest.c -liconv5 /usr/bin/ld: cannot find -liconv According to the ldconfig , libiconv seems to be cached properly. ldconfig -p | grep iconv libiconv.so.2 (libc6) = /usr/lib/libiconv.so.2 I have tried setting , LD_LIBRARY_PATH or iibdir but it made no difference. Does anyone had similar problem with the link error with iconv? Thanks, Yu -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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_procs and negating regex in --ereg-argument-array
Okay, then it appears check_procs does not support that syntax. Negation of longer strings like that requires a backtracking implementation of regular expressions (the quotes are there because this kind of regular expression is actually NOT a regular expression in the strict computer science sense), and is not supported by most traditional UNIX tools. Unfortunately, I'm not sure there's a good way to make this work. Hopefully someone else can come up with an alternative solution. Alex Griffin --- Tech Team agrif...@nagios.com On 05/21/2012 05:08 PM, Camron W. Fox wrote: On 12/05/21 11:29 AM, Alex Griffin wrote: To get around the issue of bash interpreting your regex characters as something else, simply wrap the regex in single quotes: ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array='^((?!john).)*$' Alex Griffin Alex, I already tried that and this was the error: /usr/lib64/nagios/plugins/check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array='^((?!john).)*$' PROCS UNKNOWN: Could not compile regular expression - Invalid preceding regular expression with the message on the web output being: PROCS UNKNOWN: Could not compile regular expression - Invalid preceding regular expression Best Regards, Camron -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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_procs and negating regex in --ereg-argument-array
To get around the issue of bash interpreting your regex characters as something else, simply wrap the regex in single quotes: ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array='^((?!john).)*$' Alex Griffin --- Tech Team agrif...@nagios.com On 05/21/2012 03:04 PM, Camron W. Fox wrote: All, Is it possible to negate the regular expression used in --ereg-argument-array with check_procs? We want to ignore one of the processes running on a machine but when we try to use negative lookahead the regex is not processed correctly because it reads ! as a bash internal command: ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?!john).)*$ ./check_procs -w 25 -c 35 -m CPU -v --ereg-argument-array=^((?john --show passwd.ldap).)*$ bash: syntax error near unexpected token `(' And the Nagios web output shows: NRPE: Unable to read output Does anyone have any suggestions? Best Regards, Camron -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Performance data not being returned
You keep putting commas in your example output, but as someone else already pointed out, perfdata is *space*-separated. The commas shouldn't be there. It seems this probably isn't the issue though. Why don't you post your plugin's source code so I can get a better idea of what's going on. Alex Griffin --- Tech Team agrif...@nagios.com Jonathan Gazeley wrote: The newlines were introduced by my mail client. There are no unusual characters in the output of the plugin. As far as I can tell, the perfdata complies completely with the specs. status | key1=value1%;warn;crit, key2=value2%;warn;crit The perfdata string is generated in a loop by appending an item for each DHCP pool I am monitoring. When we come to print the variable, it seems to get ignored (hence the pipe is printed but nothing else). If I statically set the variable to have the same value as the perfdata ought to, then the plugin works properly, and the full perfdata string is returned. So what is it about printing this variable through NRPE that breaks it? I am totally confused by this. Happy to send my plugin source code to the list if it helps (it's only 60 lines of perl). Thanks, Jonathan On 14/05/12 16:33, Alex Griffin wrote: Are the newlines in your output an artifact of sending this over email or are there really newlines in your plugin output? If they're really there, you should eliminate them. Alex Griffin --- Tech Team agrif...@nagios.com Jonathan Gazeley wrote: On 10/05/12 16:39, C. Bensend wrote: I've narrowed it down to a stage where running the plugin directly returns the right results, but running the plugin through check_nrpe on localhost returns this: [jg4461@dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_dhcpd_pools OK - all pools less than 80% full | What could cause NRPE to truncate the results in such a way? Too much data? Are you using SSL? I don't know that I've seen this behavior before - it's always been *invalid* perfdata that have caused this issue for me. I am using SSL in production, although not for testing. Both cases return the same truncated results. The total status + performance data returned from this plugin is only 500-and-something bytes, less than the limits for NRPE that I'd heard about. I'm wondering if it might be something to do with the embedded perl interpreter. Does NRPE use this to execute perl-flavoured plugins? Thanks for your help, Jonathan -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security
Re: [Nagios-users] Alerts not making it to notifications log or alert history
That's very odd, and I really don't have any concrete ideas for you. I haven't heard of anyone running into this issue before. Maybe reinstalling the packages might fix something, though? You said it's an intermittent problem, so how often would you say it occurs? Have you noticed any patterns about when it happens? Alex Griffin --- Tech Team agrif...@nagios.com Mark Wicks wrote: Hello, I am having a intermittent problem where notifications are not making it into the notifications page from the web interface or the alert history but they show up in the event log and actually do go out to contacts via email. This problem is making our alert history and notifications page un-reliable when we are trying piece together who got what alert. I am running debian with default nagios packages. ii nagios-images 0.7 Collection of images and icons for the nagios system ii nagios-plugins 1.4.15-3squeeze1 Plugins for the nagios network monitoring and management system ii nagios-plugins-basic1.4.15-3squeeze1 Plugins for the nagios network monitoring and management system ii nagios-plugins-standard 1.4.15-3squeeze1 Plugins for the nagios network monitoring and management system ii nagios3 3.2.1-2 A host/service/network monitoring and management system ii nagios3-cgi 3.2.1-2 cgi files for nagios3 ii nagios3-common 3.2.1-2 support files for nagios3 ii nagios3-core3.2.1-2 A host/service/network monitoring and management system Still working on duplicating problem. Has anyone run into something like this? Thanks, -Mark -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] printing info from nagios db check script
I haven't fully grokked the script you posted, but I do have a few comments. You should be quoting every single variable which is set by an external command, unless you have some reason not to. Most unquoted variables are bugs just waiting to show up in unexpected ways. You should also quote any variables which are set in other ways if there is any chance of them containing bad characters like spaces. Personally I just quote everything to avoid having to think about the issue. Second, you could try adding 'set -x' to the top of your script to add debugging output and hopefully help you find problems. Alex Griffin --- Tech Team agrif...@nagios.com Tim Dunphy wrote: hey guys, this was kind of interesting so I thought I might report it to anyone who might take an interest in this thread. But I just realized where the 'additional' percentage that the tablespace check is reporting comes from. It comes from the fact that the check is attempting to report two tablespaces and that's why the formatting is falling apart. I altered the print statement of the loop a little bit and saw the important difference: while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ $TBLSPACE ] then echo NOK $TBLSPACE is at $PCT $FREE/$TOTAL exit 2 else echo All OK exit 0 fi done Now outputs: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh NOK BAM_USER_INDX_LG MLBDATASM is at 97.50% 95.85% 820 340/32764 8191 So what I need to try and figure out is how to print additional tablespaces that meet the threshold levels and have the output make sense visually. I will keep working on this, but would welcome any input you might have. Thanks Tim - Original Message - From: Tim Dunphybluethu...@jokefire.com To: nagios-users@lists.sourceforge.net Sent: Sunday, May 13, 2012 6:27:36 PM Subject: printing info from nagios db check script Hey list, I'm having a small but important problem with a script I am writing in order to monitor the tablespaces of an oracle database. This is probably more of a bash programming issue, but as the ultimate purpose of the script is to be a nagios check I am hoping that you won't mind me asking here. Just to give you a brief overview of what I am experiencing, I'd like to start by giving you the output of a couple runs of the script and a couple snippets of code. First: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh /opt/nagios/libexec/check_qaecom1_tablespace.sh: line 60: [: BAM_USER_INDX_LG: unary operator expected All OK is mainly achieved through this loop: while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ $TBLSPACE ] then echo NOK $TBLSPACE is at $PCT $FREE/$TOTAL exit 2 else echo All OK exit 0 fi done But as you can see a 'unary operator' error is produced by this code. As you can probably tell, all it does is execute a few sqlplus commands (with the SQL contained in a separate file) and assign them to a few variables. It incorrectly produces an 'OK' state. But if I try to fix the 'unary operator' error by putting the TBLSPACE variable in quotes, the result changes from ALL OK to showing some output and (correctly) produces an error state: [db07-dc2:~] root% /opt/nagios/libexec/check_qaecom1_tablespace.sh NOK BAM_USER_INDX_LG MLBDATASM is at 97.50% 95.85% 820 340/32764 8191 while i=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $1}') j=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $3}') k=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $2}') l=$($sqlplus -s -l $USERNAME/$PASS@$SID @/opt/bin/ops/mlb_tablespace.sql | awk '{print $4}') do TBLSPACE=$i PCT=$j FREE=$k TOTAL=$l if [ $TBLSPACE ] then echo NOK $TBLSPACE is at $PCT $FREE/$TOTAL exit 2 else echo All OK exit 0 fi done The SQL is designed to list any tablespaces
Re: [Nagios-users] Performance data not being returned
Are the newlines in your output an artifact of sending this over email or are there really newlines in your plugin output? If they're really there, you should eliminate them. Alex Griffin --- Tech Team agrif...@nagios.com Jonathan Gazeley wrote: On 10/05/12 16:39, C. Bensend wrote: I've narrowed it down to a stage where running the plugin directly returns the right results, but running the plugin through check_nrpe on localhost returns this: [jg4461@dhcp1 log]$ /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_dhcpd_pools OK - all pools less than 80% full | What could cause NRPE to truncate the results in such a way? Too much data? Are you using SSL? I don't know that I've seen this behavior before - it's always been *invalid* perfdata that have caused this issue for me. I am using SSL in production, although not for testing. Both cases return the same truncated results. The total status + performance data returned from this plugin is only 500-and-something bytes, less than the limits for NRPE that I'd heard about. I'm wondering if it might be something to do with the embedded perl interpreter. Does NRPE use this to execute perl-flavoured plugins? Thanks for your help, Jonathan -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 based distributed monitoring systems out there?
We've just released a beta of NRDS here at Nagios Enterprises, which adds exactly that functionality to our commercial product, Nagios XI. It should also be much cheaper than OpsView. Check it out here: http://labs.nagios.com/2012/04/20/nagios-remote-data-sender-beta/ Alex Griffin --- Tech Team agrif...@nagios.com On 05/02/2012 04:55 PM, James Whittington wrote: what you mean by reverse tunnel master/slave distributed model, So you have master server - that presents the master web interface - controls configs for everything -sends out notifications Slave servers are placed at remote locations to do active polling and results are returned to the master. Slave servers initiate ssh session to master and open up reverse tunnel back to itself. So data from slaves comes in via port 22, config data is pushed out to slaves over reverse ssh port. The cool thing is we don't have to deal with opening up ssh on a bunch of remote networks. As long as SSH is allowed out from remote networks and we allow in SSH from the remote networks everything just works. Other distributed setups I had seen had to have direct ssh access out from master to slave. Opsview Community edition was really a great value, but the move to enterprise edition would be a big cost increase, so I figured it was worth asking about distributed setup in other nagios based products. James -Original Message- From: Alex Griffin [mailto:agrif...@nagios.com] Sent: Wednesday, May 02, 2012 3:04 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios based distributed monitoring systems out there? I'm not sure how Opsview handles this or what you mean by reverse tunnel master/slave distributed model, but there are several distributed monitoring solutions out there for Nagios. The two that come to mind for me are mod_gearman and dnx, but I'm certain I've seen others as well. Nagios XI integrates pretty well with DNX too. Alex Griffin --- Tech Team agrif...@nagios.com James Whittington wrote: This is not entirely Nagios related, more nagios backend architecture related. We had been a long time user of Opsview Community Edition. We were monitoring multiple sites so we were drawn in by Opsview's ease of distributed server setup. Unfortunately Opsview is dropping distributed monitoring from the community edition (a point brought up by Opsview sales when they contacted us about buying enterprise). I now am stuck with a system monitoring 1000 hosts across different locations with a no low cost upgrade path under Opsview. What my company ultimately decides to do is not entirely up to me but I was curious if other nagios based monitoring systems handled a reverse tunnel master/slave distributed model as well as Opsview used to? If Opsview is listening, next time you drop core features from your product do your registered users a favor and give them advanced notice, instead of using it as a sales talking point. Thanks. James -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Nagios-users mailing list Nagios-users
Re: [Nagios-users] status-txt: easier for other applications/services to use Nagios data
Thanks for posting this, it looks pretty useful! Alex Griffin --- Tech Team agrif...@nagios.com On 05/02/2012 10:57 PM, Wenhua Zhang wrote: Hi all, Recently, we need a API or application to get the nagios data as other easily readable format such as XML, JSON or plain text instead of the default HTML. status-txt is implemented to duplicate the output of status.cgi in plain text to achieve this goal, making it easier for other applications/services to use Nagios data. Compile status-txt.c to create status-txt.cgi, this cgi accepts exactly the same URL parameters that status.cgi accepts, and filters its output appropriately. In this version, it accepts almost all the arguments passed in the URL which status.cgi accepts except style, navbarsearch, columns and noheader. And we will add more functionalities in the next version. The status-txt.cgi will returns service data that appears in the status table of status.cgi as host_ip host_status [service:service_status;..], not includes the top portion of the page, eg: 196.0.0.1 UPHTTP_80:OK; 196.0.0.2 UPDB_PORT_3306:OK;DB_PORT_3307:OK; And you can use some arguments to filter its output, such as hostgroup, servicegroup, host and so on. The attachment is the source code, if you have any ideas about it, please feel free to let me know. You can also get the source code from github https://github.com/shiziwen/nagios-status2txt;. Thanks, Best Wishes, Wenhua -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 based distributed monitoring systems out there?
I'm not sure how Opsview handles this or what you mean by reverse tunnel master/slave distributed model, but there are several distributed monitoring solutions out there for Nagios. The two that come to mind for me are mod_gearman and dnx, but I'm certain I've seen others as well. Nagios XI integrates pretty well with DNX too. Alex Griffin --- Tech Team agrif...@nagios.com James Whittington wrote: This is not entirely Nagios related, more nagios backend architecture related. We had been a long time user of Opsview Community Edition. We were monitoring multiple sites so we were drawn in by Opsview’s ease of distributed server setup. Unfortunately Opsview is dropping distributed monitoring from the community edition (a point brought up by Opsview sales when they contacted us about buying enterprise). I now am stuck with a system monitoring 1000 hosts across different locations with a no low cost upgrade path under Opsview. What my company ultimately decides to do is not entirely up to me but I was curious if other nagios based monitoring systems handled a reverse tunnel master/slave distributed model as well as Opsview used to? If Opsview is listening, next time you drop core features from your product do your registered users a favor and give them advanced notice, instead of using it as a sales talking point. Thanks. James -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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_Doomsday plugin
I haven't come across any plugins that do this by default but it would be an incredibly easy plugin to write. If you or anyone you know have some programming ability you could make it yourself. Otherwise Nagios Enterprises offers custom plugin development. Alex Griffin --- Tech Team agrif...@nagios.com FTL Nagios wrote: Hi all, I am using the check_doomsday plugin to alert me to licence expiry dates of software. I have the need though to have a check for a recurring day but of each month – I don’t think check_doomsday can do this? I need to monitor the 27^th of each month automatically without having to change the config file each month to update the date argument in my service command for check_doomsday. Is there a plugin available to do this, or anybody have any suggestions on achieving this please? Thanks -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Enhance Nagios check_ftp command to check remote server for file
Yes, but I couldn't get it to work in a few short tests I did just now. You need to speak ftp's raw text protocol, putting you string to send after to -s option and the string you expect to get back after the -e option. This link might help: https://en.wikipedia.org/wiki/Ftp#List_of_FTP_commands Alex Griffin --- Tech Team agrif...@nagios.com Porter Warren wrote Does Nagios check_ftp plugin have the capability to check the remote ftp server to check for a file and return the results if the file is found? Plz advise *PG Warren *Enterprise Management Engineer http://www.networksolutionsretail.com/signature/netsollogo09.gif *P:*703.668.4762 *M:***571.521.9531 www.networksolutions.com http://www.networksolutions.com/ Time usually heals all things. Give Time time. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Timeout and critical error false alarms
TBH, I'm really not sure. Those settings look fine to me. If I had to guess I'd say this was caused by network issues, where the plugin, for some reason, is unable to connect to the host every so often. I'm not sure a longer timeout would help. Are there any unreliable points in the network between your Nagios server and this host (e.g. wireless connection, maybe a virtual machine, etc.)? Alex Griffin --- Tech Team agrif...@nagios.com Alex wrote: Hi, How are you connecting to these boxes (what check commands are you using)? For clamd, I'm using check_nrpe!check_procs_clamd on the nagios side and the following on the client side: command[check_procs_clamd]=/usr/lib64/nagios/plugins/check_clamd -H /var/spool/amavisd/clamd.sock For smtpd, the nagios side is the same, and the client side is: command[check_procs_smtpd]=/usr/lib64/nagios/plugins/check_procs -w 1:120 -c 1:140 -C smtpd -u postfix Thanks, Alex -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Re SMS notification
Unfortunately, this task is different for different hardware and I was unable to find an existing plugin that would work. Hopefully I'm wrong, but I believe you will need to create a custom notification plugin for this. Alex Griffin --- Tech Team agrif...@nagios.com Nick Price wrote: Can anyone tell me how to configure the huawei E220 GSM modem to send out notification emails via SMS. I am using fedora 16 with Nagios 3.3.1 plugins 1.4.15 Thanks Nick Price -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] puzzling no output from nrpe run of check_load
Does the nagios user have read access to /proc/loadavg? Alex Griffin --- Tech Team agrif...@nagios.com Peter N. Steinmetz wrote: Hi, hoping someone may be able to help with this odd problem running check_load on a remote nrpe server. I am running a nagios3 server on ubuntu 10.04 server (nagios3 3.2.0-4ubuntu2.2) and a nrpe server on ubuntu 10.10 (nagios-nrpe-server 2.12-4ubuntu1.10.10.1, nagios-plugins 1.4.14-5ubuntu3) Have these both basically up and running, and the server is able to run a check_disk command on the npre server and receives results. For a check_load command, however, the status information is '(No output returned from plugin)'. I have looked extensively on the web for this, and it appears there are a number of reasons this may happen. On the server, if I run sudo su - nagios -c /usr/lib/nagios/plugins/check_nrpe -H 10.41.129.36 -c check_load there is nothing returned. If I change the user from nagios to peter, then I get the expected response. On the nrpe server, the same thing is happening. If I run sudo su - nagios -c /usr/lib/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 there is nothing returned. If I change the user to peter it returns the expected output. I've tried making the plugins all owned by nagios:nagios, that doesn't help. I've tried adding a line for nagios to sudoers file and then adding the sudo command prefix, that doesn't fix it when invoking the command on the nagios server. I've also tried adding the nagios user to the admin group and that doesn't help. I've enabled the debugging on the nrpe server, and for the command from the nagios server, I see the connection and request in syslog when the user is peter, but no such request when the user is nagios. Neither of the local commands generate any syslog output. It is difficult to understand why this command, check_load, on the nrpe server is returning output for users 'peter' and 'root' but not for user 'nagios' when 'nagios' owns the executable. When I check executing the check_disk command locally on the nrpe server with sudo su - nagios -c /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /dev/sda1 it works and returns a report. Curiously, if I change the nagios user to have a login shell, such as /bin/bash, on the nrpe server, then the check_load command is returning output, though still doesn't work from the nagios server. In neither case, however, does the nagios user have a password. Both the check_load and check_disk plugins are owned by nagios:nagios and have -rwxr-xr-x permissions, so what is the difference? Any suggestions appreciated. cheers, Peter -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Timeout and critical error false alarms
Hi Alex, TBH, I'm really not sure. Those settings look fine to me. If I had to guess I'd say this was caused by network issues, where the plugin, for some reason, is unable to connect to the host every so often. I'm not sure a longer timeout would help. Are there any unreliable points in the network between your Nagios server and this host (e.g. wireless connection, maybe a virtual machine, etc.)? Thanks for the follow-up. They are all 10mbs links, and there otherwise isn't any other network errors, but it's possible servers may be slow to respond. I'll investigate that avenue, but it seems to happen during all times during the day and night.. Thanks again, Alex -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Use of customized macro in CONTACT definition
You said you tried to echo “EMAILID=$NAGIOS__CONTACTEMAILID”, but echoing this string will not set EMAILID to the value of $NAGIOS_CONTACTEMAILID. You should set EMAILID, and then echo it afterwards. Otherwise, looking over your settings they seem to be fine. Alex Griffin --- Tech Team agrif...@nagios.com Deborah Martin wrote: Hi, I’m trying to define a customized contact macro so that I can pass it to an event handler My contact definition is :- define contact{ contact_name test-admin alias test-admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email deborah.mar...@kognitio.com mailto:deborah.mar...@kognitio.com _EMAILID deborah.mar...@kognitio.com mailto:deborah.mar...@kognitio.com } Then in my script test I just do echo “EMAILID=$NAGIOS__CONTACTEMAILID” This doesn’t work. But if I put the same customized macro into a service definition and change the test script to “EMAILID=$NAGIOS__SERVICEEMAILID” it works fine. According to the docs, I’m specifying this correctly. I’m using nagios 3.2.0 on SLES10. So, am I doing something that should work and is a bug and if so is it fixed in a later nagios version or have I done something silly here…? Thanks, Deborah This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ 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] Question - System Restart
I don't really understand where you're seeing that. Can you clarify a little bit or maybe provide a screenshot? Alex Griffin --- Tech Team agrif...@nagios.com Edwin Zoeller wrote: When looking at availability of a host/service I see in the listing “System Restart” Can someone explain what this is and does it have any effect on the host/service. Thanks Ed PPlease consider the environment before printing this e-mail -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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 -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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] Timeout and critical error false alarms
Hi, I have a few fc16 boxes and often times alerts are generated for timeouts while connecting to a remote service on a client such as clamd or smtpd: PROCS CRITICAL: 0 processes with command name 'smtpd', UID = 89 (postfix) Why is it that this happens? It doesn't happen all the time. I know there are processes running with this command name, so not sure why this alert would be generated. It most often happens for me with smtpd and clamd. Is there a way to extend the timeout, or enable some further debugging to troubleshoot this? Thanks, Alex -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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] Timeout and critical error false alarms
How are you connecting to these boxes (what check commands are you using)? Alex Griffin --- Tech Team agrif...@nagios.com Alex wrote: Hi, I have a few fc16 boxes and often times alerts are generated for timeouts while connecting to a remote service on a client such as clamd or smtpd: PROCS CRITICAL: 0 processes with command name 'smtpd', UID = 89 (postfix) Why is it that this happens? It doesn't happen all the time. I know there are processes running with this command name, so not sure why this alert would be generated. It most often happens for me with smtpd and clamd. Is there a way to extend the timeout, or enable some further debugging to troubleshoot this? Thanks, Alex -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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 -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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] Timeout and critical error false alarms
Hi, How are you connecting to these boxes (what check commands are you using)? For clamd, I'm using check_nrpe!check_procs_clamd on the nagios side and the following on the client side: command[check_procs_clamd]=/usr/lib64/nagios/plugins/check_clamd -H /var/spool/amavisd/clamd.sock For smtpd, the nagios side is the same, and the client side is: command[check_procs_smtpd]=/usr/lib64/nagios/plugins/check_procs -w 1:120 -c 1:140 -C smtpd -u postfix Thanks, Alex -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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] Plugins to monitor HTTP latency, page load times
Hey Serge, I use Smokeping for checking network latency, integrated with Nagios using check_smokeping. It do everything you're asking for like browser rendering times or authentication, though. It's likely that you'll need to use something significantly more powerful for something like that, like selenium. Alex Griffin --- Tech Team agrif...@nagios.com Serge Dukic wrote: Hi, I'm looking for a Nagios plugin to be able to monitor the latency of a web page i.e. how long from when the HTTP request is sent, until the first response is received As well as a plugin for measuring page load times. i.e. how long from when the first HTTP response is received until the page is fully loaded. The application we're trying to monitor also doesn't make use of basic HTTP Auth, but rather a HTTP form and the page we're trying to measure requires authentication. Would anyone know of a plugin which could tie-in with the other two plugins mentioned above to enable us to monitor these metrics? Thank you Serge -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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 -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-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] A plugin to act as a reminder based on date
Try using check_doomsday for this! http://exchange.nagios.org/directory/Plugins/Others/Doomsday-Check/details Alex Griffin --- Tech Team agrif...@nagios.com Seth Low wrote: I have a lot of third party software licenses to manage that expire on specific dates. Instead of trying to write or find plugins that don't exist to check when these licenses will expire, I think it would be nice to have a plugin that take a specific date in the future and takes a warning critical value based a number of days out (as well as a note field - The x license on this server will expire on xx/xx/xx). I have looked around but am not finding anything. Has anyone run into this kind of issue before and do they/you have any suggestions? Thanks, -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-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 -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-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] Plugins to monitor HTTP latency, page load times
As far as I know, netrc doesn't help with cookie-based authentication, which is what he was asking for. I'm sure there are plugins out there which handle cookies fine, but he'll need something like selenium for measuring browser rendering times. And if he's already using selenium he might as well use it for the authentication too. (Also, I meant to say It *can't* do in my last email, rather than It do) Alex Griffin --- Tech Team agrif...@nagios.com Gary Every wrote: you can use your nagios users .netrc file to overcome basic auth. On Wed, Apr 18, 2012 at 12:10 PM, Alex Griffin agrif...@nagios.com mailto:agrif...@nagios.com wrote: Hey Serge, I use Smokeping for checking network latency, integrated with Nagios using check_smokeping. It do everything you're asking for like browser rendering times or authentication, though. It's likely that you'll need to use something significantly more powerful for something like that, like selenium. Alex Griffin --- Tech Team agrif...@nagios.com mailto:agrif...@nagios.com Serge Dukic wrote: Hi, I'm looking for a Nagios plugin to be able to monitor the latency of a web page i.e. how long from when the HTTP request is sent, until the first response is received As well as a plugin for measuring page load times. i.e. how long from when the first HTTP response is received until the page is fully loaded. The application we're trying to monitor also doesn't make use of basic HTTP Auth, but rather a HTTP form and the page we're trying to measure requires authentication. Would anyone know of a plugin which could tie-in with the other two plugins mentioned above to enable us to monitor these metrics? Thank you Serge -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net mailto: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 -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net mailto: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 -- Gary Every Pay it Forward! -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-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 -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-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] Timeouts often false alarms and how to fix
Hi, I have a few fc16 boxes and often times alerts are generated for timeouts while connecting to a remote service on a client such as clamd or smtpd: PROCS CRITICAL: 0 processes with command name 'smtpd', UID = 89 (postfix) Why is it that this happens? It doesn't happen all the time. I know there are processes running with this command name, so not sure why this alert would be generated. It most often happens for me with smtpd and clamd. Is there a way to extend the timeout, or enable some further debugging to troubleshoot this? Thanks,. Alex -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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] SSL and multiple disk checker plugins
Thanks for sharing this! I'm sure other people will find these plugins useful as well. Please consider submitting them to Nagios Exchange (exchange.nagios.org) for better exposure. Alex Griffin --- Tech Team agrif...@nagios.com Roger Burton West wrote: I have uploaded a couple of nagios plugins I've found useful on my own network. check_ssl-cert is a generic SSL checker - for cases where you're running a non-standard protocol behind SSL, or where you want a more detailed certificate chain report. It'll give WARNING and CRITICAL messages about expiry time for all certificates in the chain, and it'll handle STARTTLS (in-band SSL initiation as opposed to a dedicated port) correctly for SMTP, POP3 and IMAP. check_alldisks_ide_smart is a wrapper for checkdisk_ide_smart that'll run the latter plugin against all disks in a system (handy for mdraid boxes, or newer Linux machines where you can't be sure of a disk's device path). http://firedrake.org/cgi-bin/gitweb.cgi?p=nagios-plugins.git -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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 -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ 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] status.cgi 500 error
Hello guys! We have problems with nagios classic web interface. Often there is an error 500 when accessing status.cgi. FreeBSD 8.2-RELEASE-p6 amd64 nagios-3.3.1 In the server logs: Premature end of script headers: status.cgi In dmesg: pid PIDN (status.cgi), uid 80: exited on signal 11 gdb provides the following information: Core was generated by `status.cgi'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 mmap_fgets (temp_mmapfile=0x800a12820) at ../common/shared.c:181 181 ../common/shared.c: No such file or directory. in ../common/shared.c (gdb) bt #0 mmap_fgets (temp_mmapfile=0x800a12820) at ../common/shared.c:181 Cannot access memory at address 0x7fffe608 (gdb) p *temp_mmapfile $1 = {path = 0x800a12850 /var/spool/nagios/rw/objects.cache, mode = 0, fd = 3, file_size = 16177628, current_position = 9226716, current_line = 343025, mmap_buf = 0x800c0} The file objects.cache is updated quite frequently, because we often (10-20 times everyday) change config. The file is located on the ramdisk. The size of the disk is much higher than the file size. Is there any patch that prevents mapping of the objects.cache file in the memory? -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-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] How to import modified host and service files in DB from CLI
You can simply run /usr/local/nagiosxi/scripts/reconfigure_nagios.sh after dropping your config files into /usr/local/nagios/etc/import/. Alex Griffin --- Tech Team agrif...@nagios.com Manish_Kmr wrote: Hi, We are using NagiosXI, but still we prefer to do most of the things from CLI. Most often we are adding or removing some service from a no. of files and again we need to import these modified files into DB using NagiosXI UI. Its very difficult to search and import a large no. of these files using UI. Is there any way i can import these modified files into NagiosXI DB from command line without using NagiosXI User Interface. Thanks, Manish Kumar, Mahindra Satyam, Tools Team DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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] Exclude Notifications during certian hours
There may be a better way to do this, but I believe this will work. Define a new timeperiod like so: define timeperiod{ timeperiod_nameexclude_nights alias No notifications 00:30-6:30 sunday 00:00-00:29,06:31-24:00 monday 00:00-00:29,06:31-24:00 tuesday00:00-00:29,06:31-24:00 wednesday 00:00-00:29,06:31-24:00 thursday 00:00-00:29,06:31-24:00 friday 00:00-00:29,06:31-24:00 saturday 00:00-00:29,06:31-24:00 } Then in the appropriate host definitions add 'check_period exclude_nights'. Alex Griffin --- Tech Team agrif...@nagios.com Andrew Thompson wrote: Hi all, I have all my servers (approx. 70) monitored by PING using the 24x7 time period and notifications set to 24x7. Im happy with this as I want to know when my servers go down at all times as a lot are critical and under strict SLA’s. However I have the need to exclude notifications for 1 physical host and 6 virtual hosts that sit on this physical host during the hours of 00:30-06:30 every night. These machines are not under any SLA and often reboot during the night for various reasons and I’m done with waking up at all hours for these non-critical servers! What is the quickest way for me to exclude these 7 hosts from notifying during these hours whilst leaving all other servers at 24x7? Ive had a read the nagios docs but it didn’t really help me as I didn’t really understand it. I have edited my server.cfg to show the scenario I want to achieve and that can be found at the link below. http://dl.dropbox.com/u/895609/servers.cfg The layout etc is identical to my live configs, I have just edited the number of hosts/names/contacts etc (the 3 hosts named NOT CRITICAL are the example for the “7 hosts” I first talked about) What is the quickest and most effective way for me to keep checking ALL my servers 24x7 and notifying 24x7, BUT exclude 7 particular servers from checks/notifications between 00:30-06:30 every night? Thanks in advance for your help. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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 -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ 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] Eventlog monitoring through NSClient++
You could install NagEventLog on your Windows machines to do this as well. This would involve setting up passive checks on your Nagios server as there is no plugin involved if you go this route. Get it here: http://www.steveshipway.org/software/ Alex Griffin --- Tech Team agrif...@nagios.com On 02/24/2012 09:11 AM, MAD wrote: Hi list, I was trying to monitor events on a Windows server through the CheckEventLog functionnality built in NSClient++. I didn't notice first while I was adding my checks but memory usage and cpu load started raising as I was asking for more and more checks. When I finished adding my 40 rules, my server crashed because of lack of memory. Have someone already seen something similar ? What other tool may I use to check large amounts of events on windows boxes without making them crashes ? I'm using check_nrpe v2.12 and NSClient++ v0.3.9 Thanks in advance. Marc-André -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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] About check_by_ssh
check_by_ssh doesn't check the hostname using ssh's config. Perhaps it should, but looking through the source it looks like the error is coming from this function, which is actually a common function amongst several nagios plugins (located in netutils.h): void host_or_die(const char *str) { if(!str || (!is_addr(str) !is_hostname(str))) usage_va(_(Invalid hostname/address - %s), str); } Since it doesn't look like your machine is accessible outside of a local network, you could set up a proper proxy or vpn or something within the network with a public hostname. Then use check_by_ssh with the local IP, e.g. 192.168.0.2 Alex Griffin --- Tech Team agrif...@nagios.com On 02/23/2012 10:34 AM, Carlos Albornoz wrote: Hi, i try to run a check_by_ssh, my ssh config is here http://pastebin.com/jvSZSAvR but when i run ./check_by_ssh -H desthost -C /pathto/check_any -l destuser i get check_by_ssh: Invalid hostname/address - desthost i try to search why, but i dont find info maybe the script dont work with that ssh config any idea why dont work? Cheers. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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] XI - NRPE
Nagios XI ships with NRPE v2.12, and some wizards may rely on newer features or bugfixes than you'll get in v2.0. If for some reason you must use an older version, you probably won't run into too much trouble. However, I really question why you would want to ignore 8 years worth of bugfixes. Alex Griffin --- Tech Team agrif...@nagios.com On 02/24/2012 09:43 AM, Edwin Zoeller wrote: I have downloaded and installed XI to review and possible by. My question is can nrpe v2.0 run with XI? PPlease consider the environment before printing this e-mail -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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] Howto monitor udp ports using nagiosxi wizard
The send string is a raw string to send over udp, and should speak the protocol of whatever service you're trying to check. The expect string is a substring to match in the response you get. It's not very user-friendly and doesn't work well with binary protocols, but it's fairly flexible. You just need to know something about the underlying protocol of what you're monitoring. Alex Griffin --- Tech Team agrif...@nagios.com On 02/24/2012 05:30 AM, moses neah wrote: Can anybody help me? I am running nagiosxi version Nagios XI 2011R2.1, I have problem configuring the wizard because what should be the send string and expect string. -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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] XI - NRPE
Did you modify your XI installation at all (e.g. replace the included nrpe version with an older)? You may want to check your logs on the client for more specific error messages from nrpe. Alex Griffin --- Tech Team agrif...@nagios.com On 02/24/2012 12:02 PM, Edwin Zoeller wrote: First Alex, thanks for the reply. I would rather use the newer myself but this is where I am at. I have Nagios Core v3.2.0, I would like to upgrade to XI. All my Solaris server and Linux are running 2.0. I tried using the nrpe wizard in XI, which according the documentation will work, but when I do this on one on my Linux server, all services go into an Unknown state, CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. So I am come lost and confused. Ed -Original Message- From: Alex Griffin [mailto:agrif...@nagios.com] Sent: Friday, February 24, 2012 10:38 AM To: Nagios Users List Subject: Re: [Nagios-users] XI - NRPE Nagios XI ships with NRPE v2.12, and some wizards may rely on newer features or bugfixes than you'll get in v2.0. If for some reason you must use an older version, you probably won't run into too much trouble. However, I really question why you would want to ignore 8 years worth of bugfixes. Alex Griffin --- Tech Team agrif...@nagios.com On 02/24/2012 09:43 AM, Edwin Zoeller wrote: I have downloaded and installed XI to review and possible by. My question is can nrpe v2.0 run with XI? PPlease consider the environment before printing this e-mail -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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 -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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] Logging issues
Hi, Am Donnerstag 10 November 2011, 05:50:32 schrieb Alex: I can tcpdump traffic from 64.XX.YY.2, so Im confident it is reaching the server and no firewall rules are involved. Other services, such as checking port 25, work successfully. [...] server_address=127.0.0.1 ... You bound nrpe on your loopback interface. You have to enter the IP of your network interface connected to the rest of the world and restart nrpe. Yes, I was experimenting and realized this afterwards. The real problem turned out to be an incorrect firewall rule blocking access. The problem I'm still having now, however, is with logging on the client. I have debug=1, but there is nothing written to syslog. It writes the startup messages, but never any messages indicating the server had queried it: Nov 10 20:02:58 fc14 nrpe[606]: Caught SIGTERM - shutting down... Nov 10 20:02:58 fc14 nrpe[606]: Daemon shutdown Nov 10 20:02:58 fc14 nrpe[9330]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Nov 10 20:02:58 fc14 nrpe[9331]: Starting up daemon Nov 10 20:02:58 fc14 nrpe[9331]: Listening for connections on port 5666 Nov 10 20:02:58 fc14 nrpe[9331]: Allowing connections from: 127.0.0.1,64.XX.XX.2 Is there something further that needs to be done for it to log other status messages? Thanks, Alex -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ 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] Logging issues
Hi, I have a fedora15 server as a client and another fedora15 server as a server and having some trouble with connection refused messages, but don't see anything in the logs to indicate what the problem might be. It seems all the nrpe services are being rejected, despite nrpe running successfully: Nov 9 23:40:18 fc14 nrpe[2157]: INFO: SSL/TLS initialized. All network traffic will be encrypted. Nov 9 23:40:18 fc14 nrpe[2158]: Starting up daemon Nov 9 23:40:18 fc14 nrpe[2158]: Listening for connections on port 5666 Nov 9 23:40:18 fc14 nrpe[2158]: Allowing connections from: 127.0.0.1,192.168.1.100,64.XX.YY.2 I can tcpdump traffic from 64.XX.YY.2, so Im confident it is reaching the server and no firewall rules are involved. Other services, such as checking port 25, work successfully. How can I configure nrpe to log attempts to communicate with it to the logs? I've set debug=1 and log_facility=daemon, but it still doesn't record any activity. I've included my /etc/nagios/nrpe.cfg file from the client below in hopes it will help troubleshoot this: log_facility=daemon pid_file=/var/run/nrpe/nrpe.pid server_port=5666 server_address=127.0.0.1 nrpe_user=nrpe nrpe_group=nrpe allowed_hosts=127.0.0.1,64.XX.YY.2 dont_blame_nrpe=0 debug=1 command_timeout=60 connection_timeout=300 include_dir=/etc/nrpe.d/ command[check_disk_boot]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /boot command[check_disk_home]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /home command[check_disk_root]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p / command[check_mdstat_boot]=/usr/lib64/nagios/plugins/check_mdstat md0 command[check_mdstat_root]=/usr/lib64/nagios/plugins/check_mdstat md1 command[check_mdstat_home]=/usr/lib64/nagios/plugins/check_mdstat md2 command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 35,30,25 -c 30,25,20 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 200 -c 220 command[check_mailq_pre]=/usr/lib64/nagios/plugins/check_mailq -w 4 -c 6 command[check_dns]=/usr/lib64/nagios/plugins/check_dns -H example.com -s 192.168.1.1 -a 8.8.8.8 command[check_procs_named]=/usr/lib64/nagios/plugins/check_procs -w 1:7 -c 1:10 -C named -u named command[check_procs_master]=/usr/lib64/nagios/plugins/check_procs -w 1:1 -c 1:1 -C master -u root command[check_procs_sshd]=/usr/lib64/nagios/plugins/check_procs -w 1: -c 1: -C sshd command[check_procs_Z]=/usr/lib64/nagios/plugins/check_procs -w 4 -c 6 -s Z command[check_procs_D]=/usr/lib64/nagios/plugins/check_procs -w 15 -c 20 -s D command[check_procs_total]=/usr/lib64/nagios/plugins/check_procs -w 1:210 -c 1:230 command[check_ntp]=/usr/lib64/nagios/plugins/check_ntp -H localhost command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 Thanks for any ideas. Alex -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ 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 clamd.amavisd
Hi, However, the process is there: # ps ax|grep clam 1066 ? Ssl 1:13 clamd.amavisd -c /etc/clamd.d/amavisd.conf --pid /var/run/clamd.amavisd/clamd.pid Alex I'm checking remote clamd.amavisd processes using check_clamd nrpe via the following: On the remote servers in /etc/nagios/nrpe.cfg: command[check_clamd]=/usr/lib/nagios/plugins/check_clamd -H /var/run/clamd/clamd.sock Then from the nagios server defining a service to call this: check_command check_nrpe!check_clamd Perfect, thanks. I should have realized there would be a check_clamd plugin (from nagios-plugins-tcp-1.4.15-4.fc15.x86_64 in my case). Thanks everyone for the other tips as well. They will be helpful in the future. Best, Alex -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-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] Monitoring clamd.amavisd
Hi, I'm checking remote clamd.amavisd processes using check_clamd nrpe via the following: On the remote servers in /etc/nagios/nrpe.cfg: command[check_clamd]=/usr/lib/nagios/plugins/check_clamd -H /var/run/clamd/clamd.sock Then from the nagios server defining a service to call this: check_command check_nrpe!check_clamd Perfect, thanks. I should have realized there would be a check_clamd plugin (from nagios-plugins-tcp-1.4.15-4.fc15.x86_64 in my case). I should add that in my specific case, I used the following: command[check_procs_clamd]=/usr/lib64/nagios/plugins/check_clamd -H /var/spool/amavisd/clamd.sock This failed with permission denied because /var/spool/amavisd was inaccessible to user nagios. I've changed the permissions to 711 so user nagios can access the directory which is owned by user amavis. Is this correct, or is it preferrable to add user nagios to the amavis group, or somehow run check_clamd as user amavis? Thanks again, Alex -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-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] Monitoring clamd.amavisd
Hi, I need to monitor the clamd.amavisd binary, but having difficulty with the check_procs command. When using the following check_procs, it isn't able to identify any running processes: # /usr/lib64/nagios/plugins/check_procs -w 1: -c 1: -C clamd.amavisd -u amavis PROCS CRITICAL: 0 processes with command name 'clamd.amavisd', UID = 496 (amavis) However, the process is there: # ps ax|grep clam 1066 ?Ssl1:13 clamd.amavisd -c /etc/clamd.d/amavisd.conf --pid /var/run/clamd.amavisd/clamd.pid If I change the check_procs to just look for clamd, it matches, but it also matches clamdscan, which also runs periodically, and I don't want it to do that. Do you have any suggestions for what the problem may be? Is it because of the dot between clamd.amavisd? Thanks for any ideas. Best regards, Alex -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ 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] Look soku89
04y10q5o5qqq. http://ianscott.biz/wp-content/uploads/img/oafv.html 79o9xjv 4q6rlp n1nprps0, 6a8svdq kh7uwj. fpiwe quqcnwb2a 6t5e5e. -- Thanks, Max Alex Voip Developer -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-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] Using NagiosStatusLog, or obtaining status info
Hi all, I'm relatively new at using perl, but would like to write a script that prints the status of all services on all hosts. I thought the StatusLog module would be good, but it doesn't seem to work with the latest v3 nagios? It's probably more likely I'm doing something wrong, but are there any existing examples of how to use it properly with the latest versions of nagios? The documentation says Nagios::Service::Status has the following accessor methods (For V1):, then lists those methods. However, many return null, such as host_up. Are these methods only available in nagios v1? If so, how do I get a status of each service for all hosts and services? I've tried something as simple as this: use Nagios::StatusLog; my $log = Nagios::StatusLog-new( Filename = /var/log/nagios/status.dat, Version = 3.0 ); my @host_info = qw(host_name status modified_attributes check_command check_period notification_period check_interval retry_interval event_handler has_been_checked should_be_scheduled check_execution_time check_latency check_type current_state last_hard_state last_event_id current_event_id current_problem_id last_problem_id plugin_output); foreach my $host ($log-list_hosts) { my $obj = $log-host($host); foreach my $hostinfo (@host_info) { print host: $host valname: $hostinfo value: ,$obj-$hostinfo,\n; } } I'm not sure this is the correct way to do it, and I don't think the host_info array is complete. Some values also return null. Can someone supply a more complete example of how to parse the status.dat file or otherwise obtain real-time information about the status of every nagios variable for every host? Thanks, Alex -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ 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] Using NagiosStatusLog, or obtaining status info
Hi, I wanted to add to my previous mail that I just found the list_tags() function (from StatusLog.pm) which returns the list of all the status variables from the status.dat file. However, it returns some others that don't appear in the status.dat file, such as time_up and time_down. Where do these variables come from? I'm trying to upgrade a legacy application that used nagios v1, and I'd like to recreate the status.log file. This log file contained those variables time_up and time_down, so I'd like to report the value of those variables in my new version. I hope someone can help me to clarify the discrepancies between the v1 log and the v3 log, and how to obtain all the variables and their values from the v3 log using perl. The documentation says Nagios::Service::Status has the following accessor methods (For V1):, then lists those methods. However, many return null, such as host_up. Are these methods only available in nagios v1? If so, how do I get a status of each service for all hosts and services? Thanks, Alex -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ 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] MRTG required
Is this what you are refering to http://oss.oetiker.ch/mrtg/pub/?M=D On Wed, Feb 23, 2011 at 6:28 AM, Anand, Sakshi sa185...@ncr.com wrote: Hi, Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able to download same. Is it possible for you to provide me the MRTG.tar.gz (if you have it)? Thanks Regards, Sakshi Anand -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-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 -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-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] MRTG required
Cacti did the trick for me On Wed, Feb 23, 2011 at 6:35 AM, Qi Zhang baileifi...@gmail.com wrote: why not use Nagios' traffic plugin? you may find many results in google. Zhang Qi On Wed, Feb 23, 2011 at 8:28 PM, Anand, Sakshi sa185...@ncr.com wrote: Hi, Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able to download same. Is it possible for you to provide me the MRTG.tar.gz (if you have it)? Thanks Regards, Sakshi Anand -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-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 -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-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 -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-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] Installing and configuring nexsm with nagiosxi
Hi Moses, I suggest you contact the author if it is no more being supported. He will be able to point you in the right direction. I installed NEXSM years ago, took a great deal to get it working. You can either invest that much time or contact the author and he may be able to assist Regards, Alex On Tue, Feb 15, 2011 at 11:14 AM, Jim Avery j...@jimavery.me.uk wrote: On 15 February 2011 14:50, moses neah mssn...@yahoo.com wrote: Hill All, Has anyone install nexsm to work with nagiosxi. If so, please give me the installation and configuration procedure. I have try by following the procedures at the nexsm site buy I get java aplet error. Thanks in advance. Regards, I have found it extremely difficult to get nexsm working with Nagios Core. Personally I can't recommend it for that reason and as Tntteam mentioned because it seems to be pretty much unsupported now. It's a shame because Nexsm can be pretty impressive when it's working. Having said all that you could try the official help forum for nexsm at http://sourceforge.net/projects/nexsm/forums/forum/558504 I see there's a Network Hypermap on the roadmap for NagiosXI. It might be worth waiting for that rather than expend too much effort on Nexsm. See: http://www.nagios.com/products/nagiosxi/roadmap -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ 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 -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ 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 bandwidth on Motorola Canopy SM using nagiosxi switch wizard
Hi Moses, Can you confirm the following 1). What version of SNMP are your SM lite and SM normal running? Is that the same version Nagiosxi is using? 2). Do you have network access to your SM lite and SM normal devices 3). Using regular snmp i.e. snmpget or snmpwalk - can you access these devices? Alex On Sun, Jan 30, 2011 at 7:24 AM, moses neah mssn...@yahoo.com wrote: Hello All, Has anyone used nagiosxi to monitor motorola canopy SM? I am trying to monitor the bandwidth usage of all my devices using the nagiosxi switch wizard. I can monitor graph the bandwidth for the cisco devices and PTP500 backhauls of the motorola Canopy devices but when I use the same wizard to monitor the SM lite and SM normal, the wizard is not able to scan the canopy device and determine the interfaces. When I try configuring manually, I get error that the mrtg file does exist. Can anybody help me out. Regards, -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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 -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ 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] Reg: Check_http_Port
Why not create several different services to monitor each port? On Mon, Jan 10, 2011 at 8:33 AM, Rajesh Kumar ras.kuma...@gmail.com wrote: Hi All I have installed Nagios Core in my CentOS but not able to configure port based check_http. We are using several port in apache-tomcat in remote server. We can able to configure default port 80. I have to need to configure server port of 8082, 8084 … could you assist me port based configure on nagios. This is my cfg file of check_http. define host{ use linux-server host_name USSERVER alias USSERVER address saas-testing.com } define service{ use generic-service host_name USSERVER service_descriptionHTTP check_commandcheck_http check_interval3 check_period 24x7 retry_interval 2 max_check_attempts 2 notification_interval 5 notification_period workhours notification_optionsw,c,u,r notifications_enabled 1 } Regards B.Rajeshkumar -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ 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] AKCP plugin
What is the error message? On Tue, Jan 4, 2011 at 7:38 AM, moses neah mssn...@yahoo.com wrote: Hi All, Has any one use this plugin? I run the below command and got error. I have install the plugin and defined the command. [r...@nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H 192.168.3.2 Too few options! Usage: check_akcp.pl -h check_akcp.pl --man check_akcp.pl -H host -P Port [-w warning] [-c critical] Options: -h Display this helpmessage. -H The hostname or ipaddress of the akcp device. -C The snmp community of the akcp device. -P The port where the probe is connected to. -w The warning threshold. -c The critical threshold. --man Displays the complete perldoc manpage. -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ 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] AKCP plugin
Yep, sounds about right. Good one steve :) On Tue, Jan 4, 2011 at 8:17 AM, steve f a31mod...@hotmail.com wrote: If the error you are talking about is the too few options , then the problem appears to be that you did not include a -P for the port did not include a critical and warning values [r...@nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H 192.168.3.2 Too few options! Steve -- Date: Tue, 4 Jan 2011 07:48:08 -0600 From: alexdeha...@gmail.com To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] AKCP plugin What is the error message? On Tue, Jan 4, 2011 at 7:38 AM, moses neah mssn...@yahoo.com wrote: Hi All, Has any one use this plugin? I run the below command and got error. I have install the plugin and defined the command. [r...@nagiosxi services]# /usr/local/nagios/libexec/check_akcp.pl -H 192.168.3.2 Too few options! Usage: check_akcp.pl -h check_akcp.pl --man check_akcp.pl -H host -P Port [-w warning] [-c critical] Options: -h Display this helpmessage. -H The hostname or ipaddress of the akcp device. -C The snmp community of the akcp device. -P The port where the probe is connected to. -w The warning threshold. -c The critical threshold. --man Displays the complete perldoc manpage. -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ 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] Help needed: How do you configure dynamic thresholds depending on timeframes.
Help needed: How do you configure dynamic thresholds depending on timeframes. Example. -w = 80 -c = 90 during business hours but -w = 90 -c = 95 outsite business hours. How can we configure into nagios dynamic thresholds depending on timeframes: Part II define service{ use local-service ; Name of service template to use host_name localhost service_description Current Users check_command check_local_users!20!50 check_period nonworkhours notification_period nonworkhours } define service{ use local-service ; Name of service template to use host_name localhost service_description Current Users check_command check_local_users!40!60 check_period workhours notification_period workhours } In my above example i dit configure the same test twice. The two timeframes 'nonworkhours' en 'workhours' together equals 24x7 Is this way of configuring allowed. Because this solves my problem. 1) how will the nagios scheduling react on this configuration? 2) how will the display react on this configuration? # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias Normal Working Hours monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday09:00-17:00 friday 09:00-17:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday00:00-24:00 } check_period: This directive is used to specify the short name of the time period during which active checks of this host can be made. check_period: This directive is used to specify the short name of the time period during which active checks of this service can be made. If you do not use the check_period directive to specify a timeperiod, Nagios will be able to schedule active checks of the host or service anytime it needs to. This is essentially a 24x7 monitoring scenario. Specifying a timeperiod in the check_period directive allows you to restrict the time that Nagios perform regularly scheduled, active checks of the host or service. When Nagios attempts to reschedule a host or service check, it will make sure that the next check falls within a valid time range within the defined timeperiod. If it doesnt, Nagios will adjust the next check time to coincide with the next valid time in the specified timeperiod. This means that the host or service may not get checked again for another hour, day, or week, etc. Timeperiods: Exclusions and Host/Service Checks - There is a bug in the service/host check scheduling logic that rears its head when you use timeperiod definitions that use the excludedirective. The problem occurs when Nagios Core tries to re-schedule the next check. In this case, the scheduling logic may incorrectly schedule the next check further out in the future than it should. In essence, it skips over the (missing) logic where it could determine an earlier possible time using the exception times. Imperfect Solution: Dont use timeperiod definitions that exclude other timeperods for your host/service check periods. A fix is being worked on, and will hopefully make it into a 3.4.x release. -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser
what ports do tomcat and postgres listen on? On Fri, Aug 27, 2010 at 3:40 AM, Ifeanyi Agu ifepet2...@yahoo.com wrote: Hello Alex, I want to monitor Apache Tomcat (i.e. to know when it is running or not). I also want to monitor Postgres service. My Nagios is working well now but I noticed that it does not send me mails. Am using Cent OS. Is there any other configuration I need to do outside or within Nagios that would enable mails to be sent? Ifeanyi Agu 08063728802 --- On *Thu, 26/8/10, Alex Dehaini alexdeha...@gmail.com* wrote: From: Alex Dehaini alexdeha...@gmail.com Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser To: Nagios Users List nagios-users@lists.sourceforge.net Date: Thursday, 26 August, 2010, 7:24 PM Yep, Nagios has tons and tons of plugins that can monitor virtually any service - what exactly do you want to monitor, a service, connection to a port, what? Let us know and we can help Regards, Alex PS: Review the docx, common questions are usually answered in the docx. :) -Inline Attachment Follows- -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d -Inline Attachment Follows- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.nethttp://mc/compose?to=nagios-us...@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 -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser
Yep, Nagios has tons and tons of plugins that can monitor virtually any service - what exactly do you want to monitor, a service, connection to a port, what? Let us know and we can help Regards, Alex PS: Review the docx, common questions are usually answered in the docx. :) -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser
Verifying the config should tell you what is wrong /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg On Wed, Aug 25, 2010 at 11:29 AM, Jim Avery j...@jimavery.me.uk wrote: On 25 August 2010 14:55, Ifeanyi Agu ifepet2...@yahoo.com wrote: Hello Jim, Thanks for the help so far. I disabled SELinux and I tried starting Nagios again but I noticed that Nagios was not running. I am logged in as the root user in the Linux. Could that be the problem why my Nagios is not running? I wouldn't have thought that would be the problem, no. Take a look at the nagios log file which is probably /usr/local/nagios/var/nagios.log Don't forget my earlier recommendation to validate the Nagios config like so: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Did you try that, and if so what did it say? Cheers, Jim -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser
Permission issue - have nagios user and group own the file; heck the entire directory, :) On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu ifepet2...@yahoo.com wrote: Hello Jim, I used that command to test and there are 0 warnings and o errors. I also checked my Nagios log and this is what I got [1282635168] Nagios 3.2.1 starting... (PID=4250) [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010 [1282635168] LOG VERSION: 2.0 [1282635168] Warning: Could not open object cache file '/usr/local/nagios/var/objects.cache' for writing! [1282635168] Failed to obtain lock on file /usr/local/nagios/var/nagios.lock: Permission denied [1282635168] Bailing out due to errors encountered while attempting to daemonize... (PID=4250) Please do you know why am not able to write to the file? Thanks a lot for the support so far Ifeanyi Agu 08063728802 --- On *Wed, 25/8/10, Jim Avery j...@jimavery.me.uk* wrote: From: Jim Avery j...@jimavery.me.uk Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser To: Nagios Users List nagios-users@lists.sourceforge.net Date: Wednesday, 25 August, 2010, 5:29 PM On 25 August 2010 14:55, Ifeanyi Agu ifepet2...@yahoo.comhttp://mc/compose?to=ifepet2...@yahoo.com wrote: Hello Jim, Thanks for the help so far. I disabled SELinux and I tried starting Nagios again but I noticed that Nagios was not running. I am logged in as the root user in the Linux. Could that be the problem why my Nagios is not running? I wouldn't have thought that would be the problem, no. Take a look at the nagios log file which is probably /usr/local/nagios/var/nagios.log Don't forget my earlier recommendation to validate the Nagios config like so: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Did you try that, and if so what did it say? Cheers, Jim -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.nethttp://mc/compose?to=nagios-us...@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 -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser
Hi Ifeanyi, The issue points to a permission issue - how did you install nagios? Did you compile it or you used a package manager to install. What environment are you using? Redhat - Centos? What version of nagios did you install/ Alex On Wed, Aug 25, 2010 at 12:15 PM, Ifeanyi Agu ifepet2...@yahoo.com wrote: Hello Alex, I have the changed the owner and group of the file to nagios but I still get the same error in nagios.log file when I try to start nagios. I tried this when logged in as the root user. I then logged in as nagios user and I could not even start apache or nagios. It was telling me that service is not a command it recognises. Please, please, please help me. Am running outta time Ifeanyi Agu 08063728802 --- On *Wed, 25/8/10, Alex Dehaini alexdeha...@gmail.com* wrote: From: Alex Dehaini alexdeha...@gmail.com Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser To: Nagios Users List nagios-users@lists.sourceforge.net Date: Wednesday, 25 August, 2010, 5:48 PM Permission issue - have nagios user and group own the file; heck the entire directory, :) On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu ifepet2...@yahoo.comhttp://mc/compose?to=ifepet2...@yahoo.com wrote: Hello Jim, I used that command to test and there are 0 warnings and o errors. I also checked my Nagios log and this is what I got [1282635168] Nagios 3.2.1 starting... (PID=4250) [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010 [1282635168] LOG VERSION: 2.0 [1282635168] Warning: Could not open object cache file '/usr/local/nagios/var/objects.cache' for writing! [1282635168] Failed to obtain lock on file /usr/local/nagios/var/nagios.lock: Permission denied [1282635168] Bailing out due to errors encountered while attempting to daemonize... (PID=4250) Please do you know why am not able to write to the file? Thanks a lot for the support so far Ifeanyi Agu 08063728802 --- On *Wed, 25/8/10, Jim Avery j...@jimavery.me.ukhttp://mc/compose?to=...@jimavery.me.uk * wrote: From: Jim Avery j...@jimavery.me.ukhttp://mc/compose?to=...@jimavery.me.uk Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser To: Nagios Users List nagios-users@lists.sourceforge.nethttp://mc/compose?to=nagios-us...@lists.sourceforge.net Date: Wednesday, 25 August, 2010, 5:29 PM On 25 August 2010 14:55, Ifeanyi Agu ifepet2...@yahoo.comhttp://mc/compose?to=ifepet2...@yahoo.com wrote: Hello Jim, Thanks for the help so far. I disabled SELinux and I tried starting Nagios again but I noticed that Nagios was not running. I am logged in as the root user in the Linux. Could that be the problem why my Nagios is not running? I wouldn't have thought that would be the problem, no. Take a look at the nagios log file which is probably /usr/local/nagios/var/nagios.log Don't forget my earlier recommendation to validate the Nagios config like so: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Did you try that, and if so what did it say? Cheers, Jim -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.nethttp://mc/compose?to=nagios-us...@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 -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.nethttp://mc/compose?to=nagios-us...@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 -Inline Attachment Follows- -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users
Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser
@justin, Sorry, :) On Wed, Aug 25, 2010 at 12:17 PM, Dorfman, Justin jus...@mahalo.com wrote: @alex You stole my answer! ;) But just in case, @Ifeanyi # chown -R nagios:nagios /usr/local/nagios/ Regards, Justin Dorfman Mahalo.com Inc. Jr. Systems Engineer @jdorfman http://www.twitter.com/jdorfman | @MahaloSysopshttp://twitter.com/MahaloSysops| Blog: http://bit.ly/aNiWSk On Wed, Aug 25, 2010 at 9:48 AM, Alex Dehaini alexdeha...@gmail.comwrote: Permission issue - have nagios user and group own the file; heck the entire directory, :) On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu ifepet2...@yahoo.comwrote: Hello Jim, I used that command to test and there are 0 warnings and o errors. I also checked my Nagios log and this is what I got [1282635168] Nagios 3.2.1 starting... (PID=4250) [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010 [1282635168] LOG VERSION: 2.0 [1282635168] Warning: Could not open object cache file '/usr/local/nagios/var/objects.cache' for writing! [1282635168] Failed to obtain lock on file /usr/local/nagios/var/nagios.lock: Permission denied [1282635168] Bailing out due to errors encountered while attempting to daemonize... (PID=4250) Please do you know why am not able to write to the file? Thanks a lot for the support so far Ifeanyi Agu 08063728802 --- On *Wed, 25/8/10, Jim Avery j...@jimavery.me.uk* wrote: From: Jim Avery j...@jimavery.me.uk Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser To: Nagios Users List nagios-users@lists.sourceforge.net Date: Wednesday, 25 August, 2010, 5:29 PM On 25 August 2010 14:55, Ifeanyi Agu ifepet2...@yahoo.comhttp://mc/compose?to=ifepet2...@yahoo.com wrote: Hello Jim, Thanks for the help so far. I disabled SELinux and I tried starting Nagios again but I noticed that Nagios was not running. I am logged in as the root user in the Linux. Could that be the problem why my Nagios is not running? I wouldn't have thought that would be the problem, no. Take a look at the nagios log file which is probably /usr/local/nagios/var/nagios.log Don't forget my earlier recommendation to validate the Nagios config like so: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Did you try that, and if so what did it say? Cheers, Jim -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.nethttp://mc/compose?to=nagios-us...@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 -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http
Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser
Yep; The importance of reading the docs, :) On Wed, Aug 25, 2010 at 12:28 PM, Dorfman, Justin jus...@mahalo.com wrote: I would sugest that you check that you've created the nagios user and group as following the output of your command *ls -la /usr/local/nagios/var/ *nagios should run under nagios user and nagios group. if you did edit your nagios.cfg Code: vi /usr/local/nagios/etc/nagios.cfg and change the nagios_user and nagios_group to nagios Code: nagios_user=nagios nagios_group=nagios save it and try to restart nagios again. via - http://www.linuxquestions.org/questions/linux-software-2/any-nagios-gurus-820989/page2.html#post4040536 http://www.linuxquestions.org/questions/linux-software-2/any-nagios-gurus-820989/page2.html#post4040536 Regards, Justin Dorfman Mahalo.com Inc. Jr. Systems Engineer 818.485.1458 @jdorfman http://www.twitter.com/jdorfman | @MahaloSysopshttp://twitter.com/MahaloSysops| Blog: http://bit.ly/aNiWSk On Wed, Aug 25, 2010 at 10:15 AM, Ifeanyi Agu ifepet2...@yahoo.comwrote: Hello Alex, I have the changed the owner and group of the file to nagios but I still get the same error in nagios.log file when I try to start nagios. I tried this when logged in as the root user. I then logged in as nagios user and I could not even start apache or nagios. It was telling me that service is not a command it recognises. Please, please, please help me. Am running outta time Ifeanyi Agu 08063728802 --- On *Wed, 25/8/10, Alex Dehaini alexdeha...@gmail.com* wrote: From: Alex Dehaini alexdeha...@gmail.com Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser To: Nagios Users List nagios-users@lists.sourceforge.net Date: Wednesday, 25 August, 2010, 5:48 PM Permission issue - have nagios user and group own the file; heck the entire directory, :) On Wed, Aug 25, 2010 at 11:42 AM, Ifeanyi Agu ifepet2...@yahoo.comhttp://mc/compose?to=ifepet2...@yahoo.com wrote: Hello Jim, I used that command to test and there are 0 warnings and o errors. I also checked my Nagios log and this is what I got [1282635168] Nagios 3.2.1 starting... (PID=4250) [1282635168] Local time is Tue Aug 24 08:32:48 WAT 2010 [1282635168] LOG VERSION: 2.0 [1282635168] Warning: Could not open object cache file '/usr/local/nagios/var/objects.cache' for writing! [1282635168] Failed to obtain lock on file /usr/local/nagios/var/nagios.lock: Permission denied [1282635168] Bailing out due to errors encountered while attempting to daemonize... (PID=4250) Please do you know why am not able to write to the file? Thanks a lot for the support so far Ifeanyi Agu 08063728802 --- On *Wed, 25/8/10, Jim Avery j...@jimavery.me.ukhttp://mc/compose?to=...@jimavery.me.uk * wrote: From: Jim Avery j...@jimavery.me.ukhttp://mc/compose?to=...@jimavery.me.uk Subject: Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser To: Nagios Users List nagios-users@lists.sourceforge.nethttp://mc/compose?to=nagios-us...@lists.sourceforge.net Date: Wednesday, 25 August, 2010, 5:29 PM On 25 August 2010 14:55, Ifeanyi Agu ifepet2...@yahoo.comhttp://mc/compose?to=ifepet2...@yahoo.com wrote: Hello Jim, Thanks for the help so far. I disabled SELinux and I tried starting Nagios again but I noticed that Nagios was not running. I am logged in as the root user in the Linux. Could that be the problem why my Nagios is not running? I wouldn't have thought that would be the problem, no. Take a look at the nagios log file which is probably /usr/local/nagios/var/nagios.log Don't forget my earlier recommendation to validate the Nagios config like so: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Did you try that, and if so what did it say? Cheers, Jim -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.nethttp://mc/compose?to=nagios-us...@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 -- Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time
[Nagios-users] How can we configure into nagios dynamic thresholds depending on timeframes
Dear Sire, How can we configure into nagios dynamic thresholds depending on timeframes. Example. -w = 80 -c = 90 during business hours but -w = 90 -c = 95 outsite business hours. How can we configure into nagios dynamic thresholds depending on timeframes: Part II define service{ use local-service ; Name of service template to use host_name localhost service_description Current Users check_command check_local_users!20!50 check_period nonworkhours notification_period nonworkhours } define service{ use local-service ; Name of service template to use host_name localhost service_description Current Users check_command check_local_users!40!60 check_period workhours notification_period workhours } In my above example i dit configure the same test twice. The two timeframes 'nonworkhours' en 'workhours' together equals 24x7 Is this way of configuring allowed. Because this solves my problem. 1) how will the nagios scheduling react on this configuration? 2) how will the display react on this configuration? # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias Normal Working Hours monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday09:00-17:00 friday 09:00-17:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday00:00-24:00 } check_period: This directive is used to specify the short name of the time period during which active checks of this host can be made. check_period: This directive is used to specify the short name of the time period during which active checks of this service can be made. If you do not use the check_period directive to specify a timeperiod, Nagios will be able to schedule active checks of the host or service anytime it needs to. This is essentially a 24x7 monitoring scenario. Specifying a timeperiod in the check_period directive allows you to restrict the time that Nagios perform regularly scheduled, active checks of the host or service. When Nagios attempts to reschedule a host or service check, it will make sure that the next check falls within a valid time range within the defined timeperiod. If it doesnt, Nagios will adjust the next check time to coincide with the next valid time in the specified timeperiod. This means that the host or service may not get checked again for another hour, day, or week, etc. Timeperiods: Exclusions and Host/Service Checks - There is a bug in the service/host check scheduling logic that rears its head when you use timeperiod definitions that use the excludedirective. The problem occurs when Nagios Core tries to re-schedule the next check. In this case, the scheduling logic may incorrectly schedule the next check further out in the future than it should. In essence, it skips over the (missing) logic where it could determine an earlier possible time using the exception times. Imperfect Solution: Dont use timeperiod definitions that exclude other timeperods for your host/service check periods. A fix is being worked on, and will hopefully make it into a 3.4.x release. Vriendelijke Groeten, -- Alex Peeters -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-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] (no subject)
Dear Sire, How can we configure into nagios dynamic thresholds depending on timeframes. Example. -w = 80 -c = 90 during business hours but -w = 90 -c = 95 outsite business hours. How can we configure into nagios dynamic thresholds depending on timeframes: Part II define service{ use local-service ; Name of service template to use host_name localhost service_description Current Users check_command check_local_users!20!50 check_period nonworkhours notification_period nonworkhours } define service{ use local-service ; Name of service template to use host_name localhost service_description Current Users check_command check_local_users!40!60 check_period workhours notification_period workhours } In my above example i dit configure the same test twice. The two timeframes 'nonworkhours' en 'workhours' together equals 24x7 Is this way of configuring allowed. Because this solves my problem. 1) how will the nagios scheduling react on this configuration? 2) how will the display react on this configuration? # 'workhours' timeperiod definition define timeperiod{ timeperiod_name workhours alias Normal Working Hours monday 09:00-17:00 tuesday 09:00-17:00 wednesday 09:00-17:00 thursday09:00-17:00 friday 09:00-17:00 } # 'nonworkhours' timeperiod definition define timeperiod{ timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday00:00-24:00 } check_period: This directive is used to specify the short name of the time period during which active checks of this host can be made. check_period: This directive is used to specify the short name of the time period during which active checks of this service can be made. If you do not use the check_period directive to specify a timeperiod, Nagios will be able to schedule active checks of the host or service anytime it needs to. This is essentially a 24x7 monitoring scenario. Specifying a timeperiod in the check_period directive allows you to restrict the time that Nagios perform regularly scheduled, active checks of the host or service. When Nagios attempts to reschedule a host or service check, it will make sure that the next check falls within a valid time range within the defined timeperiod. If it doesnt, Nagios will adjust the next check time to coincide with the next valid time in the specified timeperiod. This means that the host or service may not get checked again for another hour, day, or week, etc. Timeperiods: Exclusions and Host/Service Checks - There is a bug in the service/host check scheduling logic that rears its head when you use timeperiod definitions that use the excludedirective. The problem occurs when Nagios Core tries to re-schedule the next check. In this case, the scheduling logic may incorrectly schedule the next check further out in the future than it should. In essence, it skips over the (missing) logic where it could determine an earlier possible time using the exception times. Imperfect Solution: Dont use timeperiod definitions that exclude other timeperods for your host/service check periods. A fix is being worked on, and will hopefully make it into a 3.4.x release. Vriendelijke Groeten, -- Alex Peeters Section Supervision Monitoring Monitoring 02/787.57.27 P Please consider the environment - do you really need to print this email? define service{ host_name host_name hostgroup_name hostgroup_name service_description service_description display_namedisplay_name servicegroups servicegroup_names is_volatile [0/1] check_command command_name initial_state [o,w,u,c] max_check_attempts # check_interval # retry_interval # active_checks_enabled [0/1] passive_checks_enabled [0/1] check_periodtimeperiod_name obsess_over_service [0/1] check_freshness [0/1] freshness_threshold # event_handler command_name event_handler_enabled [0/1] low_flap_threshold # high_flap_threshold # flap_detection_enabled [0/1] flap_detection_options [o,w,c,u] process_perf_data