Re: [Nagios-users] too much notify
Hi. I have al services similiar like this: --- define service{ use generic-service host_name cn003 service_description PING is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval1 contact_groups admins notification_interval 0 notification_period 24x7 notification_optionsw,u,c,r check_command check-host-alive } --- But for example... when one node is down, i´m only need one mail alert... and nagios going to send too mucho notify. for example... i have an mail alert at 13:20pm * Nagios * Notification Type: PROBLEM Host: cn016 State: DOWN Address: xx.xx.xx.xx Info: $ PING CRITICAL - Packet loss = 100% Date/Time: Thu Dec 11 13:20:32 CET 2008 And... the same alert at 13:55 * Nagios * Notification Type: PROBLEM Host: cn016 State: DOWN Address: 84.21.168.16 Info: $ PING CRITICAL - Packet loss = 100% Date/Time: Thu Dec 11 13:55:51 CET 2008 How i can make to receive only one alert? Thanks! Kun Richárd escribió: Hi, -Original Message- From: Alejandro Feijoo Fraga [mailto:alfei...@cesga.es] Sent: Friday, December 12, 2008 3:25 PM To: Kun Richárd Cc: 'nagios-user Mailinglist' Subject: Re: [Nagios-users] too much notify Hi. how do you? because i have the same problem, i have mails alert every minutes and i have notification_interval=0 where is the problem? Set the is_volatile to 0. The is_volatile with value 1 means that the service is volatile, and the status falling back to OK after every notification. (See: http://nagios.sourceforge.net/docs/2_0/volatileservices.html) -- Üdv, Ricsi kun.rich...@kirzen.hu No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.17/1844 - Release Date: 11/12/2008 20:58 -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] too much notify
Kai Sulfrian escribió: You got NOTIFICATIONS about a HOST and not a SERVICE !!! You have to set up your HOST notification settings. define host{ ... notification_interval 0 ... } ups! sorry thats wrong mail data mi host definition have the notificacion_interval 0 have this two: max_check_attempts 10 notification_interval 0 and others... but the problem presist -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] Antwort: Re: too much notify
Hello Alejandro, first of all: please do not toppost and fullquote the messages. It's considered rude and makes reading and understanding your message harder then necessary. Thanks for your understanding. Second: You have misunderstood something. You posted a service definition. --- define service{ [snip] } --- But you then posted a host problem notification. at 13:20pm Notification Type: PROBLEM Host: cn016 State: DOWN Service problems and host problems are two different things. The fact that you have a PING service might be the reason you misinterpreted the mail. A PING service is most of the time not necessary, because Nagios will ping the host anyways via the check-host-alive command. How i can make to receive only one alert? Check your host definition for the notification_interval. Regards Sascha -- Sascha Runschke IT-Infrastruktur fon : +49 (201) / 102-1879 fax : +49 (201) / 102-1102105 mobil : +49 (173) / 5419665 GFKL Financial Services AG Vorstand: Dr. Peter Jänsch (Vors.), Jürgen Baltes, Dr. Till Ergenzinger, Dr. Tom Haverkamp Vorsitzender des Aufsichtsrats: Dr. Georg F. Thoma Sitz: Limbecker Platz 1, 45127 Essen, Amtsgericht Essen, HRB 13522-- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ 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] Host is not allowed to talk to us!
Well, I finally got the problem fixed. It turns out that the latest problem was caused by some .so library files that were incorrect. I ran ldd on the nrpe binary and looked at each file it was looking for. Going through the files one-by-one, I found the files and had redo some sym links. Thanks for everybody's help! - Original Message From: Grant Lowe gl...@sbcglobal.net To: Marc Powell m...@ena.com; nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Friday, December 12, 2008 2:52:57 PM Subject: Re: [Nagios-users] Host is not allowed to talk to us! Well, operator error (I made a mistake). I found that inside nrpe.cfg there is a lines tha I needed to modify: allowed_hosts=xxx.xxx.xxx.xxx I modified that and now I get a different error: nrpe[2779]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1 On the nagios server, I've tried running the command with -n and without -n and both fail. However, only with -n do I get an error. Without -n I get no errors. This is the command I'm running: [r...@nagios-test ~]# /usr/lib/nagios/plugins/check_nrpe -H xxx.xxx.xxx.xxx -c check_swap NRPE: Unable to read output [r...@nagios-test ~]# - Original Message From: Marc Powell m...@ena.com To: nagios-user Mailinglist nagios-users@lists.sourceforge.net Sent: Friday, December 12, 2008 1:15:18 PM Subject: Re: [Nagios-users] Host is not allowed to talk to us! On Dec 12, 2008, at 2:45 PM, Grant Lowe wrote: Hi Andy, Bear with me. I'm trying to understand all this Hmm. That makes sense. Judging by the IP address in the NRPE logs, that looks like its a problem. The IP address it says its not allowed to talk to is the NAT'ed IP address, not the real IP address, of the Nagios server. This is what I was asking earlier ;) I can ping the Nagios servver by IP and it does respond correctly, You can ping the private, 172.20.40.45 address? That would be a very unusual configuration if you're also seeing a public address on the NRPE side. I expect the box would have to be dual-homed for that to happen, in which case your NRPE box would also have to have an IP on the private network and you could tell Nagios to use that one instead of the one you're using now (completely guessing about your network architecture so MyMMV). But doing a who, or a netstat -a and grepping for established connections shows the NAT'ed IP. All addresses are adddresses that we own. I'm at a loss of how to correct this. How do I get the networking folks to show the NRPE host the real IP address of the server? Can it be done? They should know how, and it depends entirely on how your network is designed. There's no way we can tell you how without knowing that in significant detail ;) Is there a reason you can't just permit the public NAT IP that NRPE is seeing? Seems to me to be the most direct and easiest solution. -- Marc -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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
[Nagios-users] info on nagios
Hi All, I am new to Nagios. would like to know if Nagios have a proxy to monitor the remote location Regards, Remy -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] info on nagios
You can use NRPE on remote servers to be monitored from a central Nagios server, yes. If you need any more information we'll need more explanation from you about what it is you'd like to do. Thanks, Andy Mario Almeida wrote: Hi All, I am new to Nagios. would like to know if Nagios have a proxy to monitor the remote location Regards, Remy -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] Last Check Time Issue
Hugo, If that were the case, then this service should have a Last Check Date of never, as it has always been passive. It is just lagging behind by a few hours Thanks, Matt -Original Message- From: Hugo van der Kooij [mailto:hvdko...@vanderkooij.org] Sent: Sunday, December 14, 2008 12:53 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Last Check Time Issue -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Calhoun, Matthew wrote: We have about 1500 services that are being passively checked (custom scripts that write to the external command file). We’ve noticed an issue where the “Last Check” time for the service is many hours behind, but the “Last Update” time is correct and the service is alarming, etc. properly. Does anyone have an idea as to why the Last Check Time isn’t being updated properly? Ever considered that last check only aplies to active checks? Hugo. - -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJRLtsBvzDRVjxmYERApKrAJ40k8l4vQfC/cIZDSYubKMAfMVMXQCeJlD+ sQWa+ZMU6E2FsV1YsStxEMM= =xFhi -END PGP SIGNATURE- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Error: Could not open command file 'nagios.cmd' for update!
On Fri, Dec 12, 2008 at 5:47 PM, Aldo Foot luni...@gmail.com wrote: On Fri, Dec 12, 2008 at 5:02 PM, Aldo Foot luni...@gmail.com wrote: I'm running CentOS 5 and Nagios 3.0.6. When I click on Re-schedule the next check of this service I get an error: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. I read the FAQ here: http://www.nagios.org/faqs/viewfaq.php?faq_id=58expand=falseshowdesc=false and followed the instructions here: http://nagios.sourceforge.net/docs/2_0/commandfile.html and have these file permissions: # ls -ld /usr/local/nagios/var/rw drwxrwsr-x 2 nagios nagcmd 4096 Dec 12 16:49 /usr/local/nagios/var/rw # ls -l /usr/local/nagios/var/rw prw-rw 1 nagios nagcmd 0 Dec 12 16:15 nagios.cmd Note that if I disable the system firewall there is no error. I won't get into much detail on the firewall side (building a local policy file), because I'd like to know whether there is a simpler, better solution to this. thanks in advanced. ~af To add more info: I have the account and group set as shown here. # grep nag /etc/passwd nagios:x:501:501::/home/nagios:/bin/bash # grep nag /etc/group nagios:x:501: nagcmd:x:502:nagios,apache pretty much that's how it's outlined in the documentation. ~af Does anyone have information about my question? Why does nagios fails to schedule commands when the firewall is running? thanks. ~af -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] Servicegroups and web interface
Jon Angliss wrote: On Fri, 12 Dec 2008 12:11:39 -0700, Matthew Shanker mshan...@usgs.gov wrote: I'm having what I think is some sort of permissions issue but I can't put my finger on it. I've got a situation where I've got an empty servicegroup that shows up in the web interface. As soon as I add the servicegroups line to the definition shown below the servicegroup dissapears from the web interface. The web interface is configured with authentication using a default user 'nagios' that is set for all hosts/services. define service { use important-service hostgroups linux-servers,linux-desktops,!legacy-systems service_description NFS check_commandcheck_nfs_by_ssh +servicegroups file-shares } What version of nagios are you using? Should the hostgroups not be hostgroup_name, at least that is how it's being documented in the manual for 3.x. Are you defining the line with a + at the beginning, or is that a diff showing what you've added? I am using Nagios 3.0.5 having migrated our configuration from 2.x. I just updated hostgroups to hostgroup_name in our services (though why it's still hostgroups for a host is strange). The + at the beginning of the line was a diff showing the line that when I add it to the configuration file the service group is no longer displayed in the web interface. Matt Shanker -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] service notifications for host down
Why would I get service notifications for a host that is down? -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Error: Could not open command file 'nagios.cmd' for update!
On Dec 15, 2008, at 11:48 AM, Aldo Foot wrote: Does anyone have information about my question? Why does nagios fails to schedule commands when the firewall is running? Since firewalls operate on network traffic to and from the nagios machine, it can have no impact whatsoever on nagios ability to receive an external command submitted through the CGI's (a local disk write). Do you mean SELinux instead? The Fedora Quick Start guide, list archives, http://nagioscommunity.org and Googleing for 'nagios selinux' should all yield useful information on policy changes. If none of the above are useful or match your situation, you'll need to provide more specific information about your problem. What _exactly_ happens. What _exactly_ are you disabling to make it work? -- Marc -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] service notifications for host down
Hi James, Does your host appear as down in Nagios? If not, your host's check_command may be returning inaccurate information (telling Nagios it's up when it's actually down.) Andy James wrote: Why would I get service notifications for a host that is down? -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] info on nagios
Please remember to Reply to All so the list can see your replies and provide future information for people searching the archives. Nagios will do what you want. Like Marc said, no proxy is required - just network access between the Nagios monitoring server and the clients you want to monitor. There are a few ways you could achieve this, each with their own benefits. - Run an SNMP agent on your remote clients, then you can monitor the clients and the routers in the same way from your Nagios machine (active) - Run NRPE on the servers/PCs at the remote location, then Nagios can communicate directly with them to execute the commands (active) - Run NCSA on the servers/PCs at the remote location, which will submit the check results to Nagios (passive) Or, as Marc alluded to, you could also set up a Nagios server at your local location, and one at your remote location. Your remote Nagios server will query the clients at its end (remote; using one of the above methods) then submit the check results back to the Nagios server at your local location, which in turn could query the clients at its end (local) too. Hope this helps, Andy Mario Almeida wrote: Thanks for the reply my setup Local Location - firewall - router - --512mb pvt lease line-- - router - firewall - Remote Location Local Location:- Monitoring Server and all the clients to be monitored Remote Location:- Monitoring Proxy Server and all the clients to be monitored. The monitoring proxy server should collect the data from all the clients and send it to the Monitoring Server which is located at the Local Location. The monitoring server and monitoring proxy server at the remote location will be connected, monitoring server will not connect directly to the clients at the remote location. Hope i have made my self clear Regards, Remy On Mon, Dec 15, 2008 at 2:47 PM, Andy Shellam andy-li...@networkmail.eu wrote: You can use NRPE on remote servers to be monitored from a central Nagios server, yes. If you need any more information we'll need more explanation from you about what it is you'd like to do. Thanks, Andy Mario Almeida wrote: Hi All, I am new to Nagios. would like to know if Nagios have a proxy to monitor the remote location Regards, Remy -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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 -- With Warm Regards, Remy, Linux System Administrator C: 00971508643912 The difference between school and life? In school, you're taught a lesson and then given a test. In life, you're given a test that teaches you a lesson. In love, it is better to know and be disappointed, than to not know and always wonder. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] launching ssh session via action_url (or other mechanism)
Good tip. I also found a useful utility on the MSDN link, http://www.codeplex.com/customurl I used CustomURL to set up both ssh:// and rdp:// (remote desktop) protocols for broswers and I have verified that it works for both IE and Firefox. This enables me to do the following: action_url ssh://linuxserver and action_urlrdp://windowserver Now I can click on the Extra Host Action icon without knowing the connection method in advance. Thanks again -e - Original Message - From: Andy Shellam andy-li...@networkmail.eu To: Eric Pearce epea...@amberpoint.com Cc: nagios-users@lists.sourceforge.net Sent: Sunday, December 14, 2008 2:54 PM Subject: Re: [Nagios-users] launching ssh session via action_url (or other mechanism) Hi Eric, I'm not sure if PuTTY or other SSH clients support the ssh:// URL handler directly, but if not you can add it yourself. See the MSDN documentation at the URL below. You could add a protocol handler for the ssh:// protocol, then if you put ssh://192.168.0.1 as your URL in Nagios, the client PC will launch the application you put in the registry and pass it 192.168.0.1 as the %1 argument. http://msdn.microsoft.com/en-us/library/aa767914.aspx E.g. your shell open command for PuTTY would be something like: C:\|putty.exe -ssh %1| I've done a similar thing with an application I manage at work and it was really easy. The only downside is the registry has to be updated on every PC, but you could export the registry key as a .reg file and pass it around to those who need it. I believe it's a system-wide thing, so it should work in Firefox as well, but don't quote me on it. Regards, Andy Eric Pearce wrote: I'd like to be able click on the link presented by action_url in the Nagios display or $HOSTACTIONURL$ in a notfication email and have it open a SSH session to the host in question. I found several people saying this is possible in the mailing list archives, but I don't see any detailed examples or instructions. I'm not a java programmer. I don't think the IE-specific telnet:// registry hack is good enough - I want to be able to use Firefox as well. I'm running nagios 3.0.6 and 1.4.13 plugins Thanks for any pointers. -e -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] monitor cpu usage...
Hi all, I've looked at the documentation, at the mailling lists, and googled around, and don't explicitly see it so thought i'd try here On our system, I've set up nagios and it's monitoring a few things (http, etc) just fine. However, one of our applications is giving us grief and sometimes starts consuming 80% of a cpu (it's a quad-core machine). So i'd like to set up a monitor to see how often this happens and to get notified. Looking around, it seems like 'check_procs' with the CPU metric should do what i want. However, it doesn't seem to behave quite as I'd expect. If I look at 'top' on this linux system, for our 'problem' application, i see this (and it will be constant like this for 1 hour): * PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 20022 ourapp 18 0 1428m 1.0g 13m S 104 25.7 442:18.39 java* So when I run this command, I'd expect to see 1 process flagged: *[r...@ours libexec]# ./check_procs -w 10 -c 20 --metric=CPU CPU OK: 173 processes * I've tried adding the '-u' flag but made no difference. Is there something I'm missing if I want to capture and be notified when a process goes above a certain CPU usuage (ie. 80%)? Any help or information you could provide would be appreciated. Thanks -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] monitor cpu usage...
How about the -C flag? ./check_proc -w 10 -c 20 -C ApplicationName -metric=CPU ~Jayson From: Craig A [mailto:tabmo...@gmail.com] Sent: Monday, December 15, 2008 2:01 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] monitor cpu usage... Hi all, I've looked at the documentation, at the mailling lists, and googled around, and don't explicitly see it so thought i'd try here On our system, I've set up nagios and it's monitoring a few things (http, etc) just fine. However, one of our applications is giving us grief and sometimes starts consuming 80% of a cpu (it's a quad-core machine). So i'd like to set up a monitor to see how often this happens and to get notified. Looking around, it seems like 'check_procs' with the CPU metric should do what i want. However, it doesn't seem to behave quite as I'd expect. If I look at 'top' on this linux system, for our 'problem' application, i see this (and it will be constant like this for 1 hour): PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 20022 ourapp 18 0 1428m 1.0g 13m S 104 25.7 442:18.39 java So when I run this command, I'd expect to see 1 process flagged: [r...@ours libexec]# ./check_procs -w 10 -c 20 --metric=CPU CPU OK: 173 processes I've tried adding the '-u' flag but made no difference. Is there something I'm missing if I want to capture and be notified when a process goes above a certain CPU usuage (ie. 80%)? Any help or information you could provide would be appreciated. Thanks The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you.-- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ 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] Last Check Time Issue
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Calhoun, Matthew wrote: Hugo, If that were the case, then this service should have a Last Check Date of never, as it has always been passive. It is just lagging behind by a few hours Have you verified this in the logs? Hugo. - -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJRvDdBvzDRVjxmYERAu2hAKCfZAimIvLVGI1oA8RiBmxC8U2MJQCgha26 VGS3w7N6/b77ytLqOixFA4s= =nykN -END PGP SIGNATURE- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ 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] service notifications for host down
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy Shellam wrote: Hi James, Does your host appear as down in Nagios? If not, your host's check_command may be returning inaccurate information (telling Nagios it's up when it's actually down.) Or The service check reaches a hard state before the host check does. Hugo. - -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. Nid wyf yn y swyddfa ar hyn o bryd. Anfonwch unrhyw waith i'w gyfieithu. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFJRvG1BvzDRVjxmYERAh2lAJ0VaFc4Rib3IhioHuG4s9YAVOpCqQCeLquY iDPmO21NkQ8r78x3vxeZZMY= =w4gY -END PGP SIGNATURE- -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] monitor cpu usage...
Hi Jayson, Thanks for the suggestion but '-C' just limited it to the 4 processes that I'm interested in, but it still says OK.Reducing -w to 1 is the only way i can get a warning out even though top is still showing the offending process pinned around 100% and it's not yo-yo'ing. On Mon, Dec 15, 2008 at 5:45 PM, Jayson Broughton jbrough...@truecos.comwrote: How about the –C flag? ./check_proc –w 10 –c 20 –C *ApplicationName *–metric=CPU ~Jayson *From:* Craig A [mailto:tabmo...@gmail.com] *Sent:* Monday, December 15, 2008 2:01 PM *To:* nagios-users@lists.sourceforge.net *Subject:* [Nagios-users] monitor cpu usage... Hi all, I've looked at the documentation, at the mailling lists, and googled around, and don't explicitly see it so thought i'd try here On our system, I've set up nagios and it's monitoring a few things (http, etc) just fine. However, one of our applications is giving us grief and sometimes starts consuming 80% of a cpu (it's a quad-core machine). So i'd like to set up a monitor to see how often this happens and to get notified. Looking around, it seems like 'check_procs' with the CPU metric should do what i want. However, it doesn't seem to behave quite as I'd expect. If I look at 'top' on this linux system, for our 'problem' application, i see this (and it will be constant like this for 1 hour): * PID USER PR NI VIRT RES SHR S %CPU %MEMTIME+ COMMAND 20022 ourapp 18 0 1428m 1.0g 13m S 104 25.7 442:18.39 java* So when I run this command, I'd expect to see 1 process flagged: *[r...@ours libexec]# ./check_procs -w 10 -c 20 --metric=CPU CPU OK: 173 processes * I've tried adding the '-u' flag but made no difference. Is there something I'm missing if I want to capture and be notified when a process goes above a certain CPU usuage (ie. 80%)? Any help or information you could provide would be appreciated. Thanks The information in this electronic mail message and any attached files is confidential and may be legally privileged. If you are not the intended recipient, delete this message and contact the sender immediately. Access to this message by anyone other than its intended recipient is unauthorized. You must not use or disseminate this information as it is proprietary property of the True companies. Communications on or through the True companies' computer systems may be monitored or recorded to secure effective system operation and for other lawful purposes. Thank you. -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/___ 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