Re: [Nagios-users] Nrpe and Windows
Hello, Which version of NRPE are you using? NSClient++ is a fairly stable NRPE/NSCA/* client/server for Windows and Linux... // Michael Medin Deborah Martin skrev 2011-09-23 14:19: Folks, Thanks for the suggestions. I'll give check_wmi_plus consideration. It's disappointing that nrpe is failing like this though. I'm only checking local disk usage using check_pdm.exe for the c: drive at the moment. We wouldn't be able to work with NRPE like this as once we have production systems up and running nrpe (or whatever we decide to use) needs to reliable. Regards, Deborah -Original Message- From: Mark Elsen [mailto:mark.el...@gmail.com] Sent: 22 September 2011 15:51 To: Nagios Users List Subject: Re: [Nagios-users] Nrpe and Windows Folks, Nagios 3.2.0 is running on SLES 10 SP 1 NRPE running on Windows It all seems to work fine for a while (10 mins) and then I start seeing socket timeout errors. The only way to fix this is to restart the nrpe service on the node that is being monitored. Has anyone else had this this happen and if so, what was the solution to this sort of problem ? The problem is not 'standard' so to speak; check your windows server eventlog (e.g,)( Is nrpe the best way to monitor windows boxes or should I consider other options out there ? You may consider agent less monitoring, I have been using it for a while, google on check_wmi_plus M. -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Complimentary Events and Webinars on In-Memory, Massively Parallel Processing and 'In the Cloud' - for more information click here This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, please delete this e-mail immediately. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio endeavours to prevent the transmission of viruses via e-mail, we cannot guarantee that any e-mail or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] How to monitor specific windows services using nsclient++
Hello, Just a quick clarification it is not just you who prefer check_nrpe it it is infact the prefered way to interact with NSClient++. check_nt is mainly for legacy support only. Most of the newer features will not be available via check_nt. // Michael Medin 2011-06-08 20:43 C. Bensend skrev: Thanks Benny,..but still i couldn't understand is check_nrpe is used for monitoring windows servers because what i know it's for monitoring remote linux servers only.. If yes do i need to install check_nrpe on my Nagios Server.. Also i am already monitoring these basic things but i want to monitor specific services for e.g say mssql running or down..Similarly other important windows services... NSClient++ listens for NRPE requests as well, on TCP port 5666. Hence, if you have NSClient++ installed on your Windows systems, you can use check_nrpe to talk to them. And yes, then you'd need to install the check_nrpe tool on your Nagios server. I prefer using check_nrpe, I only use check_nt for a very small number of services. The command definition I gave you will check a service on a remote Windows server to see if it's running or not. So, open up your Windows services snap-in, and you can check any of the services listed the same way. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nsclient++ (windows)
Eero Volotinen skrev 2011-04-17 09:14: This might be a bit offtopic question, but still asking it: Is there gpg signed binaries available for nsclient++ for download? No... Is that something you would want? Never consider it myself to be honest... // Michael Medin br, -- Eero -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] independant plugin
Hello, Writing a script in lua which does this would be fairly simple for NSClient++. // Michael Medin 2011-04-13 15:06 Michel Cote skrev: Hi list, First time poster here but I've read a lot of emails so many thanks for that. I don't know how to search for what I'm looking so I'm going to simply ask and hope someone has seen or made something that would suit what I need. So here's the setup: I currently use Nagios to scan over 700 routers (Cisco 1800 series) on our network. Basically we have a little over 700 stores connected to the internet and using a VPN to form a network with our servers. So currently Nagios is pinging those routers to make sure they are up and connected. Behind those routeurs I have an office computer and several cash registers. As a security precaution those computers are not reachable from my linux box and Nagios of course. There is a very simple system that allows those computers to send files back to our servers by secure FTP. Ok so what I'm looking for is a software that would work in the background on those computers and scan for CPU usage, Memory, hard drives and if possible temperature. If certain conditions are met (like shortage of disk space) a file would be produced in a specific folder and the our automatic FTP system would grab it and transfer that to our servers... From there it's a simple matter to transfer it to my linux box and make it availlable to Nagios as a passive check. Has anyone heard of such a software? I've looked into NsClient++ but I have no clue if it's able to save the scans to file if it does it would probably be a pretty good tool for what I'm looking for. Another question I have is about the passive check function. I understand how it works but what I'm not sure of is how to make sure the files that would be produced by the remote software will be correctly formated for Nagios to understand it. Thanks in advance for any help offered. Michel Côté -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Socket.h:(677): bind failed
Hello, My guess is that Normalmente é permitida apenas uma utilização de cada endereço de soquete (protocolo/endereço de rede/porta) is Spanish? Portugis? for only one allowed which means someone else is already using the port. So either figure out which application is useing the port (could be it is already started, could be installed twice) or change the port in question. // Michael Medin Rafael Henrique da Silva Correia skrev 2011-03-03 17:49: Good afternoon list! I'm having trouble with NSClient++ in the Windows Server 2008 x64. I try reinstall NSClient++ and the Nagios Server can't connect to NSClient++. I'm sending an log attached. Anybody can help me please? Thanks -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NAGIOS NRPE for Windows. Error: CHECK_NRPE: Error - Could not complete SSL handshake.
Hello, If you are using NSClient++ on the windows side there is a guide for getting started with nagios, nrpe and nsclient++ on the nsclient++ wiki: http://nsclient.com/nscp/wiki/doc/usage/nagios/nrpe // Michael Medin Sal Ila skrev 2011-03-02 10:17: Hi All, I am a newcomer in this list and new with using the product. I am attempting to configure Nagios NRPE for UNIX in the Nagios Monitoring server and NAGIOS NRPE for Windows in the monitored XP PC. The NRPE daemon in the UNIX servers and the NRPE service in the Windows PC appear both running. The Nagios console is able to show me the Windows XP PC and its ping but the CPU load service shows critical and the message CHECK_NRPE: Error - Could not complete SSL handshake. I have changed the windows.cfg syntax in the UNIX monitoring server from check_nt syntax to check_nrpe but the result was a different error. define service{ use generic-service host_name windowsXP service_description CPU Load check_command check_nrpe!pdm_cpuload } Any idea what the problem might be? Does the NRPE versions need to match the same operating system? Do I need to manage NRPE UNIX clients with a UNIX NRPE Monitoring server and NRPE Windows clients with a Windows NRPE Monitoring server? Thanks. Regards Salvo -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_nt and external scripts
Hello, If you hace NSClient++ on your Windows Server you need to use check_nrpe instead of check_nt to run scripts. // Michael Medin Rafael Henrique da Silva Correia skrev 2011-03-02 16:27: Good afternoon list! I modified an external script from... http://exchange.nagios.org/directory/Plugins/Backup-and-Recovery/ArcServe/CA-ARCserve-Backup-r12-Number-of-Job-Error-Check/details And i'm need monitoring this script with check_nt. How do this? Anybody can help me please? Thanks -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check event log
Hello, It is generally much much simpler to use the new SQL-like syntax. Then you end up writing something which looks a bit like this: generated -1d AND severity NOT IN ('success', 'informational') There is some information on the wiki for how to use this here: http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog For instance this could be a good starting point: CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 filter=*generated gt -2d AND severity NOT IN ('success', 'informational')* truncate=800 unique descriptions syntax=%severity%: %source%: %message% (%count%) This requires a modern (as in 0.3.8) version of NSClient++. // Michael Medin 2011-02-21 11:27 Tristan Drinkwater skrev: Morning all (depending where you are in the world..) I'm trying to catch all error and warning logs from application event folder but I'm struggling with the filter+generated bit. In a nut shell all I want is anything red that happened within the last 24 hours. Here is my syntax I'm running from the libexec folder till I get it right; ./check_nrpe --H ip --p 5667 --c CheckEventLog --a filter=in file=application filter.eventType==error filter+generated=\24h MaxCrit=1 This return's 12 errors. Only 3 of which happened in the last 24 hours. It seems to be either not using the filter I've detailed or making up its own one!! Can anyone see what I'm doing wrong? Thanks in advance J Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NSClient++ 0.3.8 released!
), missing (2), missing (2), (1), eventlog: 33 critical|'eventlog'=33;1;1; Generic: - Added != to all string comparisons - Changes syntax of performance counters: Alias is 'alias %' and it also has the full non % data as 'alias' CheckDriveSize CheckAll MaxWarnUsed=80% MaxCritUsed=90% CRITICAL:CRITICAL: C:\: Total: 146G - Used: 140G (95%) - Free: 6.31G (5%) critical, D:\: Total: 152G - Used: 148G (97%) - Free: 3.59G (3%) critical|'C:\ %'=95%;80;90; 'C:\'=140.17G;117.18;131.83;0;146.48; 'D:\ %'=97%;80;90; 'D:\'=147.93G;121.21;136.3;0;151.52; - Added warning message ewhen numerical filters evaluate to zero (and are not 0) - added a new option in conjunction with -c you can now do -m to specify the module to load. nsclient++ -m CheckDisk.dll -c CheckDriveSize MaxWarn=100 CheckAll // Michael Medin -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NRPE/NSCA replacement thoughts?
On 2010-02-19 09:07, Michael Schwartzkopff wrote: Go for SNMP. This is the ONLY standard for vendor independent managment of devices. Nearly all devices support it. And I really doubt that you will be able to implement your agent on a Cisco IOS or a Check Point firewall appliance. Interesting point. Yet strangely enough most people who uses nagios (or for that matter other monitoring tools) uses various other protocol like wbem, ssh, nrpe, nsca, etc etc. So is that because they have yet to see the light or because the (SNMP) clients are lacking something? Or is it because of limitations in the SNMP protocol? (I was under the impression that the efforts of WBEM was to fix various issues with SNMP?). // Michael Medin -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] NRPE/NSCA replacement thoughts?
Hello Since I am pondering a replacement for the NSCA and NRPE protocol I thought I would get some thoughts from the community? So this is pretty much an open floor kind of thing to get some sense of what people actually need and would want (if anything at all). But to get some general idea I'll give you a few questions to start it off: Is a new protocol a good idea? Should a new protocol be flat text based or structured? Would webservices be the best way? Should the protocol be extensible? What features would a new protocol need to support? - message, performance data, configuration, multiple queries, control logic transfer, inventory, etc. What plattforms would it need to support? Whats polling scheme(s): active, passive, active/passive, proxy, etc? Master/slave scenarios? In both NRPE and NSCA nagios is the master should the client be allowed to act as master? What kind of security mechanisms do you need (host, password, encryption, certificates, etc)? Client side checks or client side data gathering with server side checks? (ie. check_nrpe get ok back, another option would be to get the value and let the server decide if it is good or bad.) Multiple streams? ie send to both Nagios and potentially other collectors (like rrd) Feel free to add more thoughts and ideas here // Michael Medin -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NRPE/NSCA replacement thoughts?
On 2010-02-19 05:22, Morris, Patrick wrote: Michael Medin wrote: Hello Multiple streams? ie send to both Nagios and potentially other collectors (like rrd) For what it's worth, I'm pretty happy with NSCA and NRPE as-is, though I'd be interested to hear your motivation for replacing them (especially the resons for replacing them outright instead of extending the existing apps). Well, the main reason is that they have a number of limitations which I need to resolve and after speaking with Ethan about it I got the impression he would not be updating NRPE/NSCA any more (for instance Ton Voon has some patches to handle payload size which has not been applied). He would (or so I gathered) rather have a new replacement client(s). Also I tend to write programs in C++ and not C which sort of means it is simpler for me to re-write them. // Michael Medin -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NRPE/NSCA replacement thoughts?
On 2010-02-19 07:35, Kevin Keane wrote: Well, the main reason is that they have a number of limitations which I need to resolve and after speaking with Ethan about it I got the impression he would not be updating NRPE/NSCA any more (for instance Ton Voon has some patches to handle payload size which has not been applied). He would (or so I gathered) rather have a new replacement client(s). Client? Or protocol? protocol (NRPE and NSCA has fixed limits on data length, Ton extended the protocol with an additional packet type that was more data. Also I tend to write programs in C++ and not C which sort of means it is simpler for me to re-write them. That really isn't a good reason to throw out the investment thousands of people have made in a working NRPE/NSCA infrastructure! When the next developer comes into the project and likes Java, are we going to get yet another protocol? What if somebody wants to write a client for a new platform - does it have to be in C++? Uhmm... I am talking about a protocol here, so feel free to implement a client in brainf*ck if you like... Now don't get me wrong: I actually agree that there are good reasons to update or even replace the protocol. But I'm quite concerned about the motivation, and the end result that would come from it. Well, in this case my motivation is pure and simple self interest... I have no noble ideas about helping the nagios community. I need a new protocol, I will write one... pure and simple... I just figured I would get some insight into what to think about whilst doing it... // Michael Medin -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NRPE/NSCA replacement thoughts?
On 2010-02-19 07:25, Kevin Keane wrote: Is a new protocol a good idea? Maybe the answer to that question should come at the end instead of the beginning of the process? Well, if everyone thinks this is a doomed sinking ship there is no point to venture forth so for me this is the most important question actually :) Generally, I believe that extending an existing protocol is usually a better idea than wholesale replacement, but sometimes one does have to clear-cut some junk. The protocol part of NRPEand NSCA has far far to many flaws to merit extending them. Should a new protocol be flat text based or structured? What is the design goal? I would advocate structured because of the flexibility, but if it means more bandwidth or using more processing power to parse the protocol, it may not be a great idea? Thats exactly the question: whats more interesting, speed, simplicity or flexibility? Nagios has survived on its simplicity but lately has tried to grow into something more advanced. Should the protocol be extensible? Yes, within reason. One of the beauties of Nagios is in its simplicity, so if you add too much extensibility you might actually lose more than you gain. But on the other hand, some extensibility is important - otherwise, people will come up with their own extensions that don't really fit with the model. For instance, today's performance data is such an enhancement. Master/slave scenarios? In both NRPE and NSCA nagios is the master should the client be allowed to act as master? Define master and slave in this context! If you are talking about the current model of multiple Nagios servers, it seems to me that this is more of a redesign of Nagios, rather than a protocol issue. One pretty interesting idea I saw at the Nordic Nagios Meet last spring was a client (I don't recall the name now) that allowed you to define the checks and such on the clienht. This was then uploaded and incorporated into Nagios. This means nagios is no longer the master for configuration data instead the clients have become masters. What kind of security mechanisms do you need (host, password, encryption, certificates, etc)? That should be left to the underlying transport. Why reinvent the wheel and have to keep chasing security holes if there are already plenty of good solutions available? Client side checks or client side data gathering with server side checks? (ie. check_nrpe get ok back, another option would be to get the value and let the server decide if it is good or bad.) Definitely client-side checks. Otherwise, you'd be looking at effectively re-inventing RPC. What if the value being checked is some huge binary blob, or the result of multiple interdependent system calls? Multiple streams? ie send to both Nagios and potentially other collectors (like rrd) No. Keep it simple, not a protocol to solve all the problems in the world. Nagios itself can forward to other collectors. From what I have gathered this is pretty time and CPU consuming so another option would be to split off the data outside Nagios. // Michael Medin -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring Wimdows machines
Read the guide it should have the information you need to get it setup. http://nsclient.org/nscp/wiki/doc/usage/nagios/nrpe // Michael Medin stan wrote: On Tue, Dec 22, 2009 at 04:22:17PM +, Assaf Flatto wrote: I've had success on both counts , and the check_nt works with no issues. points to consider that might be causing the problem : in the nsc.ini , did you allow the nagios server in the allowed hosts , did you specify the port that you initiate the checks on ? if you did any modification to the nsc.ini , did you restart the nsclient++ service ? have you disabled or allowed connection on the port on the internal windows firewall? Assaf Yes, we have done all of these. We do live in a world with way too many firewalls. What ports should we check with nmap between the What else can you think of that we might need to check? -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitor for memory bottleneck on Windows?
The CPU is measured as averages for the last X time I could do something similar for this. Which is what I think you want? Stacking more of them in one go would be possible I guess, I shall look into it and see what I can come up with. // Michael Medin On 2009-07-09 09:44, Tore Lønøy wrote: Number 2 seems to be the best choice for me. But I think it has to be an average value for the last e.g. 15 min, or something similar. The best would be if you could combine a check which measured swap usage, free physical memory, committed bytes, and pages out/sec, in which an warning / critical error is returned if all of them is in a warning or critical state. But that can we done in nagios, the only thing i miss now is an average value for pages out/sec. My 2 cents 2009/7/6 Michael Medin mich...@medin.name mailto:mich...@medin.name Hello humm, if anyone is interested I could add either: 1, option to do average value checks for arbitrary counters (ie. like CheckCPU) 2, add an option to check Memory\Pages Output/Sec to CheckMem ? // Michael Medin On 2009-07-06 12:55, Tore Lønøy wrote: Hello naguis usergroup! I have for some time now tried to find a way to monitor performance bottlenecks related to shortage of memory on Windows, with no luck. As far my knowlegde of memory bottlenecks concern, using NSClient++ command CheckMem and argument physical, is far from enough. Also, monitoring windows performance counters, like Memory \ Pages Out/sec is no good either since it doesn't support average results. There is alot of documentation on how to determine that memory is a bottleneck, like e.g.: http://support.microsoft.com/kb/555223 But, for what I understand, using nagios to determine this is hard. So how do you guys locate memory bottlenecks on windows machines, with or without the help of nagios? Best regards, Tore -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net mailto:Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- 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 for memory bottleneck on Windows?
I think by usage he did not mean usage but *usage* :) As in how much the swap area i used (having 8Gb swap which is allocated but not used wont matter much). Where as in a system who is spending time writing/reading from/to the swap area performance will degrade considerably. // Michael Medin On 2009-07-09 09:37, Tore Lønøy wrote: This is true for some cases but we have a few servers which are using 75% swap (8GB RAM, 8GB Swap), which are blazing fast even then. So I don´t think swap usage _alone_ is a good indicator, but it can be. 2009/7/6 Andreas Ericsson a...@op5.se mailto:a...@op5.se Tore Lønøy wrote: Hello naguis usergroup! I have for some time now tried to find a way to monitor performance bottlenecks related to shortage of memory on Windows, with no luck. As far my knowlegde of memory bottlenecks concern, using NSClient++ command CheckMem and argument physical, is far from enough. Also, monitoring windows performance counters, like Memory \ Pages Out/sec is no good either since it doesn't support average results. There is alot of documentation on how to determine that memory is a bottleneck, like e.g.: http://support.microsoft.com/kb/555223 But, for what I understand, using nagios to determine this is hard. So how do you guys locate memory bottlenecks on windows machines, with or without the help of nagios? By checking the swap usage. Basically, when a system starts swapping performance will go downhill very, very fast. The disk is several hundred orders of magnitude slower than the RAM. If you have high swap usage, you should buy more RAM for your servers (or modify whatever programs are running on them). -- Andreas Ericsson andreas.erics...@op5.se mailto:andreas.erics...@op5.se OP5 AB www.op5.se http://www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- 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] Monitor for memory bottleneck on Windows?
Hello humm, if anyone is interested I could add either: 1, option to do average value checks for arbitrary counters (ie. like CheckCPU) 2, add an option to check Memory\Pages Output/Sec to CheckMem ? // Michael Medin On 2009-07-06 12:55, Tore Lønøy wrote: Hello naguis usergroup! I have for some time now tried to find a way to monitor performance bottlenecks related to shortage of memory on Windows, with no luck. As far my knowlegde of memory bottlenecks concern, using NSClient++ command CheckMem and argument physical, is far from enough. Also, monitoring windows performance counters, like Memory \ Pages Out/sec is no good either since it doesn't support average results. There is alot of documentation on how to determine that memory is a bottleneck, like e.g.: http://support.microsoft.com/kb/555223 But, for what I understand, using nagios to determine this is hard. So how do you guys locate memory bottlenecks on windows machines, with or without the help of nagios? Best regards, Tore -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] C++ Plugins
Hello, All the built in plugins are avalible as source so it should be pretty simple to figure out. The idea is anyways that you fill the buffer passed to the function from the core. (this will BTW change in the next major release) Anyways... If you are using the glue (around the C api) I have written have a look at for instance this: http://nsclient.org/nscp/browser/branches/stable/modules/CheckExternalScripts/CheckExternalScripts.cpp If not then have a look inside the glue file: http://nsclient.org/nscp/browser/branches/stable/include/NSCHelper.cpp But essential if you are not using the glue: NSCAPI::nagiosReturn wrapReturnString(char *buffer, unsigned int bufLen, std::wstring str, NSCAPI::nagiosReturn defaultReturnCode /* = NSCAPI::success */) { if (str.length() = bufLen) return NSCAPI::returnInvalidBufferLen; strncpy(buffer, str.c_str(), bufLen); return defaultReturnCode; } extern NSCAPI::nagiosReturn NSHandleCommand(const TCHAR* IN_cmd, const unsigned int IN_argsLen, TCHAR **IN_args, TCHAR *OUT_retBufMessage, unsigned int IN_retBufMessageLen, TCHAR *OUT_retBufPerf, unsigned int IN_retBufPerfLen) { try { std::wstring message = _T(my message); std::wstring perf = _T(my message); NSCAPI::nagiosReturn ret = NSCAPI::returnOK; // Wrap strings ret = wrapReturnString(OUT_retBufMessage, IN_retBufMessageLen, message, ret); if (ret == NSCAPI::returnInvalidBufferLen) { //NSC_LOG_CRITICAL(_T(error in: wrapHandleCommand(...))); return NSCAPI::returnIgnored; } ret = wrapReturnString(OUT_retBufPerf, IN_retBufPerfLen, perf, ret); if (ret == NSCAPI::returnInvalidBufferLen) { //NSC_LOG_CRITICAL(_T(error in: wrapHandleCommand(...))); return NSCAPI::returnIgnored; } } catch (...) { //NSC_LOG_CRITICAL(_T(Unknown exception in: wrapHandleCommand(...))); return NSCAPI::returnIgnored; } } In general I would recommend using the glue as it will be simpler to upgrade then... // Michael Medin Christopher McAtackney skrev: Hi all, I'm trying to develop a plug-in for NSClient++ written in C++, but I'm unsure of how to return the status code and the check result string (e.g. 2 and Service is Critical). Are there any examples of C++ plugins online anywhere that I can use as a template? Cheers, Chris -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NRPE vs. check_by_ssh
Sorry to barge in (without reading the thread but...) Security wise NRPE lacks any form of authentication which is something SSH has so in this regard SSH is the more secure one... // Michael Medin Idriss ARABBAJ skrev: Hi Kevin, I carefully read your speech about this subject and I found you a lot of insist on security offering by ssh, but you can also configure nrpe to work with ssl so I think we will have no difference at this level, then what do you think? best regards 2009/3/25 Kevin Keane subscript...@kkeane.com: I think you are comparing apples and oranges here, because in most situations that I can think of, the decision is dictated by the network topology. If you are exclusively on a trusted private network, check_by_ssh really doesn't offer any benefits. Conversely, if your topology involves the Internet or some other untrusted network (WiFi), then you wouldn't want NRPE in the first place. The only exception to the above that I can think of is when it comes to deciding between using check_by_ssh over an untrusted network, vs. NRPE through some other kind of tunnel or VPN. But in that case, you'd incur encryption overhead either way, and the comparison is very different from the question you asked. All that said: I don't have any first-hand experience, but I suspect that the impact of establishing 2200 ssh connections in a five-minute span (assuming that you are using a five-minute check interval) is pretty substantial. The main impact actually lies in establishing and tearing down the connections, key negotiations etc.; the encryption during the data phase probably has only limited impact because most checks only transmit a few bytes back and forth. SSH does much better with longer-duration connections when the keys are already exchanged. This is even more true if you have a router-based VPN, because in that case the overhead is offloaded to a different machine. So if you have the option of sending the checks as NRPE through one or a few long-term VPNs: you are probably going to be better off. Of course, in the big picture, your mileage may vary. Christopher McAtackney wrote: Hi all, I was wondering if someone could give a brief overview of the pros / cons of using NRPE to monitor my remote hosts versus using the check_by_ssh command? I'm aware that check_by_ssh increases the CPU overhead, but I'm not clear on the level of impact here - does this increase the load on the monitoring machine in direction relation to the number of hosts being monitored? For example, if I was using check_by_ssh to monitor, say, 2000 services spread across 200 hosts, would I experience significant slowdown on my monitoring machine? Cheers for any info, Chris -- 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. -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NRPE vs. check_by_ssh
Kevin Keane skrev: Wouldn't the SSL certificates provide authentication comparable to SSH keys? I'm not familiar with how NRPE uses SSL, but I would assume that you could also use client certificates? I am no expert but AFAIK it merely encrypts the traffic ie, no certificates at all. If someone knows hoe to use certificates please feel free to let me know so I can add it to NSClient++ but what I have seen it is not possible... // Michael Medin Michael Medin wrote: Sorry to barge in (without reading the thread but...) Security wise NRPE lacks any form of authentication which is something SSH has so in this regard SSH is the more secure one... // Michael Medin Idriss ARABBAJ skrev: Hi Kevin, I carefully read your speech about this subject and I found you a lot of insist on security offering by ssh, but you can also configure nrpe to work with ssl so I think we will have no difference at this level, then what do you think? best regards 2009/3/25 Kevin Keane subscript...@kkeane.com: I think you are comparing apples and oranges here, because in most situations that I can think of, the decision is dictated by the network topology. If you are exclusively on a trusted private network, check_by_ssh really doesn't offer any benefits. Conversely, if your topology involves the Internet or some other untrusted network (WiFi), then you wouldn't want NRPE in the first place. The only exception to the above that I can think of is when it comes to deciding between using check_by_ssh over an untrusted network, vs. NRPE through some other kind of tunnel or VPN. But in that case, you'd incur encryption overhead either way, and the comparison is very different from the question you asked. All that said: I don't have any first-hand experience, but I suspect that the impact of establishing 2200 ssh connections in a five-minute span (assuming that you are using a five-minute check interval) is pretty substantial. The main impact actually lies in establishing and tearing down the connections, key negotiations etc.; the encryption during the data phase probably has only limited impact because most checks only transmit a few bytes back and forth. SSH does much better with longer-duration connections when the keys are already exchanged. This is even more true if you have a router-based VPN, because in that case the overhead is offloaded to a different machine. So if you have the option of sending the checks as NRPE through one or a few long-term VPNs: you are probably going to be better off. Of course, in the big picture, your mileage may vary. Christopher McAtackney wrote: Hi all, I was wondering if someone could give a brief overview of the pros / cons of using NRPE to monitor my remote hosts versus using the check_by_ssh command? I'm aware that check_by_ssh increases the CPU overhead, but I'm not clear on the level of impact here - does this increase the load on the monitoring machine in direction relation to the number of hosts being monitored? For example, if I was using check_by_ssh to monitor, say, 2000 services spread across 200 hosts, would I experience significant slowdown on my monitoring machine? Cheers for any info, Chris -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NRPE vs. check_by_ssh
Kevin Keane skrev: Michael Medin wrote: Kevin Keane skrev: Wouldn't the SSL certificates provide authentication comparable to SSH keys? I'm not familiar with how NRPE uses SSL, but I would assume that you could also use client certificates? I am no expert but AFAIK it merely encrypts the traffic ie, no certificates at all. If someone knows hoe to use certificates please feel free to let me know so I can add it to NSClient++ but what I have seen it is not possible... No, that wouldn't be possible. Encryption always requires some form of key or another. In SSL, the key is embedded in the server's certificate. The client certificate is optional; it also contains a second encryption key. If you use client certificates, in effect the traffic is doubly encrypted. Humm. The cipher used is ADH which is anonymous DH cipher suites in addition to a pre shared *known* secret (read un-secret). Again I am no expert but I always interpreted the secret key (DH) thingy as a key and not a certificate but mayhap I got it all wrong? (in which case it might be possible to use proper certificates?) And I am actually using openssl but mayhap it has a built-in keystore as well? // Michael Medin You almost certainly *are* using certificates in NSClient++. But if you are using the standard Windows API functions, Windows transparently hides most of that complexity from you; the MSXML object and its ilk take care of it. You would be using the certificates from the Internet Explorer key store. Actually, when I described how the SSL connection can use single or double encryption, I lied. It is more complicated than that. The SSL keys are extremely long (1024, 2048 bits or more), and they have to be because by nature they don't change over years. SSL keys in the certificates are also the public keys of a public/private key pair. These factors make using the SSL key for encryption *extremely* slow. That is why in reality, public key encryption is only used for extremely short messages (measured in bytes, not kilobytes). To work around that, the client and the server generate yet another random key, this time a symmetric key (which has to be kept secret from anybody). This symmetric key is usually 128 bits or 256 bits. Unlike public-key encryption, symmetric encryption can be implemented very fast. This key is sent using the slow public-key encryption. The actual traffic is then encrypted using this second key, which will be thrown away after the connection ends. Incidentally, SSH works basically the same way. The only substantial difference is that the public keys comes from the authorized_keys file instead of a certificate. Both SSL and SSH actually allow you to use various different encryption algorithms and mechanisms for exchanging keys under the hood. You may, for instance, see DHE for the key exchange, RSA for the public/private encryption, and AES for the symmetric encryption and SHA for hashing (which I haven't even touched on). -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Windows hosts...
Hello, DISCLAIMER! I am (BTW) the author of NSClient++ so I am pretty biased... I did a presenation on windows monitoring at netways nagios conference last year where I presented my views on the various options avalible for windows monitoring (slides can be found (in .pptx) http://nsclient.org/nscp/wiki/conferences/nnk-2008 ) and my conclusion was the following (see below). There is also (if you want) some more details on the various options in the powerpoint slides (and if you want I can email you if you cant read the ppt) this is just the ending summary. Conclusion: I would use either: * NSClient++ * NC_NET I would not use (unless I have a specific reason): * SNMP - Complex to use * NSClient - Old and outdated * NRPE_NT - Hard for some (simple) checks * OpMonAgent - I dont see the benefit * Agentless WMI - Limited functionality // Michael Medin I'm a UNIX and network guy, but since Nagios is my task, I also have to add the Windows servers to Nagios. The network tests are fine, but I'm curious which is the best solution for monitoring local items on a Windows server (2000, 2003, and 2008). Here's what I think the options are: Use check_nt with NSClient, NSClient++, OpMon Agent, or NC_Net Use check_nrpe with NSClient++, OpMon Agent, or NRPE_NT Use check_ncnet with NSClient, NSClient++, OpMon Agent, or NC_Ne Use NSCA-Daemon with NC_Net Note: I'm interested in screwing with WMI... NSClient appears to be old, but stable and well known. However I see it has good support for NT4 and 2000 and 2003 R1, but not 2003 R2 and I don't see anything about 2008 Server. NC_Net looks current and well developed. NSClient++ seems to have NSClient compatibility, but is more current and supports NT4 thru 2008. It looks like I already have check_nt as part of a default 3.x installation. NRPE_NT also seems to have been around for a bit and stable. NSClient++ seems to have its own, native NRPE support. What are your opinions of the best combination to A) get the best overall support and B) have the least impact/installation on a Windows server? I want something current and currently developed with 2008 support, but I also want stability and the least work possible. Presently I'm using NRPE for my local linux/UNIX servers, so I'm inclined to give NRPE a try, but I'd also like to avoid loading plugins on the Windows client if I can. I'm leaning towards NSClient++ with check_nt, but I'm not sure this is the best solutions. Thoughts, opinions, and ideas are requested... -- A. Davis Email: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] NSClient++ and .Net
Hello, I am guessing you are a bit confused. NSClient++ does not use .net (nor require it) perhaps you are thinking of NC_Net? (also NSClient++ version are along the lines of 0.3.6 or some such, I dont want to bloat the version numbers so I tend to increase them sparingly :) // Michael Medin Andrew Davis skrev: If I recall, Windows 2000 Server didn't include .Net, but you could install it. Windows 2003 Server included .Net 1.x, but you could additionally add .Net 2.x. Now it seems that Server 2008 includes .Net 2.x by default and you can install .Net 3.x, though MS finall got smart and just did one big rollup package so you don't have to have .Net 1.x and 2.x both installed, etc. So my question is this: right now we're mostly Server 2003, but migrating to Server 2008. NSClient++ 4.x requires .Net 2.x, but will it work with .Net 3.x on Server 2008? Anyone know? Anyone tried? Thanks, -- A. Davis Email: ncc...@gmail.com There is no limit to what a man can accomplish if he doesn't care who gets the credit. - Ronald Reagan -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring Logs under Windows 2003 server
Hello, I would suggest someone to port check_logfiles to windows (ie working with for instance pure Perl or some such). That is the point of the NRPE support in NSClient++ (and others) // Michael Medin Masoud Tabrizi skrev: I looked that the event log but does no good for me as I am trying to monitor application logs and not events logs. looking for something similar to check_logfiles on Unix. Thanks -Original Message- From: Curtis LaMasters [mailto:curtislamast...@gmail.com] Sent: Monday, March 02, 2009 3:10 PM To: Masoud Tabrizi Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Logs under Windows 2003 server You could use NSClient++ with the event log plugin. I'm not sure what you need exactly from the eventlog but it'll alert you when something happens. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com On Mon, Mar 2, 2009 at 10:08 AM, Masoud Tabrizi masoud.tabr...@gmail.com wrote: Hello Everyone, I have a requirement to monitor a large number of application log files under Win2003. Is there anything out there that can accomplish this? Using Nagios 2.9 and Nrpe_nt_0.8 Thanks in advance M -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] {SPAM} NSClient++.exe problem occupy more and more memory !!
Hello, The new version (0.3.6) out soon (and RC is available now) features a new client to measure resource utilization and in connection with checks you run so that can help you track down what is amiss. There is also a handle leak when running external scripts in the 0.3.5 version (which is fixed in the 0.3.6 RC as well). // Michael Medin 7up8down skrev: hi all I use NSClient++-Win32(NSClient++-Win32-0.3.5) to monitor three Windows OS servers. I can see all services are OK in Nagios server. but I find that NSClient++.exe occupy more and more memory very slowly in all three server. (by Windows task manager) so I test NSClient++ in my pc It's memory occupancy never drop ! I test it in my pc ,It's the same. Anyone can help ? Thank u so much. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] NSClient++ Error
Hi, The error is as far as I can tell that the data sent from the NSCA server (when initializing) was either to long or (perhaps more likely) to short. In this case my guess would be that someone closed the connection when it were waiting for the data to be sent. Why that would be I am not sure, which platform are you on? // Michael Medin Curtis LaMasters skrev: I'm so far unable to get this one figured out. No abnormal logs on the Nagios server but I get this on the client side: 2009-02-06 14:40:43: error:.\NSCAThread.cpp:177: Failed to read header from: xx.xxx.xxx.50:5667 0: The operation completed successfully. Any idea what that means. I just installed this client today and have other clients with the same configuration working just fine. This is on a Windows Server 2003 SBS box. Curtis LaMasters http://www.curtis-lamasters.com http://www.builtnetworks.com -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] calling a java program from nagios
There is a NRPE server written in Java which probably is a better option then spawning Java from the command line. // Michael Medin Hi, For some purpose that was not served by nagios, we have written a java program. One of our client requirement is that this java code (if possible) has to be integrated with nagios so that all the purpose is solved(apparently) by nagios framework. Any input is appreciated. Thanks Venu This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. www.aztecsoft.com-- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] NSClient++: Connection Refused, again and again, with default config
Best way to debug this is: 1, runt: NSClient++ /test (after stopping the service) and see what happends. 2, enable debug logging and check the nsc.log file. // Michael Medin Hi people of the world :P I'm just running the NSclient on a Windows machine. I got the default configuration of the NSC.ini but I have an error in the nagios: Connection refused I modified the NSC.ini to run the client on the 12489 port, and I add the IP of the nagios server on allowed host. I have no information about the client version, the cpu or some information in the nagios. I run a netstat in the windows machine and I get the listening port at 12489 but when I try to connect from telnet on the linux (nagios) machine I've got a Connection closed by foreign host. I scan the machine with the nmap. It don't show the 12489 open of filtered. What can be wrong? In the Windows machine there are no firewall. -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] NSClient++, CheckDriveSize and perfdata
There are plans to update the rendering engine (fancy word) in a future version but if you want I could add an option to includ exact size or something like that and/or add a dot (if nagios allowes this). Open up a ticket at nsclient.org and I shall see if I can have it in the up coming 0.3.6 version (ine a week or so). // MickeM Hi, I check the drives with check_nrpe -H $HOST -c CheckDriveSize -a Drive=C ShowAll=long MaxWarnUsed=90% MaxCritUsed=95% This has a result like: OK: C:: 29.3G - Used: 5.73G (19%) - Free: 23.6G (81%)|'C:'=19%;90;95; Is it possible, to somehow increase the accuracy of the fillstate in percent in the perfdata? like: 'C:'=19.5;90;95; Background: I use nagiosgrapher to paint funny pictures, and on a drive with 1TB, a change of 1% is 10GB. - Klaus -- BOFH excuse #426: internet is needed to catch the etherbunny -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] NSClient++ and CheckEventLog
It has nothing to do with language... The reason is that one of them has an entry which is too long so you need to update the buffer used when NSClinet++ reads the eventlog. The simplest way to solve this is to increase the buffer_size variable to something large enough. If you check the wiki/forums on nsclient.org you can find some values that worked for others or you can play around and find what works for you. // Michael Medin Klaus Umbach skrev: Hi, I wonder why the following check works on a German Windows 2k3 server, but not on an English one. To me this makes no sense... NSC.ini is the same. CheckEventLog filter=new file=application MaxWarn=1 MaxCrit=1 filter+generated=2h filter==eventID=888 Errormessage: EventlogBuffer is too small (set the value of buffer_size): 122 The data area passed to a system call is too small. NSClient++ Version: 0.3.5.1 2008-09-24 (32bit) Maybe the language is just a coincidence... Cheers Klaus -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] NSClient++ and CheckEventLog
humm... I would not change it everywhere since I (personally) think it is a pretty rare problem unles you have an applicatikon which usualy logs very long messages. What you are saying is use a .5Mb memory on all my servers just because it might be a long message since very very long message (the message data is several K's in size) are not too common in the eventlog I would not change anything unless the error pops up. // Michael Medin Klaus Umbach skrev: On 19/01/09 11:07, Michael Medin wrote: It has nothing to do with language... The reason is that one of them has an entry which is too long so you need to update the buffer used when NSClinet++ reads the eventlog. The simplest way to solve this is to increase the buffer_size variable to something large enough. If you check the wiki/forums on nsclient.org you can find some values that worked for others or you can play around and find what works for you. Thanks! buffer_size=52 worked. Now I have to change it everywhere... :-( - Klaus // Michael Medin Klaus Umbach skrev: Hi, I wonder why the following check works on a German Windows 2k3 server, but not on an English one. To me this makes no sense... NSC.ini is the same. CheckEventLog filter=new file=application MaxWarn=1 MaxCrit=1 filter+generated=2h filter==eventID=888 Errormessage: EventlogBuffer is too small (set the value of buffer_size): 122 The data area passed to a system call is too small. NSClient++ Version: 0.3.5.1 2008-09-24 (32bit) Maybe the language is just a coincidence... Cheers Klaus -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Which books are best for Nagios 3
Hello, I am currently reviewing Learning Nagios 3,0 and I would say it is not for moving to Nagios 3 it is for *learning Nagios* (3). ((My review will be out (hopefully) next week, have read about half the book now...)) So skip that one if you know your way around Nagios... // Michael Medin James Miller skrev: Hi Everyone, We've been using Nagios for a few years, since 4/05 and the 2.0b4 days, and absolutely love it. I use it to monitor over a hundred servers, almost 400 services, and over the years I think I've become pretty darned knowledgeable about most aspects of Nagios. In the Nagios 2.x days I found the book Pro Nagios 2.0 to be an indispensables resource Recently I upgraded us from 2.9 to 3.0.6 and I'm looking for recommendations for a book or two on 3.0 to take my knowledge to the next level. I've found the following books available and I'm wondering which ones are the best: 1. Nagios: System and Network Monitoring by Wolfgang Barth (Paperback - Oct 28, 2008) - Illustrated 2. Learning Nagios 3.0 by Wojciech Kocjan (Paperback - Oct 17, 2008) 3. Building a Monitoring Infrastructure with Nagios by David Josephsen (Paperback - Mar 2, 2007) 4. Nagios 3 Enterprise Network Monitoring: Including Plug-Ins and Hardware Devices by Max Schubert, Derrick Bennett, Jonathan Gines, and Andrew Hay (Paperback - Jun 2, 2008) Any suggestions would be _greatly_ appreciated! Thanks, Jim -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] English and German Counters with NSClient++
Klaus Umbach skrev: On 30/09/08 20:46, Michael Medin wrote: Hello, NSClient++ (version 3 and above) do not use the counter names so they are no longer language specific. The coutners.defs is there as a fall back so it is probably never used... So is there a way of asking NSClient++ language independent for e.g. Ahh... now I understand... no... (though I guess I could add it if you want). Feel free to make such a request at the trac site at nsclient.org and I shall see if I can fix it (going to Germany for maschinenfest so might take a week or two before you get it in a nightly build). Another option would be to include a local.ini file and have the language specific counters there. (look under the [include] section). But this would I guess require you to make some manual handling so I think an index based solution would perhaps be better. Also there is WMI which does much of what PDH does but again the index solution might be simpler... // Michael Medin \Physikalischer Datenträger(_Total)\Durchschnittl. Warteschlangenlänge des Datenträgers vs \PhysicalDisk(_Total)\Avg. Disk Queue Length or do I have to define different services for different languages? - Treibholz // Michael Medin Klaus Umbach skrev: Hi, I was just scared by the discovery that the performance counters in Windows are language specific... (Those morons even use Umlauts!) Is it somehow possible to define all I need in counters.defs and use them with a language-independent call? I already defined some, but I don't know how to call them now. Cheers Klaus - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] English and German Counters with NSClient++
Hello, NSClient++ (version 3 and above) do not use the counter names so they are no longer language specific. The coutners.defs is there as a fall back so it is probably never used... // Michael Medin Klaus Umbach skrev: Hi, I was just scared by the discovery that the performance counters in Windows are language specific... (Those morons even use Umlauts!) Is it somehow possible to define all I need in counters.defs and use them with a language-independent call? I already defined some, but I don't know how to call them now. Cheers Klaus - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nrpe argument limit
Sort of... by default the payload is 1024 characters (including the command) so thats the limit. You can extend this by recompiling NRPE (server and client9 and toon has a patch to improve this handling a bit)... // Michael Medin Hi, Does anyone know if there is an argument limit to commands run via nrpe? I've defined one command with 18 args and it works, but another command with 21 args and it errors. Thanks, Kyle - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] how to monitor databases on windows through nagios`
check_nt has very limited functionality (mainly see if the service is sort of running), I would suggest using something more flexible. Such as for instance NRPE or similar which allows you to run scripts on the remote (windows) host. With most modern windows agents (NSClient++, NC_NET, NRPE_NT, OpMonAgent(?)) you can use scripts and thus either use one of the various check_oracle scripts or get your DBA to write up a quick database check script in his or hers favorite language. // Michael Medin Hi All, Thank you for your time. I'm still confused as to how we can monitor oracle database on windows box from Nagios Server? .check_nt does not seem to be much help with regards to the oracle database as there are no oracle parameters defined in check_nt plugin (./check_nt -h) using check_nt i did the following and they are working fine, ./check_nt -H 172.16.17.142 -p 12489 -v USEDDISKSPACE -l E -w 80 -c 90 E:\ - total: 117.20 Gb - used: 107.59 Gb (92%) - free 9.61 Gb (8%) | 'E:\ Used Space'=107.59Gb;93.76;105.48;0.00;117.20 ./check_nt -H 172.16.17.142 -p 12489 -v MEMUSE -w 80 -c 90 Memory usage: total:5340.21 Mb - used: 1915.78 Mb (36%) - free: 3424.44 Mb (64%) | 'Memory usage'=1915.78Mb;4272.17;4806.19;0.00;5340.21 ./check_nt -H 172.16.17.142 -p 12489 -v UPTIME System Uptime - 7 day(s) 1 hour(s) 36 minute(s) The only plug-in check_oracle will work for oracle database monitoring and this is working cool on unix boxes not on win box. on the win box, nsc.ini file, I did commented for this, ;NRPEClient.dll should I uncomment this for check_oracle to work properly? (this is a production win box) Do you want me to install oracle client on nagios server to fix this problem? can someone please help on this? Thanks -Shankar On Sun, Sep 21, 2008 at 1:19 AM, moshe sharon [EMAIL PROTECTED] wrote: Hello . The oracle services you should monitor using the NSCilent for example using the NSclient interface ./check_nt -H 192.168.1.1 -p 1248 -v SERVICESTATE -d SHOWALL -l Oracle Server or what ever method you are using as for the check_oracle. I suggest to install Oracle instant client and configure tnsnames.ora to connect to the windows database then from the command line test the oracle connection sqlplus user/[EMAIL PROTECTED] if all is working you should be able to use check_oracle not ** Oracle instant client can be found here: * http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html * there are few other nice plugins for oracle checks in nagiosexchange -- Moshe Sharon http://www.centerity.com - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Shankar Asam - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Announce: NSClient++ 0.3.4 [Windows agent]
that dreadfully boring developer guidelines document I really should be working on at work. // Michael Medin - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Checking Windows Services with stupid names.
Klaus Umbach wrote: NRPE? To check a Windows-Box? No, that's not really funny... huh? Why not? I'we always thought of NRPE to be vastly superior to the NSClient protocol myself... With NRPE you need a bunch of plugins on the client you are monitoring, with NSCA the standard-stuff is integrated. NRPE is much more configuration cost than NSCA/nsclient++, because you can't just aptitude install them. :-) NSClient++ can do the exact same things (and a lot more) via NRPE then via NSClient with the same (or about the same) amount of configuration... // Michael Medin - Klaus -- First Official Internetdenier - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ethernet traffic
My guess would be that simplest way to do this would be to use one of the windows agents and poll the various performance counters for the network, another option would be to go with WMI. // Michael Medin Dhaval Thakar wrote: Hi list, i want to monitor ethernet traffic of windows servers using nagios i have used following plugin for linux servers cisco products it works fine. http://shawnflynn.com/2008/08/13/nagios-plugin-check_snmp_ifstatuspl/ as author confirmed, this can not be used for windows machines. i want to configure http://www.pnp4nagios.org/pnp/start with nagios to replace mrtg. kindly guide me for any plugin which can be used with nagios + pnp4nagios to plot traffic utilization graphs. Thanks Regards Dhaval Thakar - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Use nrpe_nt to start VB program
Hello, Just a quick response, and I am not an expert here so I could be all wrong. But I am not sure it will be possible / easy to do. But you would need the interact with desktop option set on the service and also make sure the service is running as the same user as the one that is logged in. And even with this I am not really sure it is possible (out of the box) services are generally not supposed to do that. Another way (and this I think is the way I would do it) Would be to stop running NRPE_nt as a service and instead run it as a normal program from (autorun) and then it will be very easy to do. If you monitor other things (such as the system) you might want to run two instance one as a service that responds to your monitoring needs and one as the local user that launches the program. Again I am not an expert so I dont really know... this is wild speculations :) // Michael Medin Hi, I hope someone could help... I'm trying to use Nagios and the check_nrpe plugins to restart a Visual Basic program if it's down. The Nagios server is a Linux box (Centos 5.1). check_nrpe launchs a vbs script on a Windows 2000 server which is the same machine where the VB program should run. The script uses WMI to check if the program is running and to potentially create a new instance of the process. On the Nagios server I install nrpe-2.12 On the Windows 2000 server I install nrpe_nt 0.8 as a service running as LocalSystem and user currently logged is the domain administrator. This is an excerpt from nrpe.cfg on the Windows 2000 server: server_port=5666 allowed_hosts=ip of Nagios server dont_blame_nrpe=1 debug=1 command_timeout=30 loglevel=7 use_win_metachars=1 command[process_restart]=cscript //nologo c:\process_restart.vbs $ARG1$ On the Nagios server I try out this: ./check_nrpe -H server.domain -c process_restart -a vbProgram.exe At this point on the Windows server a process vbProgram.exe is visible from the task manager but no windows are displayed. Moreover the process cannot be killed from the task manager (Access Denied message is returned). In nrpe_nt.log I can see this line: 2008-06-19 16:06:02; 5488; 7;Command completed with return code 0 which, I think, indicates that the command completed successfully. How can I make the program visible on desktop? Am I missing something? Is at least possible to do what I'm trying to do? Emiliano - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] How to monitor windows software raid
Jay R. Ashworth wrote: On Tue, Jun 17, 2008 at 10:18:52AM +0100, Hari Sekhon wrote: On the other hand, perhaps you can just consider this a legacy problem, after all Windows 2000 Server should be retired or at least on it's way out by now... Wouldn't it be pretty to think so. I'll be inquiring about how to instrument an NT4 SP6 PDC for Nagios next week... :-) Wont be that hard actually. If you use for instance NSClient++ or the original client (p)NSclient (and I am guessing the OpMonAgent as well) which all run on NT4 and beyond but when on windows there are not so many pre-made recipes so one tends to have to manufacture the wheel over and over :) But the short answer will be much the same whatever you want to monitor (on windows): Check: the built in (to the agent) cpu/mem/* and in addition you probably want to check Eventlog, PDH counters (and WMI for w2k and beyond) and such to monitor your specific items. // Michael Medin Cheers, -- jra - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] NSCP (CheckFileSize) strips backslashes from file paths
Hello, Do you escape the back-slashes in the nagios config? Try running from the command line (ie. not nagios) like so: check_nrpe ... -c CheckFileSize -a ShowAll MaxWarn=50K MaxCrit=75K 'File:PST=c:\dell\DELLCIRC.ICO' (note the ticks) Also for back-slashes to work you need to enable an option in the NSCP config (something about dangerous meta chars, as well as allow options IIRC) (I can look it up for you if you want, but am at work now, so have to pretend I am working :) // Michael Medin Hello, I would like to monitor a Windows server on our network. Before installing anything on that machine, however, I thought I'd test NSCP (aka NSClient++) on my laptop (Windows XP Professional, SP2). I am getting some very weird results. The following service is defined on the Nagios server in my services.cfg file: define service{ host_name frank service_description Outlook PST check_commandcheck_nrpe!check_pst_size useserviceTemplate } On my Windows machine, I've added this command to the NSC.ini file: check_pst_size=inject CheckFileSize ShowAll MaxWarn=50K MaxCrit=75K File:PST=c:\\dell\DELLCIRC.ICO When I start NSClient++.exe from the DOS command line using the /test flag, I can watch everything as it happens (everything is logged to the screen). The prompt asks me to Enter command to inject or exit to terminate..., and when I enter check_pst_size, I get exactly what I expect. However, when I ask Nagios to perform the check, the slashes get stripped. In the /test output, I see: Injecting: CheckFileSize: ShowAll, MaxWarn=50K, MaxCrit=75K, File:PST=c:dellDELLCIRC.ICO ... instead of what I normally get, which is: Injecting: CheckFileSize: ShowAll, MaxWarn=50K, MaxCrit=75K, File:PST=c:\\dell\DELLCIRC.ICO I don't understand what's different, since in both cases check_pst_size is defined on the client machine, and NRPE's only job is basically to tell the client which command to run. And here's another thing: when I allow Nagios to do its scheduled check, the backslashes get stripped and the returned file size is 0. However, if I get on the Nagios server's CLI and type /usr/nagios/libexec/check_nrpe -H 10.128.128.16 -c check_pst_size, I get the correct results. Nagios is 2.11 on Gentoo. NSCP is 0.3.1. Any ideas? I'm not sure what to do next... Thanks! -Frank - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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_nt -v counter value question (when using counters with colon)
Hello, Counternames with : are broken this is bug that will hopefully be fixed in the next version. A workaround is to use an alias which IIRC might work is to add an alias (which is what causes the problem) like so: dummyalias:\\SQLServer:Databases(_Total)\\Data File(s) Size (KB),SQL Server Databases Datafile size total is %.f (not so much) more details here: http://nsclient.org/nscp/ticket/165 // Michael Medihn I am using, on my windows 2003 server, nsclient++. For the check_nt reference where it refers to the 'COUNTER' parameters it refers to 'float parameters'. This does seem to be working for me. I have added to output from my Nagios server. I got the command line reference from http://nagioswiki.com/wiki/index.php/Checking_NT_Services_with_Nagios. It refers to using NSclient so maybe nsclient++ does not have the same functionality. Any help would be appreciated. [EMAIL PROTECTED] plugins]# ./check_nt -H srv-qs-sqlprd -p 12489 -v COUNTER -l \\SQLServer:Databases(_Total)\\Data File(s) Size (KB),SQL Server Databases Datafile size total is %.f -w 5 -c 30 SQL Server Databases Datafile size total is 191552 | 'SQL Server Databases Datafile size total is %.f'=191552.00%;5.00;30.00; COUNTER = Check any performance counter of Windows NT/2000. Request a -l parameters with the following syntax: -l \\performance object\\counter,description The description parameter is optional and is given to a printf output command which requires a float parameter. If description does not include %%, it is used as a label. Some examples: Paging file usage is %%.2f %%.f paging file used. *** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands. This email message has been swept by MIMEsweeper for the presence of computer viruses. *** - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Windows Servers - [New domain name for nsclient++]
(found here: http://trac.nakednuns.org/nscp - don't ask me about the URL I don't know why it is what it is - it seems safe though) LOL, everyone seems to mention this lately, well, here is my official apology to anyone who has taken offense for the domain name *SORRY* Anyways, try: http://NSCLIENT.ORG, http://nsclient.com or http://nsclient.net hopefully these are better (if anyone want to know the reason for using the old one there is a post on the forum about it http://nsclient.org/nscp/discussion/2/120 ) The preferable domain is nsclient.ORG but since go-daddy was so damn cheep (anyone know why? I pay 10 times as much for my previous domains) I got the others when I was at it... And if any apache2 configure gurus knows how to combine location (I use a location with mod python inside it to call trac) and mod_rewrite let me know cause I would have preferred to drop the trailing /nscp but alas apache was giving me attitude... // Michael Medin - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Register now and save $200. Hurry, offer ends at 11:59 p.m., Monday, April 7! Use priority code J8TLD2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Announce: NSClient++ 0.3.1 Windows agent
Hello, Just realized I haven't posted any release notices to this list in a few years so I figured it was about time :) NSClient++ aims to be a simple lightweight yet powerful and secure monitoring agent for the Windows operating systems. In addition to being compatible with check_nt (NSClient) it can also be monitored via NRPE or NSCA. It has the usual set of built-in checks but since it can also be extended with plugins/scripts (in various languages) you can theoretically monitor pretty much anything with it if you are so inclined. It is written in C++ and thus is fairly low on resources and memory. As for compatibility it should run on Windows NT4 all the way up to Vista (and beyond?) on Win32, x64 and IA64. The web page can be found here: http://trac.nakednuns.org/nscp/ There is also a sourceforge page http://sourceforge.net/project/showfiles.php?group_id=131326package_id=144099 But since I think sourceforge sucks (too slow to use) you wont find anything but releases there. The highlights from the last two releases are: (for details refer to the changelog: http://trac.nakednuns.org/nscp/browser/trunk/changelog ) - 0.3.1 * Logfile in unicode (now logging in a galaxy far far away will also work :) * Improved Eventlog (can now properly render messages, return only unique errors and a lot of other enhancements) * New interactive Installer (very simple as of now, but still) * Variable packet size for NRPE module (needs recompile of check_nrpe) * New NRPE Client (to check other services via NRPE) * New CheckExternalScripts module (simpler then the old NRPE version) * New NSCA module (with proper encryption) * New LUA module (write your own checks with LUA scripts) * Improved stability (as always) * Improved SysTray (nicer dialogs and improved stability) * Index-lookups of PDH counters (hopefully this will once-and.-for-all fixe the dreaded PDH counter thread issues) - 0.3.0 * Improved WMI module (should, I hope, be useful now) * Unicode support (that means people in insert country far away here can use performance counters). * *FIXES* in the socket handling (hopefully it actually works now) * Some new performance counters as well as slightly better handling (has been fixed even better in next version) ... PS. Since I am about to start sketching on the 0.4.0 version feature requests are always nice :) // Michael Medin - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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] check_nt_proc_count with NSClient++ ?
Hello, A bit curious as to why you would want to: check_nrpe ... -c checkProcState -a MaxCritCount=50 svchost.exe=started (replace 50 and svchost.exe with your values of choice) would I think do what you want it to. But to answer your question nsclient++ will only return each process once so that script will not work (I think). If you want I might be talked into adding support for NC_net, but I tend to favor NRPE myself as it is more flexible... // MickeM Has anyone used the following script with NSClient++, instead of NC_net? http://nagiosexchange.altinity.org/nagiosexchange/check_proc_count_nt/check_proc_count_nt - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 2008. 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] Remote monitoring
NSCLient++ offers NRPE might be worth to mention that NSClient++ also offers NSClient and NSCA (with real encryption)... // MickeM NC_NEt -(also a windows plugin that uses check_NT) offers NSCA Good Luck, TOny (author of NC_NEt) On Tue, Feb 12, 2008 at 1:07 PM, Michael Medin [EMAIL PROTECTED] wrote: I did not mean to add ssh client to nsclient++ but I could write a plugin that runs plink when nsclient++ starts and makes sure plink is running, but maybe NSCA is probably a better solution (which nsclient++ already has :) // MickeM On Tue, 12 Feb 2008 08:36:32 +0100, Michael Medin [EMAIL PROTECTED] wrote: Hello, Humm, this was quite interesting, is there a way to (from the plink) to detect the status of the connection or does plink die when the connection dies even? Would be quite simple to add a plugin to run this from within nsclient++, but for it to be useful you would need to be able to detect the status of the link (and I have never used the command myself). Hi, Well, I once wrote a script that basically runs 'cat' command and uses it to ping the server - it writes some garbage every few minutes and checks if it gets back. I'll play with doing it as a service on Windows and if this is trivial enough, I'll make it opensource. I don't think that putting ssh client in NSClient as a plugin is a good way, though. I'm wondering if it can't report directly to NCSA as a long term solution? -- Wojciech Kocjan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 2008. 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] Remote monitoring
I did not mean to add ssh client to nsclient++ but I could write a plugin that runs plink when nsclient++ starts and makes sure plink is running, but maybe NSCA is probably a better solution (which nsclient++ already has :) // MickeM On Tue, 12 Feb 2008 08:36:32 +0100, Michael Medin [EMAIL PROTECTED] wrote: Hello, Humm, this was quite interesting, is there a way to (from the plink) to detect the status of the connection or does plink die when the connection dies even? Would be quite simple to add a plugin to run this from within nsclient++, but for it to be useful you would need to be able to detect the status of the link (and I have never used the command myself). Hi, Well, I once wrote a script that basically runs 'cat' command and uses it to ping the server - it writes some garbage every few minutes and checks if it gets back. I'll play with doing it as a service on Windows and if this is trivial enough, I'll make it opensource. I don't think that putting ssh client in NSClient as a plugin is a good way, though. I'm wondering if it can't report directly to NCSA as a long term solution? -- Wojciech Kocjan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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] Remote monitoring
Hello, Humm, this was quite interesting, is there a way to (from the plink) to detect the status of the connection or does plink die when the connection dies even? Would be quite simple to add a plugin to run this from within nsclient++, but for it to be useful you would need to be able to detect the status of the link (and I have never used the command myself). // MickeM On Tue, 12 Feb 2008 05:06:38 +0100, Paul Aviles [EMAIL PROTECTED] wrote: I am looking for a way to remotely monitor Windows servers. The servers are on a remote network and using network address translation so they are not directly accessible. I saw that Pandora uses an agent on the remote servers to connect via ssh to the main monitoring server and I like that idea, but I have not been able to see any documentation on how to do it with Nagios. In our configuration we cannot alter or open ports on the clients firewalls, but outgoing ssh traffic should not be an issue and I guess the monitoring server should not contact the remote servers. Hi Paul, I think it should be quite easy to use putty's plink to connect and tunnel nsclient++ using remote tunneling (-R option). For example assuming NSClient is running on port 12489 you could run plink -R 20001:127.0.0.1:12489 [EMAIL PROTECTED] And then as long as the SSH connection stays open your nagiosserver will be able to access NSClient++ by connecting to 127.0.0.1 port 20001. You'd need to modify check_nt command a bit to always use 127.0.0.1 as an IP. If it's Nagios 3 you can also use custom variable (like _NSCLIENTPORT) in host definitions and reuse that in your version of check_nt command (using $_HOSTNSCLIENTPORT$). The solution might not be robust enough if your network is not stable - in that case you might need a wrapper that will restart plink if a connection is down... I'm not sure if any working solutions for this exist. I'm curious myself as I wrote a small wrapper that checks for connection timeouts - and I'm wondering if there's any better solution on Windows. -- Wojciech Kocjan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. 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 2008. 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] nsclient, is it still an acceptable method to monitor nt
Rui Miguel Silva Seabra skrev: Sex, 2007-11-09 às 11:35 +0100, Andreas Ericsson escreveu: NSClient++ has a nasty bug on the option to check services. It can't handle services that contain white space in their names. Humm... Is this true? [EMAIL PROTECTED]:~/src$ check_nrpe -H 192.168.0.147 -c CheckServiceState -a ShowAll COM+ Event System OK: COM+ Event System: started [EMAIL PROTECTED]:~/src$ check_nt -H 192.168.0.147 -p 12489 -v SERVICESTATE -lCOM+ Event System -d SHOWALL COM+ Event System: Started But maybe I missunderstood what did not work? // Michael Medin Rui All Hail Discordia! Today is Pungenday, the 21st day of The Aftermath in the YOLD 3173 + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: R: R: [Nagios-users] I: NSClient++ configuration problems
Marco Borsani wrote: Hi May someone give me any examples of commands to use to communicate with NSClient++? I tried: ./check_nt -H 151.x.x.x -v USEDDISKSPACE -l check_disk_c Where check_disk_c is a line uncommented in the nsc.ini file The answer is: wrong -l argument check_nt does checking client side so you can only use the various checks that the check_nt binary you are using supports (check_nt -H) for other checks I would recommended NRPE. (naturally you may also only use the checks that NSClient++ supports :). Or ./check_nrpe -H 151.x.x.x -c check_users Where check_users is a line uncommented in the nsc.ini file The answer is: CHECK_NRPE: Error receiving data from host Not sure on the check_nrpe error message of the top of my head but make sure the SSL settings are the same in both ends (nsc.ini has a flag on SSL) and the check_nrpe might be either built with/without it but it also has a flag for setting SSL. May I use same check_nrpe that I am using for Unix systems? And same check_nt that I am using with old NSClient agent? Yes, you may use the same check_nrpe... // MickeM Regards Marco -}-Messaggio originale- -}Da: [EMAIL PROTECTED] -}[mailto:[EMAIL PROTECTED] Per conto -}di Dany Allard -}Inviato: venerdì 17 febbraio 2006 19.20 -}A: NAGIOS -}Oggetto: RE: R: [Nagios-users] I: NSClient++ configuration problems -} -}Marco -} -} A quick test to make sure that the port is open is to telnet to it. -} telnet YourHostname 1248 -} -}If you don't get a connection failed message the port should be open. -}If it fails with ..Could not open connection to the host... -}then the port is being blocked somewhere. -} -} Dany Allard -} -}-Original Message- -}From: [EMAIL PROTECTED] -}[mailto:[EMAIL PROTECTED] On Behalf -}Of Marco Borsani -}Sent: Thursday, February 16, 2006 3:11 AM -}To: 'Michael Medin' -}Cc: 'NAGIOS' -}Subject: R: R: [Nagios-users] I: NSClient++ configuration problems -} -}I set 1248 (NSClient) and 5666 (NRPE) ports on NCS.INI file. -}I see both ports open (but associated to local IP 0.0.0.0), -}NSClient++ is running, but neither a check_nt, a check_nrpe -}or a check_tcp run correctly. -} -}Marco -}snip -}This message is intended only for the addressee and may -}contain personal, privileged or confidential information. -}If you have received this message in error, please notify the -}sender immediately and delete or destroy this message without -}making copies or opening any attachments. Any further -}distribution, duplication or disclosure is prohibited. -} -} -}--- -}This SF.net email is sponsored by: Splunk Inc. Do you grep -}through log files for problems? Stop! Download the new AJAX -}search engine that makes searching your log files as easy as -}surfing the web. DOWNLOAD SPLUNK! -}http://sel.as-us.falkag.net/sel?cmd=kkid3432bid#0486dat1642 -}___ -}Nagios-users mailing list [EMAIL PROTECTED] -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: 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: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=kkid3432bid#0486dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null