Re: [Nagios-users] Regarding check_ping plugin
>From command line, can you resolve DNS for www.google.com? Em 09/07/2012 11:28, "Diego Vitoriano" escreveu: > Hello, guys > > > My name is Diego and I got a couple questions about this plugin. > This is the first time I'm using Nagios, so it's not my forte. First I > would like to know if it only pings IPs or/and HOSTNAMES? I'm getting this ¨ > *CRITICAL - Network Unreachable (www.google.com.br) *¨ even though my > connection is OK. Second, I would like to know if there's a way to > normalize this error. Was checking some commands, but there's nothing about > changing the default HOSTNAME/IP it's pinging (). > > > Thanks, > > > > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagiosgrapher: adding further DS to rrd database
Am Sonntag, den 13.02.2011, 19:22 +0100 schrieb Badri Pillai: > Hi, > > have a look at RRD::Simple CPAN module.. > > n2rrd uses that!! Ah, thanks! RRD::Simple nice module. Must have overseen it. -- #!/usr/bin/perl use strict; use warnings; use RRD::Simple(); my $rrd_file = "./orig.rrd"; my $rrd = RRD::Simple->new(); print "Processing $rrd_file..."; $rrd->add_source($rrd_file, 'APACHE2' => 'GAUGE'); print " ok.\n"; -- Ciao! -- 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] nagiosgrapher: adding further DS to rrd database
Hi, this is not a specific nagios question, but I'm using nagios and nagiosgrapher and looking for a working howto to add further DS to an exsiting rrd. Thanks, Marcus -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios disfunctional , perhaps due to time change ?
Same here! I spent some time last night figuring out what happended. I ended up downgrading to 3.0.6. I also had to remove the retention.dat. The queue looked really strange. All hosts at top and then services, all at times on the hour (like 23:00:00 today). Reschedule them did not help. I'll stay on 3.0.6 till someone finds an explanation ... :-) Regards, /Marcus On 10/26 09:21, Martin Melin wrote: > Hi, > > This happened to us as well. All services had been scheduled to execute at > 11 PM today. > > The quick fix we used was to stop Nagios, move the objects.cache and > retention.dat files and then start it back up again. All acknowledgements > etc. were lost but we needed to get back up again soon. > > Note that this only happened on our 3.2.0 install, another 3.0.6 was fine. > > I'm still investigating what happened, but the above should let you get it > back up again. > > Regards > Martin Melin > > On Mon, Oct 26, 2009 at 9:05 AM, Mark Elsen wrote: > > > - Nagios 3.2.0 > > --- > > > > - This morning, I find nagios stopped death in it's tracks. Single > > daemon running, > > servcie and host checks are no longer executed. > > > > Stopping and restarting NAGIOS does not help. How can I remedy this ? > > We left DST in Europe. Can this be due to a time change ? > > > > All hints welcomed ! > > > > Marc. > > > > > > -- > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > ___ > > Nagios-users mailing list > > Nagios-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > -- > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Marcus Rejåsjabber: mar...@jabber.rejas.se ,= ,-_-. =. Rejås Datakonsult ABe-mail: mar...@rejas.se((_/)o o(\_)) Vårgatan 2 web: http://www.rejas.se `-'(. .)`-' s-761 50 Norrtälje gpg-key: http://gpg.rejas.se \_/ -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Unwanted false OK states
On 09/17 11:41, Martin Melin wrote: > Hello, > > Are these printers SNMP capable so you're just using check_snmp or something > else? I'm running a php-script that uses snmp. > First of all I'd try replicating the problem by executing your checks > manually and seeing how long it takes for a false OK state to return to > WARNING. I've tried that, but I cannot reproduce it. I have started a while-loop now that checks one printer that are currently in Warning state every second that will be running over lunch. Hopefully there is something in the output-file when I get back :-) > For this situation soft/hard states for recoveries would be ideal, but since > that's not possible I'd suggest using check_many with the first-fail option. > Hopefully it only takes a few seconds for the printers to remember that the > toner is low. My thoughts exactly. Thank you for your input. I'll try that. -- Marcus Rejås jabber: mar...@jabber.rejas.se ,= ,-_-. =. Rejås Datakonsult e-mail: mar...@rejas.se((_/)o o(\_)) Vårgatan 2web: http://www.rejas.se `-'(. .)`-' s-761 50 Norrtäljegpg-key: http://gpg.rejas.se \_/ -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Unwanted false OK states
Hi! I have a problem with printers that sometimes reports OK-states when they shouldn't. It is the toner-checks on some HP-printers that reports warning when they should. We acknowledge the problem and it disappears from unhandled problems like it should. But then at some times the printers all of a sudden reports that the toner is 100% and the service goes green. By the next check it is back to Warning (or whatever) again and we have to acknowledge it again. We keep unhandled problems clean and displayed on the wall. The staff are getting bored at acking the same problem over and over again. I understand that it is the printers that have problem, but fixing them is probably not an option. Does anyone have a solution or some idea I can work from? Maybe it's simple, maybe someone else have seen the same thing, we see it on 12 printers here. Maybe my brain is just slow today ;-) My only idea just now is to write a wrapper-plugin that checks twice with a small delay. The problem is that I don't know for how long the printers reports OK (all I can see in the log is that it is less than 5 minutes...) and I cannot reproduce the state for testing. /Marcus -- Marcus Rejås jabber: mar...@jabber.rejas.se ,= ,-_-. =. Rejås Datakonsult e-mail: mar...@rejas.se((_/)o o(\_)) Vårgatan 2web: http://www.rejas.se `-'(. .)`-' s-761 50 Norrtäljegpg-key: http://gpg.rejas.se \_/ -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Quick and easy way to monitor Nagios itself?
On 09/04 15:08, David Rosenstrauch wrote: > On 09/04/2009 02:50 PM, Jonathan Call wrote: > > Since I have a large Nagios distributed system the possibility of a > > Nagios process going AWOL on one of my many servers is a serious > > concern. Has anyone come up with a sure way to confirm (i.e. a cron job) > > that Nagios is processing checks properly? > > > > For example, I had one OCP_daemon process die, as a result the Nagios > > process hung for quite some time before it was discovered. Freshness > > checking is not an option because many hosts are behind firewalls or on > > private networks and so the central server has active checks disabled > > globally. > > > > Jonathan > > See the check_nagios plugin. One of the parms you can specify is to > have it check how long ago it wrote something to its log file. > > We recently had a problem where our Nagios box went down and we never > got any notifictions. So I set up another small Nagios instance whose > sole purpose is to monitor the primary instance. It has just one > service check: check_nrpe calling check_nagios on the main Nagios box > to verify that it's up and running. We have done it in a different way. We have a script (php) at one of hour servers that updates a file when it is run (it really updates different files depending on arguments). This script is "touched" every 5 minutes by Nagios and check_http. The file on the server is checked by a cron-job at that server that makes sure that we gets alerted if it gets too old. This way, we are not "only" monitoring that Nagios is running and writing log files, we are also monitoring that it does its checks as intended. Regards, /Marcus -- Marcus Rejås jabber: mar...@jabber.rejas.se ,= ,-_-. =. Rejås Datakonsult e-mail: mar...@rejas.se((_/)o o(\_)) Vårgatan 2web: http://www.rejas.se `-'(. .)`-' s-761 50 Norrtäljegpg-key: http://gpg.rejas.se \_/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Recovery notifications after escalations
On 06/09 15:47, Andreas Ericsson wrote: > Marcus Rejås wrote: > > > > If you do not have that many contacts, create an additional one for each > > member in the on-call with only recovery-alerts and put them in a group, > > e.g. > > on-call-recovery and escalate to that one. They will now get the recovery > > notification. > > > > I don't think they will. There are checks to make sure recovery notifications > are only sent to contacts who have received the previous problem notification. You are absolutely right (as always, however this time I took the time to test and prove myself wrong...). I am, and was, aware of the checks you are referring to and they really do make sense in most places e.g. leaving and entering timeperiods. But in this context they are confusing. If I set up a contact with: host_notifications_enabled 1 service_notifications_enabled 1 service_notification_period 24x7 host_notification_period24x7 host_notification_options r service_notification_optionsr It will never ever get any notifications. To be honest I cannot see any practical use of this contact but until I tested now I would say that this contact should get only recovery notifications. This is not something I would see fixed but it might be good to point this out on host- and service_notification_options in the manual. > Sending a patch to make sure each problem object in the Nagios core contains a > concatenated list of "normal" and escalated contacts would be favourite, since > that would mean everyone who received the problem notification will also get > the recovery notification. This would best be implemented by building a linked > list with only unique elements to operate on. The list should probably contain > a marker to mention which contacts were added from the escalation, so the > original contacts do not get notified if they don't want to get the escalated > notifications. I agree :-) -- Marcus Rejås jabber: mar...@jabber.rejas.se ,= ,-_-. =. Rejås Datakonsult e-mail: mar...@rejas.se((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrtäljegpg-key: http://gpg.rejas.se \_/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Recovery notifications after escalations
On 06/09 12:06, Ulf Karlsson wrote: > Hi, > > We have a a situation here where we would like notify the on-call > group after 60 minutes and the support group after 240 minutes. If > services go down and then recover, everyone who has received a > notification of a host problem should also receive the recovery > notification. See the configuration below. > > Now, our problem is that when the second escalation has been activated > and the support group has received the notification, only the support > group will receive the recovery notification - the on-call group will > never see the recovery notification. > > We do not want to send out multiple notifications to the on-call group > four the same issue since they then would be spammed by Nagios > unnecessarily. I don't (at least not yet) have a good answer. But maybe I can put some ideas in your head. My first thought is that if they want the recovery notification maybe they would not mind the extra one either. The extra one actually tells them that the issue was escalated and might be useful information. If they don't want the issue to escalate, they should acknowledge it (sticky). In order do fix it to work like you asks I have two suggestions. None of them is good. If you do not have that many contacts, create an additional one for each member in the on-call with only recovery-alerts and put them in a group, e.g. on-call-recovery and escalate to that one. They will now get the recovery notification. An other alternative is to modify your notification-command to take notice of the macros $SERVICENOTIFICATIONNUMBER$ and maybe $HOSTNOTIFICATIONNUMBER$ and build the logic you wish. Make sure to do it right so you don't miss important notifications. But, as I said, I don't like any of the ideas. There are very smart people on this list and someone will probably give you some more advice. Regards, /Marcus -- Marcus Rejås jabber: mar...@jabber.rejas.se ,= ,-_-. =. Rejås Datakonsult e-mail: mar...@rejas.se((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrtäljegpg-key: http://gpg.rejas.se \_/ -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] A group of Nagios users are:
Jim Perrin wrote: > On Mon, Mar 9, 2009 at 8:51 PM, Paul Weaver wrote: >>> From: Martyn [mailto:mar...@chetnet.co.uk] >>> Subject: [Nagios-users] A group of Nagios users are: >>> Just on a lighter note, what do we call a bunch of Nagios users; >> Nagiothions? >> >> Relaxed :) > > > Relaxed? I'm not so sure about , > that. What makes you so relaxed? If > you're relaxed, > then it's possible is he DOING down there?> that your nagios install handler restarted it, good.> isn't notifying > properly. LOL! Sounds like an episode from my office! Thanks for making my day! :-) Cheers, Marcus -- ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 and AAI (Shibboleth)
Alessandro Usai schrieb: > I would like to know if it is possible > to manage access to Nagios using > Shibboleth and the AAI attributes, and if so > whether there is any documentation about it. > Has anyone a similar user case? My ex-colleague did this :-), so it's possible. Nagios uses the htaccess-username by default, so you have to map the shibboleth user to that attribute. Sorry, not very technical, I know. Thats because I just sat next to my colleague, when she hacked the solution, and didn't do it myself. Greetz Marcus -- SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios 3.0.5 not playing sounds in my Web browser? How to fix?
Aleksey Tsalolikhin schrieb: > Marcus: I've installed the nagios-plugin for Firefox, and I've > configured it, but my Web browser does not look any different... how > do I start the plugin? On the bottom right (in my FF), there is an underlined Nagios-"N" in the bar. Right-click on that icon and set the settings. If there isn't, the plugin might be deactivated. Then activate it on Extras->Add-Ons. Greetz, Marcus - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 3.0.5 not playing sounds in my Web browser? How to fix?
Aleksey Tsalolikhin schrieb: > So how come the browser isn't beeping? How to make this work, please? Since you are using Firefox, you should definitely check out the nagios-plugin for Firefox. I think it rocks bigtime , and the sounds work, too :-) http://code.google.com/p/nagioschecker/ Cheers, Marcus - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 help
Luke Sheldrick schrieb: > I know it's probably been covered before, but my google has not revealed > much. > > I am trying to run nrpe, as either root, or using sudo, however when I do, I > get > "RPE: Unable to read output" The Problem is, that there is no output from the check, which I once had as a problem too. The origin was, that I was lacking a perl-module, and the command failed therefore, if I remeber correctly. Maybe you can increase log-verbosity and see, if there are any errors printed, when you run the command. Best regards, Marcus - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Installing nrpe
Josh schrieb: > I'm trying to install the nagios plugin so I can use nrpe and im getting > errors with some of the make commands. Ive already done > ./configure > make > make install > > which run without errors, then If I execute any of the following... To that point, you have successfully installed the plugins. > > make install-plugin > make install-daemon > make install-daemon-config > make install-xinetd This is for nrpe, i guess. > I get the error > > [EMAIL PROTECTED] nagios-plugins-1.4.13]# make install-plugin > make: *** No rule to make target `install-plugin'. Stop. Thats because you're still in the plugins folder, but trying to issue make commands from the nrpe makefile. > What am I doing wrong? Either change to the nrpe-source-folder, or just leave it be after "make install". (If you really just wanna have the plugins :-) ) Cheers, Marcus - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Any GUI Configuration tool for Nagios 3.x recommendations?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ian Masters schrieb: > I'd like to ask list members for their recommendations for front end > GUIs for configuring Nagios 3.x. I can only recommend to try several out, and see which suits your needs best. I only saw snag-view (a commercial solution) in production once, and I think it's quite nice. (Their homepage seems to be only in german though.) > The Lilac Platform (http://www.lilacplatform.com/) looks interesting but > its dependency list is putting me off at the moment. A product that calls its status "first alpha release" and says that "It is not ready for production use"... Well. Thats what rather would put me off, in the first place. :-) The feature-set of centreon looks quite nice in my opinion (http://www.centreon.com/Product/Features-Centreon-2.0.html), but I didn't test it yet. OK, it's not "stable" either, but RC7 looks still better than first alpha ;-) . Ah, but since you worry about dependencies... Forget that centreon-thing I mentioned above. (http://www.centreon.com/Product/Pre-requisits-Centreon-1.3.x-/-1.4.x.html) Here is a collection of frontends I just found: http://www.debianhelp.co.uk/nagiosweb.htm HTH, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJCB94+qVaNRZYOakRAp6oAJ9NiCpYu03+55tu1DyytBQgeyhBtwCdF9x2 rCMNiCkettGISwFlPqJswko= =3NVu -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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-3.2.0-rpm files for redhatelinux-5 64 bit ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Novin Jaiswal schrieb: > Hi Friends, >>From where can I find nagios-3.2.0-rpm files for redhatelinux-5 64 bit ? I guess you want a recent 3.x-release? > > On dev environment I have setup the nagios using tar and make the > binaries. > > But at the beta server the software installation is not allowed. So I > need to use the RPM. Maybe the openSUSE11-RPM works also? http://software.opensuse.org/search?baseproject=openSUSE:11.0 http://download.opensuse.org/repositories/server:/monitoring/openSUSE_11.0/x86_64/nagios-3.0.4-4.1.x86_64.rpm If softwareinstallation is not allowed on your beta-server, the rpm wouldn't do you much good either, since an rpm is all about installation ;-) Best regards, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJBsTl+qVaNRZYOakRAuPuAKCUGCsAHqeNWmlGOoPw4WJAh+0y6gCfQBCv QW4CkeWB4CgK3z41ZuMScs8= =D9ZX -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Unmanaged switch
On 10/20 10:04, Assaf Flatto wrote: > you'll need an ip to define it, since nagios require an address if you define > it as host . > but you van give it a fictitious ip and assign the Check_dummy to it so it > will have a "service" > assigned to it. Well, you need something as a hostaddress, it doesn't have to be an ip-address. In this case anything would do. > then you can put it in the hierarchy . > > Unfortunately , this will not give a good indication to the topology if it > indeed fails since there > will be no true indication if it is up or down. That is true. For it to make sense you should make up a check that is likely to determine if the switch goes down to use as host check and maybe also as the only service on the switch. How this can be done depends on your setup. The first thing that comes to my mind is to write a check that pings some reliable serves connected directly to the switch and if none of them responds the switch is probably dead. This can be used both as host check and a service. Be wise when choosing hosts to ping. If the switch is a distribution switch with not many servers on it there might be printers to ping. /Marcus -- Marcus Rejås jabber: [EMAIL PROTECTED] ,= ,-_-. =. Rejås Datakonsult e-mail: [EMAIL PROTECTED]((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrtäljegpg-key: http://gpg.rejas.se \_/ - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] ndomod: Still unable to connect to data sink
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jorge Peña schrieb: > my solution: > delete the sock file : rm /usr/local/nagios/var/ndo.sock > and start again ndo2db : /usr/local/nagios/bin/ndo2db -c > /usr/local/nagios/etc/ndo2db.cfg > As a result: nagios: ndomod: Successfully flushed 5000 queued items to data > sink > 2 hours for this ... why this things happen? Hi there, Actually, I had the check for a stale sock-file and it's deletion built into a startscript, as it happened to me too, several times. Regards, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFI0fwy+qVaNRZYOakRAplLAKCIeSIgBa+jyx9elhzAiYv8vtP0BQCfX88h 8bd83rgu/r9qbqkvcJtYD/A= =cWsk -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] service group
Pardeep Sharma schrieb: > Hi all How can configure service group, i tried but did not success You could either post your unsucceeding config file(s) so we don't have to unwrap our crystal balls, or you could refer to the fine manual, where the configuration of a service group probably is thoroughly described. Best regards Marcus - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Getting rid of ACKNOWLEDGEMENT-Mails?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi folks, I don't want any ACKNOWLEDGEMENT-mails sent out any more. Unfortunately, after about digging an hour in the current docs, I can't find the responsible flag, which would have to be set. I'd be glad, if anybody could help me on this. Nagios Version 3.03 is running. Thanks a lot. Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIxNyM+qVaNRZYOakRAnVxAKCjxw16WRDMfAOIC+6AEs6cqHDCegCdG6f8 nMwHYcXaD3vASwiIqNVw7+Q= =FXTv -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Problem to monitor remote server due to dynamic IP at local PC
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J. Bakshi schrieb: > Dear list, > > I'm fade up to change the *allow_host* parameter of nrpe.cfg at the > remote server. > The problem is due to IP change at my local PC where nagios is running > and monitoring the remote nrpe. > Because of the IP change I have to modify the *allow_host* parameter of > nrpe.cfg at the remote server > every time. Is there any solution to overcome this ? I could think of different possibilities. 1.) Try to get a static ip, and bind it to you NIC. You can bind serveral IPs to one NIC, if you really need an ever-changing IP. 2.) Run nagios on another/virtual machine with fixed ip. (A server, maybe.) 3.) Use check_by_ssh instead of nrpe 4.) Allow the whole DHCP-subnet in the allow_host parameter (potentially not so secure anymore). Regards, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIwPYB+qVaNRZYOakRAk10AKC6GCh1KiOsESfs7aNW3Ksu4S/udACfWBet AX0ufIxX0+kXP0TA4r2NoDg= =w2Nm -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] notify-{host, service}-by-email command resistant to changes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Marc, thanks for the hint. Marc Powell schrieb: > On Sep 4, 2008, at 3:09 AM, Marcus wrote: >> I just tried to get the Macro $HOSTNOTESURL$ below my notification- >> email >> for an enhanced usability experience. >> However, the changes I made to the command-definition are not taken >> into >> account, when nagios makes my mta send me a mail > > Sounds like you have multiple nagios daemons running at the same time. I doubt that I actually had two instances running, but who knows. Maybe there is an issue with my restart-script (from init.d)... I just killed nagios thoroughly (blood everywhere), and now, the test-mail I just initiated after restarting shows me the changes. I even almost got the desired result (a link to host or service) by building the linkification manually, by combining the servername and $HOSTNAME$-variable. But, for services that contain spaces, it doesn't work. By the way, the $HOSTNOTESURL$ definitely doesn't produce any output on my system, same goes for the $SERVICENOTESURL$. Is it supposed to produce a valid html-link or something like that? I didn't quite understand that part of the current documentation. Thanks, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIv/Tt+qVaNRZYOakRAoT7AKCsBviDLe7gtVta8gG5kQMKGZ0phACfWNXv mW2tnCzHjGj7thSsfdWdNnc= =rzjv -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] notify-{host, service}-by-email command resistant to changes
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, I just tried to get the Macro $HOSTNOTESURL$ below my notification-email for an enhanced usability experience. However, the changes I made to the command-definition are not taken into account, when nagios makes my mta send me a mail. Example: I just changed "State" to german "Status" just to see if it works, then restarted nagios and klicked on "Send custom host notification" for one of the servers. However, I still see "State" instead of "Status", and I don't see a URL-representation anywhere. I grepped for Date/Time, to see if there are maybe overlapping commands defined, but there aren't. I use the generic-contact template: service_notification_commands notify-service-by-email host_notification_commands notify-host-by-email and the custom mail-commands, slightly enhanced for URL-sending: The command-definitions are: # 'notify-host-by-email' command definition define command{ command_namenotify-host-by-email command_line/usr/bin/printf "%b" "* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nStatus: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\nURL: $HOSTNOTESURL$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } # 'notify-service-by-email' command definition define command{ command_namenotify-service-by-email command_line/usr/bin/printf "%b" "* Nagios *\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nStatus: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\n $HOSTNOTESURL$\n $SERVICENOTESURL$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } The mail then looks like this: * Nagios * Notification Type: RECOVERY Host: OpenVPN1 State: UP Address: ovpn1.somedomain.de Info: WARNING - ovpn1.somedomain.de: rta 0.839ms, lost 0% Date/Time: Thu Sept 4 09:44:01 CEST 2008 No URL anywhere, ... Please be so kind to guide me to the solution of this occurence. Thanks in advance, Marcus P.S.: using Nagios 3.03 with pnp4nagios -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIv5ey+qVaNRZYOakRAhkzAKCatHjlYqQDw+WIcIC2o94xeivH6gCgkhEQ WP9YupLEtSj4cikwhjIg4K8= =vWKX -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Is there any wat to check the internet bandwidth ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J. Bakshi schrieb: > Is there any way to check the Internet bandwidth by nagios ? How about writing a plugin, which downloads a file of a given size and measures the time it took, then let the plugin calculate the bandwidth. You could use wget and an external high-speed server for that. You could also, of course, simply go for "check_bandwidth" (https://trac.id.ethz.ch/projects/nagios_plugins/wiki/check_bandwidth) which uses iperf (http://www.dast.nlanr.net/Projects/Iperf/) on a remote host. ;-) This doesn't seem to be the same check_bandwidth as on the nagiosexchange-page, though. (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2464.html;d=1). Greetz, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIt/Lx+qVaNRZYOakRAgPLAKCEL2IOr8wiI79yJyrs8L4MekoqwQCfTuDW Gt1MW0b3EMDKBNifgC2i+Ic= =fGbB -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] View configuration selection on main web page
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Scott, scott wrote: >I tried selecting the View Configuration selection on the main nagios > web page and received the error: > Error: Could not read object configuration data! After 'make install-commandmode´ in ye good ole /usr/local/src/nagios-current-Dir, "View Config" works again for me. Greetz, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItkF3+qVaNRZYOakRAphPAJ9dXfadwbJbcMr1L1ekPZs1ZNpVVgCfbch8 g+uQs2ARFEUez6RruD7UvCg= =M7Gf -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] View configuration selection on main web page
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 scott schrieb: >I tried selecting the View Configuration selection on the main nagios > web page and received the error: > Error: Could not read object configuration data! Hm, I seem to have the same issue ... >As a matter of fact I get this on most selections. I tried looking > at the config.cgi file and found that it is not human readable. Is this > proper? * If you could read this natively, well.. It's compiled. ( ELF 32-bit LSB executable,... ) You are looking for cgi.cfg in etc, I guess. Greetz, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItj/R+qVaNRZYOakRApXNAJwKP7aufrguwJkYIF1M/DvvOJpGSgCcCfkF zIjKnQWAGN89j5TtuYvWnEg= =mUby -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Equallogic PS SAN with snmp?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Josh, Josh Wells schrieb: > Thanks for the help Marcus. One last question, how do I find an OID? Are > these standardized values defined by the SNMP protocol or are they > device specific? There are standards, how to define OIDs in MIBs. Every manufacturer who builds a device can define his own OIDs and put them in a so called MIB for that device. There is also a standard-MIB (called MIB2), which defines common stuff. Take a look here: http://www.et.put.poznan.pl/snmp/mib2/mib2.html What you need to do, in order to determine, what information you can get from your SNMP-capable device (your SAN), is to use some sort of MIB-browser (either graphical or console-based), feed it with the MIB of the device you want to monitor, and browse the OID-tree. The MIB translates those weird rows of dots and numbers into something human-readable. (OID 1.3.6.1.2.1.2.2.1.2 could be an interface description, for example.) Here is a page with a couple of snmp-tools: ;-) http://www.snmplink.org/snmpsoftware/forenduser/#6 This MIB-Browser is free and multiplatform (Java): http://www.dwipal.com/mibbrowser.htm Read the docs to learn how to load the MIB of your Equallogic-Device into the program. Greetz, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItU8a+qVaNRZYOakRAtuaAKCLTRsISEwlAO8TXa8axM3mDUONmwCfQGvJ xSTCGAGPJOv3HIV0qtIKk4U= =sP7H -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Equallogic PS SAN with snmp?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Josh, Josh Wells schrieb: > I'm wanting to add monitoring of an equallogic PS series SAN to Nagios. > It is SNMP capable but I don't know much about SNMP. Can someone point > me in the right direction to learn how to do this? I'm curious to know > what can be monitored on the SAN through SNMP and how I would go about > setting it up with Nagios. Would I need an equallogic specific plugin > for Nagios? Thanks for any help. You have to check what exactly you want to monitor in your SAN, then find the according "OID" (Object ID) for that value. Then, make sure your nagios-server is "snmp-ready", by installing perl-Net-SNMP, and compile check_snmp. (Maybe you also need net-snmp and net-snmp-dev, I'm not quite sure.) Set a password (community-string) on your SAN for snmp-read. It might already be set to "public" (I personally don't like default passwords.) You might need a customized MIB for that device which you should probably get from the manufacterer or which is somewhere on the "Driver CD" for your SAN. (Read some documentation on MIBs: http://en.wikipedia.org/wiki/Management_information_base) The MIB should tell you, what can be monitored. If you have Hostname, OID and a valid password, as well as a working plugin (check_snmp), just stick to the documentation on http://nagiosplugins.org/man/check_snmp or have a look here (http://www.superk.org/index.php/Nagios_&_Windows#Monitoring_with_SNMP) for another example. You won't need an equallogic-specific plugin, thats the nice thing about snmp. You'll just have to define some custom commands and services for your equallogic stuff. Here is a mail-thread with some examples for a hp-device: http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg15150.html Hth, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItQSA+qVaNRZYOakRAiTaAJ9X0+odrY1u3h4f/gVBh2hGF4n0+wCdGcIT eMPEuD6ZyNN2w+i++NlgxPY= =kXJ8 -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mysql and ssh in local localhost ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 J. Bakshi schrieb: > I like to monitor remote server also to check the services there. > What should I do to monitor "Remote Linux Server" ? Add a new host called "Remote Linux Server" to your config. Define the service you want to monitor on "Remote Linux Server". Make sure, the service relates to an existing command, or define a new command. Run a configcheck to see if there are errors. If none, restart nagios. > Please give me some hints. Please read the fabulous manual. > many thanks Never mind. Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFItPPf+qVaNRZYOakRAgEUAJoD4yhga8Uc/Sa4ZELiizlZjjeazQCePL9M Fn8QZEkiFn99sQUX+oTCOl0= =D4nx -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] using check_snmp_ifstatus.pl plugin for windows servers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dhaval thakar schrieb: > | My second guess would be, to use the > Adapter-name from the system like > | ipconfig states it, or like it is > stated in your "Network Connections". > | > | "Local > Area Connection 2" or something like that might work. (Just > | > guessing.) :-) > | >> thanks again, >> this isn't working Well, third suggestion: Write to the author of that nifty plugin and ask politely for help. Greetz, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIs75R+qVaNRZYOakRArGiAJ0Q67QzfZjz6xhBUedvsTCzt1ac6wCfZeMc InDcEOhEWwiP8F7oyZCshYY= =1W/X -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] using check_snmp_ifstatus.pl plugin for windows servers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 dhaval thakar schrieb: > i have tried ethernet0/0 > this can be used for the routers. > > i am looking for windows > ethernet string My second guess would be, to use the Adapter-name from the system like ipconfig states it, or like it is stated in your "Network Connections". "Local Area Connection 2" or something like that might work. (Just guessing.) :-) Greetz, Marcus - -- P.S.: Please always reply to the list, so everybody can benefit ... -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIs7fS+qVaNRZYOakRArhAAJ97+Lt8sezUUIoArbU8Xx4+jeKsvgCfeoBs seTWiEL0C8GXJ59garggStM= =YddH -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] using check_snmp_ifstatus.pl plugin for windows servers
Hi there, Dhaval Thakar schrieb: > kindly guide me the proper way to utilize this plugin for windows based > servers. On http://shawnflynn.com/2008/08/13/nagios-plugin-check_snmp_ifstatuspl/ they use something like "Ethernet0/0" in the example. The manual states: -- snip -- -i --interface STRING Full name of the interface to check. Required. Examples would be eth0 or FastEthernet0/1 -- snap -- Suggestion: try "Ethernet0/0" or "FastEthernet0/1" (or 0 instead of 1) and report back, if it works :-) Hth, Marcus - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] chech_snmp ..... how to determine OID
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, Agnello George schrieb: > I have installed nagios on one of my server and now i am tring to understand > how to query my client machine using OIDs. But i just not understain one > thing is how does one determine a a OID. I am following a tutorial by > http://www.debianhelp.co.uk/linuxoids.htm . But what ai don't seem to > understand is how do they determin a OID. Common OIDs are standardized in MIB2, afaik. Have a look here: http://www.et.put.poznan.pl/snmp/mib2/mib2.html There are also RFC's covering the topic. > Can some on help me with the concept of OIDs and how do i come up with my > own OID What do you mean by "own OID"? I humbly and well-meaningly suggest reading some documentation on SNMP, MIBs (especially MIB2) and OIDs. > i followed the above tutorial and tried to query my clinet server to get the > path where the disk is mounted but was not successful here .. > > [EMAIL PROTECTED] libexec]# ./check_snmp -H 121.XXX.XX.11 -C public -o > 1.3.6.1.4.1.2021.9.1.2.1 > SNMP problem - No data received from host could it be, that your host 121.XXX.XX.11 doesn't allow nagios to query it on protocol UDP port 161. (Maybe a firewall is enabled.) Is the snmp-server running? Is the community-string set right. If you stick with the example and your firewall doesn't get in your way, queries should work. Hth, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIrqCW+qVaNRZYOakRAoNHAJ48vhM114ntqMvTPVoBvOu9wxyIwQCgvUTE c8H8ycGO8TN+XkEkMRtGceE= =wwLr -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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_snmp without perf data
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Andy, Ford, Andy schrieb: > I want check_snmp to have an option to NOT return performance data but I > can't see it. > > Can someone suggest an alternative? Put "process_perf_data 0" in the service definition? I use that on check_icmp and it doesn't return perf.data, if I am not totally mistaken. Greetz, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIq9EF+qVaNRZYOakRAsRxAKCpsQTh3z6kIIyhIPh92E7j6X5sqACgsmNY CtImIsk8QklLWaXwTgbETjI= =Mn4r -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Acknowledge: manual removal only ?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ernst Heiri schrieb: > Question: > Is there a possibility to prevent the automatic removal of the > acknowledge if the host or service recovers? Isn't there a "Persistent Comment" box to flag which should prevent the ack from automatically disapearing? Cite: "If you would like the service comment to remain once the acknowledgement is removed, check the 'Persistent Comment' checkbox." So if the box recovers and fails again, then another admin sees: Ah, first admin is already at it, there is a comment from 30 minutes ago... How about integrating a trouble-ticket, so no catastrophes are missed anymore? -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIq8u6+qVaNRZYOakRAqmXAJ9+6TLnanNTQCjhzLqk53RTF1ii8ACfUlDo nJ0iJak9unyZnUD0jWHZSNA= =kqPB -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] problem running ndoutils
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Seth Simmons schrieb: > I'm trying this for the first time and have gone through the manual to > configure it. So far everything looks good. > > However, when I try to start ndo2db, it fails saying the specified > database server is either not yet supported or not found. Seth, you have to provide just a "little" more information. What version of nagios and ndo2db are you using? What is the exact error message? What kind of database are you trying to use, etc... Regards Marcus. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFInDub+qVaNRZYOakRAsQLAJ9HAuOy/L96AKUMZhx0woLGU7O2CQCdE5TR gl5a5P7faPX0HhnvIlLYl+A= =+JAK -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] [Nagiosplug-help] SERVICE notification Alerts and Escaltion Email Configuration
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Pavan, pavan kumar schrieb: > 1) What’s the > difference between Notification Alerts and Escalations and how to configure > escalations and how to test it. http://nagios.sourceforge.net/docs/3_0/escalations.html and http://nagios.sourceforge.net/docs/3_0/notifications.html should clarify the difference. A notification is, well, something notifying the responsible admin. An escalation is, when he/she doesn't react, the mail also goes to fellow admins, or even the management. That would be escalation, I guess. How to test that, well... Set up a service, which doesn't work. Have a notification sent to you. Dont react, by not acknowledging it. After a couple of tries of nagios notifying you, nagios should notify another admin-group if you set things up correctly. See the manual for examples. > > 2) Iam using the template of > local-service while defining services in > locahost.cfg > > define > service{ > > use local-service ; Name of service > template > to use > > host_name localhost > > service_description Total Processes > > check_command > check_local_procs!250!400!RSZDT > > } > > When I see the template definition > for local-service > > # Local service definition template > - This is NOT a real service, just a template! > > define > service{ > > namelocal-service ; The name of this > service template > > use generic-service ; Inherit default > values > from the generic-service definition > > max_check_attempts 4 ; Re-check the > service > up to 4 times in order to determine its final > (hard) > state > normal_check_interval > 5 ; Check the service every 5 minutes under normal > conditions > > retry_check_interval1 ; Re-check the > service > every minute until a hard state can be determ > ined > register > 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A > REAL SERVICE, JUST A TEM > PLATE! > > } > > There is no > notification enabled/mentioned, iam surprised then how iam getting the Email > Notifications when this specific service is down as the template specific to > this service > Doesn’t have > notifications enabled. If I get the problem right, you are getting notified, but don't find the notification option. Maybe it takes the standard-admin-mailadress...? I can't help you on this one, I guess. :-/ > > * Nagios > * > > Notification Type: > PROBLEM > Service: Total > Processes > Host: > localhost > Address: > 127.0.0.1 > State: > CRITICAL > Date/Time: Thu Aug 7 > 16:15:32 IST 2008 > Additional > Info: > CRITICAL - Plugin timed out > after 10 seconds. > > 3)How to limit the > Notification Alerts only to specific Services. Maybe you can have a template for services with notifications, and one without (as below). I think, the notifications_enabled (0/1) directive could do the job. - define service{ namegeneric-bp-service use generic-service contact_groups admins notification_interval 60 notification_period 24x7 notification_optionsu,c,r notifications_enabled 1 max_check_attempts 5 check_period24x7 register0 } define service{ namegeneric-bp-detail-service use generic-service contact_groups admins notification_interval 60 notification_period 24x7 notification_optionsu,c,r notifications_enabled 0 max_check_attempts 1 normal_check_interval 5 retry_check_interval1 check_period24x7 register0 } > > > pls reply asap . :-( Yeah, easy dude. :-) I hope I could help a little, I am not that much of a nagios-guru myself either. ;-) Greetz, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIn
Re: [Nagios-users] feature request: Service used as Host check
On 08/05 10:09, Jay R. Ashworth wrote: > On Mon, Aug 04, 2008 at 10:58:11AM +0200, Marcus Rej?s wrote: > > For them who not like to work with the configuration files there are many > > third party tools for configuring Nagios. In these tools the option you > > mention is easy and maybe wise to add. > > Is that actually true? I started setting up 3.0 about 2 months ago, > and all the config managers I found had not yet been forward-ported to > deal with 3 yet... Well it is true that there are many third party tools for configuring Nagios. But I prefer to work with the files myself so I'm not sure if they are up to date. Nagios 3 is not that old yet ;-) /Marcus -- Marcus Rejås jabber: [EMAIL PROTECTED] ,= ,-_-. =. Rejås Datakonsult e-mail: [EMAIL PROTECTED]((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrtäljegpg-key: http://gpg.rejas.se \_/ - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Upgrade problem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Leandro, Leandro de Oliveira schrieb: > Hi > I upgrade de nagios installation to version 3.0.3 and after this the sound > notifications stop to play. > Anyone can helpme? Maybe you need to patch two files: http://thread.gmane.org/gmane.network.nagios.devel/5391/focus=5401 Or try this plugin for Firefox: https://addons.mozilla.org/en-US/firefox/addon/3607 It can do sounds as well. Greetz, Marcus -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFImEfG+qVaNRZYOakRAl7tAJwPb/Dq4dHA3WHTh9EGEE6S1Jxy4gCaA3vo 4c09G4iJtFzsjo5zTJlbKP8= =y82L -END PGP SIGNATURE- - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] feature request: Service used as Host check
On 08/03 19:28, Hugo van der Kooij wrote: > Hi, Hi, > It seems some of us could just do with a config where we appoint a > service check as being a host check. That's true in many situations. > So if I define the service PING and use check_icmp on there I might as > well derive the host state from the service instead of duplicating this > check into the host definition. > > Would it be possible to add the option sometime in the future to just > point to a service check on the host and let that result also count as > the host status? Personally I think this is a bad idea. It will add complexity but very little is gained. For them who not like to work with the configuration files there are many third party tools for configuring Nagios. In these tools the option you mention is easy and maybe wise to add. Like I said, I think it is unwise to add this feature just to save some "copy-and-paste". Just my 2 cents. Regards, /Marcus -- Marcus Rejås jabber: [EMAIL PROTECTED] ,= ,-_-. =. Rejås Datakonsult e-mail: [EMAIL PROTECTED]((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrtäljegpg-key: http://gpg.rejas.se \_/ - 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=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Changes in authorization between 3.0 and 3.0.2 statuswml.cgi?
Hi Ethan, hi list, i'm having problems in acknowledging problems via WAP with Nagios 3.0.2. The Page tells me i'm not authorized to submit the command. When i submit the acknowledgement with the web frontend, all is working fine. Also, when i reinstall the statuswml.cgi from Nagios 3.0, its working again, too. So i guess, there must habe been something changed between these releases? Can anyone reproduce this behaviour? Regards, Marcus - 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] Ping flapping on Ubuntu client
Izz Abdullah schrieb: > This has been happening since we installed the NRPE addon onto the remote > host for monitoring. The firewall is stopped / off. Any ideas on why this > is happening? My first thought was the box thought it was being attacked, > but I am unsure if this is the case and if so how to rectify it. It will go > green for a short period of time, and then go back to a warning state and > start flapping. It is green / OK maybe once a day. > > PING > This service is flapping between states > WARNING 02-06-2008 17:09:10 0d 0h 0m 46s1/4 PING WARNING - > Packet loss = 0%, RTA = 222.32 ms I don't think that your box "thinks" it's beeing attacked because of an ICMP-Packet or two. I had a similar issue, and it was a routing problem. I had an OK-State as long as i kept pinging the servers, if I didn't do that, traffic wouldn't find it's way to the host (or back, I'm not sure anymore). Greetz, Marcus - 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] [Nagiosplug-help] check_netscreen_vpn
Tim Van Caeyzeele schrieb: > Wow, I love this community feeling thing ;) never got this kind of support > with windows apps :) > > I managed to do the below perfectly, but am having 1 issue: > > Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/local/nagios/libexec > /usr/lib/nagios/script_securalis /etc/perl /usr/local/lib/perl/5.8.8 > /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 > /usr/share/perl/5.8 /usr/local/lib/site_perl .) at ./check_netscreen_vpn line > 36. > BEGIN failed--compilation aborted at ./check_netscreen_vpn line 36. > > Although the snmp utils are installed (using sudo apt-get install snmp) > > Am I forgetting something ? > > > Ps: It's back on the list ;) And still top-posting ... Well, I guess you need perl::snmp, the SNMP-Libs for Perl. Should be able to find that via "sudo aptitude search snmp | grep perl" or something like that, on the console, or with your package-manager. Greetz, Marcus - 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] [Nagiosplug-help] check_netscreen_vpn
Tim Van Caeyzeele schrieb: > Marcus thanks for your support ;) Doing it for fun and karma-credits ;-) > 1 last newbie question: Indeed ... > How do I adjust permissions and how do I run it from the commandline ? # Let it be owned by nagios-user chown nagios:nagios /path/to/nagios/libexec/scriptname # Make it executable chmod u+x /path/to/nagios/libexec/scriptname # Gives the user (nagios) an execute-possibility on the script. # Otherwise you need to call it with "perl scriptname" > Just type check_netscreen_vpn ? or perl check_netscreen_vpn ? Either full path to script (/path/to/nagios/libexec/scriptname ) or do a "cd" to your nagios/libexec and type ./check_netscreen_vpn -H 10.1.1.23 -C your_password -n "somevpn" -l The first line of the script invokes the correct interpreter, normally, so you don't type "perl check_netscreen_vpn ..." usually, but you could do that, too. See the usage-examples on http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1681.html If it doesn't work, maybe you have a distro-nagios, which might not be in /usr/local/nagios. Then you have to adjust the perl-script with an editor editing the line use lib "/usr/local/nagios/libexec" ; to wherever your libexec is located at. I run into this issue at least two times already :-/ (but now I know what to watch out for). > PS: I'm having issues with some SH scripts, same problem as the PERL one I > guess ;) Probably, but this should get you going, I hope... Same procedure. Greetz, Marcus P.S.: Two more things: 1) Keep it on the list please, for the sake of sharing knowledge with others. 2) A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? (Got that one from Hugos Mails) ;-) - 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_nrpe issues
Izz Abdullah schrieb: > I have a remote Linux host (ubuntu), and the monitoring server is Redhat > Linux Enterprise 4. I have disabled SSL for check_nrpe and when testing the > connection to the remote host with the /usr/local/nagios/libexec/check_nrpe > -H 192.168.0.1 command, I receive the following error: > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for > error messages. Hm, what helped me recently figuring out a "0 bytes"-issue, was activating the debug in nrpe.cfg on the remote host and looking in the syslog. There I immediately found the error. (Missing utils.pm in perl-path). Greetz, Marcus - 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] Performance data for service
Hi Izz, Izz Abdullah schrieb: > I have enabled performance data for my monitored Windows 2k3 server. I am > receiving performance data, not extremely clear, but receiving, for the > defaulted services. What I want is to see performance data on running > processes as well (e.g. the Explorer.exe process has nothing in the > performance data field). Can someone please assist? What kind of performance data would you expect from explorer.exe? With some services, it just doesn't make much sense to have performance analyzed, in my opinion. Greetz, Marcus - 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] [Nagiosplug-help] NRPE and monitoring specify port
[EMAIL PROTECTED] schrieb: > Yh, it work, thank you so much. Welcome. > yet one ask..can i do that definiton for tcp universal and only define > number of port in services.cfg? > Now i have in commands.cfg commands > check_tcp1, check_tcp2, check_tcp3, check_tcp4, check_tcp5 etcand in > this i have numbers of port, and for each service of host i use that tcp1, > or tcp2,. > could i define that number of port in definiton of service?? Sure, just use $ARG1$ $ARG2$ etc, in your command definition. (See the fabulous manual on this issue, to clarify if needed.) # 'check_tcp' command definition define command{ command_namecheck_tcp command_line$USER1$/check_tcp -H $HOSTADDRESS$ -p $ARG1$ } in your service definition you can then use service 1 check_command check_tcp!123 service 2 check_command check_tcp!456 The "!" is for seperating command-name and parameter. I hope I understood right, what you are trying to do (having a parametrized command-definition, and give the port as a parameter). Greetz, Marcus P.S.: Please don't answer to me directly but to the nagios-list, so everyone can profit from the solution of your problem. - 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] RESOLVED: NRPE: Unable to read output
Hi folks, I figured it out, via the debug switch. The "mysterious" error demystified: Can't locate utils.pm in @INC ;-) The check-plugin just didn't look for utils.pm in /usr/local/nagios/libexec, but it did look for it in "./". And since I always run it from /usr/local/nagios/libexec as working-dir, it worked manually but not via nrpe. Have a nice weekend, Marcus - 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] NRPE: Unable to read output
Hi Thomas, Thomas Guyot-Sionnest schrieb: > If you're trying to run the plugin locally as root then try as the > nagios user instead (or whichever user nrpe runs as). I.e.: Actually, it doesn't matter, running the check as root as well as nagios gives the same result. I su'ed to nagios in the previous example, but when using root directly, it doesn't work either. > I doubt it would be caused by the missing newline, but if you think so > you can certainly add one in the plugin since it's written in perl... Certainly ;-) ... But that didn't do the trick, either unfortunately. > Which version of Nrpe are you using? NRPE is v2.12, nagios-plugins are the latest also. Thanks for giving some ideas, alas - the problem persists... Greetz, Marcus - 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
[Nagios-users] NRPE: Unable to read output
Hi Folks, i'm trying to get a plugin for openvpn (http://www.nagiosexchange.org/cgi-bin/pages/Detailed/1315.html) to work with nrpe, but it gives me the dreaded "NRPE: Unable to read output"-error. The server is a sles10sp1-xen-host running openvpn with the management-console which is reachable via telnet on localhost:1195. When i run the check manually, it works, although there is no "Linefeed" at the end.(Wonder if that might be the problem?) The invocation-command basically looks like this: [EMAIL PROTECTED]:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_openvpn -H 127.0.0.1 -p 1195 -P mypwd -n Then the output is (on one line): OpenVPN OK: 0 connected [EMAIL PROTECTED]:/usr/local/nagios/libexec> Perl::Telnet is used to connect to tcp/1195, gives the pwd and checks how many clients are connected. My nrpe.cfg looks like this: command[check_vpn]=/usr/local/nagios/libexec/check_openvpn -H 127.0.0.1 -p 1195 -P mypwd -n When i issue [EMAIL PROTECTED]:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_hd DISK OK - free space: / 9334 MB (86% inode=96%);| /=1424MB;9067;10200;0;11334 it works great, however [EMAIL PROTECTED]:/usr/local/nagios/libexec> /usr/local/nagios/libexec/check_nrpe -H 127.0.0.1 -c check_vpn results in NRPE: Unable to read output Can anybody please give me a hint whats going wrong here. :-/ Thanks and greetings, Marcus - 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] Help:ndomod: Error writing to data sink! Some output may get lost. 3829 queued items to flush
Hi Pallav. [EMAIL PROTECTED] wrote: > 05-13-2008 11:17:44] ndomod: Error writing to data sink! Some output may > get lost. 3829 queued items to flush. > > [05-13-2008 11:17:44] ndomod: Successfully reconnected to data sink! 0 > items lost, 4050 queued items to flush. Well, sure such an error is not nice, but since it reconnects in the same second and flushes the sink successfully, maybe it's not that "critical" after all. I assume, values do get written into the database, don't they? Do you use the 64-Bit version of Ubuntu 7.10? Greetz, Marcus - 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] monitor any process/service which runs on linuxbox using nagios
nagios nagios schrieb: > if we downloaded the package for example check_snps_process.pl, we need > to run configure n make all than we need deploy to monitor rite??? > > or any process is there to place this plugin Maybe you should open another thread for this snmp-stuff, reformulating your question. (I don't quite get it, what you are trying to do, and alas my crystal ball is in repair.) But I don't quite understand, why you don't just put that line in your xinetd-configuration right, like described in the fabulous manual. EOF, Marcus - 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] monitor any process/service which runs on linuxbox using nagios
nagios nagios schrieb: > Hi, > > i entered the nagios server Ip address n tired but no luck > only_from = 127.0.0.1 <http://127.0.0.1> This looks suspicious! Why don't you just put only_from = 127.0.0.1 your.nagi.os.ip where "your.nagi.os.ip" is the real ip-adress from your nagios-server, of course. Then, a last time, restart the xinetd-server. Then it should run. No need to chicken out of nrpe ;-) Best regards, Marcus is any > other way to monitor process/service on linux box using nagios... if yes > please let us know Sure, you can use nmap-based checks for udp/tcp-services, I guess, and you can always use snmp-checks, which some people prefer, because you can do a lot of stuff with it. (At least that was what I read on the snmp-check-homepage ;-) http://nagios.manubulon.com/ ) Hth, Marcus - 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] monitor any process/service which runs on linuxbox using nagios
nagios nagios schrieb: > my config file looks like this > only_from = 127.0.0.1 <http://127.0.0.1> Probably the above line is the culprit ;-) You have to put the nagios-servers address instead of localhost, so it is allowed to invoke the service. Have a look in the man of xinetd.conf and search for "only_from". Greetz, Marcus - 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] Alert when status information changes
Sander Klein schrieb: > I don't want the service to become critical, unknown or warning I just > want to know when it occurs. Is this somehow possible with nagios? > > A push in the right direction would be nice :-) Hm here's a push: Why not monitor the syslog or similar, for a failover taking place. I assume there is something logged somewhere when this happens. Then have an email sent to your address. :-) Maybe you don't even need nagios for that one ... (http://www2.logwatch.org:81/ could help). Maybe your loadbalancer is even snmp-capable, and could send out a trap. (Who knows, since you weren't too specific about your setup...) Greetz Marcus - 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] monitor any process/service which runs on linux box using nagios
nagios nagios schrieb: > Apr 23 18:46:51 remotemachine xinetd[2845]: service/protocol combination > not in /etc/services: nrpe/tcp The above line states the problem. can you post a "grep nrpe /etc/services" and maybe also your /etc/xinetd.d/nrpe file? Maybe you've got a typo in /etc/services. I don't know what else it could be... Regards, Marcus - 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] monitor any process/service which runs on linux box using nagios
nagios nagios schrieb: > but if i grep ps -ef | grep nrpe it not showing any thing... Check the system-log /var/log/messages and see, what xinetd is doing. Check xinetd is running with "pidof xinetd" or alternatively with ps -ef | grep xinetd. Maybe something went wrong there. Any errors in the log? Greetz, Marcus - 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] monitor any process/service which runs on linux box using nagios
nagios nagios schrieb: > i guess nrpe service is not running , i created the file as mentioned in > the README file n placed it under/etc/xinetd.d/ , how we can make it run Maybe you just have to start or restart xinetd? Greetz, Marcus - 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] monitor any process/service which runs on linux box using nagios
Hi there, manjunath A schrieb: > [EMAIL PROTECTED] libexec]# ./check_nrpe -H remotemachine -p 5666 > Connection refused by host Check if the port 5666 is open on remotemachine with your favorite portscanner, and maybe check, if a firewall is blocking access to nrpe-port 5666 on the linux-host (remotemachine). Did you configure xinetd according to http://nagios.sourceforge.net/docs/nrpe/NRPE.pdf ? Can you successfully ping "remotemachine" at least? Maybe, go beyond reading the README-File and read the whole NRPE.pdf, there are a lot of troubleshooting-hints which might help a lot. Greetz, Marcus - 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] Nagios help!!
[EMAIL PROTECTED] schrieb: > I have added my first windows machine as stated below , now i want to > add more machines , so do i need to add one more windows.cfg file with > new host definations or simply add hostname in present file windows.cfg > seperated by comma , > like > host_nameserver1,server2, The comma-Solution doesnt't work. > This might seem a very stupid questions to many but still as i am new to > this, so i need some help. When I had "my first nagios-day", I ran into the exactly same issue. I monitor two linux-servers which looks like this: define host{ use linux-server host_name OpenVPN1 alias OpenVPN-Server Nr1 address ovpn1.somedomain.de } define host{ use linux-server host_name OpenVPN2 alias OpenVPN-Server Nr2 address ovpn2.somedomain.de } (The template that comes with nagios is beeing used). Hope this helps a little. greetz, marcus (By the way, Pallav, a subject with just "help" and several exclamation-marks is not appropriate for a sophisticated mailing-list like this.) - 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] Nagios : Monitoring Blackberry services.
[EMAIL PROTECTED] schrieb: > How do I monitor these services with nagios !!! Maybe try http://sourceforge.net/projects/nagiosplugincol/ -> * check_service Make sure all automatic services are running. Or if special services are specified, this script checks if they are running. You have to install NRPE, too. Greetz, Marcus - 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] Help : NDOUtils not able to find mysql
[EMAIL PROTECTED] schrieb: > How to do that ? > as i could not find any packages apt-cache search mysql-dev Pallav, please keep it on the list. The packet on my ubuntu-system is "libmysqlclient15-dev" [EMAIL PROTECTED]:~# aptitude search mysql | grep dev [ ... ] v libmysqlclient-dev - i libmysqlclient15-dev- MySQL database development files Greetz, Marcus - 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
Re: [Nagios-users] Help : NDOUtils not able to find mysql
[EMAIL PROTECTED] schrieb: > *** MySQL include file could not be located... ** Install mysql-devel or mysql-dev. The files are needed to add mysql-Support when compiling other apps like ndo-utils. Greetz, Marcus - 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
Re: [Nagios-users] nagios
[EMAIL PROTECTED] schrieb: > I am getting this error while compiling plugins. get openssl-devel for your distribution. - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Fw: Help : Unable to see any Host except local Host
[EMAIL PROTECTED] schrieb: > > I have restarted the nagios service a number of time , still no hopes Did you uncomment the switch.cfg in nagios.cfg? [EMAIL PROTECTED]:/etc/nagios# grep switch.cfg . -r cfg_file=/usr/local/nagios/etc/objects/switch.cfg - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help : Unable to see any Host except local Host
Did you restart the service? - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help : OID
[EMAIL PROTECTED] schrieb: > I used the command snmpwalk .. but I started getting a long list > of ids , so which ID to chosse from that list. Hi Pallav, if you just want to monitor, if the management-interface of the switch is up or down, you can use check_icmp or something like that. MIB-2 is a standart-MIB which suits for many different devices. If you wanna monitor the fan, or the cpu-load or something like that, you need the corresponding OID from MIB-2 (or from some special Cisco-Mibs). However, this depends greatly on what you want to monitor. (Maybe you want to tell us? ;-) ) Greetz, Marcus - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help
Josh Gray wrote: > You can always install to a different directory than the normal with > --prefix=/dir/name/here/ that you DO have permission for. ... but who would want a nagios-installation in /tmp/ or /home/user ... Of course you can always do that. Kind regards, Marcus - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help
[EMAIL PROTECTED] schrieb: > I get error messege : cannot create directory 'usr/local/nagios': > permission denied Hi Pallav Because you are not root, thou may not create the directory. Try putting a "sudo" before make install, that should do the trick. This is the ubuntu-way to perform an action as root. (Maybe you shoulg read the fabulous manual on that part, because that issue will hit you more often ...) Greetz, Marcus - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] SNMP through NAT!
jeff surofsky schrieb: > obviously I have to use different ports, but how do I configure nagios to > send snmp on different ports? I think it may be in commands.cfg Hi Jeff, I have a command-definition in etc/objects/commands.cfg # 'check_snmp' command definition define command{ command_namecheck_snmp command_line$USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } Here you could probably specifiy additional ARGs, for example the Port used (after $ARG1$). If you invoke check_snmp with -h (in libexec), it gives you the possible arg-list, including -p for port. (-p, --port=INTEGER Port number (default: 161)) But wouldn't it be simpler, to just tell the FW to allow Nagios-IP on Box[1-4] for UDP 161 ? What you take as "obvious" isn't that obvious for me, but maybe I just don't get your environment right. ;-) HTH, Greetz, Marcus - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] trends.cgi problem in 3.0 final?
August Simonelli schrieb: > However, i noticed that no matter what auth settings i had in cgi.cfg > (even turning authentication off) i couldn't get trends to work. Seems to be a bug, others have that issue, too. There is a thread on the devel-list concerning this. See http://article.gmane.org/gmane.network.nagios.devel/5070 Greetz, Marcus - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Tends Report Not Working
Morris, Josh schrieb: > Is there a fix for this issue yet? I don't think so. Greetz, Marcus - 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] Upgrading from 1.2 to 3.0
Kevin Freels schrieb: > I need to upgrade our current version from 1.2 to the latest version > (3.0). There's info in the 3.0 documentation for going from 2.x to 3.0, > but not from 1.x, and the 2.x docs don't even speak of upgrading from > 1.x. > > So I was wondering if anyone else has done this, i.e., gone from 1.x to > 3.0 in one fell swoop. It would be a pain to have to upgrade in two > steps from 1.x => 2.0 => 3.0, but I'm willing do it if I have to. > However, as I said, there's no info for 1.x => 2.0 that I could find, so > even that's a questionable proposition. > > What is involved with going from 1.x to 3.0 directly in one jump? Or is > this one of those "better to start off clean" scenarios? Hi Kevin, I recognized, that migrating from 2.10 to 3.0 ended in 4000 unwanted mails over the weekend ... ;-) (Due to a strange notification configuration.) Well, I inherited the old system, and recognized, that it made more sense for me, to start with monitoring some basic systems in 3.0 and getting used to the new system first (since I am quite new to nagios) and then integrating some of the old config-files (host-cfgs). This scenario worked pretty well for me. I don't know how much the config-format has changed since 1.x, maybe you don't have to write everything anew. (My luck was, that we almost exclusivly monitor the up-down-state of 1100 switches and routers, no fancy checks involved.) In the process of upgrading, I used the preflight-check a lot, and when the check-script didn't complain, I restartet or reloaded nagios. How many hosts or services are you monitoring? Do you just use standard plugins? I wish you the best of luck however. Greetz, Marcus - 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] controlling services by hostgroup?
Hi there, Nice to see some other people had the same idea to simplify their config. :-) Additionally i can say, that i order hosts in multiple hostgroups to stick them together logically. For example: HostA and Host B are both members of server-hp, os-linux, net-drbd, net-bond0, task-oracle. Both belong to the same Project along with some other hosts (routers, switches, sensors...), so all of those machines belong to a hostgroup "ProjectA", combining them to a logical unit. As far as i can see, it doesn't bring up any performance issues in Nagios 3.0(b7) to add a host to multiple hostgroups. Back in the old days, service groups rendered my nagios installation (2.3) to a nearly unusable state by growing service latencies to incredible numbers. Now, i'm working with ~600 hosts and ~5400 services with a latency of 1.6 secs, having large numbers of hosts in multiple hostgroups. Regards, Marcus - 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_hpasm error
Michel, PO Michel schrieb am 11.01.2008 10:15 Uhr: > By imitating the Nagios server and running the "check-nrpe -H miysis -c > check_hpasm" command, I get the same output as in Nagios : "UNKNOWN - > insufficient rights to call sudo /sbin/hpasmcli". > > What is more surprising is that if I change my Nagios etc/hosts.cfg file to : > > define service { > host_name miysis > use template-services > service_description HP Hardware > check_command check_hpasm > } > > instead of > > define service { > host_name miysis > use template-services > service_description HP Hardware > check_command check_nrpe!check_hpasm > } > > > I also get this "UNKNOWN - insufficient rights to call sudo /sbin/hpasmcli" > though I don't use NRPE anymore... This is the exact correct behaviour, until you added a sudo-command for /sbin/hpasmcli on your nagios-server! To get this clear: Whenever you start a command via nrpe, the command defined will be executed on your _remote_ server. Nagios calls check_nrpe, check_nrpe connects to remote site and lets the nrpe daemon execute the defined check (check_hpasm). When you remove check_nrpe from the check_command definition, check _hpasm is executed _locally_! > Really driving me crazy but it seems to prove the problem is not bound to > NRPE but to Nagios itself. No, its bound to the way you configure your nagios. You have to choose what you want to configure: local check or remote check via nrpe. Make your choice and concentrate on the solution of just that single problem. Ok, another try for the nrpe part: Before checking the real nrpe part, make sure this works: 1. Connect to miysis via ssh. 2. look into /etc/nagios/nrpe.cfg or whereever your nrpe-config is and get the username nrpe runs under. 3. su - 4. sudo /sbin/hpasmcli -help If this asks you about a password, your sudo-config lacks an entry. Else, process as follows: 5. Look at the command definition in your nrpe.cfg. 6. Call check_hpasm exactly as it will be called by nrpe. Only if all that works, and only if all that works, try to check if it also does from your nagios server by calling check_nrpe. I would suggest you read over the documentation for nagios and nrpe again to get the way it works clear. Oh, and by the way: Gerhard is from southern germany, its impossible for them to be impatient by any means! ;-) Regards, Marcus Fleige - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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_hpasm error
Hi again, PO Michel schrieb am 08.01.2008 14:42 Uhr: > The content of my /etc/sudoers file is the following : > > nagios ALL=NOPASSWD: [...]/usr/local/nagios/libexec/hpasm * ^ Habe you realized the check actually is called "check_hpasm", not "hpasm"? Regards, Marcus Fleige - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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_hpasm error
Hi Michel, PO Michel schrieb am 08.01.2008 12:17 Uhr: > Don't worry, I am a very disciplined person even if I'm french ;-) *g* I didn't realize that being french and being disciplined are opposed to each other. :-) > So I have tried to logout and login again (as nagios of course) and the > result of the command "check_nrpe -t 60 -H miysis -c check_hpasm" still > is "NRPE: Unable to read output". I have tried to run this command as > root and the result is the same. So if i get you right a direct call of the nagios user doing "sudo /usr/local/nagios/libexec/check_hpasm -v" works? What does it output? Is "command[check_hpasm]=sudo /usr/local/nagios/libexec/check_hpasm" still you actual nrpe configuration for the check? If so, do you have an explicit entry for /usr/local/nagios/libexec/check_hpasm in your sudoers file? > I guess there really is a problem with this /etc/sudoers file. > Access right is 440 on this file, which seems to be the default. Mine is 0640 root:root. Works with that. Regards, Marcus Fleige - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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_hpasm error
Hi Michel, hi Gerhard! :-) Gerhard wrote: >> please login at miysis as the user, who runs the nrpe daemon. >> >> call "sudo /sbin/hpasmcli -s help" >> Does this work without password? >> >> call /usr/local/nagios/libexec/check_hpasm -v >> What's the output? >> >> If it works so far, >> logout and login at your Nagios server. >> >> call "check_nrpe -t 60 -H miysis -c check_hpasm" >> What's the output? PO Michel wrote: > The first command works but the second returns : > > NRPE: Unable to read output > > My nrpe.conf file looks like the following : > > server_port=5666 > server_address=10.1.10.233 > nrpe_user=nagios > nrpe_group=nagios > #allowed_hosts=127.0.0.1 10.1.10.233 > dont_blame_nrpe=1 > #command_prefix=/usr/bin/sudo > > NRPE runs under xinetd on my Nagios server. Michel, i think you misunderstood Gerhard. It's important to try to analyze the problem step by step, so please do exactly what is described. You tried to execute the command via NRPE, instead, you should have executed it manually on the console. Please logon to the corresponding machine, do a "su - nagios", execute the commands as decribed on top and post the reply to keep this thing going, ok? :-) Regards, Marcus Fleige - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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_hpasm error
Hi again, try to explicitly name your sudo-commands. Name the entry "/usr/local/libexec/check_hpasm *", that should allow your nagios user to run the command with any option without asking for a password. Regards, Marcus Fleige - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_hpasm error
Hello there, PO Michel schrieb am 04.01.2008 09:17 Uhr: > Hi list > > I try to use the check_hpasm plugin on the RH 5.0 Linux box running Nagios. > > I get the following error : "UNKNOWN - insufficient rights to call sudo > /sbin/hpasmcli " > > [...] Actually, i got exactly the same problem on my systems. Could you have a look to your "/opt/compaq"-directory and check its permissions? Unter normal conditions, nagios user will not be allowed to go there, permissions are set to 750 on my machine. So, without being able to read it, the nagios users cannot execute /opt/compaq/utils/hpasmcli. I was not willing to change the permissions on all my machines, so i circumvented it by calling the check_hpasm-script directly via sudo: nrpe.cfg: command[check-hpasm]=sudo /usr/lib/nagios/plugins/check_hpasm -b $ARG1$ sudoers: nagios ALL=NOPASSWD:[...],/usr/lib/nagios/plugins/check_hpasm Maybe this helps? :-) Regards, Marcus Fleige - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] rrd gaps
Hi there, here's my 2 cents about the gaps: From my experience, gaps are normally caused by missing datasets over a period of time. RRD expects data within a time window defined in the "step" and "heartbeat" variables. If data doesn't arrive in this window, the value for the defined time frame is set to "NaN" (Not a number), resulting in not being displayed in the generated image. Missing datasets are often caused by: - Huge service latencies, e.g. if you got lots of services to be checked in a rather short period of time. (Got this with 3k services, which should be checked in a period of 2 minutes -> 25 Checks/second is quite a lot...) - non-fitting service check intervals. If you check your services in a 15 minute interval, but your rrd files expect data every 5 minutes, only every third time frame will be filled, resulting in gaps. Maybe this is of some use. Regards, Marcus Fleige - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Configuring Disk Space
On 08/24 09:17, Rodrigo Tavares wrote: > Hello Marcus, Hi. > I changed the value for /dev/hda2. > But nagios notice : > > DISK CRITICAL - /dev/hda5 does not exist This is strange. Are you sure this is not another typo? It looks from this that you wrote /dev/hda5 in you config file instead of /dev/hda2? Otherwise it doesn't really make sense to me. > The PC with nagios have a HD SCSI. > > It can to explain something ? No, not really. They are usually called /dev/sd* but that might vary with what driver you are using. Could you give the full output of the command "df" /Marcus -- Marcus Rejås jabber: [EMAIL PROTECTED] ,= ,-_-. =. Rejås Datakonsult e-mail: [EMAIL PROTECTED] ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrtälje gpg-key: http://www.rejas.se/rejas.asc\_/ - 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
Re: [Nagios-users] Configuring Disk Space
It is quite simple I guess. It's a typo in your config file. You have "check_disk!20%!10%!/dev/sda2" when what you want is "check_disk!20%!10%!/dev/hda2" Observe sda instead of hda. RegardsRegards¬, /Marcus On 08/24 08:48, Rodrigo Tavares wrote: > Hello, > > Nagios admin found the size of the partition: > > DISK OK - free space: /dev 9 MB (99% inode=99%): > > But, in server linux with command df -h : > > /dev/hda2 28G 14G 14G 51% / > > See my services.cfg > > define service{ >use generic-service > ; Name of service template to use > >host_name veraneio >service_description /dev/hda2 Free > Space >is_volatile 0 >check_period24x7 >max_check_attempts 3 >normal_check_interval 5 >retry_check_interval1 >contact_groups infra >notification_interval 120 >notification_period 24x7 >notification_optionsw,u,c,r >check_command > check_disk!20%!10%!/dev/sda2 > > How I can to resolve this trouble ? > > Best regards, > > Faria > > > > Flickr agora em português. Você clica, todo mundo vê. > http://www.flickr.com.br/ > > - > 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 -- Marcus Rejås jabber: [EMAIL PROTECTED] ,= ,-_-. =. Rejås Datakonsult e-mail: [EMAIL PROTECTED] ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrtälje gpg-key: http://www.rejas.se/rejas.asc\_/ - 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
[Nagios-users] CGIs path to css is wrong
Hello! Before the upcoming Nagios 3 release we have started to test the cvs-version. But in our CGI-scripts we have this header. Nagios Tactical Monitoring Overview However the stylesheets are in /stylesheets. There are several work-arounds for this at our site but I'm wondering if this is a configuration error we made or is something currently broken? Regards. /Marcus -- Marcus Rejås jabber: [EMAIL PROTECTED] ,= ,-_-. =. Rejås Datakonsult e-mail: [EMAIL PROTECTED] ((_/)o o(\_)) Kaserngatan 1 web: http://www.rejas.se `-'(. .)`-' s-761 46 Norrtälje gpg-key: http://www.rejas.se/rejas.asc\_/ - 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
Re: [Nagios-users] Distributed to Central Configuration
Hi Demetri, Demetri Mouratis schrieb: > Does anyone on the list do anything similar they'd care to share? I'm > looking over my scripts and thinking they were good but before I sit > down to rewrite them I'd appreciate any input/suggestions. I store my nagios config files in an svn repository with a dedicated nagios main config file for each slave, telling it which config dirs to include. After updating configs on the master server, the repository is commited. Afterwards, i run a small shell script which connects to the nagios slave servers, updates the local replica of the repository and reloads the nagios daemon. The only thing that has to be done once for every slave is the manual change of the rc-startscript to tell the daemon which config to use (master uses nagios.cfg including all config dirs, slave1 uses nagios-slaveserver1.cfg incl. dir1-dirX etc.) Hope this is worth mentioning it. ;-) Regards, Marcus Fleige -- EOF - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] problems with nagios 3.0a3
Hi, [EMAIL PROTECTED] schrieb am 04.05.2007 13:23 Uhr: > [...]I know that > insert.pl is used by nagiosgraph. The externall commands doesn´t works > inmediatly, it takes an a hour to check the service...!!! > Have you tried to setup NagiosGrapher to use the udp network transmission instead of the named pipe? That solved a big performance issue on my site. > I know that the new version of nagios is not very stable but the usage > of the cpu by nagios 3 is more than 1000% bigger than the version 2.7. > > Has someone try nagios 3? I'm successfully using Nagios 3.0a3 with NagiosGrapher. > Regards, Marcus Fleige - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring
Hi Gerhard, Gerhard Lausser schrieb am 17.04.2007 16:15 Uhr: > Hallo Marcus, > > ich habe check_hpasm-1.3 angehängt. Könntest du bitte ausprobieren, ob > es so passt? > Du müsstest mit hpasmcli die Nummer des fehlenden Netzteils rausfinden > und dieses dann als blacklisted übergeben. > check_hpasm -v -b p: > Alternativ kannst du auch in eine Datei dieses "p:" reinschreiben > und dem -b Parameter den Dateinamen mitgeben. I better write in english, as some mailinglist members have their difficulties with german. ;-) Thanks a lot for the new version! The blacklist switch works like a charme, both as an argument and as a file. And even better: in the verbose output the problem persists, with the notice of it being blacklisted. I'll be deploying this version asap. Thanks again, very good work! Regards, Marcus Fleige - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Plugin for HP Proliant Hardware Health Monitoring
Hey, Gerhard Lausser schrieb am 16.04.2007 17:15 Uhr: > Hi Marcus, > > i can understand, not-so-important servers are not fully equipped. > I will introduce an option like "-b ps:3,..." to blacklist the named > components (skip checking power supply #3 in this example). > > Maybe by the end of the week. Keep an eye on > http://www.consol.com/opensource/nagios/check-hpasm (the broken download > link has been fixed). Great, thanks a lot! After that is finished, i'm looking forward to deploy the check throughout my network. :-) Regards, Marcus Fleige - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Multiple email alerts
Hi, I¹m using a $8.00/month Xen account to run Nagios to monitor 3 machines and 37 services. My issue is that either the Xen machines network or the network I host on gets slow and then I get 37 emails regarding downed services. I read the FAQ and thought that setting notification_interval to 0 would do the trick based on this link: http://www.nagios.org/faqs/viewfaq.php?faq_id=71&expand=false&showdesc=false Unfortunately I just got 28 emails for one machine. I want to setup Nagios so that if the machine is unreachable, then it should assume that none of the services are reachable and it should only send out one alert. Thanks, James - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Still having problems with check_disk_smb
Does any know how to deal with these issues in this script? [EMAIL PROTECTED] /usr/nagios/libexec] 72# ./check_disk_smb -H fileserver.mvalent.net -s Software -W MVALENT -w 5G -c 2G Use of uninitialized value in concatenation (.) or string at ./check_disk_smb line 61. Argument "2G" isn't numeric in numeric gt (>) at ./check_disk_smb line 97. Argument "5G" isn't numeric in numeric gt (>) at ./check_disk_smb line 97. Domain=[MVALENT] OS=[UNKNOWN] Server=[UNKNOWN] Disk ok - 14.16G (4%) free on \\fileserver.mvalent.net\Software [EMAIL PROTECTED] /usr/nagios/libexec] 73# Thanks, James - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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
Re: [Nagios-users] Result from smbclient not suitable
I had to set the full path to my SMBCLIENT in line 61. James On 9/8/06 9:20 AM, "James Marcus" <[EMAIL PROTECTED]> wrote: > Hi, > I'm running the check_smb_client from the CLI and can't get seem to get it > right, or it isn't compatible with SNAP appliance's implementation of SMB? > > Here is what I'm doing: > ./check_disk_smb -H fileserver -W DOMAIN -u testaccount -p changeme -s > Documents > Can't exec "//fileserver/Documents": No such file or directory at > ./check_disk_smb line 126. > Use of uninitialized value in split at ./check_disk_smb line 135. > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line > 143. > Result from smbclient not suitable > > ./check_disk_smb -H myDesktop -W DOMAIN -u testaccount -p changeme -s MP3 > Can't exec "//myDesktop/MP3": No such file or directory at ./check_disk_smb > line 126. > Use of uninitialized value in split at ./check_disk_smb line 135. > Use of uninitialized value in pattern match (m//) at ./check_disk_smb line > 143. > Result from smbclient not suitable > > > ./check_disk_smb -V > check_disk_smb (nagios-plugins 1.4.2) 1.12 > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > > I also tried it against my desktop without any luck? > > [EMAIL PROTECTED] /usr/nagios/libexec] 65# smbclient -V > Version 3.0.22 > > > Thanks, > James > > > - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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 - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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
[Nagios-users] Result from smbclient not suitable
Hi, I'm running the check_smb_client from the CLI and can't get seem to get it right, or it isn't compatible with SNAP appliance's implementation of SMB? Here is what I'm doing: ./check_disk_smb -H fileserver -W DOMAIN -u testaccount -p changeme -s Documents Can't exec "//fileserver/Documents": No such file or directory at ./check_disk_smb line 126. Use of uninitialized value in split at ./check_disk_smb line 135. Use of uninitialized value in pattern match (m//) at ./check_disk_smb line 143. Result from smbclient not suitable ./check_disk_smb -H myDesktop -W DOMAIN -u testaccount -p changeme -s MP3 Can't exec "//myDesktop/MP3": No such file or directory at ./check_disk_smb line 126. Use of uninitialized value in split at ./check_disk_smb line 135. Use of uninitialized value in pattern match (m//) at ./check_disk_smb line 143. Result from smbclient not suitable ./check_disk_smb -V check_disk_smb (nagios-plugins 1.4.2) 1.12 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. I also tried it against my desktop without any luck? [EMAIL PROTECTED] /usr/nagios/libexec] 65# smbclient -V Version 3.0.22 Thanks, James - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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
Re: [Nagios-users] removing 'cache' after restarting Nagios
Hi Joost, Joost Saanen wrote: > Hi there, > > Is it possible to reset the 'service details' when I restart Nagios? > The problem was the path to my plugins /usr/lib/nagios/plugins. At the > first time I started nagios the path wasn't right but I have fix it now > (changed it to the right path). But when I restart Nagios, all my > services are still "Critical".Nagios didn't do any update? Is it > possible to remove the 'cache' of nagios? Sure it is. Stop the Nagios daemon and remove the "status.sav"-File in the Nagios-Log-Folder (/var/log/nagios/ over here :-) ). Startup again and Nagios should show all hosts/services as pending. Regards, Marcus Fleige -- EOF - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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
Re: [Nagios-users] no graph like hobbit or BB
Hi Elizar, Elizar M. Palad wrote: > Hi list, > > Im a nagios user for more than a year now... > I just came across hobbit.. it has an awesome reporting tool > and a graph.. > > how come i don't see nagios'? > or i can't make it work? As the website says, hobbitmon is an development based on bigbrother, adding graphs and reporting. When you compare it to nagios, you should have a look to the 'reporting' section in nagios' navigation on the left. Nagios itself is not capable of diffencing between more than 4 states (ok, warning, critical, unknown), the reporting can only tell you something about availability of a host or service. For long term graphs, you have to extend your nagios installation with an addon like NagiosGrapher, PerfParse etc. - have a look at http://www.nagiosexchange.org. Regards, Marcus Fleige -- EOF - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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
Re: [Nagios-users] building NRPE statically
Hi Murray, Barton, Murray M. wrote: > Hi, > is there any way to build nrpe statically? I have to deploy across a > large number of solaris boxes and I don't want to have to install > > openssl on all of them as well. ./configure --help didn't give me any > clues :( > I am not an developer, but try the following: LDFLAGS="-static" ./configure make all Works for me. Regards, Marcus Fleige -- EOF - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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
Re: [Nagios-users] Problems with service scheduling
OMFG! I finally found my error. As usual, it sat 30cm in front of my screen. :-( My Graphs and a look into the source told me about the error: Monitoring was delayed between 8am and 5pm. That is exactly the timeperiod i defined for workhours. And workhours are cut away from every other timeperiod, including 24/7... I guess i need another cup of coffee... Sorry for the noise on the list! Regards, Marcus Fleige -- EOF - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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
[Nagios-users] Problems with service scheduling
Hi list, i recently ran into problems with the service scheduling inside my nagios installation and i guess i need some help. I'm running Nagios 2.5 with roundabout 300 Hosts ans 2800 services on a 4-CPU Xeon machine with 2 GB RAM. Services are actively monitored. Thing is: I changed the configuration last week to better fit our needs. That included a lot of renaming of Services, Contacts, Contactgroups and Escalations. After I finished, i restarted the nagios daemon yesterday morning at about 9am. Result: the process doesn't start monitoring. I looked into the scheduling queue, and it told me it will start the monitoring at 5pm in the evening. Over the day, i tried to analyse the problem. I reviewed the config, although Nagios verificates it to be good, finding nothing. Restart of the process has no effect, the scheduling queue doesn't change. I tried with the old config (praise svn!), and the Process starts as usual, generating a new scheduling queue and beginning the monitoring. As the only file influencing the schedule queue is the main config file and altough I did not change that, i copied it again from the old to the new config. It didn't show any effect, at least it shows the error seems to live in the host/service/escalation area of my config. When i restarted the Nagios daemon at 4:50pm, waiting till 5pm, i began to monitor as he was expected to. That worked till today morning, when at around 9am (again!) the scheduling queue showed up with the 5pm-thing again. I recompiled nagios with DEBUG1-3 to get some more information. After validating te config, it shows the following: [...] Completed service verification checks Completed host verification checks Completed hostgroup verification checks Completed servicegroup verification checks Completed contact verification checks Completed contact group verification checks Completed service escalation checks Completed service dependency checks Completed host escalation checks Completed host dependency checks Completed command checks Completed command checks Completed extended host info checks Completed extended service info checks Completed circular path checks Completed circular host and service dependency checks Completed global event handler command checks Completed obsessive compulsive processor command checks $0: Cannot enter daemon mode with DEBUG option(s) enabled. We'll run as a foreground process instead... COMMAND FILE THREAD: 1077427120 Preferred Time: 1156839911 --> Tue Aug 29 10:25:11 2006 Next Valid Time: 1156863600 --> Tue Aug 29 17:00:00 2006 Preferred Time: 1156839911 --> Tue Aug 29 10:25:11 2006 Next Valid Time: 1156863600 --> Tue Aug 29 17:00:00 2006 [...] Host 'AP001' should not be scheduled Host 'AP002' should not be scheduled Host 'AP003' should not be scheduled Host 'AP004' should not be scheduled Host 'AP005' should not be scheduled [...] Total scheduled services: 2837 Service Interleave factor: 1 Total service interleave blocks: 2837 Service inter-check delay: 1.0 Current Interleave Block: 0 Service 'Network: Ping' on host 'AP001' CIB: 0, IBI: 1, TIB: 2837, SIF: 1 Mult factor: 2837 Preferred Check Time: 1156842748 --> Tue Aug 29 11:12:28 2006 Preferred Time: 1156842748 --> Tue Aug 29 11:12:28 2006 Next Valid Time: 1156863600 --> Tue Aug 29 17:00:00 2006 Actual Check Time: 1156863600 --> Tue Aug 29 17:00:00 2006 [...] As you can see, i also changed the service interleaving from smart to dumb with an interleave factor of 1 to cirumvent the scheduling logic. In vain, i guess :-( Now, for my questions: Has anyone seen such behaviour already? Where is that "Next Valid Time" in the Debug-Output from? How is it generated? Is there any tool beside the daemon itself to validate the config files? Thanks for reading all the way down here and please excuse any lingual errors. Regards, Marcus Fleige -- EOF - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=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
Re: [Nagios-users] any tools that can automatically draw a n etwork topology map?
Hi, 陈寅 wrote: > > So far as I know, Nagios cannot automatically draw a network topology > map, neither does OpenNMS, but recently I really need such a tool. Does > anybody know where to find one? Well, Nagios can, if you use the 'parent'-option troughout your config files, you get quite a nice overview in the Status Map. However, with a lot of hosts this is not an option, as the map becomes more and more unreadable. I don't wan't to advertise, but some time ago i tried InterMapper, which was quite impressive to me. It surely is not the only solution, it's not even a free one, but i guess it's not bad at all. So long, Marcus - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Invalid object definition type hostextinfo
In order to get this to work I had to make two changes: I had used xodtemplate_config_file, I needed to use xedtempate_config_file. This configuration entry needed to be in cgi.cfg not in nagios.cfg. Thanks Allan. Hope this helps someone. James From: [EMAIL PROTECTED] on behalf of James R. Marcus Sent: Sat 2/11/2006 11:27 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Invalid object definition type hostextinfo I have been reading the list trying to figure out how to get hostextinfo working. I'm running 1.3 and I have read on the list that I need to load the file using: calpurnia nagios # grep hostext nagios.cfg xodtemplate_config_file=/etc/nagios/hostextinfo.cfg calpurnia nagios # cat hostextinfo.cfg define hostextinfo{ host_name harper notes_url https://harper.domain.com <https://harper.domain.com> icon_image gentoo.png icon_image_alt Gentoo 2005.0 vrml_image gentoo.png statusmap_image gentoo.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } calpurnia nagios # /usr/nagios/bin/nagios -v /etc/nagios/nagios.cfg Nagios 1.3 Copyright (c) 1999-2004 Ethan Galstad ([EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ) Last Modified: 11-17-2005 License: GPL Reading configuration data... Error: Invalid object definition type 'hostextinfo' in file '/etc/nagios/hostextinfo.cfg' on line 1. Any thoughts? Thanks, James P.S. If this doesn't come in plain text, I couldn't figure out how to set it in OWA --- 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=k&kid3432&bid#0486&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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=lnk&kid3432&bid#0486&dat1642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null