Re: [Nagios-users] monitor windows remote desktop from linux
Yeah, I understand what you mean. The problem is that before you can monitor, you have to identify what exactly needs to be monitored. And that's where the troubleshooting comes in. I disagree. The OP would like to monitor remote desktop logins. As an admin, I care that RDP is broken, not (neccersarilly) that the clock is out of sync. From then on, it could be anything from an authentication issue to a protocol issue to an encryption issue, clock skew (I'm not sure if the encryption in RDP is time-sensitive. I don't think it is, but wanted to mention it), and the monitoring needs to reflect the specific problem you are monitoring for. If you don't know what exactly is going wrong, there is a high likelihood that you are monitoring the wrong thing and don't actually detect when the users are experiencing a problem - just as you saw with the sockets. An ideal check would be for some meatware to sit infront of a computer, log in with a few user names, check that the login is succesful, and push a button which sets the nagios state to green. If they have a problem, push a different button to set the light to red. You may be able to get a perl module that can control remote desktop, have a system log in, run a command, and log out. A quick google doesn't show anything up, and experimentation with rdesktop -u USER -d DOMAIN -p PASS -s SOMETHING.EXE $HOSTADDRESS$ seems to leave the session logged in. You could create SOMETHING.EXE which made a call back to nagios to say I'm working, but you'd need to get windows to log out afterwards. A bit of windows scripting would probably do that for you, so you would have something like nagiosside $ok = 0; $port = 2345; while ($ok == 0) { $port++; $ok = listenOnPort($port) } run_in_foreground(rdesktop -u USER -d DOMAIN -p PASS -s remote_check.wsh $nagiosaddress $port $HOSTADDRESS$); my ($status, $info) = receivedMsg(); print $info; exit $status; windowsside my ($nagiosaddress, $port) = shift; open_socket($nagiosaddress:$port); print_socket(OK,Remote Desktop OK for user $USER); close_socket(); logout(); For already-written plugins, check_x224 will give a better check than check_tcp. -- Paul Weaver Systems Development Engineer News Production Facilities, BBC News http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] monitor windows remote desktop from linux
An ideal check would be for some meatware to sit infront of a computer, log in with a few user names, check that the login is succesful, and push a button which sets the nagios state to green. If they have a problem, push a different button to set the light to red. a bit of topic perhaps but something I have been thinking of every time people ask me if it's possible to monitor this and that windows application is to simply create a plugin wrapper around a mouse/keyboard recorder such as www.autohotkey.com. This will let you record whatever user behavior and run it as a plugin from nsclient++. You could even create a macro starting an rdp session from a windows box :) cheers Johannes -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] About Nagios3 and arbitrary code execution
Hi all! At the moment I am using Nagios 3.0.6 (12/01/2008) compiled from the source code provided from nagios.org. Recently I have read in the DSA-1825-1 [1] about an arbitrary code execution. According to I see in changelog of the version 3.1.1, it incorporates a security fix for statuswml.cgi where arbitrary shell injection was possible. Somebody could confirm to me that this vulnerability is the same that is mentioned in the DSA? Thanks in advance. Regards, Daniel [1] http://lwn.net/Alerts/339889/ -- Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Squeeze - Linux user #188.598 signature.asc Description: Digital signature -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Installing on Solaris 10 with a package
Im using a package from monitoring exchange (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1) For installing on some SPARC 10 systems. I installed on one system, and it works perfectly, nothing to be done, and I can check_nrpe -H localhost, or access it from another machine using the name. The second machine I installed it on, later, gives : bash-3.00# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. And the same from a remote machine. However both have OpenSSL installed (default with solaris) bash-3.00# pkginfo | grep ssl system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include OpenSSL Header Files system SUNWopenssl-librariesOpenSSL Libraries (Usr) system SUNWopenssl-man OpenSSL Manual Pages system SUNWopensslr OpenSSL (Root) What else could I be missing - the package install said everything was completed successfully, and both machines have the same cfg file, the same ports being listened to in netstat (5666) and both are running as a daemon (/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d) They are two different versions of Sol10 though: bash-3.00# uname -a SunOS beatrix 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V215 bash-3.00# uname -a SunOS marla 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V210 Any ideas whats going wrong? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Installing on Solaris 10 with a package
I got this working using the check_nrpe executable which supports only the basic encryptions that was included. Not sure why the two versions of solaris differ with the encryptions however. From: Brian O'Mahony [mailto:brian.omah...@curamsoftware.com] Sent: 08 July 2009 11:12 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Installing on Solaris 10 with a package Im using a package from monitoring exchange (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1) For installing on some SPARC 10 systems. I installed on one system, and it works perfectly, nothing to be done, and I can check_nrpe -H localhost, or access it from another machine using the name. The second machine I installed it on, later, gives : bash-3.00# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. And the same from a remote machine. However both have OpenSSL installed (default with solaris) bash-3.00# pkginfo | grep ssl system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include OpenSSL Header Files system SUNWopenssl-librariesOpenSSL Libraries (Usr) system SUNWopenssl-man OpenSSL Manual Pages system SUNWopensslr OpenSSL (Root) What else could I be missing - the package install said everything was completed successfully, and both machines have the same cfg file, the same ports being listened to in netstat (5666) and both are running as a daemon (/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d) They are two different versions of Sol10 though: bash-3.00# uname -a SunOS beatrix 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V215 bash-3.00# uname -a SunOS marla 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V210 Any ideas whats going wrong? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Installing on Solaris 10 with a package
Actually this only works on the localhost. I am still getting the SSL errors from the nagios server. From: Brian O'Mahony Sent: 08 July 2009 11:32 To: Brian O'Mahony; nagios-users@lists.sourceforge.net Subject: RE: Installing on Solaris 10 with a package I got this working using the check_nrpe executable which supports only the basic encryptions that was included. Not sure why the two versions of solaris differ with the encryptions however. From: Brian O'Mahony [mailto:brian.omah...@curamsoftware.com] Sent: 08 July 2009 11:12 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Installing on Solaris 10 with a package Im using a package from monitoring exchange (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1) For installing on some SPARC 10 systems. I installed on one system, and it works perfectly, nothing to be done, and I can check_nrpe -H localhost, or access it from another machine using the name. The second machine I installed it on, later, gives : bash-3.00# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. And the same from a remote machine. However both have OpenSSL installed (default with solaris) bash-3.00# pkginfo | grep ssl system SUNWopenssl-commands OpenSSL Commands (Usr) system SUNWopenssl-include OpenSSL Header Files system SUNWopenssl-librariesOpenSSL Libraries (Usr) system SUNWopenssl-man OpenSSL Manual Pages system SUNWopensslr OpenSSL (Root) What else could I be missing - the package install said everything was completed successfully, and both machines have the same cfg file, the same ports being listened to in netstat (5666) and both are running as a daemon (/usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d) They are two different versions of Sol10 though: bash-3.00# uname -a SunOS beatrix 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V215 bash-3.00# uname -a SunOS marla 5.10 Generic_137137-09 sun4u sparc SUNW,Sun-Fire-V210 Any ideas whats going wrong? The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] About Nagios3 and arbitrary code execution
On 8 Jul 2009, at 10:44, Daniel Bareiro wrote: According to I see in changelog of the version 3.1.1, it incorporates a security fix for statuswml.cgi where arbitrary shell injection was possible. Somebody could confirm to me that this vulnerability is the same that is mentioned in the DSA? Yes it is. Ton -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Check result used as an argument for the next check
Is there a way to use the result of a check (the return value or the output for example) as an argument for the next check. I need to keep an history of the checks of one particular service in order to compare the previous check result with the current one. I thought to use the $SERVICESTATEID$ and $SERVICEOUTPUT$ macros but the documentation says that would make no sense because they are not initialized when a check is running. Marc-André Doll -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Installing on Solaris 10 with a package
On 8 Jul 2009, at 11:12, Brian O'Mahony wrote:Im using a package from monitoring exchange(http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1)For installing on some SPARC 10 systems.I installed on one system, and it works perfectly, nothing to be done, and I can check_nrpe –H localhost, or access it from another machine using the name.The second machine I installed it on, later, gives :bash-3.00# ./check_nrpe -H localhostCHECK_NRPE: Error - Could not complete SSL handshake.Make sure you have the SUNWcryr and SUNWcryx packages installed to allow for full encryption. Without those packages nrpe cannot negotiate a working key length properly (it defaults to 256 bit keys which it cannot generate without the extra packages).http://www.sun.com/download/index.jsp?cat=Securitytab=3subcat=Cryptography%20%26%20Encryption Duncs--Duncan FergusonSenior DeveloperOpsera Limited | Unit 69 Suttons Business ParkReading | Berkshire | RG6 1AZ | UKPhone:+44 (0) 845 057 7887Mobile:+44 (0) 7968 148 748Skype: duncan_j_fergusonEmail:duncan.fergu...@opsera.comwww.opsera.comOpsera Limited is registered in theUKunder Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking,Surrey,GU21 4RB. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Monitoring Eventlogs on windows server
Dear All, I m using Nagios 3 running on Rhel 5. I am monitoring windows server using NS Client++. How can I monitor eventlogs on the windows server? PLease let me know the same. I referred check_nt options and didnt find how to monitor critical events from the eventlogs(system,applicaion,security). PLease help. Thanks Regards, Chethan M N inline: image001.gif-- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Installing on Solaris 10 with a package
Perfect. Thanks a lot. From: Duncan Ferguson [mailto:duncan.fergu...@opsera.com] Sent: 08 July 2009 11:51 To: Brian O'Mahony Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Installing on Solaris 10 with a package On 8 Jul 2009, at 11:12, Brian O'Mahony wrote: Im using a package from monitoring exchange (http://www.monitoringexchange.org/cgi-bin/page.cgi?g=Detailed/3061.html;d=1) For installing on some SPARC 10 systems. I installed on one system, and it works perfectly, nothing to be done, and I can check_nrpe -H localhost, or access it from another machine using the name. The second machine I installed it on, later, gives : bash-3.00# ./check_nrpe -H localhost CHECK_NRPE: Error - Could not complete SSL handshake. Make sure you have the SUNWcryr and SUNWcryx packages installed to allow for full encryption. Without those packages nrpe cannot negotiate a working key length properly (it defaults to 256 bit keys which it cannot generate without the extra packages). http://www.sun.com/download/index.jsp?cat=Securitytab=3subcat=Cryptography%20%26%20Encryption Duncs -- Duncan Ferguson Senior Developer [cid:image001.gif@01C9FFCE.BB642C60] Opsera Limited | Unit 69 Suttons Business Park Reading | Berkshire | RG6 1AZ | UK Phone: +44 (0) 845 057 7887 Mobile: +44 (0) 7968 148 748 Skype: duncan_j_ferguson Email: duncan.fergu...@opsera.commailto:duncan.fergu...@opsera.com www.opsera.comhttp://www.opsera.com/ Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB. The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. inline: image001.gif-- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] monitoring unreachable hosts
This topic of unreachable hosts that's come up recently has got me thinking about an issue we have. We have a few hosts that are behind proxies and as such are impossible to ping. They have a single service which we can check through the proxy successfully. I'm a little stuck on what to do with the host checks. I can supress the alerts, but they still always show as critical (kind of permanently critical). Maybe I'm too anal, but I don't like that. It's meaningless. So I was thinking of making the host check command identical to the service check command. The end result being that if the service is up, the host will also show up, if the service is down, the host will also show down. Still weird, but at least kind of conceptually correct. What concerns me about is the my understanding of how host and service checks would work in this case. If the service check fails, it's going to want to fallback and try the host check which will fail also because it's running the exact same check as the service. However, what if I've disabled notfications on the host itself? That is, I really only ever want service alerts -- no host alerts. In the case of a normal set of host/service checks, Nagios will notice that the host is down, suppress alerts about all the services being down and send out only a host is down alert. In the scenario where the host and service checks are the same and the host notifications are disabled, wouldn't a service alert be suppressed and I'd never hear about an issue on this host? Again, conceptually, the service result is all that's meaningful. Maybe Nagios is smarter than that and would decide that since the host notifications were disabled that it would go ahead and send the service alerts anyway? I guess this could be an issue with any host that has notifications disabled now that I think about it. I tried earlier to disable all checking of the host in this case and that gives me a host unreachable alert when the service goes down. That makes sense since the host can't be checked, but I don't want it going into that bogus state. What would probably be ideal is if Nagios had some way of marking a host as being irrelevanet. That is, the service would sort of stand alone without any host dependency in terms of monitoring. Kind of strange, though. Thanks Mark -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Organisation of hostgroups availability reports
Hi all, I'm looking for the most flexible way to create availability reports of host or service groups. Let's look at the availability of servers for example and take following conditions into account: * Hosts can be of different types: 4 possibilities (Servers, Network equipment, Storage, Peripherals) * Hosts can be located in different countries: 15 possibilities. * Servers can be located in different environments: 2 possibilities (Remote offices, Datacenters) * Servers can have different OS's: 5 possibilities (Windows, Linux, Solaris, Aix, Novel) * Servers can have a different state: 3 possibilities (Production,Acceptance, Development) I want to have the ability to create reports with any kind of combination of the abovementioned parameters. For example: Give me a report of the Belgian Datacenter Windows Development Servers It would be great to have a functionality within Nagios saying: only show hosts that appear in each selected group. But that's not the case. So, ... Any idea how to organize hosts and how to get this kind of information out of there? Cheers, Jelle Smet http://www.smetj.net -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Multiple contactgroups for a host through groups or templates
Hi all, I'm seeking a way to be able to associate a contactgroup with a server, in addition to the contactgroups that are already associated with the server through a hosttemplate, such that if the host goes down, both contactgroups are notified. As I outlined in a post to this list a couple of days ago, I've been trying to do it by associating the host with a second hosttemplate that has the contactgroup associated with it, but only the contactgroup associated with the first hosttemplate in the list is notified if the host goes down. For example: define host { host_name doris use oncall-host,unix-host register 1 } define host { host_name oncall-host contact_groups oncall-primary register 0 } define host { host_name unix-host contact_groups +unix-admin register 0 } When doris goes down, only the 'oncall-primary' contactgroup is notified, not 'unix-admin'. Short of manually associating the contactgroup with the host, can anyone suggest a way I might achieve my desired configuration using groups or templates? Thanks, Guy. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] hostgroups causing hairloss
I am at a point that I am looking for gremlins, no other cause can be found. I am replacing a very old Nagios install with Nagios 3.0.6, no importing, a fresh install, new hardware, a network audit and entering all hosts and services manually. It seems that no matter what I do I keep getting some hosts added to a host group, even though I clearly did not define them as part of the host group. My hostgroups.cfg, ### define hostgroup { hostgroup_name AUTH_DNS alias Authoritative DNS members CDC-Ns1auth,CDC-NSMS,IDC-Ns2auth,SDC-Ns3auth } define hostgroup { hostgroup_name CACHE_DNS alias Caching DNS members CDC-Dnscache,CDC-Ns1,IDC-Ns2,SDC-Ns3 } My hosts/CDC-Ns1auth.cfg, ### define host { host_name CDC-Ns1auth alias ns1auth.tls.net display_nameTLS DNS server address 65.124.104.30 parents null hostgroups null check_command check-host-alive use generic-host initial_state o max_check_attempts 3 check_interval 15 retry_interval 1 check_period24x7 process_perf_data 1 retain_status_information 1 contact_groups host-oncall notification_interval 15 notification_period 24x7 notification_optionsd,u,r register1 } Everything looks fine, but when I start Nagios and look at View Config-Object Type-Host Groups, I see this! Group Name Description Host Members CACHE_DNS Caching DNS service CDC-Dnscache , CDC-Ns1 , CDC-Ns1auth , IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and SDC-Ns3. Why are the other hosts in there? I have tried renaming, I have tried starting fresh with new config files, new retention data, new object cache. Yet the hostgroup CACHE_DNS still contains hosts I did not define to be there. Any help is appreciated, clues, clue bats, links, (yes I looked at the change log and searched for an answer, no luck). Thanks, DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] monitoring unreachable hosts
On Jul 8, 2009, at 10:43 AM, Frost, Mark {PBG} wrote: So I was thinking of making the host check command identical to the service check command. The end result being that if the service is up, the host will also show up, if the service is down, the host will also show down. Still weird, but at least kind of conceptually correct. Yes, that's one approach that leads to a somewhat correct indication. However, what if I've disabled notfications on the host itself? That is, I really only ever want service alerts -- no host alerts. In the case of a normal set of host/service checks, Nagios will notice that the host is down, suppress alerts about all the services being down and send out only a host is down alert. In the scenario where the host and service checks are the same and the host notifications are disabled, wouldn't a service alert be suppressed and I'd never hear about an issue on this host? Yes, if you've disabled notifications for the host. I tried earlier to disable all checking of the host in this case and that gives me a host unreachable alert when the service goes down. That makes sense since the host can't be checked, but I don't want it going into that bogus state. To get an unreachable state, a parent for this host would have had to return a non-OK result. If you don't want that, find out why the parent returned a non-OK state or remove the parents definition. What would probably be ideal is if Nagios had some way of marking a host as being irrelevanet. That is, the service would sort of stand alone without any host dependency in terms of monitoring. Kind of strange, though. 90% of my hosts are like this. No parents, no check_command and check_period none. Most of what I monitor are routers, that I only care about pinging. I have a ping service and no checks of the host at all. Notifications only come for the service. -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios Daemon Verbosity
Anyone know of a way to increase the verbosity of the actual Nagios Daemon? I am trying to track down an issue (see my message from yesterday), but Nagios only logs the checks/alerts etc. I would like to turn on debugging of some sort but I don't see any way of doing so. -- John -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] monitoring unreachable hosts
Frost, Mark {PBG} wrote: This topic of unreachable hosts that's come up recently has got me thinking about an issue we have. We have a few hosts that are behind proxies and as such are impossible to ping. They have a single service which we can check through the proxy successfully. I'm a little stuck on what to do with the host checks. Might a passive check be the solution here? I.e., instead of having the nagios box do an active check and try to connect out to the external hosts, perhaps there's a way to have the external host connect in to the nagios box periodically and say I'm still here. HTH, DR -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Check result used as an argument for the next check
2009/7/8 Marc-André Doll m...@b-care.net: Is there a way to use the result of a check (the return value or the output for example) as an argument for the next check. I need to keep an history of the checks of one particular service in order to compare the previous check result with the current one. I thought to use the $SERVICESTATEID$ and $SERVICEOUTPUT$ macros but the documentation says that would make no sense because they are not initialized when a check is running. Marc-André Doll I use $SERVICEPERFDATA$ all the time in my service check commands and it works fine, I imagine you can use $SERVICEOUTPUT$ too. It isn't difficult to test, just write a little check command to spit the unixtime stamp and whatever you pass to it back out, and feed it the $SERVICEOUTPUT$ as an arguement. .r' -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] monitoring unreachable hosts
-Original Message- From: David Rosenstrauch [mailto:dar...@darose.net] Sent: Wednesday, July 08, 2009 12:39 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] monitoring unreachable hosts Frost, Mark {PBG} wrote: This topic of unreachable hosts that's come up recently has got me thinking about an issue we have. We have a few hosts that are behind proxies and as such are impossible to ping. They have a single service which we can check through the proxy successfully. I'm a little stuck on what to do with the host checks. Might a passive check be the solution here? I.e., instead of having the nagios box do an active check and try to connect out to the external hosts, perhaps there's a way to have the external host connect in to the nagios box periodically and say I'm still here. HTH, DR In my case, this is a host that we have no administrative access to. Imagine that you're monitoring yahoo.com :-) It just seems like while the host check is an integral part of the process (in terms of the way that Nagios looks at things), it's also completely pointless and actually gets in the way here. Mark -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Daemon Verbosity
On Jul 8, 2009, at 11:29 AM, John Andrunas wrote: Anyone know of a way to increase the verbosity of the actual Nagios Daemon? I am trying to track down an issue (see my message from yesterday), but Nagios only logs the checks/alerts etc. I would like to turn on debugging of some sort but I don't see any way of doing so. You don't say what version of nagios you are using. In version 2.x and prior, debug options are set at compile time and passed via --enable-DEBUG[x] parameters to ./configure (./configure -- help). In version 3.x, debug options are set in the main config file. http://nagios.sourceforge.net/docs/3_0/configmain.html -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] hostgroups causing hairloss
Something that immediately comes to mind: What are your regex_matching settings? use_regex_matching and use_true_regex_matching Regards Martin On Wed, Jul 8, 2009 at 6:15 PM, DAve dave.l...@pixelhammer.com wrote: I am at a point that I am looking for gremlins, no other cause can be found. I am replacing a very old Nagios install with Nagios 3.0.6, no importing, a fresh install, new hardware, a network audit and entering all hosts and services manually. It seems that no matter what I do I keep getting some hosts added to a host group, even though I clearly did not define them as part of the host group. My hostgroups.cfg, ### define hostgroup { hostgroup_name AUTH_DNS alias Authoritative DNS members CDC-Ns1auth,CDC-NSMS,IDC-Ns2auth,SDC-Ns3auth } define hostgroup { hostgroup_name CACHE_DNS alias Caching DNS members CDC-Dnscache,CDC-Ns1,IDC-Ns2,SDC-Ns3 } My hosts/CDC-Ns1auth.cfg, ### define host { host_name CDC-Ns1auth alias ns1auth.tls.net display_nameTLS DNS server address 65.124.104.30 parents null hostgroups null check_command check-host-alive use generic-host initial_state o max_check_attempts 3 check_interval 15 retry_interval 1 check_period24x7 process_perf_data 1 retain_status_information 1 contact_groups host-oncall notification_interval 15 notification_period 24x7 notification_optionsd,u,r register1 } Everything looks fine, but when I start Nagios and look at View Config-Object Type-Host Groups, I see this! Group Name Description Host Members CACHE_DNS Caching DNS service CDC-Dnscache , CDC-Ns1 , CDC-Ns1auth , IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and SDC-Ns3. Why are the other hosts in there? I have tried renaming, I have tried starting fresh with new config files, new retention data, new object cache. Yet the hostgroup CACHE_DNS still contains hosts I did not define to be there. Any help is appreciated, clues, clue bats, links, (yes I looked at the change log and searched for an answer, no luck). Thanks, DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] monitoring unreachable hosts
Frost, Mark {PBG} wrote: -Original Message- From: David Rosenstrauch [mailto:dar...@darose.net] Sent: Wednesday, July 08, 2009 12:39 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] monitoring unreachable hosts Frost, Mark {PBG} wrote: This topic of unreachable hosts that's come up recently has got me thinking about an issue we have. We have a few hosts that are behind proxies and as such are impossible to ping. They have a single service which we can check through the proxy successfully. I'm a little stuck on what to do with the host checks. Might a passive check be the solution here? I.e., instead of having the nagios box do an active check and try to connect out to the external hosts, perhaps there's a way to have the external host connect in to the nagios box periodically and say I'm still here. HTH, DR In my case, this is a host that we have no administrative access to. Imagine that you're monitoring yahoo.com :-) It just seems like while the host check is an integral part of the process (in terms of the way that Nagios looks at things), it's also completely pointless and actually gets in the way here. Mark Hmmm OK, well couldn't you just remove the check_command for those hosts? From the define host docs: check_command: This directive is used to specify the short name of the command that should be used to check if the host is up or down. Typically, this command would try and ping the host to see if it is alive. ... If you leave this argument blank, the host will not be actively checked. Thus, Nagios will likely always assume the host is up (it may show up as being in a PENDING state in the web interface). This is useful if you are monitoring printers or other devices that are frequently turned off. ... DR -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] basic nagios/linux info needed
Hello all, I am attempting to install nagios on a new server...I wanted to use nag-3.0.6 but there is no rpm for it and I have been frustrated trying to use rpmbuild to create what I need, so since its a new server (or relatively blank) I tried this: Based on this info below 1. is it a problem unable to send message to package kit? 2. What does yum actually do? Does it install nagios so that I don't have to compile binaries, etc? thanks! [r...@dns /]# yum install nagios Loaded plugins: refresh-packagekit Setting up Install Process Parsing package install arguments Resolving Dependencies -- Running transaction check --- Package nagios.i386 0:2.11-3.fc9 set to be updated -- Finished Dependency Resolution Dependencies Resolved = Package Arch Version Repository Size = Installing: nagios i386 2.11-3.fc9 fedora 2.1 M Transaction Summary = Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 2.1 M Is this ok [y/N]: y Downloading Packages: (1/1): nagios-2.11-3.fc9.i386.rpm | 2.1 MB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: nagios # [1/1] Unable to send message to PackageKit Installed: nagios.i386 0:2.11-3.fc9 Complete! [r...@dns /]# pwd / [r...@dns /]# find . -name nagios* -print ./usr/bin/nagiostats ./usr/sbin/nagios ./usr/lib/nagios ./usr/share/nagios ./usr/share/nagios/html/images/logos/nagios.gif ./usr/share/nagios/html/images/logos/nagiosvrml.png ./usr/share/nagios/html/images/logos/nagios.gd2 ./usr/share/nagios/html/docs/nagiostats.html ./usr/share/doc/nagios-2.11 ./usr/share/selinux/targeted/nagios.pp ./var/spool/nagios ./var/log/nagios ./etc/nagios ./etc/nagios/nagios.cfg ./etc/rc.d/init.d/nagios ./etc/logrotate.d/nagios ./etc/httpd/conf.d/nagios.conf ./etc/selinux/targeted/modules/active/modules/nagios.pp Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] basic nagios/linux info needed
Fedora 9 -Original Message- From: Max Hetrick [mailto:maxhetr...@verizon.net] Sent: Wednesday, July 8, 2009 01:41 PM To: 'Natalie Aloi' Subject: Re: [Nagios-users] basic nagios/linux info needed Natalie Aloi wrote: Hello all, I am attempting to install nagios on a new server...I wanted to use nag-3.0.6 but there is no rpm for it and I have been frustrated trying to use rpmbuild to create what I need, so since its a new server (or relatively blank) I tried this: Based on this info below 1. is it a problem unable to send message to package kit? 2. What does yum actually do? Does it install nagios so that I don't have to compile binaries, etc? What OS are you using? Regards, Max -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] basic nagios/linux info needed
Hi Natalie, I don't know the answer to Question 1... might be worth googling for. In answer to Question 2, yum is, to quote from the first result of my google search for 'man yum', an interactive, automated update program which can be used for maintaining systems using rpm. Basically, yum is a system that allows an administrator to download and install pre-built software packages from a repository. So, yes, it has installed nagios for you, so you don't have to compile binaries etc. However, it is nagios 2 rather than nagios 3. Cheers, Guy. On Wed, Jul 8, 2009 at 6:06 PM, Natalie Aloi na...@experisdatacenters.comwrote: Hello all, I am attempting to install nagios on a new server...I wanted to use nag-3.0.6 but there is no rpm for it and I have been frustrated trying to use rpmbuild to create what I need, so since its a new server (or relatively blank) I tried this: Based on this info below 1. is it a problem unable to send message to package kit? 2. What does yum actually do? Does it install nagios so that I don't have to compile binaries, etc? thanks! [r...@dns /]# yum install nagios Loaded plugins: refresh-packagekit Setting up Install Process Parsing package install arguments Resolving Dependencies -- Running transaction check --- Package nagios.i386 0:2.11-3.fc9 set to be updated -- Finished Dependency Resolution Dependencies Resolved = Package Arch Version RepositorySize = Installing: nagios i386 2.11-3.fc9 fedora2.1 M Transaction Summary = Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 2.1 M Is this ok [y/N]: y Downloading Packages: (1/1): nagios-2.11-3.fc9.i386.rpm| 2.1 MB 00:00 Running rpm_check_debug Running Transaction Test Finished Transaction Test Transaction Test Succeeded Running Transaction Installing: nagios # [1/1] Unable to send message to PackageKit Installed: nagios.i386 0:2.11-3.fc9 Complete! [r...@dns /]# pwd / [r...@dns /]# find . -name nagios* -print ./usr/bin/nagiostats ./usr/sbin/nagios ./usr/lib/nagios ./usr/share/nagios ./usr/share/nagios/html/images/logos/nagios.gif ./usr/share/nagios/html/images/logos/nagiosvrml.png ./usr/share/nagios/html/images/logos/nagios.gd2 ./usr/share/nagios/html/docs/nagiostats.html ./usr/share/doc/nagios-2.11 ./usr/share/selinux/targeted/nagios.pp ./var/spool/nagios ./var/log/nagios ./etc/nagios ./etc/nagios/nagios.cfg ./etc/rc.d/init.d/nagios ./etc/logrotate.d/nagios ./etc/httpd/conf.d/nagios.conf ./etc/selinux/targeted/modules/active/modules/nagios.pp Network Operations Center Manager Experis Data Center LLC 8209 Valley Pike PO Box 535 Middletown,VA 22645 phone:540-869-8702 cell:240-988-3267 fax:540-869-8710 e-mail:na...@experisdatacenters.come-mail%3ana...@experisdatacenters.com -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Daemon Verbosity
Sorry running 3.0.6 compiled from source. I will take a look at the configure options. On Wed, Jul 8, 2009 at 10:05 AM, Marc Powellm...@ena.com wrote: On Jul 8, 2009, at 11:29 AM, John Andrunas wrote: Anyone know of a way to increase the verbosity of the actual Nagios Daemon? I am trying to track down an issue (see my message from yesterday), but Nagios only logs the checks/alerts etc. I would like to turn on debugging of some sort but I don't see any way of doing so. You don't say what version of nagios you are using. In version 2.x and prior, debug options are set at compile time and passed via --enable-DEBUG[x] parameters to ./configure (./configure -- help). In version 3.x, debug options are set in the main config file. http://nagios.sourceforge.net/docs/3_0/configmain.html -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- John -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Daemon Verbosity
Man I swear I looked at that page a million times, not sure how I missed it. Thanks! On Wed, Jul 8, 2009 at 11:05 AM, John Andrunasj...@andrunas.net wrote: Sorry running 3.0.6 compiled from source. I will take a look at the configure options. On Wed, Jul 8, 2009 at 10:05 AM, Marc Powellm...@ena.com wrote: On Jul 8, 2009, at 11:29 AM, John Andrunas wrote: Anyone know of a way to increase the verbosity of the actual Nagios Daemon? I am trying to track down an issue (see my message from yesterday), but Nagios only logs the checks/alerts etc. I would like to turn on debugging of some sort but I don't see any way of doing so. You don't say what version of nagios you are using. In version 2.x and prior, debug options are set at compile time and passed via --enable-DEBUG[x] parameters to ./configure (./configure -- help). In version 3.x, debug options are set in the main config file. http://nagios.sourceforge.net/docs/3_0/configmain.html -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- John -- John -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] hostgroups causing hairloss
David Rosenstrauch wrote: DAve wrote: Everything looks fine, but when I start Nagios and look at View Config-Object Type-Host Groups, I see this! Group Name Description Host Members CACHE_DNSCaching DNS service CDC-Dnscache , CDC-Ns1 , CDC-Ns1auth , IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and SDC-Ns3. Probably not a coincidence that CDC-Ns1auth starts with CDC-Ns1. Sounds like it's using CDC-Ns1 as a prefix to match hostnames, rather than as an actual hostname. Looks like there's config setting in 3.0 called use_regexp_matching which might control that. Perhaps in your old config file that was somehow turned on. (Or perhaps not defined at all, and on is the default.) Who knows what other old settings you're inheriting too. It's probably best for you to scrap your old config, and start fresh with a new 3.0 config file, then adopt it to your needs (i.e., point it to whatever custom definitions/definition-files you've created). As I did, this is an all new install, everything is being re-done after a complete host and service audit of our network. There are no old configs in use. Matching, h, that sticks in my mind somewhere. Time to go read the docs yet again for what I may have missed. DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] hostgroups causing hairloss
Martin Melin wrote: Something that immediately comes to mind: What are your regex_matching settings? use_regex_matching and use_true_regex_matching Ahhh! You are correct sir, thank you. I totally and completely missed that new feature. Thank you. DAve Regards Martin On Wed, Jul 8, 2009 at 6:15 PM, DAve dave.l...@pixelhammer.com mailto:dave.l...@pixelhammer.com wrote: I am at a point that I am looking for gremlins, no other cause can be found. I am replacing a very old Nagios install with Nagios 3.0.6, no importing, a fresh install, new hardware, a network audit and entering all hosts and services manually. It seems that no matter what I do I keep getting some hosts added to a host group, even though I clearly did not define them as part of the host group. My hostgroups.cfg, ### define hostgroup { hostgroup_name AUTH_DNS alias Authoritative DNS members CDC-Ns1auth,CDC-NSMS,IDC-Ns2auth,SDC-Ns3auth } define hostgroup { hostgroup_name CACHE_DNS alias Caching DNS members CDC-Dnscache,CDC-Ns1,IDC-Ns2,SDC-Ns3 } My hosts/CDC-Ns1auth.cfg, ### define host { host_name CDC-Ns1auth alias ns1auth.tls.net http://ns1auth.tls.net display_nameTLS DNS server address 65.124.104.30 parents null hostgroups null check_command check-host-alive use generic-host initial_state o max_check_attempts 3 check_interval 15 retry_interval 1 check_period24x7 process_perf_data 1 retain_status_information 1 contact_groups host-oncall notification_interval 15 notification_period 24x7 notification_optionsd,u,r register1 } Everything looks fine, but when I start Nagios and look at View Config-Object Type-Host Groups, I see this! Group Name Description Host Members CACHE_DNS Caching DNS service CDC-Dnscache , CDC-Ns1 , CDC-Ns1auth , IDC-Ns2 , IDC-Ns2auth , SDC-Ns3 , SDC-Ns3auth The CACHE_DNS host group should only contain CDC-Ns1, IDC-Ns2, and SDC-Ns3. Why are the other hosts in there? I have tried renaming, I have tried starting fresh with new config files, new retention data, new object cache. Yet the hostgroup CACHE_DNS still contains hosts I did not define to be there. Any help is appreciated, clues, clue bats, links, (yes I looked at the change log and searched for an answer, no luck). Thanks, DAve -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org -- Posterity, you will know how much it cost the present generation to preserve your freedom. I hope you will make good use of it. If you do not, I shall repent in heaven that ever I took half the pains to preserve it. John Quincy Adams http://appleseedinfo.org -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] basic nagios/linux info needed
Natalie Aloi wrote: Fedora 9 Oh, ok. I know RPMForge has RPMs for some Fedora versions, but I think they only go up to Fedora 4 or 5. I'm running CentOS and have 3.0.6 running from their RPMs. Regards, Max -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] External Command File Error
Hi there - I completed the installation of the Nagios 3.1.2 application onto our CentOS 5.3 server. Everything appears to be working fine with one noticeable exception: If I go to the host information page of any host, and select Schedule a check of all services on the host, and subsequently click on commit, I get the following 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 went through and verified the following: 1. The nagios user account has the bash shell. 2. The permissions on the nagios directory, and its subdirectories are as follows: user:group ownership= nagios:nagios permissions = rwxrwxrwx What did I miss here, and what can I do to correct it? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] External Command File Error
On Jul 8, 2009, at 3:56 PM, Kaplan, Andrew H. wrote: Hi there - I completed the installation of the Nagios 3.1.2 application onto our CentOS 5.3 server. Everything appears to be working fine with one noticeable exception: If I go to the host information page of any host, and select Schedule a check of all services on the host, and subsequently click on commit, I get the following 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 went through and verified the following: 1. The nagios user account has the bash shell. 2. The permissions on the nagios directory, and its subdirectories are as follows: user:group ownership= nagios:nagios permissions = rwxrwxrwx What did I miss here, and what can I do to correct it? Thanks. Does /usr/local/nagios/var/rw exist? If not run 'make install- commandmode' if you installed from source code. Does /usr/local/nagios/var/rw/nagios.cmd exist after starting nagios? If not, verify that you've set check_external_commands and related options in nagios.cfg. Is the ownership of /usr/local/nagios/var/rw nagios:nagios? If so, review the Fedora Quickstart Guide, specifically Step 1, Create Account Information; you've missed setting the ownership of the files and apache group membership correctly. Apache will need to be restarted after making those changes. Do you have SELinux enabled and in enforcing mode? If so, is your policy preventing access to that directory and named pipe? -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] External Command File Error
Hi there -- Thanks for your reply. The answers to your questions are the following: Does /usr/local/nagios/var/rw exist? Yes, it does. Does /usr/local/nagios/var/rw/nagios.cmd exist after starting nagios? Yes, it does. The external commands option is set to 1 in the nagios.cfg file. Is the ownership of /usr/local/nagios/var/rw nagios:nagios? Yes, the ownership is set to nagios:nagios. Is the ownership of /usr/local/nagios/var/rw nagios:nagios? If so, review the Fedora Quickstart Guide, specifically Step 1, Create Account Information; you've missed setting the ownership of the files and apache group membership correctly. Apache will need to be restarted after making those changes. I went ahead and ran the usermod command for Apache that was mentioned in step one of the Fedora Quickstart guide. Once that was done, I restarted Apache, and that appears to have solved the problem. Thanks for the help. -Original Message- From: Marc Powell [mailto:m...@ena.com] Sent: Wed 7/8/2009 6:03 PM To: Nagios Users Mail-list Subject: Re: [Nagios-users] External Command File Error On Jul 8, 2009, at 3:56 PM, Kaplan, Andrew H. wrote: Hi there - I completed the installation of the Nagios 3.1.2 application onto our CentOS 5.3 server. Everything appears to be working fine with one noticeable exception: If I go to the host information page of any host, and select Schedule a check of all services on the host, and subsequently click on commit, I get the following 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 went through and verified the following: 1. The nagios user account has the bash shell. 2. The permissions on the nagios directory, and its subdirectories are as follows: user:group ownership= nagios:nagios permissions = rwxrwxrwx What did I miss here, and what can I do to correct it? Thanks. Does /usr/local/nagios/var/rw exist? If not run 'make install- commandmode' if you installed from source code. Does /usr/local/nagios/var/rw/nagios.cmd exist after starting nagios? If not, verify that you've set check_external_commands and related options in nagios.cfg. Is the ownership of /usr/local/nagios/var/rw nagios:nagios? If so, review the Fedora Quickstart Guide, specifically Step 1, Create Account Information; you've missed setting the ownership of the files and apache group membership correctly. Apache will need to be restarted after making those changes. Do you have SELinux enabled and in enforcing mode? If so, is your policy preventing access to that directory and named pipe? -- Marc -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Weird issue with check_ping
occasionally, I'll get a response that flags nagios to go critical: /sbin/ping -n -c 5 10.1.1.1 CRITICAL - Could not interpret output from ping command This happens maybe once or twice a day. Is it getting confused with something else? It doesn't seem to happen on any consistant basis, or with any particular host we are monitoring, and does not appear that the host has stopped responding via a normal ping when this happens. Regards, Shon Elliott Senior Network Engineer unWired Broadband, Inc. Office: (559) 261- x 511 Cell: (559) 917-6480 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Weird issue with check_ping
I've seen this happen when ping returned an error. In my case, it was actually ping6 because it had a bad IPv6 address configured. Since it's intermittent in your case, most likely the root cause is something else, but ping is still returning an error. If I had to venture a guess, maybe it's destination unreachable - which would indicate a real problem in your network. If 10.1.1.1 is on a different subnet, it would be a routing issue. If it's on the same subnet, it's probably an ARP resolution issue. But all that is guesswork. You'd have to catch ping in the act and see what it really returns. I don't see any options in check_ping that could give you that information, but maybe you can write your own shell script that watches for ping error messages and logs them or reports them as check results. Shon Elliott wrote: occasionally, I'll get a response that flags nagios to go critical: /sbin/ping -n -c 5 10.1.1.1 CRITICAL - Could not interpret output from ping command This happens maybe once or twice a day. Is it getting confused with something else? It doesn't seem to happen on any consistant basis, or with any particular host we are monitoring, and does not appear that the host has stopped responding via a normal ping when this happens. Regards, Shon Elliott Senior Network Engineer unWired Broadband, Inc. Office: (559) 261- x 511 Cell: (559) 917-6480 -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Kevin Keane Owner The NetTech Find the Uncommon: Expert Solutions for a Network You Never Have to Think About Office: 866-642-7116 http://www.4nettech.com This e-mail and attachments, if any, may contain confidential and/or proprietary information. Please be advised that the unauthorized use or disclosure of the information is strictly prohibited. The information herein is intended only for use by the intended recipient(s) named above. If you have received this transmission in error, please notify the sender immediately and permanently delete the e-mail and any copies, printouts or attachments thereof. -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Monitoring Eventlogs on windows server
Dear All, I m using Nagios 3 running on Rhel 5. I am monitoring windows server using NS Client++. How can I monitor eventlogs on the windows server? PLease let me know the same. I referred check_nt options and didnt find how to monitor critical events from the eventlogs(system,applicaion,security). PLease help. Thanks Regards, Chethan M N -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null