Re: [Nagios-users] Monitoring hosts and DHCP
C. Bensend wrote: Umm... So how do you access the hosts, if they're switching IPs on you and you're not using DNS? Do you just rely on WINS or something? You could set up passive checks, and have the DHCPized machines *send* you the test results, that way Nagios wouldn't have to have some way of addressing them. I *think* that would work? I've never tried it. Benny Yes in fact this is a good idea Benny, since the NSCA calls embed the hostname in the message so that it doesn't rely on the IP/hostname of the originator. This should entirely work. If implementing a lot of passive checks though, you should really check out NSCA Wrapper on Nagios Exchange. I wrote it cos writing a wrapper to send nsca result for every single check seems to be a waste of time. Just run ./nsca_wrapper -H hostname -S service_name -C '/path/to/plugin -args' and the /path/to/plugin is run, results formatted properly and then submitted to the Nagios server as an NSCA result, no code writing required. Of course you have to have set up NSCA first, it's not magic after all... NSCA Wrapper can be found here: http://www.nagiosexchange.org/Check_Plugins.21.0.html?tx_netnagext_pi1[p_view]=980 Because there are better things to have to write a shell script for every check to make it a passive check. If you're using Windows on the remote hosts, then I think the only solution in that case is to use NC_Net as the only Windows nagios monitoring client that supports NSCA (correct me if you know of any other decent ones), but I'm less keen on this than on NSClient++ since it's harder to deploy (NSClient++ is very easy to deploy even to a very large number of hosts since you can easily script the deployment - and I did). NC_Net has dependency on .NET Framework which means you have to go around manually installing that everywhere, it always gives a pop up to complete the installation, so definitely not as nice and simple as NSClient++. So that's the whole NSCA bag if you want it. -h Hari Sekhon - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 plugin for Ganglia data and NRPE
Hi, I have been wondering, there is a lot I like about Ganglia and a lot of people I have talked to agree. It is small and very efficient and not hard to expand. What I wondered is if anyone has heard of a Nagios/Ganglia plugin or even examples of people replacing NRPE with Gangila's monitor daemon? Same question goes for Cacti or Monit.. I keep wondering if anyone is trying to tie some of this stuff together? Thanks, Eric begin:vcard fn:Eric Frazier n:Frazier;Eric email;internet:[EMAIL PROTECTED] tel;work:506.546.8292 ext 3303 tel;fax:506.546.8092 tel;home:506.546.3558 tel;cell:506.226.0204 x-mozilla-html:FALSE version:2.1 end:vcard - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] OpMon Agent version 2.5.0.12
We have as of now NRPE version 2 support built in OpMonAgent. The new version and documentation can be downloaded from: http://www.opservices.com.br/index.php?option=com_contenttask=viewid=54It emid=54 Please notice that NRPE does not support SSL yet, so it must be called with the option -n, check_nrpe -n Suggestions and bugs can be sent to our support forum at https://intranet.opservices.com.br/phpBB2/ Thanks. _ Dario B. BestettiOpServices R. Luciana de Abreu, 471 - Sala 403 Porto Alegre, RS - CEP 90570-060 Fone 55(51)30613588 Mobile 55(51)81518218 Fax 55(51)30613588 Email [EMAIL PROTECTED] In God we trust, the rest we monitor ... _ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 hosts and DHCP
Hari, Thank you for this suggestion, but we do have a very small LAN here, and we simply use the DHCP daemon that is comes with the software on our router. If I were managing a larger LAN, it's likely that I would use a *nix host to run a DHCP daemon. I've configured the router so that it reserves a given IP for a given MAC that is regularly on the network. This way, the DHCP daemon can still do its job of auto-assigning IPs to new machines, but it can also see to it that the IP doesn't change over time (which solves the problem that I was experiencing using Nagios). Thanks to everyone for your help and suggestions! --- Matt Lozier IT Analyst 972.644.2581, ext. 248 972.661.2701 fax The information contained in this message or any attached document is confidential and intended only for the individual(s) or entity to which it is addressed. The information should be considered privileged and confidential. If you are not the intended recipient, you are hereby notified that any unauthorized use of the information contained in or transmitted with the communication, or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please inform the sender by immediately returning this communication to the sender and then deleting the original message and any copy of it in your possession. -Original Message- From: Hari Sekhon [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 20, 2007 3:50 AM To: Matt Lozier Cc: 'C. Bensend'; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring hosts and DHCP If you dhcp server is on unix, write some code to parse the dhcp leases file to give you the mapping as dynamic input to your check. eg. check_something -H `show_dhcp computer1` .. or check_something -H `check_nrpe -H dhcp_server -c show_dhcp -a computer1` although this would require passing params through NRPE which I am absolutely against as a security risk. Alternatively you could define lots of nrpe definitions on the dhcp server to get around the need for args... show_dhcp_computer1 for example. Depends on how big your environment is really. I actually starting writing something to display dhcp leases but got sidetracked and didn't finish. If you could wait a little while, there is a good chance that you can just use what I am writing, although I started it just to see who was getting dhcp leases on my network to keep an easier eye on it. I will consider your situation and see what can be done about it when writing my plugin which I should pick up again and finish shortly... -h Hari Sekhon Matt Lozier wrote: Hi Benny, Thank you for the reply, but unfortunately I'm not using DNS, and I don't want to have to :-) Just want to know if there is a way to monitor hosts that obtain their IP address via DHCP. I'll continue to see what I can do with this, and will reply to the list if I find a solution. Thanks again, --- Matt Lozier Network Administrator 972.644.2581, ext. 248 972.661.2701 fax The information contained in this message or any attached document is confidential and intended only for the individual(s) or entity to which it is addressed. The information should be considered privileged and confidential. If you are not the intended recipient, you are hereby notified that any unauthorized use of the information contained in or transmitted with the communication, or dissemination, distribution, or copying of this communication is strictly prohibited by law. If you have received this communication in error, please inform the sender by immediately returning this communication to the sender and then deleting the original message and any copy of it in your possession. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of C. Bensend Sent: Monday, November 19, 2007 9:45 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring hosts and DHCP I'm monitoring about 30 machines using Nagios with SNMP checks. I also have a DHCP server casting each machine on the network their IP address on start-up. Some machines stay on the majority of the time, others for only 4-8 hours a day. The machines generally maintain their same IP address over time as DHCP is designed to try and give a machine back it's same IP, so long as it's available. However, there have been times when a machine has changed its IP addresses as a result of using DHCP on this LAN. http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host Pay particular attention to the address section... You can use the hostname in place of the IP address, at the cost of doing a DNS lookup when the host is checked. Benny - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio
[Nagios-users] Notification by email
Hi I'm using nagios 2.10 and every time i have a email with notification it is send two times the same email. How can i resolve it?- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] (no subject)
1 . It helps to have a subject 2. Have you tried www.NagiosExchange.org? This 2 second search seems to have found check_sybase: http://www.nagiosexchange.org/Search_Projects.43.0.html?tx_netnagext_pi1%5Bphrase%5D=sybasetx_netnagext_pi1%5Bsubmit%5D=searchtx_netnagext_pi1%5Bsearch%5D=1 -h Hari Sekhon Jake Solid wrote: I'm currently running the following version of Cent OS with Sybase 12.5: Linux database.domain.com http://database.domain.com 2.6.14.3-vs2.0.1-rc5 #1 SMP Tue Dec 6 14:19:56 EST 2005 x86_64 x86_64 x86_64 GNU/Linu Can anyone suggest a plugin to monitor the space of a sybase database? Regards, - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] (no subject)
I'm currently running the following version of Cent OS with Sybase 12.5: Linux database.domain.com 2.6.14.3-vs2.0.1-rc5 #1 SMP Tue Dec 6 14:19:56 EST 2005 x86_64 x86_64 x86_64 GNU/Linu Can anyone suggest a plugin to monitor the space of a sybase database? Regards, - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] Notification by email
Have you checked your contacts.cfg file to make sure your email address is only specified once? _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Leandro Silva Sent: Tuesday, November 20, 2007 11:11 AM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Notification by email Hi I'm using nagios 2.10 and every time i have a email with notification it is send two times the same email. How can i resolve it? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ 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] SNMP autodiscovery / Puppet Naginator question
I'm looking for ways to autocreate Nagios config files, using Puppet's Naginator, but before I can do that, I need to clear up an autodiscovery problem I have. I'm hoping someone here on the list has done something like that before. I would like to query a network device (e.g. Cisco) and get all its routes (as if I typed in something like show ip route). Is SNMP standardized to the point where I can send one query to any network device and have it return to me the route statements, regardless of the make, model, or vendor of my networking device? If anyone could point me in the right direction of what I should be looking for, I would be eternally grateful! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] checking wmi with Linux (and not using NSClient++)
I'm looking for a Linux-based tool that will let me making simple WMI queries on a Windows server. Yes, I know that I can use NSClient++ (or equivalent) on the Windows server to listen for my check_npre commands, but I'm hoping that there is a quick and dirty *nix-based tool that will let me do this without having to resort to always having to install NSClient++. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] Sybase plugin?
Hi Jake Have you tried this plugin? http://www.nagiosexchange.org/Others.152.0.html?tx_netnagext_pi1[p_view]=218 Regards, - Chris Lee (cleegt) --- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?tx_maillisttofaq_pi1[showUid]=6720 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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] SNMP autodiscovery / Puppet Naginator question
Have a look at NACE: http://www.nagiosexchange.org/Configuration.20.0.html?tx_netnagext_pi1[p_view]=277 NACE provides a toolkit for creating queries to generate Nagios configurations from any kind of data. One of the examples is creating disk space check services for every drive autodetected via SNMP on a remote host. This would be similar to your route issue. Let me know if you find it useful! Russell On Tue, Nov 20, 2007 at 03:56:57PM -0800, Roger wrote: I'm looking for ways to autocreate Nagios config files, using Puppet's Naginator, but before I can do that, I need to clear up an autodiscovery problem I have. I'm hoping someone here on the list has done something like that before. I would like to query a network device (e.g. Cisco) and get all its routes (as if I typed in something like show ip route). Is SNMP standardized to the point where I can send one query to any network device and have it return to me the route statements, regardless of the make, model, or vendor of my networking device? If anyone could point me in the right direction of what I should be looking for, I would be eternally grateful! - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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 -- Russell Adams[EMAIL PROTECTED] PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint:1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ 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