From mad at b-care.net Tue Feb 1 08:08:28 2011 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Tue, 01 Feb 2011 08:08:28 +0100 Subject: JVM Monitoring In-Reply-To: <4D0B3934.1000602@ederdrom.de> References: <1292335885.1679.12.camel@MADness> <4D0A62A8.3070504@paul.dubuc.org> <1292570392.1737.3.camel@MADness> <4D0B3934.1000602@ederdrom.de> Message-ID: <1296544108.1640.3.camel@MADness> On Fri, 2010-12-17 at 11:19 +0100, Joerg Linge wrote: > Am 17.12.10 08:19, schrieb Marc-Andr? Doll: > > On Thu, 2010-12-16 at 22:41 +0000, Jim Avery wrote: > >> On 16 December 2010 19:04, Paul M. Dubuc wrote: > >>> I was just looking at the web page for check_jmx4perl at > >>> > >>> http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details > >>> > >>> It says that it requires "No Java installation required on the Nagios host". > >>> > >>> Is this not true? > > > > Hi, > > > > Yes it is true. You don't need to install Java on your Nagios server to > > use check_jmx4perl. You just have to deploy a .war on your TomCat (and > > certainly GlassFish, I didn't try it) servers and then you just have to > > send some HTTP request to your server to obtain readings about your JVM. > > > > That's why I choose it. But for now, it seems it is only capable to > > check Java on JEE servers and not Java on its own as I need right now. > > Hi Marc, > > the jmx4perl agent is now called jolokia > > http://labs.consol.de/lang/de/jolokia/ > http://www.jolokia.org/ > > There is also an JVM Agent which can be used with Sun Java 6+ > > http://www.jolokia.org/agent/jvm.html > > Joerg Hi all, I know the thread is a little out-dated but I found this quite interesting in order to supervise JVM without agent and with SNMP. http://download.oracle.com/javase/7/docs/technotes/guides/management/snmp.html You have to restart your JVM and open some TCP port but it doesn't jeopardize your system by deploying a new application. Marc-Andr? ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Wed Feb 2 00:30:55 2011 From: akpgeek at gmail.com (akp geek) Date: Tue, 1 Feb 2011 18:30:55 -0500 Subject: CRITICAL - Socket timeout after 10 seconds Message-ID: Hi all - I have been using nagios for a while to check whether some our web sites are up and running following is the line from the commands.cfg *command_line $USER1$/check_http -w 5 -c 10 -H our_dns_name -u /siteName -S -v* It was working fine. Starting this afternoon, it started giving Socket time out. Logs have no information. Can you please share your experiences ? Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Wed Feb 2 01:49:23 2011 From: a31modela at hotmail.com (steve f) Date: Tue, 1 Feb 2011 19:49:23 -0500 Subject: CRITICAL - Socket timeout after 10 seconds In-Reply-To: References: Message-ID: Most plugins time out after 10 seconds of not being able to contact a service (FTP, HTTP, etc). If the plugins are timing out after a short period of time, increase the timeout value for the plugin using the appropriate command line argument for that plugin. Try using a -t 12. I think that only the plugin timeout default value is 10 seconds, the other timeouts are higher. Someone else smarter than me can verify that. Is this check_http failing every time now or only occasionally ? Try running the check to a different site and see if those fail as well. Is the server possibly busy at the same time?? Let us know what you find out. Steve Date: Tue, 1 Feb 2011 18:30:55 -0500 From: akpgeek at gmail.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds Hi all - I have been using nagios for a while to check whether some our web sites are up and running following is the line from the commands.cfg command_line $USER1$/check_http -w 5 -c 10 -H our_dns_name -u /siteName -S -v It was working fine. Starting this afternoon, it started giving Socket time out. Logs have no information. Can you please share your experiences ? Regards ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Wed Feb 2 08:19:17 2011 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Wed, 02 Feb 2011 08:19:17 +0100 Subject: CRITICAL - Socket timeout after 10 seconds In-Reply-To: References: Message-ID: <1296631157.1864.2.camel@MADness> Hi, This message means that your webserver didn't respond to your request after 10s. It's the same as when your browser is waiting and suddendly stop and show an error page indicating that the webserver didn't respond. Marc-Andr? On Tue, 2011-02-01 at 19:49 -0500, steve f wrote: > Most plugins time out after 10 seconds of not being able to contact a > service (FTP, HTTP, etc). If the plugins are timing out after a short > period of time, increase the timeout value for the plugin using the > appropriate command line argument for that plugin. Try using a -t > 12. > > I think that only the plugin timeout default value is 10 seconds, the > other timeouts are higher. Someone else smarter than me can verify > that. > > Is this check_http failing every time now or only occasionally ? Try > running the check to a different site and see if those fail as well. > > Is the server possibly busy at the same time?? > > Let us know what you find out. > > Steve > > > ______________________________________________________________________ > Date: Tue, 1 Feb 2011 18:30:55 -0500 > From: akpgeek at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds > > Hi all - > > > I have been using nagios for a while to check whether some > our web sites are up and running > > > following is the line from the commands.cfg > > > command_line $USER1$/check_http -w 5 -c 10 -H our_dns_name > -u /siteName -S -v > > > > > It was working fine. Starting this afternoon, it started giving Socket > time out. Logs have no information. Can you please share your > experiences ? > > > > > Regards > > > > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent > to /dev/null > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Wed Feb 2 10:49:08 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Wed, 2 Feb 2011 10:49:08 +0100 Subject: Authentication using AD In-Reply-To: References: Message-ID: Joe I am in the same boat as you except I have much less experience w/ cas, krb, ldap, etc. I am going to try out this plugin today http://exchange.nagios.org/directory/Addons/Components/Active-Directory-Integration-for-Nagios-XI/details and will let you know how it goes for me On Fri, Jan 28, 2011 at 7:57 PM, Joe Beck wrote: > The recent thread on this topic was timely. > After looking thru some of the details of these options, its not clear to > me which would be best & which I should try to implement first: > Mod_auth_ldap > Mod_cas > Mod_krb > > We?re on suse 11, apache 2.2.10 (more details below) > The goal is to allow users to authenticate with their active directory > credentials to the nagios web interface. > The #1 requirement is quick setup at this point?most of our users, esp. mgt > are using windows & IE. We?re pretty far down the path of getting buy-in > from mgt to use Nagios. If I can get them to click on our nagios email > notification links (we?re using frank4dd?s send perl plugin) and get right > to the page without having to enter their username/password, that would be > great. > The mapping of AD groups to nagios contactgroups would be awesome down the > road but right now I?m looking for quickest implementation of AD auth > integration into nagios. > > Some of my concerns: > when I first looked I saw the need of a user w/out a password but after > looking again I see that its just for a ?principal? user tied to > communications between apache & an AD user. > I have little kerberos experience, lots of ldap experience, and a decent > amount of apache & php background. > > Any observations or comments are appreciated. > Thanks, > Joe > > > (more details on env) > /usr/sbin/httpd2-prefork -V > Server version: Apache/2.2.10 (Linux/SUSE) > Server built: Dec 3 2008 10:04:51 > Server's Module Magic Number: 20051115:18 > Server loaded: APR 1.3.3, APR-Util 1.3.4 > Compiled using: APR 1.3.3, APR-Util 1.3.4 > Architecture: 32-bit > Server MPM: Prefork > threaded: no > forked: yes (variable process count) > Server compiled with.... > -D APACHE_MPM_DIR="server/mpm/prefork" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > -D APR_USE_SYSVSEM_SERIALIZE > -D APR_USE_PTHREAD_SERIALIZE > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > -D APR_HAS_OTHER_CHILD > -D AP_HAVE_RELIABLE_PIPED_LOGS > -D DYNAMIC_MODULE_LIMIT=128 > -D HTTPD_ROOT="/srv/www" > -D SUEXEC_BIN="/usr/sbin/suexec2" > -D DEFAULT_PIDLOG="/var/run/httpd2.pid" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_LOCKFILE="/var/run/accept.lock" > -D DEFAULT_ERRORLOG="/var/log/apache2/error_log" > -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" > -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf" > > > > > (Active Directory) to authenticate Nagios web interface users > > On 1/27/11 5:18 AM, "Tevfik Karagulle" wrote: > > > I ran an AD-query script periodically. The script could map Nagios contact > groups to AD-groups, getting AD-users of those groups and create > corresponding Nagios contacts. > > > On Thu, Jan 27, 2011 at 7:55 AM, Bryan Berry > wrote: > > thanks Jan and Tevfik. I will have to experiment w/ your solutions > > How does Nagios application know about the individual accounts? Do you have > to create them separately and then mod_cas or mod_krb passes thru the > credentials to Active Directory for verification? > > > On Wed, Jan 26, 2011 at 10:43 AM, Tevfik Karagulle < > tevfik.karagulle at gmail.com> wrote: > > The link below can be helpful if If you look for single sign-on integration > with Active Directory: > > http://www.itefix.no/i2/node/11683 (Nagios single sign-on authentication > with Active Directory) > > That recipe is successfully implemented on a Nagios implementation two > years ago. > > Tev > > On Wed, Jan 26, 2011 at 10:17 AM, wrote: > > On Wed, 26 Jan 2011, Bryan Berry wrote: > > > Anybody using CAS for SSO authentication ( > > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love to > > know if there is an existing solutions for this. haven't managed to find > > anything regarding this on google yet > > We just slapped it behind mod_cas (or whatever it's called); seems to > work, although you'll need an alternative route if you want > unauthenticated access too, since there's no "opt-out" with that, unless > you construct a cunning config that lets the front page through > unauthenticated. > > > -- > jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ > Tel +44 (0)117 3317661 http://ioctl.org/jan/ > They modified their trousers secretly. > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > Joe > -- > > Joe Beck | IT-Open Systems Engineer | urban outfitters inc. > 5000 South Broad Street | Phila., PA 19112 | 215.454.7737 | jbeck at urbn.com > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misteritguru at gmx.com Wed Feb 2 11:37:56 2011 From: misteritguru at gmx.com (Mister IT Guru) Date: Wed, 02 Feb 2011 10:37:56 +0000 Subject: Create a virtual service - How to? Message-ID: <4D493404.2050603@gmx.com> We have several systems which all work independently, as does everyone, naturally. We also have 'virtual services' which dependent on these working. What I'd like to do is set off Alert X, if A, B or C, have a problem, as well as A, B, or C, also sending an alert to thier respective responsible persons For example, VPN, Email, RDP, and our custom application need to be on line, in order for remote consultants to be able to work. The custom app, and email are managed by one team, and VPN and RDP by two other separate teams. This 'service' we can all RC for the sake of argument, and I would like an alert from the RC service, if any of the four services it relies on goes down, because the teams involved in managing the the separate services do it not just for the RC, but for a number of other groups of users as well. How can I achieve this 'virtual service' check I'd like to implement. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Wed Feb 2 12:12:49 2011 From: akpgeek at gmail.com (akp geek) Date: Wed, 2 Feb 2011 06:12:49 -0500 Subject: CRITICAL - Socket timeout after 10 seconds In-Reply-To: References: Message-ID: Now I have increased the timeout to 60 seconds. Now I am getting node name or service name not known HTTP CRITICAL - Unable to open TCP socket Thanks for the suggestions Regards On Tue, Feb 1, 2011 at 7:49 PM, steve f wrote: > Most plugins time out after 10 seconds of not being able to contact a > service (FTP, HTTP, etc). If the plugins are timing out after a short period > of time, increase the timeout value for the plugin using the appropriate > command line argument for that plugin. Try using a -t 12. > > I think that only the plugin timeout default value is 10 seconds, the other > timeouts are higher. Someone else smarter than me can verify that. > > Is this check_http failing every time now or only occasionally ? Try > running the check to a different site and see if those fail as well. > > Is the server possibly busy at the same time?? > > Let us know what you find out. > > Steve > > ------------------------------ > Date: Tue, 1 Feb 2011 18:30:55 -0500 > From: akpgeek at gmail.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds > > > Hi all - > > I have been using nagios for a while to check whether some our > web sites are up and running > > following is the line from the commands.cfg > > *command_line $USER1$/check_http -w 5 -c 10 -H our_dns_name -u /siteName > -S -v* > > > It was working fine. Starting this afternoon, it started giving Socket time > out. Logs have no information. Can you please share your experiences ? > > > Regards > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires February > 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Wed Feb 2 12:25:47 2011 From: giles at coochey.net (Giles Coochey) Date: Wed, 02 Feb 2011 12:25:47 +0100 Subject: CRITICAL - Socket timeout after 10 seconds In-Reply-To: References: Message-ID: <4D493F3B.1030507@coochey.net> On 02/02/2011 12:12, akp geek wrote: > Now I have increased the timeout to 60 seconds. Now I am getting > > node name or service name not known > HTTP CRITICAL - Unable to open TCP socket > > Thanks for the suggestions > > Regards > > > On Tue, Feb 1, 2011 at 7:49 PM, steve f > wrote: > > Most plugins time out after 10 seconds of not being able to > contact a service (FTP, HTTP, etc). If the plugins are timing out > after a short period of time, increase the timeout value for the > plugin using the appropriate command line argument for that > plugin. Try using a -t 12. > > I think that only the plugin timeout default value is 10 seconds, > the other timeouts are higher. Someone else smarter than me can > verify that. > > Is this check_http failing every time now or only occasionally ? > Try running the check to a different site and see if those fail as > well. > > Is the server possibly busy at the same time?? > > Let us know what you find out. > > Steve > > ------------------------------------------------------------------------ > Date: Tue, 1 Feb 2011 18:30:55 -0500 > From: akpgeek at gmail.com > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds > > > Hi all - > > I have been using nagios for a while to check whether > some our web sites are up and running > > following is the line from the commands.cfg > > *command_line $USER1$/check_http -w 5 -c 10 -H our_dns_name -u > /siteName -S -v* > > > It was working fine. Starting this afternoon, it started giving > Socket time out. Logs have no information. Can you please share > your experiences ? > > > Regards > > Have you tried speaking with the administrators of the web servers? I remember once I was running some web-server analytic on one of my webservers and I found lots of spurious connections from a particular host... I assumed it was a lame DoS attack and simply put in a iptables command to block any incoming traffic from that IP. All the requests were silly and every 30 seconds or so. Soon after I got a call from our NOC asking me if I could take a look at the webserver as it seemed to be down... of course, they never told me that they were monitoring it for uptime... nor did they actually check the webserver on a different client system... I guessed the company I was working for was actually more interested in seeing whether I was meeting a SLA rather than properly communicating their monitoring systems... But either way, if the web admin has blocked you then I imagine you'd get that error... -- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350 5401 6693 Email/MSN/Live Messenger: giles at coochey.net Skype: gilescoochey -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5137 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Wed Feb 2 12:52:44 2011 From: akpgeek at gmail.com (akp geek) Date: Wed, 2 Feb 2011 06:52:44 -0500 Subject: CRITICAL - Socket timeout after 10 seconds In-Reply-To: <4D493F3B.1030507@coochey.net> References: <4D493F3B.1030507@coochey.net> Message-ID: Thank you. Will check with admins. I checked the service check_ping for the same host and it is working fine Regards On Wed, Feb 2, 2011 at 6:25 AM, Giles Coochey wrote: > On 02/02/2011 12:12, akp geek wrote: > >> Now I have increased the timeout to 60 seconds. Now I am getting >> >> node name or service name not known >> HTTP CRITICAL - Unable to open TCP socket >> >> Thanks for the suggestions >> >> Regards >> >> >> On Tue, Feb 1, 2011 at 7:49 PM, steve f > a31modela at hotmail.com>> wrote: >> >> Most plugins time out after 10 seconds of not being able to >> contact a service (FTP, HTTP, etc). If the plugins are timing out >> after a short period of time, increase the timeout value for the >> plugin using the appropriate command line argument for that >> plugin. Try using a -t 12. >> >> I think that only the plugin timeout default value is 10 seconds, >> the other timeouts are higher. Someone else smarter than me can >> verify that. >> >> Is this check_http failing every time now or only occasionally ? >> Try running the check to a different site and see if those fail as >> well. >> >> Is the server possibly busy at the same time?? >> >> Let us know what you find out. >> >> Steve >> >> >> ------------------------------------------------------------------------ >> Date: Tue, 1 Feb 2011 18:30:55 -0500 >> From: akpgeek at gmail.com >> >> To: nagios-users at lists.sourceforge.net >> >> >> Subject: [Nagios-users] CRITICAL - Socket timeout after 10 seconds >> >> >> Hi all - >> >> I have been using nagios for a while to check whether >> some our web sites are up and running >> >> following is the line from the commands.cfg >> >> *command_line $USER1$/check_http -w 5 -c 10 -H our_dns_name -u >> /siteName -S -v* >> >> >> It was working fine. Starting this afternoon, it started giving >> Socket time out. Logs have no information. Can you please share >> your experiences ? >> >> >> Regards >> >> >> Have you tried speaking with the administrators of the web servers? I > remember once I was running some web-server analytic on one of my webservers > and I found lots of spurious connections from a particular host... I assumed > it was a lame DoS attack and simply put in a iptables command to block any > incoming traffic from that IP. All the requests were silly and every 30 > seconds or so. > Soon after I got a call from our NOC asking me if I could take a look at > the webserver as it seemed to be down... of course, they never told me that > they were monitoring it for uptime... nor did they actually check the > webserver on a different client system... I guessed the company I was > working for was actually more interested in seeing whether I was meeting a > SLA rather than properly communicating their monitoring systems... > But either way, if the web admin has blocked you then I imagine you'd get > that error... > > -- > Best Regards, > > Giles Coochey > NetSecSpec Ltd > NL T-Systems Mobile: +31 681 265 086 > NL Mobile: +31 626 508 131 > GIB Mobile: +350 5401 6693 > Email/MSN/Live Messenger: giles at coochey.net > Skype: gilescoochey > > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Wed Feb 2 13:41:15 2011 From: xml.devel at gmail.com (Kumar, Ashish) Date: Wed, 2 Feb 2011 18:11:15 +0530 Subject: Alert via SMS In-Reply-To: <26484924.72730.1296051448818.JavaMail.root@mail.opservices.com.br> References: <26484924.72730.1296051448818.JavaMail.root@mail.opservices.com.br> Message-ID: On Wed, Jan 26, 2011 at 7:47 PM, Dario B. Bestetti (OpServices) < dario.bestetti at opservices.com.br> wrote: > Try SMSTOOLS (http://smstools3.kekekasvi.com/), it worked better than > Gnokii for us. > > _________________________________________________ > Indeed. You just have to do some extra programming creating and writing sms files in smstools3's spool directory but it's quite stable. I could share the script with you if you are interested. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damnshock at gmail.com Wed Feb 2 13:45:42 2011 From: damnshock at gmail.com (Marc Deop) Date: Wed, 2 Feb 2011 13:45:42 +0100 Subject: CRITICAL - Socket timeout after 10 seconds In-Reply-To: References: <4D493F3B.1030507@coochey.net> Message-ID: <201102021345.42693.damnshock@gmail.com> On Wednesday 02 February 2011 12:52:44 akp geek wrote: > Thank you. Will check with admins. I checked the service check_ping for the > same host and it is working fine That probably isn't related. Ping uses the icmp protocol and has nothing to do with an http check which probably is handled by and apache server (or lighthttp or whatever...) -- Regards, Marc Deop ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ljelinek at virtage.com Wed Feb 2 15:25:57 2011 From: ljelinek at virtage.com (Libor Jelinek) Date: Wed, 2 Feb 2011 15:25:57 +0100 Subject: Nagios doesn't trigger command Message-ID: Hello dear Nagios users, I am asking you in "emenergency case" because after 4 full days of troubleshooting I am still not able to detect why Nagios 3 on Ubuntu 10.04 doesn't trigger commant upon hard DOWN state. On Host State Information page I see that last notification has been genereted before few minutes and number of total generated notification is still increasing every check_interval. But no command is executed! I tried to create replace default notify-host-by-email's command_line to the very basic command 'echo test > /home/libor/notif_works' to test if notification is triggered. I enabled all debuging and in nagios.debug I can't find hostname or IP of my host that is down. >> Is there a way how to see what is actual output of command_line? << Thanks! Libor ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ljelinek at virtage.com Wed Feb 2 15:36:08 2011 From: ljelinek at virtage.com (Libor Jelinek) Date: Wed, 2 Feb 2011 15:36:08 +0100 Subject: Fwd: Nagios doesn't trigger command In-Reply-To: References: Message-ID: I am very sorry but little correction: Notification _is_ triggered (HOST_NOTIFICATION event in nagios3.log), but command_line is not executed (probably). command_line is very simple and I am pretty sure that run successfully. So my question again: Is there any way how to see actual output of executed command_line? Or at least to see some return code. Anything? Thanks Libor ---------- Forwarded message ---------- From: Libor Jelinek Date: 2011/2/2 Subject: Nagios doesn't trigger command To: nagios-users at lists.sourceforge.net Hello dear Nagios users, I am asking you in "emenergency case" because after 4 full days of troubleshooting I am still not able to detect why Nagios 3 on Ubuntu 10.04 doesn't trigger commant upon hard DOWN state. On Host State Information page I see that last notification has been genereted before few minutes and number of total generated notification is still increasing every check_interval. But no command is executed! I tried to create replace default notify-host-by-email's command_line to the very basic command 'echo test > /home/libor/notif_works' to test if notification is triggered. I enabled all debuging and in nagios.debug I can't find hostname or IP of my host that is down. >> Is there a way how to see what is actual output of command_line? << Thanks! Libor ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Wed Feb 2 15:37:15 2011 From: giles at coochey.net (Giles Coochey) Date: Wed, 02 Feb 2011 15:37:15 +0100 Subject: Nagios doesn't trigger command In-Reply-To: References: Message-ID: <4D496C1B.5020305@coochey.net> On 02/02/2011 15:25, Libor Jelinek wrote: > > But no command is executed! I tried to create replace default > notify-host-by-email's command_line to the very basic command 'echo > test> /home/libor/notif_works' to test if notification is triggered. > Usually this is down to permissions. Does the nagios user, or the user that nagios runs as have write access to the /home/libor directory? -- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350 5401 6693 Email/MSN/Live Messenger: giles at coochey.net Skype: gilescoochey -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5137 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ljelinek at virtage.com Wed Feb 2 16:30:24 2011 From: ljelinek at virtage.com (Libor Jelinek) Date: Wed, 2 Feb 2011 16:30:24 +0100 Subject: Nagios doesn't trigger command In-Reply-To: <4D496C1B.5020305@coochey.net> References: <4D496C1B.5020305@coochey.net> Message-ID: OMG! I solved it! So solution for next generation: * How to see actual ouput of processed command (directive command_line)? * In nagios.cfg: a) set debug_level= b) set debug_verbosity=2 c) see "Raw notification command" and "Processed notification command" in /var/log/nagios.debug This output shows me that there is probably bug in Nagios during processing comments for macros in resource.cfg. ; and # charaters are not correctly parsed like comments. It's not stated anywhere that in resource.cfg and/or for macros there's some exception how to express comments. $USER5$=someValue ; This will not be parsed like comment $USER6$=otherValue # Also this will not be parsed like comment So I will file the bug. Libor 2011/2/2 Giles Coochey : > On 02/02/2011 15:25, Libor Jelinek wrote: >> >> But no command is executed! I tried to create replace default >> notify-host-by-email's command_line to the very basic command 'echo >> test> ?/home/libor/notif_works' to test if notification is triggered. >> > Usually this is down to permissions. Does the nagios user, or the user that > nagios runs as have write access to the /home/libor directory? > > -- > Best Regards, > > Giles Coochey > NetSecSpec Ltd > NL T-Systems Mobile: +31 681 265 086 > NL Mobile: +31 626 508 131 > GIB Mobile: +350 5401 6693 > Email/MSN/Live Messenger: giles at coochey.net > Skype: gilescoochey > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Feb 2 17:03:37 2011 From: ae at op5.se (Andreas Ericsson) Date: Wed, 02 Feb 2011 17:03:37 +0100 Subject: Nagios doesn't trigger command In-Reply-To: References: <4D496C1B.5020305@coochey.net> Message-ID: <4D498059.5010307@op5.se> On 02/02/2011 04:30 PM, Libor Jelinek wrote: > OMG! I solved it! So solution for next generation: > > * How to see actual ouput of processed command (directive command_line)? * > In nagios.cfg: > a) set debug_level= > b) set debug_verbosity=2 > c) see "Raw notification command" and "Processed notification command" > in /var/log/nagios.debug > > This output shows me that there is probably bug in Nagios during > processing comments for macros in resource.cfg. ; and # charaters are > not correctly parsed like comments. It's not stated anywhere that in > resource.cfg and/or for macros there's some exception how to express > comments. > > $USER5$=someValue ; This will not be parsed like comment > $USER6$=otherValue # Also this will not be parsed like comment > > So I will file the bug. > There's no bug. So called "winged" comments are only available in object configuration files, and they're never mentioned for any other configuration file. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stuart.browne at ausregistry.com.au Wed Feb 2 23:14:26 2011 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Thu, 3 Feb 2011 09:14:26 +1100 Subject: Create a virtual service - How to? In-Reply-To: <4D493404.2050603@gmx.com> References: <4D493404.2050603@gmx.com> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB4B343B6C2B@off-win2003-01.ausregistrygroup.local> Have you had a look at the 'check_cluster' plugin? It allows you to team multiple services into a single service. You tell it how many can fail/not-fail before raising an alert etc. http://nagios.sourceforge.net/docs/3_0/clusters.html We use this for our SMTP MX target availability. Stuart > -----Original Message----- > From: Mister IT Guru [mailto:misteritguru at gmx.com] > Sent: Wednesday, 2 February 2011 9:38 PM > To: Nagios Users List > Subject: [Nagios-users] Create a virtual service - How to? > > We have several systems which all work independently, as does everyone, > naturally. We also have 'virtual services' which dependent on these > working. What I'd like to do is set off Alert X, if A, B or C, have a > problem, as well as A, B, or C, also sending an alert to thier > respective responsible persons > > For example, VPN, Email, RDP, and our custom application need to be on > line, in order for remote consultants to be able to work. The custom > app, and email are managed by one team, and VPN and RDP by two other > separate teams. > > This 'service' we can all RC for the sake of argument, and I would like > an alert from the RC service, if any of the four services it relies on > goes down, because the teams involved in managing the the separate > services do it not just for the RC, but for a number of other groups of > users as well. > > How can I achieve this 'virtual service' check I'd like to implement. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.mue01 at gmail.com Thu Feb 3 08:57:16 2011 From: robert.mue01 at gmail.com (Robert Mueller) Date: Thu, 3 Feb 2011 08:57:16 +0100 Subject: Windows 2008 R2 Message-ID: Hi List, AFAIK is netdiag.exe deprecaded in Windows 2008 Server.. is there an alternative to this tool, to monitor the AD? Thx Robert.. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Borger at esg.de Thu Feb 3 09:33:23 2011 From: Thomas.Borger at esg.de (Thomas Borger) Date: Thu, 3 Feb 2011 09:33:23 +0100 Subject: Antwort: Windows 2008 R2 In-Reply-To: References: Message-ID: Hi Robert, "dcdiag.exe" is the tool you are looking for. Thomas Robert Mueller schrieb am 03.02.2011 08:57:16: > Von: Robert Mueller > An: nagios-users at lists.sourceforge.net > Datum: 03.02.2011 09:17 > Betreff: [Nagios-users] Windows 2008 R2 > > Hi List, > AFAIK is netdiag.exe deprecaded in Windows 2008 Server.. is there an > alternative to this tool, to monitor the AD? > Thx > Robert.. > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Thu Feb 3 14:14:17 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Thu, 3 Feb 2011 14:14:17 +0100 Subject: CAS authentication In-Reply-To: References: Message-ID: Jan, If I understand what you did correctly, mod_cas would direct any unauthenticated users to you central authentication app. Is this correct? However once authenticated, how nagios distinguish between different user accounts? did you have to modify any of the authentication functions in files like html/includes/auth.inc.php (specific to nagiosxi)? On Wed, Jan 26, 2011 at 10:17 AM, wrote: > On Wed, 26 Jan 2011, Bryan Berry wrote: > > > Anybody using CAS for SSO authentication ( > > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love to > > know if there is an existing solutions for this. haven't managed to find > > anything regarding this on google yet > > We just slapped it behind mod_cas (or whatever it's called); seems to > work, although you'll need an alternative route if you want > unauthenticated access too, since there's no "opt-out" with that, unless > you construct a cunning config that lets the front page through > unauthenticated. > > > -- > jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ > Tel +44 (0)117 3317661 http://ioctl.org/jan/ > They modified their trousers secretly. > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Feb 3 15:07:54 2011 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 3 Feb 2011 09:07:54 -0500 Subject: nagios ipv6 compatibility Message-ID: Hi there -- The network addressing scheme for our company is currently IPv4, but there are plans to convert to the IPv6 methodology. Does Nagios have any compatiblity issues with IPv6, or is it simply a matter of modifying the appropriate files within the host server's operating system as well as the Nagios application? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBeck at urbn.com Thu Feb 3 19:42:24 2011 From: JBeck at urbn.com (Joe Beck) Date: Thu, 3 Feb 2011 13:42:24 -0500 Subject: Authentication using AD In-Reply-To: References: Message-ID: Thanks for the heads up. Over the last few days I?ve had other priorities/fires but hope to get back on this by early next week. It would be good to share our experiences. Nagios-XI, at least I think, is a commercial/supported implementation of nagios. I saw this & figured it only applied to their tweaked version of nagios? Joe On 2/2/11 4:49 AM, "Bryan Berry" wrote: Joe I am in the same boat as you except I have much less experience w/ cas, krb, ldap, etc. I am going to try out this plugin today http://exchange.nagios.org/directory/Addons/Components/Active-Directory-Integration-for-Nagios-XI/details and will let you know how it goes for me On Fri, Jan 28, 2011 at 7:57 PM, Joe Beck wrote: The recent thread on this topic was timely. After looking thru some of the details of these options, its not clear to me which would be best & which I should try to implement first: Mod_auth_ldap Mod_cas Mod_krb We?re on suse 11, apache 2.2.10 (more details below) The goal is to allow users to authenticate with their active directory credentials to the nagios web interface. The #1 requirement is quick setup at this point?most of our users, esp. mgt are using windows & IE. We?re pretty far down the path of getting buy-in from mgt to use Nagios. If I can get them to click on our nagios email notification links (we?re using frank4dd?s send perl plugin) and get right to the page without having to enter their username/password, that would be great. The mapping of AD groups to nagios contactgroups would be awesome down the road but right now I?m looking for quickest implementation of AD auth integration into nagios. Some of my concerns: when I first looked I saw the need of a user w/out a password but after looking again I see that its just for a ?principal? user tied to communications between apache & an AD user. I have little kerberos experience, lots of ldap experience, and a decent amount of apache & php background. Any observations or comments are appreciated. Thanks, Joe (more details on env) /usr/sbin/httpd2-prefork -V Server version: Apache/2.2.10 (Linux/SUSE) Server built: Dec 3 2008 10:04:51 Server's Module Magic Number: 20051115:18 Server loaded: APR 1.3.3, APR-Util 1.3.4 Compiled using: APR 1.3.3, APR-Util 1.3.4 Architecture: 32-bit Server MPM: Prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APACHE_MPM_DIR="server/mpm/prefork" -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) -D APR_USE_SYSVSEM_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=128 -D HTTPD_ROOT="/srv/www" -D SUEXEC_BIN="/usr/sbin/suexec2" -D DEFAULT_PIDLOG="/var/run/httpd2.pid" -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" -D DEFAULT_LOCKFILE="/var/run/accept.lock" -D DEFAULT_ERRORLOG="/var/log/apache2/error_log" -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf" (Active Directory) to authenticate Nagios web interface users On 1/27/11 5:18 AM, "Tevfik Karagulle" > wrote: I ran an AD-query script periodically. The script could map Nagios contact groups to AD-groups, getting AD-users of those groups and create corresponding Nagios contacts. On Thu, Jan 27, 2011 at 7:55 AM, Bryan Berry > wrote: thanks Jan and Tevfik. I will have to experiment w/ your solutions How does Nagios application know about the individual accounts? Do you have to create them separately and then mod_cas or mod_krb passes thru the credentials to Active Directory for verification? On Wed, Jan 26, 2011 at 10:43 AM, Tevfik Karagulle > wrote: The link below can be helpful if If you look for single sign-on integration with Active Directory: http://www.itefix.no/i2/node/11683 (Nagios single sign-on authentication with Active Directory) That recipe is successfully implemented on a Nagios implementation two years ago. Tev On Wed, Jan 26, 2011 at 10:17 AM, > wrote: On Wed, 26 Jan 2011, Bryan Berry wrote: > Anybody using CAS for SSO authentication ( > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love to > know if there is an existing solutions for this. haven't managed to find > anything regarding this on google yet We just slapped it behind mod_cas (or whatever it's called); seems to work, although you'll need an alternative route if you want unauthenticated access too, since there's no "opt-out" with that, unless you construct a cunning config that lets the front page through unauthenticated. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ They modified their trousers secretly. ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Joe Joe -- Joe Beck | IT-Open Systems Engineer | urban outfitters inc. 5000 South Broad Street | Phila., PA 19112 | 215.454.7737 | jbeck at urbn.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From breandan at dezendorf.com Thu Feb 3 19:57:39 2011 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Thu, 3 Feb 2011 13:57:39 -0500 Subject: Authentication using AD In-Reply-To: References: Message-ID: For simple binds of AD to Nagios: AllowOverride AuthConfig Order Allow,Deny Allow From All AuthBasicProvider file ldap AuthType Basic AuthName "Nagios Access" AuthUserFile /etc/nagios3/htpasswd.users require valid-user AuthLDAPURL "ldap://EXAMPLE.COM:3268/OU=Admins,DC=EXAMPLE,DC=COM?sAMAccountName?sub?(objectClass=*)" AuthLDAPBindDN "CN=Nagios Search,OU=AutomatedAccounts,OU=Admins,DC=EXAMPLE,DC=COM" AuthLDAPBindPassword "PASSWORD" Replacing EXAMPLE.COM and PASSWORD, of course. Note the port number (3268) - it's the global catalog port, not the regular LDAP port. Not sure why this matters, but it did for me last time I was doing this. Also, you need to create an account to bind to AD with, so you can get into AD and validate password attempts. Also, specifying "AuthBasicProvider file ldap" and the subsequent lines means that you can define a secure account in Nagios, in case AD is down, and you're trying to get into Nagios to shut it up and make it stop sending you messages. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RoMueller at atronic.com Thu Feb 3 21:42:54 2011 From: RoMueller at atronic.com (RoMueller at atronic.com) Date: Thu, 3 Feb 2011 21:42:54 +0100 Subject: Antwort: Antwort: Windows 2008 R2 In-Reply-To: References: Message-ID: Hi, I know "dcdiag.exe" - but what, with netdiag I can monitor the network part of the AD (ldap, kerberos, dns...) thats why I need it :) robert An Nagios Users List Kopie Thema [Nagios-users] Antwort: Windows 2008 R2 Thomas Borger 03.02.2011 09:33 Bitte antworten an Nagios Users List www Diese EMail erreichte Sie via Internet... / This mail was sent via internet... Hi Robert, "dcdiag.exe" is the tool you are looking for. Thomas Robert Mueller schrieb am 03.02.2011 08:57:16: > Von: Robert Mueller > An: nagios-users at lists.sourceforge.net > Datum: 03.02.2011 09:17 > Betreff: [Nagios-users] Windows 2008 R2 > > Hi List, > AFAIK is netdiag.exe deprecaded in Windows 2008 Server.. is there an > alternative to this tool, to monitor the AD? > Thx > Robert.. > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _____________________________________________________________________________________________________________________ ESG Elektroniksystem- und Logistik-GmbH Rechtsform/Legal Form: Gesellschaft mit beschr?nkter Haftung Sitz/Registered Office: M?nchen Handelsregister/Commercial Register: Registergericht M?nchen, HRB 8130 Vorsitzender des Aufsichtsrats/Chairman of the Supervisory Board: Peter Obermark Vorsitzender der Gesch?ftsf?hrung/CEO: Dipl.-Math. Gerhard Schempp, Gesch?ftsf?hrer/Managing Director: Dipl.-Kfm. G?tz Graichen ------------------------------------------------------------------------------ Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 2232 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Fri Feb 4 11:47:28 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Fri, 4 Feb 2011 11:47:28 +0100 Subject: Authentication using AD In-Reply-To: References: Message-ID: nagiosxi is the commercial version. I am not really sure what additional parts nagiosxi has that nagios core doesn't. I think it has cacti pre-integrated plus nice addons. also, there support team is very responsive I was able to get the AD integration plugin up and running nicely w/ nagiosxi yesterday. Unfortunately, it doesn't support SSL yet :( On Thu, Feb 3, 2011 at 7:42 PM, Joe Beck wrote: > Thanks for the heads up. > Over the last few days I?ve had other priorities/fires but hope to get back > on this by early next week. > It would be good to share our experiences. > > Nagios-XI, at least I think, is a commercial/supported implementation of > nagios. I saw this & figured it only applied to their tweaked version of > nagios? > > Joe > > > On 2/2/11 4:49 AM, "Bryan Berry" wrote: > > Joe I am in the same boat as you except I have much less experience w/ cas, > krb, ldap, etc. > > I am going to try out this plugin today > > http://exchange.nagios.org/directory/Addons/Components/Active-Directory-Integration-for-Nagios-XI/details > > and will let you know how it goes for me > < > http://exchange.nagios.org/directory/Addons/Components/Active-Directory-Integration-for-Nagios-XI/details> > > > On Fri, Jan 28, 2011 at 7:57 PM, Joe Beck wrote: > > The recent thread on this topic was timely. > After looking thru some of the details of these options, its not clear to > me which would be best & which I should try to implement first: > Mod_auth_ldap > Mod_cas > Mod_krb > > We?re on suse 11, apache 2.2.10 (more details below) > The goal is to allow users to authenticate with their active directory > credentials to the nagios web interface. > The #1 requirement is quick setup at this point?most of our users, esp. mgt > are using windows & IE. We?re pretty far down the path of getting buy-in > from mgt to use Nagios. If I can get them to click on our nagios email > notification links (we?re using frank4dd?s send perl plugin) and get right > to the page without having to enter their username/password, that would be > great. > The mapping of AD groups to nagios contactgroups would be awesome down the > road but right now I?m looking for quickest implementation of AD auth > integration into nagios. > > Some of my concerns: > when I first looked I saw the need of a user w/out a password but after > looking again I see that its just for a ?principal? user tied to > communications between apache & an AD user. > I have little kerberos experience, lots of ldap experience, and a decent > amount of apache & php background. > > Any observations or comments are appreciated. > Thanks, > Joe > > > (more details on env) > /usr/sbin/httpd2-prefork -V > Server version: Apache/2.2.10 (Linux/SUSE) > Server built: Dec 3 2008 10:04:51 > Server's Module Magic Number: 20051115:18 > Server loaded: APR 1.3.3, APR-Util 1.3.4 > Compiled using: APR 1.3.3, APR-Util 1.3.4 > Architecture: 32-bit > Server MPM: Prefork > threaded: no > forked: yes (variable process count) > Server compiled with.... > -D APACHE_MPM_DIR="server/mpm/prefork" > -D APR_HAS_SENDFILE > -D APR_HAS_MMAP > -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled) > -D APR_USE_SYSVSEM_SERIALIZE > -D APR_USE_PTHREAD_SERIALIZE > -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT > -D APR_HAS_OTHER_CHILD > -D AP_HAVE_RELIABLE_PIPED_LOGS > -D DYNAMIC_MODULE_LIMIT=128 > -D HTTPD_ROOT="/srv/www" > -D SUEXEC_BIN="/usr/sbin/suexec2" > -D DEFAULT_PIDLOG="/var/run/httpd2.pid" > -D DEFAULT_SCOREBOARD="logs/apache_runtime_status" > -D DEFAULT_LOCKFILE="/var/run/accept.lock" > -D DEFAULT_ERRORLOG="/var/log/apache2/error_log" > -D AP_TYPES_CONFIG_FILE="/etc/apache2/mime.types" > -D SERVER_CONFIG_FILE="/etc/apache2/httpd.conf" > > > > > (Active Directory) to authenticate Nagios web interface users > > On 1/27/11 5:18 AM, "Tevfik Karagulle" http://tevfik.karagulle at gmail.com> > wrote: > > > I ran an AD-query script periodically. The script could map Nagios contact > groups to AD-groups, getting AD-users of those groups and create > corresponding Nagios contacts. > > > On Thu, Jan 27, 2011 at 7:55 AM, Bryan Berry http://bryan.berry at gmail.com> > wrote: > > thanks Jan and Tevfik. I will have to experiment w/ your solutions > > How does Nagios application know about the individual accounts? Do you have > to create them separately and then mod_cas or mod_krb passes thru the > credentials to Active Directory for verification? > > > On Wed, Jan 26, 2011 at 10:43 AM, Tevfik Karagulle < > tevfik.karagulle at gmail.com > wrote: > > The link below can be helpful if If you look for single sign-on integration > with Active Directory: > > http://www.itefix.no/i2/node/11683 (Nagios single sign-on authentication > with Active Directory) > > That recipe is successfully implemented on a Nagios implementation two > years ago. > > Tev > > On Wed, Jan 26, 2011 at 10:17 AM, http://jan.grant at bristol.ac.uk> > wrote: > > On Wed, 26 Jan 2011, Bryan Berry wrote: > > > Anybody using CAS for SSO authentication ( > > https://wiki.jasig.org/display/CASC/phpCAS) into Nagios? I would love to > > know if there is an existing solutions for this. haven't managed to find > > anything regarding this on google yet > > We just slapped it behind mod_cas (or whatever it's called); seems to > work, although you'll need an alternative route if you want > unauthenticated access too, since there's no "opt-out" with that, unless > you construct a cunning config that lets the front page through > unauthenticated. > > > -- > jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ > Tel +44 (0)117 3317661 http://ioctl.org/jan/ > They modified their trousers secretly. > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net < > http://Nagios-users at lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net < > http://Nagios-users at lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net < > http://Nagios-users at lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > Joe > > > Joe > -- > > Joe Beck | IT-Open Systems Engineer | urban outfitters inc. > 5000 South Broad Street | Phila., PA 19112 | 215.454.7737 | jbeck at urbn.com > > > ------------------------------------------------------------------------------ > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better > price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Feb 4 14:12:36 2011 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 04 Feb 2011 08:12:36 -0500 Subject: nagios ipv6 compatibility In-Reply-To: References: Message-ID: <4D4BFB44.1030007@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11-02-03 09:07 AM, Kaplan, Andrew H. wrote: > Hi there -- > > The network addressing scheme for our company is currently IPv4, but > there are plans to convert to the IPv6 methodology. > > Does Nagios have any compatiblity issues with IPv6, or is it simply a > matter of modifying the appropriate files within the > > host server's operating system as well as the Nagios application? Nagios itself has no issues with IPv6 - the IP you enter in the "address" field is just a string passed around. So any issue you could encounter would be with plugins, eventhandlers, and everything else that runs from Nagios and use the $HOSTADDRESS$ macro. Most of the standard Nagios plugins should be IPv6-compatible already, if you encounter any issues with them, you can point it out on the Nagiosplug-devel mailing list. If you encounter issues with 3rd-party plugins you'll have to get it fixed by the author or fix it yourself. Thanks - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1L+zMACgkQ6dZ+Kt5BchYwZQCg7McrI5EbpoHI4FfoGXfmSUcm hvQAoJ/8piuhj9vGMo4LZ6YX40zbLXW4 =rbiU -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Feb 4 14:52:45 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 4 Feb 2011 13:52:45 +0000 Subject: How to make the Nagios go to begin but same config ? In-Reply-To: References: Message-ID: On 31 January 2011 13:34, Korrawit Yindeeyoungyeon wrote: > I want to re-monitor the Nagios but I want to delete all log or > something that can made my Nagios to begin. > > I also have pnp4nagios. It need to delete some ?? > > How should I do ?? > > Thank you, > > Korrawit Yindeeyoungyeon Obviously before you start deleting anything, take a backup! If you want to delete all the history from Nagios, I guess you should delete the files under /usr/local/nagios/var/archives/ and /usr/local/nagios/var/nagios.log. You might also want to delete /usr/local/nagios/var/objects.cache and retention.dat too. If you want to restore the Nagios configuration to what you get when you install from scratch, I would extract the nagios tarball then use the files from the directory nagios-3.2.3/sample-config/ to set up a minimum system. To delete all the graphs created by pnp4nagios, remove all the files and directories under /usr/local/pnp4nagios/var/perfdata/ (or if you have an older version of pnp, you will maybe find these under /usr/local/nagios/share/perfdata/). Some of these actions could break your nagios system if you are not sure what the files do or how to re-create them. If you are not experienced with Nagios, it might be best to build a new system rather than break an existing one. Good luck, Jim ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Fri Feb 4 15:32:39 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Fri, 4 Feb 2011 15:32:39 +0100 Subject: monitoring Windows 2008 event log? Message-ID: Anybody know a good way to monitor Windows 2008 event logs? Steve Shipway's beta NagEventLog for win2k8 to run on my server http://www.steveshipway.org/software/nagevlog-setup-1.9.2.exe Any ideas would be most appreciated -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Feb 4 15:40:21 2011 From: benny at bennyvision.com (C. Bensend) Date: Fri, 4 Feb 2011 08:40:21 -0600 Subject: monitoring Windows 2008 event log? In-Reply-To: References: Message-ID: > Anybody know a good way to monitor Windows 2008 event logs? > > Steve Shipway's beta NagEventLog for win2k8 to run on my server > > http://www.steveshipway.org/software/nagevlog-setup-1.9.2.exe > > Any ideas would be most appreciated I found NagEventLog to be unreliable, and Steve stopped answering my questions. NSClient++ is very reliable, and I haven't looked back. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Fri Feb 4 15:46:54 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Fri, 4 Feb 2011 15:46:54 +0100 Subject: monitoring Windows 2008 event log? In-Reply-To: References: Message-ID: forgive my ignorance, but nsclient can check the event log? I wouldn't blame Steve, I think he had a baby not so long ago On Fri, Feb 4, 2011 at 3:40 PM, C. Bensend wrote: > > > Anybody know a good way to monitor Windows 2008 event logs? > > > > Steve Shipway's beta NagEventLog for win2k8 to run on my server > > > > http://www.steveshipway.org/software/nagevlog-setup-1.9.2.exe > > > > Any ideas would be most appreciated > > I found NagEventLog to be unreliable, and Steve stopped answering > my questions. > > NSClient++ is very reliable, and I haven't looked back. > > Benny > > > -- > "Hairy ape nads." -- Colleen, playing Neverwinter Nights > > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Fri Feb 4 15:48:18 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Fri, 4 Feb 2011 15:48:18 +0100 Subject: monitoring Windows 2008 event log? In-Reply-To: References: Message-ID: are you referring to this http://nsclient.org/nscp/wiki/CheckEventLog ? forgive my short-sightedness. i had no idea nsclient was so flexible On Fri, Feb 4, 2011 at 3:46 PM, Bryan Berry wrote: > forgive my ignorance, but nsclient can check the event log? > > I wouldn't blame Steve, I think he had a baby not so long ago > > > On Fri, Feb 4, 2011 at 3:40 PM, C. Bensend wrote: > >> >> > Anybody know a good way to monitor Windows 2008 event logs? >> > >> > Steve Shipway's beta NagEventLog for win2k8 to run on my server >> > >> > http://www.steveshipway.org/software/nagevlog-setup-1.9.2.exe >> > >> > Any ideas would be most appreciated >> >> I found NagEventLog to be unreliable, and Steve stopped answering >> my questions. >> >> NSClient++ is very reliable, and I haven't looked back. >> >> Benny >> >> >> -- >> "Hairy ape nads." -- Colleen, playing Neverwinter Nights >> >> >> >> >> ------------------------------------------------------------------------------ >> The modern datacenter depends on network connectivity to access resources >> and provide services. The best practices for maximizing a physical >> server's >> connectivity to a physical network are well understood - see how these >> rules translate into the virtual world? >> http://p.sf.net/sfu/oracle-sfdevnlfb >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Feb 4 15:56:10 2011 From: benny at bennyvision.com (C. Bensend) Date: Fri, 4 Feb 2011 08:56:10 -0600 Subject: monitoring Windows 2008 event log? In-Reply-To: References: Message-ID: <863c919c4652fad46cc715d5b988c81f.squirrel@webmail.stinkweasel.net> > forgive my ignorance, but nsclient can check the event log? > > I wouldn't blame Steve, I think he had a baby not so long ago NSClient++ can, yes. *shrug* This was like a year ago or so... If he's busy, that's fine and understandable. Just *say* so, don't just ignore your users, especially when they're trying to point out problems. I'm not mad at the guy or anything, his software just wasn't usable for me. I have to correct myself - I use Consol.de's check_logfiles.exe for my event log stuff. My bad - I found the built-in NSClient++ eventlog stuff a bit cumbersome. http://labs.consol.de/lang/en/nagios/check_logfiles/ Lausser has been great in helping as well as adding features and fixing bugs. Sorry for the confusion with NSClient++... I use NSClient++ to execute check_logfiles.exe on the remote clients. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Fri Feb 4 15:46:01 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Fri, 4 Feb 2011 07:46:01 -0700 Subject: monitoring Windows 2008 event log? In-Reply-To: References: Message-ID: <31B0FE0A1A8166409E9DF35C6DEECB24059697D7@WPSCV6MM.OPR.STATEFARM.ORG> Also look at check_logfiles if you need something a little more flexible, both are great. Dan -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: Friday, February 04, 2011 8:40 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] monitoring Windows 2008 event log? > Anybody know a good way to monitor Windows 2008 event logs? > > Steve Shipway's beta NagEventLog for win2k8 to run on my server > > http://www.steveshipway.org/software/nagevlog-setup-1.9.2.exe > > Any ideas would be most appreciated I found NagEventLog to be unreliable, and Steve stopped answering my questions. NSClient++ is very reliable, and I haven't looked back. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------ ------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Fri Feb 4 16:12:03 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Fri, 4 Feb 2011 16:12:03 +0100 Subject: monitoring Windows 2008 event log? In-Reply-To: <31B0FE0A1A8166409E9DF35C6DEECB24059697D7@WPSCV6MM.OPR.STATEFARM.ORG> References: <31B0FE0A1A8166409E9DF35C6DEECB24059697D7@WPSCV6MM.OPR.STATEFARM.ORG> Message-ID: thanks guys, this is very helpful On Fri, Feb 4, 2011 at 3:46 PM, Daniel Wittenberg < daniel.wittenberg.r0ko at statefarm.com> wrote: > Also look at check_logfiles if you need something a little more > flexible, both are great. > > Dan > > -----Original Message----- > From: C. Bensend [mailto:benny at bennyvision.com] > Sent: Friday, February 04, 2011 8:40 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitoring Windows 2008 event log? > > > > Anybody know a good way to monitor Windows 2008 event logs? > > > > Steve Shipway's beta NagEventLog for win2k8 to run on my server > > > > http://www.steveshipway.org/software/nagevlog-setup-1.9.2.exe > > > > Any ideas would be most appreciated > > I found NagEventLog to be unreliable, and Steve stopped answering > my questions. > > NSClient++ is very reliable, and I haven't looked back. > > Benny > > > -- > "Hairy ape nads." -- Colleen, playing Neverwinter Nights > > > > ------------------------------------------------------------------------ > ------ > The modern datacenter depends on network connectivity to access > resources > and provide services. The best practices for maximizing a physical > server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BChan at Shawcor.com Fri Feb 4 16:06:40 2011 From: BChan at Shawcor.com (Brian Chan) Date: Fri, 4 Feb 2011 10:06:40 -0500 Subject: AUTO: Chan, Brian is out of the office. (returning 02/22/2011) Message-ID: I am out of the office until 02/22/2011. I will respond to your message when I return. Note: This is an automated response to your message "Nagios-users Digest, Vol 57, Issue 3" sent on 2/4/2011 9:56:19. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skaaa.at0m at gmail.com Sat Feb 5 09:51:40 2011 From: skaaa.at0m at gmail.com (Korrawit Yindeeyoungyeon) Date: Sat, 5 Feb 2011 15:51:40 +0700 Subject: How to make the Nagios go to begin but same config ? In-Reply-To: References: Message-ID: Thank you, it works! On Fri, Feb 4, 2011 at 8:52 PM, Jim Avery wrote: > On 31 January 2011 13:34, Korrawit Yindeeyoungyeon wrote: >> I want to re-monitor the Nagios but I want to delete all log or >> something that can made my Nagios to begin. >> >> I also have pnp4nagios. It need to delete some ?? >> >> How should I do ?? >> >> Thank you, >> >> Korrawit Yindeeyoungyeon > > Obviously before you start deleting anything, take a backup! > > If you want to delete all the history from Nagios, I guess you should > delete the files under /usr/local/nagios/var/archives/ and > /usr/local/nagios/var/nagios.log. ?You might also want to delete > /usr/local/nagios/var/objects.cache and retention.dat too. > > If you want to restore the Nagios configuration to what you get when > you install from scratch, I would extract the nagios tarball then use > the files from the directory nagios-3.2.3/sample-config/ to set up a > minimum system. > > To delete all the graphs created by pnp4nagios, remove all the files > and directories under /usr/local/pnp4nagios/var/perfdata/ ?(or if you > have an older version of pnp, you will maybe find these under > /usr/local/nagios/share/perfdata/). > > Some of these actions could break your nagios system if you are not > sure what the files do or how to re-create them. ?If you are not > experienced with Nagios, it might be best to build a new system rather > than break an existing one. > > Good luck, > > Jim > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hymie at lactose.homelinux.net Sun Feb 6 14:52:46 2011 From: hymie at lactose.homelinux.net (hymie!) Date: Sun, 06 Feb 2011 08:52:46 -0500 Subject: nagios plugin - it's a toggle. stop checking? Message-ID: <201102061352.p16Dqki30002@herman.local.net> Greetings. I have a time period defined thusly: define timeperiod{ timeperiod_name bacula alias bacula tuesday 01:00-20:00 wednesday 01:00-20:00 thursday 01:00-20:00 friday 01:00-20:00 saturday 01:00-20:00 } This works great. However, this particular plugin could best be described as a toggle. It monitors a backup process. It starts as "WARNING" when the backup is waiting/running and becomes "OK" when the backups completes. At that point, there's no need to spend my time, cycles, or network checking it. So is there a way that I can tell my Nagios plugin "Now that you've got an OK status, go to sleep and wake up when the time period starts again"? I've been using "Adaptive Monitoring" to reset the "next check" time with SCHEDULE_FORCED_SVC_CHECK, but that isn't doing quite what I want. I really want a time period that runs from 1:00 until whenever the status becomes OK. Thanks. --hymie! http://lactose.homelinux.net/~hymie hymie at lactose.homelinux.net ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Sun Feb 6 15:39:23 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Sun, 6 Feb 2011 14:39:23 +0000 Subject: nagios plugin - it's a toggle. stop checking? In-Reply-To: <201102061352.p16Dqki30002@herman.local.net> References: <201102061352.p16Dqki30002@herman.local.net> Message-ID: >So is there a way that I can tell my Nagios plugin "Now that you've got >an OK status, go to sleep and wake up when the time period starts again"? This is what Passive Checks are for, I do exactly what you describe here. My backup sets the state to warning, a failure to finish would, or a caught exception would either immediately trigger a notified critical, or trigger a notify on critical as a result of the lack of freshness determined by the time period. Either way, no active checks are done, and I am notified ni every situation. jlc ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Sun Feb 6 20:18:07 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Sun, 6 Feb 2011 20:18:07 +0100 Subject: Best way to associate host groups with contact groups? Message-ID: is there any way to associate a contactgroup with a hostgroup? I want to associate contact group "windows-admins" with hostgroup "windows-servers" and not manually associate the contact group with each individual windows host from the object definition I don't see any obvious way to do this http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup thanks to sni on #nagios irc, I am planning to add the contact-group windows-admins to the host and service templates specific to windows. Are there other ways to do this? Bryan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Naveen.R at philips.com Mon Feb 7 07:28:04 2011 From: Naveen.R at philips.com (R, Naveen) Date: Mon, 7 Feb 2011 07:28:04 +0100 Subject: Not receiving email notification to our mail Message-ID: <8DF553C0530569419CAAFA4E3331C32BEE8B9D9900@NLCLUEXM09.connect1.local> Hello, I have configured Nagios on Open SUSE. In Main.cfg file I have changed the host network to our corporate network Id I have configured the hosts , contacts, contact groups , time period etc. I'm able to see the status of the hosts and services but I'm not receiving the mail. When I try "mail address at company.com", it finishes correctly without any exceptions, but I have not received the mail. Kindly guide me in receiving the mail form Nagios. Warm regards, Naveen.R., Philips Consumer Lifestyle, Philips Innovation Campus, Philips Electronics India Ltd, Manyata Tech Park, Nagavara, Bangalore - 560045. Ph: +91 80 40162000 Extn: 2718/3016 Mobile: 9663320455 Email: naveen.r at philips.com intranet: http://pww.bangalore.philips.com, internet: http://www.bangalore.philips.com [cid:image001.png at 01CBC6BC.B27626B0] ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4858 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Mon Feb 7 07:55:30 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Mon, 7 Feb 2011 14:55:30 +0800 Subject: Not receiving email notification to our mail In-Reply-To: <8DF553C0530569419CAAFA4E3331C32BEE8B9D9900@NLCLUEXM09.connect1.local> References: <8DF553C0530569419CAAFA4E3331C32BEE8B9D9900@NLCLUEXM09.connect1.local> Message-ID: you tried ?mail address at company.com? but never received the mail, that's the problem. Nagios has no its own mail system, it depends on any mail system in your environment. On Mon, Feb 7, 2011 at 2:28 PM, R, Naveen wrote: > Hello, > > I have configured Nagios on Open SUSE. > > In Main.cfg file I have changed the host network to our corporate network > Id > > I have configured the hosts , contacts, contact groups , time period etc. > > I?m able to see the status of the hosts and services but I?m not receiving > the mail. > > > > When I try ?mail address at company.com?, it finishes correctly without any > exceptions, but I have not received the mail. > > > > Kindly guide me in receiving the mail form Nagios. > > > > > > > > Warm regards, > > Naveen.R., > > Philips Consumer Lifestyle, Philips Innovation Campus, > > Philips Electronics India Ltd, Manyata Tech Park, Nagavara, > > Bangalore - 560045. > > Ph: +91 80 40162000 > > Extn: 2718/3016 > > Mobile: 9663320455 > > Email: naveen.r at philips.com > > intranet: http://pww.bangalore.philips.com, > > internet: http://www.bangalore.philips.com > > [image: cid:image001.png at 01CB0258.198B5390] > > > > ------------------------------ > The information contained in this message may be confidential and legally > protected under applicable law. The message is intended solely for the > addressee(s). If you are not the intended recipient, you are hereby notified > that any use, forwarding, dissemination, or reproduction of this message is > strictly prohibited and may be unlawful. If you are not the intended > recipient, please contact the sender by return e-mail and destroy all copies > of the original message. > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4858 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Naveen.R at philips.com Mon Feb 7 08:28:21 2011 From: Naveen.R at philips.com (R, Naveen) Date: Mon, 7 Feb 2011 08:28:21 +0100 Subject: Not receiving email notification to our mail In-Reply-To: References: <8DF553C0530569419CAAFA4E3331C32BEE8B9D9900@NLCLUEXM09.connect1.local> Message-ID: <8DF553C0530569419CAAFA4E3331C32BEE8B9D9948@NLCLUEXM09.connect1.local> Thanks for your reply Hung Liu. Can you tell me what I need to do here to receive mails?? Thank you in advance Warm regards, Naveen.R. From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Sent: Monday, February 07, 2011 12:26 PM To: Nagios Users List Subject: Re: [Nagios-users] Not receiving email notification to our mail you tried "mail address at company.com" but never received the mail, that's the problem. Nagios has no its own mail system, it depends on any mail system in your environment. On Mon, Feb 7, 2011 at 2:28 PM, R, Naveen > wrote: Hello, I have configured Nagios on Open SUSE. In Main.cfg file I have changed the host network to our corporate network Id I have configured the hosts , contacts, contact groups , time period etc. I'm able to see the status of the hosts and services but I'm not receiving the mail. When I try "mail address at company.com", it finishes correctly without any exceptions, but I have not received the mail. Kindly guide me in receiving the mail form Nagios. Warm regards, Naveen.R., Philips Consumer Lifestyle, Philips Innovation Campus, Philips Electronics India Ltd, Manyata Tech Park, Nagavara, Bangalore - 560045. Ph: +91 80 40162000 Extn: 2718/3016 Mobile: 9663320455 Email: naveen.r at philips.com intranet: http://pww.bangalore.philips.com, internet: http://www.bangalore.philips.com [cid:image001.png at 01CBC6C6.B2B17670] ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 4858 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NOC at eurofmc.com Mon Feb 7 09:45:12 2011 From: NOC at eurofmc.com (Network Operation Center FMC Luxemburg) Date: Mon, 07 Feb 2011 09:45:12 +0100 Subject: SMTP server update In-Reply-To: References: <4D33F67C.4050607@eurofmc.com> Message-ID: <4D4FB118.8090901@eurofmc.com> Thanks a lot Liu, But I have to send the Nagios notifications by another SMTP server, not local, because the server where Nagios runs is on a domain name not accepted by the receiver SMTP... On another lan, I've SMTP servers where are recognized. For this reason it is mandatory for me to use one of these SMTP server... Thanks a lot. Francois On 18/01/2011 15:03, Yueh-Hung Liu wrote: > > mail notification is done by commands defined in your Nagios' > configuration files. > if you can send mail from the server that Nagios is installed on, you > don't need to specify SMTP or whatever anymore. > > > On Mon, Jan 17, 2011 at 3:57 PM, Network Operation Center FMC > Luxemburg > wrote: > > Dear list, > > Is it possible to specify to Nagios wich SMTP server it have to > use for sending alert mails? > > Thanks a lot > Francois > -- > Network Operation Center > > LUXEMBURG > > E-mail: NOC at eurofmc.com > -------------------------------------------------------------------- > > _DISCLAIMER_: This e-mail contains proprietary information some or all > of which may be legally privileged. It is for the intended recipient > only. If an addressing or transmission error has misdirected this > e-mail, please notify the author by replying to this e-mail. If you > are not the intended recipient you must not use, copy, distribute, > disclose, print, or rely on this e-mail. > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and > how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Network Operation Center LUXEMBURG E-mail: NOC at eurofmc.com -------------------------------------------------------------------- _DISCLAIMER_: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, copy, distribute, disclose, print, or rely on this e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smallfmc.gif Type: image/gif Size: 2324 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at smetj.net Mon Feb 7 09:58:24 2011 From: nagios at smetj.net (Jelle Smet) Date: Mon, 7 Feb 2011 08:58:24 +0000 (UTC) Subject: monitoring Windows 2008 event log? References: Message-ID: > Anybody know a good way to monitor Windows 2008 event logs? It's a shameless self promotion but maybe MoLog might be helpful to you. http://www.smetj.net/wiki/Molog It relies on a a centralized rsyslog server. On Windows, logparser(an official Microsoft tool) is used to forward eventlog entries to your central rsyslog server. MoLog monitors the records in your RsyslogDB and alerts on all warnings & criticals except the ones which you exclude using a regex. Cheers, Jelle ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Mon Feb 7 10:14:58 2011 From: tntteam at free.fr (Tntteam) Date: Mon, 7 Feb 2011 10:14:58 +0100 Subject: Not receiving email notification to our mail In-Reply-To: <8DF553C0530569419CAAFA4E3331C32BEE8B9D9948@NLCLUEXM09.connect1.local> References: <8DF553C0530569419CAAFA4E3331C32BEE8B9D9900@NLCLUEXM09.connect1.local> <8DF553C0530569419CAAFA4E3331C32BEE8B9D9948@NLCLUEXM09.connect1.local> Message-ID: Here : http://lmgtfy.com/?q=configure+a+linux+mail+server 2011/2/7 R, Naveen > Thanks for your reply Hung Liu. > > Can you tell me what I need to do here to receive mails?? > > > > Thank you in advance > > > > > > Warm regards, > > Naveen.R. > > > > *From:* Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] > *Sent:* Monday, February 07, 2011 12:26 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Not receiving email notification to our mail > > > > you tried ?mail address at company.com? but never received the mail, that's > the problem. > > Nagios has no its own mail system, it depends on any mail system in your > environment. > > > > On Mon, Feb 7, 2011 at 2:28 PM, R, Naveen wrote: > > Hello, > > I have configured Nagios on Open SUSE. > > In Main.cfg file I have changed the host network to our corporate network > Id > > I have configured the hosts , contacts, contact groups , time period etc. > > I?m able to see the status of the hosts and services but I?m not receiving > the mail. > > > > When I try ?mail address at company.com?, it finishes correctly without any > exceptions, but I have not received the mail. > > > > Kindly guide me in receiving the mail form Nagios. > > > > > > > > Warm regards, > > Naveen.R., > > Philips Consumer Lifestyle, Philips Innovation Campus, > > Philips Electronics India Ltd, Manyata Tech Park, Nagavara, > > Bangalore - 560045. > > Ph: +91 80 40162000 > > Extn: 2718/3016 > > Mobile: 9663320455 > > Email: naveen.r at philips.com > > intranet: http://pww.bangalore.philips.com, > > internet: http://www.bangalore.philips.com > > [image: cid:image001.png at 01CB0258.198B5390] > > > > > ------------------------------ > > The information contained in this message may be confidential and legally > protected under applicable law. The message is intended solely for the > addressee(s). If you are not the intended recipient, you are hereby notified > that any use, forwarding, dissemination, or reproduction of this message is > strictly prohibited and may be unlawful. If you are not the intended > recipient, please contact the sender by return e-mail and destroy all copies > of the original message. > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.berry at gmail.com Mon Feb 7 10:37:18 2011 From: bryan.berry at gmail.com (Bryan Berry) Date: Mon, 7 Feb 2011 10:37:18 +0100 Subject: monitoring Windows 2008 event log? In-Reply-To: References: Message-ID: tks, I will check it out! On Mon, Feb 7, 2011 at 9:58 AM, Jelle Smet wrote: > > Anybody know a good way to monitor Windows 2008 event logs? > It's a shameless self promotion but maybe MoLog might be helpful to you. > http://www.smetj.net/wiki/Molog > It relies on a a centralized rsyslog server. > On Windows, logparser(an official Microsoft tool) is used to forward > eventlog > entries to your central rsyslog server. > MoLog monitors the records in your RsyslogDB and alerts on all warnings & > criticals except the ones which you exclude using a regex. > > Cheers, > > Jelle > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mochu33 at gmail.com Mon Feb 7 11:28:43 2011 From: mochu33 at gmail.com (Juan-Francisco Diez) Date: Mon, 7 Feb 2011 11:28:43 +0100 Subject: ePN Trouble Message-ID: Hi all, I use a script to notify service problems. The script run well with perl but not with ePN. The error it sent to the /var/log/messages is: nagios: **ePN failed to compile /usr/lib/nagios/eventhandlers/ notify-service-by-email.pl: "String found where operator expected at (eval 8) line 52, near "case "PROBLEM""" at /usr/bin/p1.pl line 159. In the script I use the Switch.pm to assign a different text depending on the notification type. The switch is like this: switch ($optnotiftype) { case "PROBLEM" { $NOTIFTYPE='Problem' } case "RECOVERY" { $NOTIFTYPE='Recovery' } case "ACKNOWLEDGEMENT" { $NOTIFTYPE='Notification Acknowkedge' } case "DOWNTIMESTART" { $NOTIFTYPE='Start of Planned Stop' } case "DOWNTIMEEND" { $NOTIFTYPE='End of Planned Stop' } case "DOWNTIMECANCELLED" { $NOTIFTYPE='Planned Stop Canceled' } else { $NOTIFTYPE=$optnotiftype } } All the vars are defined and the script run OK with perl. Can someone help me to fix this problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Mon Feb 7 13:21:35 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Mon, 7 Feb 2011 20:21:35 +0800 Subject: SMTP server update In-Reply-To: <4D33F67C.4050607@eurofmc.com> References: <4D33F67C.4050607@eurofmc.com> Message-ID: you're welcome. back to your question, Nagios has no slot to specify an SMTP server to be used, it relys on the system where it'on. to utilize an "external" SMTP server, maybe it could be done by specifying one in the configuration of your local SMTP server. On Mon, Jan 17, 2011 at 3:57 PM, Network Operation Center FMC Luxemburg < NOC at eurofmc.com> wrote: > Dear list, > > Is it possible to specify to Nagios wich SMTP server it have to use for > sending alert mails? > > Thanks a lot > Francois > -- > Network Operation Center > > LUXEMBURG > > E-mail: NOC at eurofmc.com > -------------------------------------------------------------------- > > *DISCLAIMER*: This e-mail contains proprietary information some or all > of which may be legally privileged. It is for the intended recipient > only. If an addressing or transmission error has misdirected this > e-mail, please notify the author by replying to this e-mail. If you > are not the intended recipient you must not use, copy, distribute, > disclose, print, or rely on this e-mail. > > > > ------------------------------------------------------------------------------ > Protect Your Site and Customers from Malware Attacks > Learn about various malware tactics and how to avoid them. Understand > malware threats, the impact they can have on your business, and how you > can protect your company and customers by using code signing. > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smallfmc.gif Type: image/gif Size: 2324 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prakash.raju at saventech.com Mon Feb 7 16:00:45 2011 From: prakash.raju at saventech.com (Prakash) Date: Mon, 7 Feb 2011 20:30:45 +0530 Subject: How to get Service Names Message-ID: <002001cbc6d7$ceb09b60$e112a2c6@saven.saventehi.saventech.com> Hi All, I need to display the available hostnames and service names in to my webpage. Is there any service to get those details. Thanks Prakash -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aengelmann at libertymgt.com Mon Feb 7 15:54:52 2011 From: aengelmann at libertymgt.com (Engelmann, Austin) Date: Mon, 7 Feb 2011 09:54:52 -0500 Subject: Warning Alerts Message-ID: <6F13E8BB6FDAC14FA6B0BD869991833825FEFF@exch-coni-is.LIBERTYMGT.COM> I have an admin that does not pay very much attention to our Nagios and Cacti servers. If he paid any attention he would have noticed a warning about disk space on our email server and would have investigated and solved the problem before it became critical. Is it possible to setup different alerts for warnings? I would like to setup a warning template to have a quick message like, "Better Check Nagios!!!" And I would send these alerts to all of our admins because this individual is more responsive when light is shed on issues. On that subject, is it possible to monitor and alert for a sudden change in disk space? Our situation is that within 2 days we lost over 80 GB of space and it wasn't until I looked at Nagios that we became aware of the issue. Regards, Austin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Mon Feb 7 16:40:44 2011 From: a31modela at hotmail.com (steve f) Date: Mon, 7 Feb 2011 10:40:44 -0500 Subject: Warning Alerts In-Reply-To: <6F13E8BB6FDAC14FA6B0BD869991833825FEFF@exch-coni-is.LIBERTYMGT.COM> References: <6F13E8BB6FDAC14FA6B0BD869991833825FEFF@exch-coni-is.LIBERTYMGT.COM> Message-ID: You could set up a Nagios Escalation Notification AKA " The Throw you Under the Bus " Notification where a secondary group ( tertiary, quaternary, quinary, senary, septenary, octonary, nonary, etc ) of people ( techs, managers, etc ) get notified if an alert has not been addressed for x amount of time. http://nagios.sourceforge.net/docs/1_0/escalations.html Steve Date: Mon, 7 Feb 2011 09:54:52 -0500 From: aengelmann at libertymgt.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Warning Alerts I have an admin that does not pay very much attention to our Nagios and Cacti servers. If he paid any attention he would have noticed a warning about disk space on our email server and would have investigated and solved the problem before it became critical. Is it possible to setup different alerts for warnings? I would like to setup a warning template to have a quick message like, "Better Check Nagios!!!" And I would send these alerts to all of our admins because this individual is more responsive when light is shed on issues. On that subject, is it possible to monitor and alert for a sudden change in disk space? Our situation is that within 2 days we lost over 80 GB of space and it wasn't until I looked at Nagios that we became aware of the issue. Regards, Austin ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aengelmann at libertymgt.com Mon Feb 7 16:55:29 2011 From: aengelmann at libertymgt.com (Engelmann, Austin) Date: Mon, 7 Feb 2011 10:55:29 -0500 Subject: Warning Alerts In-Reply-To: References: <6F13E8BB6FDAC14FA6B0BD869991833825FEFF@exch-coni-is.LIBERTYMGT.COM> Message-ID: <6F13E8BB6FDAC14FA6B0BD869991833825FF00@exch-coni-is.LIBERTYMGT.COM> I definitely considered escalations; I was actually reading more about it this morning. At the moment I have alerts for Hosts and Services alerting every 10 minutes (I am keeping the very simple function of acknowledgements a secret for now). The other guys on my team know not to acknowledge anything until some real work is done toward troubleshooting. I was thinking of keeping it simple and hoping that a separate command can be setup to email on warnings (I will customize the MSG that is sent out). I figure that if this person is not keen on browsing the monitoring systems on a daily basis, that alerting on the warnings would be a good training mechanism for him. Can there be a separate command for alerting on warnings only? From: steve f [mailto:a31modela at hotmail.com] Sent: Monday, February 07, 2011 10:41 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Warning Alerts You could set up a Nagios Escalation Notification AKA " The Throw you Under the Bus " Notification where a secondary group ( tertiary, quaternary, quinary, senary, septenary, octonary, nonary, etc ) of people ( techs, managers, etc ) get notified if an alert has not been addressed for x amount of time. http://nagios.sourceforge.net/docs/1_0/escalations.html Steve ________________________________ Date: Mon, 7 Feb 2011 09:54:52 -0500 From: aengelmann at libertymgt.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Warning Alerts I have an admin that does not pay very much attention to our Nagios and Cacti servers. If he paid any attention he would have noticed a warning about disk space on our email server and would have investigated and solved the problem before it became critical. Is it possible to setup different alerts for warnings? I would like to setup a warning template to have a quick message like, "Better Check Nagios!!!" And I would send these alerts to all of our admins because this individual is more responsive when light is shed on issues. On that subject, is it possible to monitor and alert for a sudden change in disk space? Our situation is that within 2 days we lost over 80 GB of space and it wasn't until I looked at Nagios that we became aware of the issue. Regards, Austin ------------------------------------------------------------------------ ------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Mon Feb 7 16:31:47 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 7 Feb 2011 08:31:47 -0700 Subject: ePN Trouble In-Reply-To: References: Message-ID: <31B0FE0A1A8166409E9DF35C6DEECB240596A0AC@WPSCV6MM.OPR.STATEFARM.ORG> Add this to your script in the first 10 lines to keep epn from parsing: # nagios: -epn Dan From: Juan-Francisco Diez [mailto:mochu33 at gmail.com] Sent: Monday, February 07, 2011 4:29 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] ePN Trouble Hi all, I use a script to notify service problems. The script run well with perl but not with ePN. The error it sent to the /var/log/messages is: nagios: **ePN failed to compile /usr/lib/nagios/eventhandlers/notify-service-by-email.pl: "String found where operator expected at (eval 8) line 52, near "case "PROBLEM""" at /usr/bin/p1.pl line 159. In the script I use the Switch.pm to assign a different text depending on the notification type. The switch is like this: switch ($optnotiftype) { case "PROBLEM" { $NOTIFTYPE='Problem' } case "RECOVERY" { $NOTIFTYPE='Recovery' } case "ACKNOWLEDGEMENT" { $NOTIFTYPE='Notification Acknowkedge' } case "DOWNTIMESTART" { $NOTIFTYPE='Start of Planned Stop' } case "DOWNTIMEEND" { $NOTIFTYPE='End of Planned Stop' } case "DOWNTIMECANCELLED" { $NOTIFTYPE='Planned Stop Canceled' } else { $NOTIFTYPE=$optnotiftype } } All the vars are defined and the script run OK with perl. Can someone help me to fix this problem? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Mon Feb 7 17:07:14 2011 From: a31modela at hotmail.com (steve f) Date: Mon, 7 Feb 2011 11:07:14 -0500 Subject: Warning Alerts In-Reply-To: <6F13E8BB6FDAC14FA6B0BD869991833825FF00@exch-coni-is.LIBERTYMGT.COM> References: <6F13E8BB6FDAC14FA6B0BD869991833825FEFF@exch-coni-is.LIBERTYMGT.COM>, , <6F13E8BB6FDAC14FA6B0BD869991833825FF00@exch-coni-is.LIBERTYMGT.COM> Message-ID: Another possible option that may help keep the problems in the faces of the admin is the Firefox or Chrome plugin called Nagios Checker. A statusbar indicator of the Nagios console shows warnings, criticals in the browser taskbar. Its a nice little tool Steve Date: Mon, 7 Feb 2011 10:55:29 -0500 From: aengelmann at libertymgt.com To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Warning Alerts I definitely considered escalations; I was actually reading more about it this morning. At the moment I have alerts for Hosts and Services alerting every 10 minutes (I am keeping the very simple function of acknowledgements a secret for now). The other guys on my team know not to acknowledge anything until some real work is done toward troubleshooting. I was thinking of keeping it simple and hoping that a separate command can be setup to email on warnings (I will customize the MSG that is sent out). I figure that if this person is not keen on browsing the monitoring systems on a daily basis, that alerting on the warnings would be a good training mechanism for him. Can there be a separate command for alerting on warnings only? From: steve f [mailto:a31modela at hotmail.com] Sent: Monday, February 07, 2011 10:41 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Warning Alerts You could set up a Nagios Escalation Notification AKA " The Throw you Under the Bus " Notification where a secondary group ( tertiary, quaternary, quinary, senary, septenary, octonary, nonary, etc ) of people ( techs, managers, etc ) get notified if an alert has not been addressed for x amount of time. http://nagios.sourceforge.net/docs/1_0/escalations.html Steve Date: Mon, 7 Feb 2011 09:54:52 -0500 From: aengelmann at libertymgt.com To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Warning Alerts I have an admin that does not pay very much attention to our Nagios and Cacti servers. If he paid any attention he would have noticed a warning about disk space on our email server and would have investigated and solved the problem before it became critical. Is it possible to setup different alerts for warnings? I would like to setup a warning template to have a quick message like, "Better Check Nagios!!!" And I would send these alerts to all of our admins because this individual is more responsive when light is shed on issues. On that subject, is it possible to monitor and alert for a sudden change in disk space? Our situation is that within 2 days we lost over 80 GB of space and it wasn't until I looked at Nagios that we became aware of the issue. Regards, Austin ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mochu33 at gmail.com Mon Feb 7 17:13:56 2011 From: mochu33 at gmail.com (Juan-Francisco Diez) Date: Mon, 7 Feb 2011 17:13:56 +0100 Subject: ePN Trouble In-Reply-To: <31B0FE0A1A8166409E9DF35C6DEECB240596A0AC@WPSCV6MM.OPR.STATEFARM.ORG> References: <31B0FE0A1A8166409E9DF35C6DEECB240596A0AC@WPSCV6MM.OPR.STATEFARM.ORG> Message-ID: I do this and it works fine. But also I want to solve the problem with ePN because posibly in others cases I can't fix the problem in this way. Thanks Dan 2011/2/7 Daniel Wittenberg > Add this to your script in the first 10 lines to keep epn from parsing: > > > > # nagios: -epn > > > > Dan > > > > *From:* Juan-Francisco Diez [mailto:mochu33 at gmail.com] > *Sent:* Monday, February 07, 2011 4:29 AM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] ePN Trouble > > > > Hi all, > > I use a script to notify service problems. The script run well with perl > but not with ePN. The error it sent to the /var/log/messages is: > > nagios: **ePN failed to compile /usr/lib/nagios/eventhandlers/ > notify-service-by-email.pl: "String found where operator expected at (eval > 8) line 52, near "case "PROBLEM""" at /usr/bin/p1.pl line 159. > > In the script I use the Switch.pm to assign a different text depending on > the notification type. The switch is like this: > > switch ($optnotiftype) { > case "PROBLEM" { $NOTIFTYPE='Problem' } > case "RECOVERY" { $NOTIFTYPE='Recovery' } > case "ACKNOWLEDGEMENT" { $NOTIFTYPE='Notification > Acknowkedge' } > case "DOWNTIMESTART" { $NOTIFTYPE='Start of Planned > Stop' } > case "DOWNTIMEEND" { $NOTIFTYPE='End of Planned > Stop' } > case "DOWNTIMECANCELLED" { $NOTIFTYPE='Planned Stop > Canceled' } > else { > $NOTIFTYPE=$optnotiftype } > } > > All the vars are defined and the script run OK with perl. > > Can someone help me to fix this problem? > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylinuxhalist at gmail.com Mon Feb 7 17:42:26 2011 From: mylinuxhalist at gmail.com (My LinuxHAList) Date: Mon, 7 Feb 2011 11:42:26 -0500 Subject: nagios ldapauth plugin Message-ID: Hi, I've downloaded Nagios XI (2009R1.3G) and installed it on CentOS 5.5. Then, I went to: http://exchange.nagios.org/directory/Addons/Components/LDAP-Authentication-XI-Component/details http://assets.nagios.com/downloads/nagiosxi/components/ldapauth.zip to get my ldapauth.zip Then I uploaded it via Nagios XI, Admin, Manage Components. Configure the LDAP settings (LDAP server, etc.) and enable it. Check that I have php-ldap installed. When I try to login using LDAP username and password, it still failed. What's the best way to troubleshoot this ? What am I missing ? Thanks ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mylinuxhalist at gmail.com Mon Feb 7 21:31:05 2011 From: mylinuxhalist at gmail.com (My LinuxHAList) Date: Mon, 7 Feb 2011 15:31:05 -0500 Subject: nagios ldapauth plugin In-Reply-To: References: Message-ID: Adding a piece of info: I'm getting the following error in error_log [Mon Feb 07 15:29:32 2011] [error] [client 127.0.0.1] PHP Notice: Use of undefined constant CALLBACK_PROCESS_AUTH_INFO - assumed 'CALLBACK_PROCESS_AUTH_INFO' in /usr/local/nagiosxi/html/includes/components/ldapauth/ldapauth.inc.php on line 47 On Mon, Feb 7, 2011 at 11:42 AM, My LinuxHAList wrote: > Hi, > > I've downloaded Nagios XI (2009R1.3G) and installed it on CentOS 5.5. > > Then, I went to: > http://exchange.nagios.org/directory/Addons/Components/LDAP-Authentication-XI-Component/details > http://assets.nagios.com/downloads/nagiosxi/components/ldapauth.zip > to get my ldapauth.zip > > Then I uploaded it via Nagios XI, Admin, Manage Components. Configure > the LDAP settings (LDAP server, etc.) and enable it. > > Check that I have php-ldap installed. > > When I try to login using LDAP username and password, it still failed. > > What's the best way to troubleshoot this ? What am I missing ? > ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdrepeater at gmail.com Mon Feb 7 22:49:55 2011 From: tdrepeater at gmail.com (larry johnson) Date: Mon, 7 Feb 2011 22:49:55 +0100 Subject: Nagios storing data into PostgreSQL? Message-ID: Hello, i am newbie to linux/Nagios and need help to clear some doubts. I wander whether is possible to make Nagios writing notification (host up/host down, for example) into PostgreSQL database? I found NDOUtils, but this addon does not suit me because i don't use MySQL. Also found that this kind of storage is suported under Nagios 1.x, but what about 3.x? I run Nagios 3.2.3 (with 1.4.15 plugins) on openSUSE 11.3. Regards.** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damnshock at gmail.com Mon Feb 7 23:48:27 2011 From: damnshock at gmail.com (Marc Deop) Date: Mon, 07 Feb 2011 23:48:27 +0100 Subject: Not receiving email notification to our mail In-Reply-To: <8DF553C0530569419CAAFA4E3331C32BEE8B9D9900@NLCLUEXM09.connect1.local> References: <8DF553C0530569419CAAFA4E3331C32BEE8B9D9900@NLCLUEXM09.connect1.local> Message-ID: <4d5076b8.dd25e30a.4862.fffff878@mx.google.com> On Monday 07 February 2011 07:28:04 R, Naveen wrote: > Hello, > I have configured Nagios on Open SUSE. > In Main.cfg file I have changed the host network to our corporate network Id > I have configured the hosts , contacts, contact groups , time period etc. > I'm able to see the status of the hosts and services but I'm not receiving > the mail. > > When I try "mail address at company.com", it > finishes correctly without any exceptions, but I have not received the > mail. > > Kindly guide me in receiving the mail form Nagios. It might be that you don't have the MTA (mail transfer agent) properly configured. Can you send an email from outside Nagios? I mean, try the "mail" program from the command line. If that does not work... you'll have to solve a problem not related to nagios ;) Regards ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan_q at ymail.com Tue Feb 8 01:14:23 2011 From: jonathan_q at ymail.com (Jonathan Q.) Date: Mon, 7 Feb 2011 16:14:23 -0800 (PST) Subject: nagios-common RPM Package Message-ID: <860541.94186.qm@web114118.mail.gq1.yahoo.com> My apologies for the newbie question... I'm doing an install of Nagios 3.2.3 on CentOS 5.5, and I've run across an RPM package called nagios-common.? My google searches have turned up little info about this package, so I thought I'd ask here... Is this a required package for a typical Nagios install, or is it optional, or is it even still relevant to the current version? Which are the "required" base packages for Nagios? I've installed nagios, nagios-devel, nagios-nrpe, and nagios-plugins. Am I missing anything? Thank you for any information or guidance! Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Feb 8 04:12:59 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 8 Feb 2011 11:12:59 +0800 Subject: Warning Alerts In-Reply-To: <6F13E8BB6FDAC14FA6B0BD869991833825FF00@exch-coni-is.LIBERTYMGT.COM> References: <6F13E8BB6FDAC14FA6B0BD869991833825FEFF@exch-coni-is.LIBERTYMGT.COM> <6F13E8BB6FDAC14FA6B0BD869991833825FF00@exch-coni-is.LIBERTYMGT.COM> Message-ID: maybe you can try this: http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details On Mon, Feb 7, 2011 at 11:55 PM, Engelmann, Austin wrote: > I definitely considered escalations; I was actually reading more about it > this morning. > > > > At the moment I have alerts for Hosts and Services alerting every 10 minutes > (I am keeping the very simple function of acknowledgements a secret for > now). The other guys on my team know not to acknowledge anything until some > real work is done toward troubleshooting. > > > > I was thinking of keeping it simple and hoping that a separate command can > be setup to email on warnings (I will customize the MSG that is sent out). I > figure that if this person is not keen on browsing the monitoring systems on > a daily basis, that alerting on the warnings would be a good training > mechanism for him. > > > > Can there be a separate command for alerting on warnings only? > > > > From: steve f [mailto:a31modela at hotmail.com] > Sent: Monday, February 07, 2011 10:41 AM > > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Warning Alerts > > > > You could set up a Nagios Escalation Notification? AKA " The Throw you Under > the Bus " Notification where a secondary group ( tertiary,? quaternary, > quinary, senary, septenary, octonary, nonary, etc )? of people ( techs, > managers, etc ) get notified if an alert has not been addressed for x amount > of time. > > http://nagios.sourceforge.net/docs/1_0/escalations.html > > Steve > > ________________________________ > > Date: Mon, 7 Feb 2011 09:54:52 -0500 > From: aengelmann at libertymgt.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Warning Alerts > > I have an admin that does not pay very much attention to our Nagios and > Cacti servers. If he paid any attention he would have noticed a warning > about disk space on our email server and would have investigated and solved > the problem before it became critical. > > > > Is it possible to setup different alerts for warnings? I would like to setup > a warning template to have a quick message like, "Better Check Nagios!!!" > And I would send these alerts to all of our admins because this individual > is more responsive when light is shed on issues. > > > > On that subject, is it possible to monitor and alert for a sudden change in > disk space? Our situation is that within 2 days we lost over 80 GB of space > and it wasn't until I looked at Nagios that we became aware of the issue. > > > > Regards, > > > > Austin > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these rules > translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include > Nagios version, plugin version (-v) and OS when reporting any issue. ::: > Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aengelmann at libertymgt.com Tue Feb 8 04:42:06 2011 From: aengelmann at libertymgt.com (Engelmann, Austin) Date: Mon, 07 Feb 2011 22:42:06 -0500 Subject: Warning Alerts Message-ID: <16ad01cbc742$2a1f7150$4b5fa8c0@LIBERTYMGT.COM> I will work on this tomorrow when I get in, thank you! Sent from my GalaxyS using TouchDown -----Original Message----- From: Yueh-Hung Liu [yuehung.liu at gmail.com] Received: Monday, 07 Feb 2011, 10:15pm To: Nagios Users List [nagios-users at lists.sourceforge.net] Subject: Re: [Nagios-users] Warning Alerts maybe you can try this: http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details On Mon, Feb 7, 2011 at 11:55 PM, Engelmann, Austin wrote: > I definitely considered escalations; I was actually reading more about it > this morning. > > > > At the moment I have alerts for Hosts and Services alerting every 10 minutes > (I am keeping the very simple function of acknowledgements a secret for > now). The other guys on my team know not to acknowledge anything until some > real work is done toward troubleshooting. > > > > I was thinking of keeping it simple and hoping that a separate command can > be setup to email on warnings (I will customize the MSG that is sent out). I > figure that if this person is not keen on browsing the monitoring systems on > a daily basis, that alerting on the warnings would be a good training > mechanism for him. > > > > Can there be a separate command for alerting on warnings only? > > > > From: steve f [mailto:a31modela at hotmail.com] > Sent: Monday, February 07, 2011 10:41 AM > > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Warning Alerts > > > > You could set up a Nagios Escalation Notification AKA " The Throw you Under > the Bus " Notification where a secondary group ( tertiary, quaternary, > quinary, senary, septenary, octonary, nonary, etc ) of people ( techs, > managers, etc ) get notified if an alert has not been addressed for x amount > of time. > > http://nagios.sourceforge.net/docs/1_0/escalations.html > > Steve > > ________________________________ > > Date: Mon, 7 Feb 2011 09:54:52 -0500 > From: aengelmann at libertymgt.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Warning Alerts > > I have an admin that does not pay very much attention to our Nagios and > Cacti servers. If he paid any attention he would have noticed a warning > about disk space on our email server and would have investigated and solved > the problem before it became critical. > > > > Is it possible to setup different alerts for warnings? I would like to setup > a warning template to have a quick message like, "Better Check Nagios!!!" > And I would send these alerts to all of our admins because this individual > is more responsive when light is shed on issues. > > > > On that subject, is it possible to monitor and alert for a sudden change in > disk space? Our situation is that within 2 days we lost over 80 GB of space > and it wasn't until I looked at Nagios that we became aware of the issue. > > > > Regards, > > > > Austin > > > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these rules > translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include > Nagios version, plugin version (-v) and OS when reporting any issue. ::: > Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The modern datacenter depends on network connectivity to access resources > and provide services. The best practices for maximizing a physical server's > connectivity to a physical network are well understood - see how these > rules translate into the virtual world? > http://p.sf.net/sfu/oracle-sfdevnlfb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Tue Feb 8 12:16:49 2011 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Tue, 08 Feb 2011 12:16:49 +0100 Subject: Nagios::Plugin and Nagios Embedded perl interpretor Message-ID: <1297163809.1671.11.camel@MADness> Hi list, I'm developing some Nagios plugin with the Nagios::Plugin perl module and it's saving me a great amount of time. However, I encountered a little problem when I tried to activate the embedded perl interpretor in Nagios: all checks returned an UNKNOWN state with an error from the ePN saying that an error occurred in the Getopt::Long perl module about the use of an uninitialized value line 459. I suppose the problem come from my usage of the add_arg() function but I don't know how to correct it. Does somebody have already encountered that kind of behaviour or have an idea on how to debug a perl script when it's launched by the ePN? For information, I'm running on Nagios 3.6.2. Thanks Marc-Andr? ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrivera at skisa.com Tue Feb 8 12:49:09 2011 From: jrivera at skisa.com (Javier Rivera) Date: Tue, 08 Feb 2011 12:49:09 +0100 Subject: Monitoring unmounted partition Message-ID: <4D512DB5.7040708@skisa.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrivera at skisa.com Tue Feb 8 12:43:37 2011 From: jrivera at skisa.com (Javier Rivera) Date: Tue, 08 Feb 2011 12:43:37 +0100 Subject: Fwd: Monitoring unmounted partition Message-ID: <4D512C69.9020202@skisa.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Tue Feb 8 13:18:44 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Tue, 8 Feb 2011 07:18:44 -0500 Subject: Nagios::Plugin and Nagios Embedded perl interpretor In-Reply-To: <1297163809.1671.11.camel@MADness> References: <1297163809.1671.11.camel@MADness> Message-ID: Marc, On Tue, Feb 8, 2011 at 6:16 AM, Marc-Andr? Doll wrote: > Hi list, > > I'm developing some Nagios plugin with the Nagios::Plugin perl module > and it's saving me a great amount of time. > > However, I encountered a little problem when I tried to activate the > embedded perl interpretor in Nagios: all checks returned an UNKNOWN > state with an error from the ePN saying that an error occurred in the > Getopt::Long perl module about the use of an uninitialized value line > 459. > > I suppose the problem come from my usage of the add_arg() function but I > don't know how to correct it. > > Does somebody have already encountered that kind of behaviour or have an > idea on how to debug a perl script when it's launched by the ePN? Check out your command lines, especially if you use custom attribute substitution in them - look for attributes that are empty (no spaces) - that gets translated into a NULL or some other non-printable character that Getopt::Long chokes on http://www.semintelligent.com/blog/articles/50/epn-why-do-i-get-an-unitialized-value-error-message-from-my-getopt-longpm-when-nagios-runs-my-perl-based-plugin-under-epn - Max ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Tue Feb 8 13:24:33 2011 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Tue, 8 Feb 2011 07:24:33 -0500 Subject: Monitoring unmounted partition In-Reply-To: <4D512DB5.7040708@skisa.com> References: <4D512DB5.7040708@skisa.com> Message-ID: Write a plugin. It could search the output of the command, "mount" On Tue, Feb 8, 2011 at 6:49 AM, Javier Rivera wrote: > Good Morning, > > Im having a problem with check_nrpe. Im monitoring a partition /mnt/XXXX2 > f.e. If i dont have this partition mounted, it just returns the value of "/" > witout sending any error. > > How can i get an alert when the partition isn`t mounted. > > Thanks in advance. > > Sorry for my english. I write it also in spanish, if u use a translator > maybe u understand me better. > > Estoy teniendo un problema con check_nrpe. Estoy monitorizando la partici?n > /mnt/XXXX2 por ejemplo. Si no tengo esta partici?n montada, me devuelve la > informaci?n de "/" y no da ning?n error. > > ?Como puedo hacer para que salte alerta cuando no esta montada?. > > > Gracias > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mad at b-care.net Tue Feb 8 14:12:42 2011 From: mad at b-care.net (=?ISO-8859-1?Q?Marc-Andr=E9?= Doll) Date: Tue, 08 Feb 2011 14:12:42 +0100 Subject: Nagios::Plugin and Nagios Embedded perl interpretor In-Reply-To: References: <1297163809.1671.11.camel@MADness> Message-ID: <1297170762.1671.13.camel@MADness> Yes that was it! Thank you for your hint. Marc-Andr? On Tue, 2011-02-08 at 07:18 -0500, Max Schubert wrote: > Marc, > > On Tue, Feb 8, 2011 at 6:16 AM, Marc-Andr? Doll wrote: > > Hi list, > > > > I'm developing some Nagios plugin with the Nagios::Plugin perl module > > and it's saving me a great amount of time. > > > > However, I encountered a little problem when I tried to activate the > > embedded perl interpretor in Nagios: all checks returned an UNKNOWN > > state with an error from the ePN saying that an error occurred in the > > Getopt::Long perl module about the use of an uninitialized value line > > 459. > > > > I suppose the problem come from my usage of the add_arg() function but I > > don't know how to correct it. > > > > Does somebody have already encountered that kind of behaviour or have an > > idea on how to debug a perl script when it's launched by the ePN? > > Check out your command lines, especially if you use custom attribute > substitution in them - look for attributes that are empty (no spaces) > - that gets translated into a NULL or some other non-printable > character that Getopt::Long chokes on > > http://www.semintelligent.com/blog/articles/50/epn-why-do-i-get-an-unitialized-value-error-message-from-my-getopt-longpm-when-nagios-runs-my-perl-based-plugin-under-epn > > - Max > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Feb 8 14:22:32 2011 From: benny at bennyvision.com (C. Bensend) Date: Tue, 8 Feb 2011 07:22:32 -0600 Subject: Monitoring unmounted partition In-Reply-To: <4D512DB5.7040708@skisa.com> References: <4D512DB5.7040708@skisa.com> Message-ID: <8e4b54bba4cc005cd33b3fb456a2cef4.squirrel@webmail.stinkweasel.net> > Im having a problem with check_nrpe. Im monitoring a partition > /mnt/XXXX2 f.e. If i dont have this partition mounted, it just > returns the value of "/" witout sending any error.
>
> How can i get an alert when the partition isn`t mounted.
Oooof, plain text, please. I don't know that what you want is possible - if the partition isn't mounted, the OS can't read any information about it. Is this a local partition or a remote filesystem (ala NFS)? If it's remote, you might use the -X flag to check_disk to exclude any of the local filesystem types, so at least you'd get an error if it's not mounted instead of returning the information for /... Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Tue Feb 8 14:28:33 2011 From: tntteam at free.fr (Tntteam) Date: Tue, 8 Feb 2011 14:28:33 +0100 Subject: Monitoring unmounted partition In-Reply-To: References: <4D512DB5.7040708@skisa.com> Message-ID: Here is my script that you can rewrite to fit ur needs #!/bin/bash disk=/dev/sdb STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 STATETEXT=( "OK" "WARNING" "CRITICAL" "UNKNOWN" ) seuil_warn=$1 seuil_crit=$2 STATE=$STATE_UNKNOWN RETURN="UKNOWN STATE" declare -a result IFS=$'\n' result=( `df` ) if [[ `df` = *$disk* ]] then taille=${#result[*]} for ((i=0;i<$taille;i++)) do if [[ ${result[$i]} = *$disk* ]] then disque_usage=`echo "${result[$i]}"|awk -F" " '{print $5}'|awk -F"%" '{print $1}'` if (( $disque_usage >= $seuil_crit )) then STATE=$STATE_CRITICAL else if (( $disque_usage >= $seuil_warn )) then STATE=$STATE_WARNING else STATE=$STATE_OK; fi fi RETURN="Disque $disk monte, utilisation=$disque_usage%|$disk=$disque_usage%;$seuil_warn;$seuil_crit;0" fi done else echo "Disque $disk NON monte" STATE=$STATE_CRITICAL; fi unset IFS echo ${STATETEXT[$STATE]} : $RETURN exit $STATE; >> >> Thanks in advance. >> >> Sorry for my english. I write it also in spanish, if u use a translator >> maybe u understand me better. >> >> Estoy teniendo un problema con check_nrpe. Estoy monitorizando la partici?n >> /mnt/XXXX2 por ejemplo. Si no tengo esta partici?n montada, me devuelve la >> informaci?n de "/" y no da ning?n error. >> >> ?Como puedo hacer para que salte alerta cuando no esta montada?. >> >> >> Gracias >> >> ------------------------------------------------------------------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damnshock at gmail.com Tue Feb 8 14:42:17 2011 From: damnshock at gmail.com (Marc Deop) Date: Tue, 08 Feb 2011 14:42:17 +0100 Subject: nagios-common RPM Package In-Reply-To: <860541.94186.qm@web114118.mail.gq1.yahoo.com> References: <860541.94186.qm@web114118.mail.gq1.yahoo.com> Message-ID: <4d514834.4c02cc0a.45d9.ffffe77a@mx.google.com> On Monday 07 February 2011 16:14:23 Jonathan Q. wrote: > My apologies for the newbie question... I'm doing an install of Nagios 3.2.3 > on CentOS 5.5, and I've run across an RPM package called nagios-common. My > google > searches have turned up little info about this package, so I thought > I'd ask here... Do *NOT* install binary packages you do not know their procedence. > Is this a required package for a typical Nagios install, > or is it optional, or is it even still relevant to the current version? > Which are the "required" base packages for Nagios? I've installed > nagios, nagios-devel, nagios-nrpe, and nagios-plugins. Am I missing > anything? Well, the basic thing you need to have *nagios* working should be only nagios. However, that would only give you the daemon which would not be able to do more than collecting data. To perform check, you should install nagios-plugins To perform checks through nrpe (ssh checks carry heavy load) install nagios-nrpe. To install the "web interface" install nagios-www. Last time I checked, the nagios package came with example spec files which will allow you to build your own packages. -- Regards, Marc Deop ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ketan.kalgaonkar at db.com Tue Feb 8 15:44:35 2011 From: ketan.kalgaonkar at db.com (kk) Date: Tue, 8 Feb 2011 14:44:35 +0000 (UTC) Subject: Error with scheduling service check Message-ID: Hi, Summary: Error with scheduling service checks to run on particular day of every month. I am facing problem with scheduling a service check to run on particular day of every month. The problem is that the check is not actually trigerred. I am not aware if this is a known issue with the version of nagios I am using or how should I go about to determine the root cause of this problem. Nagios Version 3.0.6 OS: SunOS 1.5 For e.g. if I tried to schedule a check to run on 9th of every month at 11:00 am, the entry for this setting in the timeperiod section would be as below (reference: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod): day 9 11:00-11:00 The service check is scheduled correctly and I could verify that on the "Service Detail" web page. However, the service check is never trigerred. I tried to search the mail list archive but could not find any reference to this issue. Can someone let me know if this is a know issue with Nagios 3.0.6 or how can I debug it. Do let me know if you require any other information. Thanks ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Feb 8 16:17:09 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 8 Feb 2011 23:17:09 +0800 Subject: Error with scheduling service check In-Reply-To: References: Message-ID: what's the status of this service? how do you know the check is not triggered? On Tue, Feb 8, 2011 at 10:44 PM, kk wrote: > Hi, > > Summary: Error with scheduling service checks to run on particular day of every > month. > > I am facing problem with scheduling a service check to run on particular day of > every month. > The problem is that the check is not actually trigerred. I am not aware if this > is a known issue with the version of nagios I am using or > how should I go about to determine the root cause of this problem. > > Nagios Version 3.0.6 > OS: SunOS 1.5 > > For e.g. if I tried to schedule a check to run on 9th of every month at 11:00 > am, the entry for this setting in the timeperiod section > would be as below (reference: > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod): > > day 9 ? ? ? ? ? ? ? ? ? 11:00-11:00 > > The service check is scheduled correctly and I could verify that on the "Service > Detail" web page. However, the service check is never trigerred. > I tried to search the mail list archive but could not find any reference to this > issue. Can someone let me know if this is a know issue with Nagios 3.0.6 > or how can I debug it. > > Do let me know if you require any other information. > > Thanks > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffrey.w.watts at gmail.com Tue Feb 8 16:45:02 2011 From: jeffrey.w.watts at gmail.com (Jeffrey Watts) Date: Tue, 8 Feb 2011 09:45:02 -0600 Subject: Monitoring unmounted partition In-Reply-To: References: <4D512DB5.7040708@skisa.com> Message-ID: IMHO /proc/mounts is a much better place to look, as NFS problems and so forth can cause 'mount' to hang and hit the NRPE timeout. Jeffrey. On Tue, Feb 8, 2011 at 6:24 AM, dave stern - e-mail.pluribus.unum < dit.dash at gmail.com> wrote: > Write a plugin. It could search the output of the command, "mount" > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ketan.kalgaonkar at db.com Tue Feb 8 16:57:24 2011 From: ketan.kalgaonkar at db.com (kk) Date: Tue, 8 Feb 2011 15:57:24 +0000 (UTC) Subject: Error with scheduling service check References: Message-ID: Yueh-Hung Liu gmail.com> writes: > > what's the status of this service? > how do you know the check is not triggered? > Hello Yueh-Hung, the status for that service remains "PENDING". The service check actually triggers a java program and that too is not triggered(If I manually reschedule the next check for that service it triggers the check and the associated java program, this implies that there is no problem with the service check and java program ). If I don't run the check manually, the "Status Information" section on the "Service Details" page shows that the service check gets set for the next month skipping to trigger it for that month. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ketan.kalgaonkar at db.com Tue Feb 8 16:51:17 2011 From: ketan.kalgaonkar at db.com (Ketan Kalgaonkar) Date: Tue, 8 Feb 2011 10:51:17 -0500 Subject: Error with scheduling service check In-Reply-To: References: Message-ID: Hello Yueh-Hung, the status for that service remains "PENDING". The service check actually triggers a java program and that too is not triggered(If I manually reschedule the next check for that service it triggers the check and the associated java program, this implies that there is no problem with the service check and java program ). If I don't run the check manually, the "Status Information" section on the "Service Details" page shows that the service check gets set for the next month skipping to trigger it for that month. Thanks. Yueh-Hung Liu 02/08/2011 10:17 AM Please respond to Nagios Users List To Nagios Users List cc Subject Re: [Nagios-users] Error with scheduling service check what's the status of this service? how do you know the check is not triggered? On Tue, Feb 8, 2011 at 10:44 PM, kk wrote: > Hi, > > Summary: Error with scheduling service checks to run on particular day of every > month. > > I am facing problem with scheduling a service check to run on particular day of > every month. > The problem is that the check is not actually trigerred. I am not aware if this > is a known issue with the version of nagios I am using or > how should I go about to determine the root cause of this problem. > > Nagios Version 3.0.6 > OS: SunOS 1.5 > > For e.g. if I tried to schedule a check to run on 9th of every month at 11:00 > am, the entry for this setting in the timeperiod section > would be as below (reference: > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod ): > > day 9 11:00-11:00 > > The service check is scheduled correctly and I could verify that on the "Service > Detail" web page. However, the service check is never trigerred. > I tried to search the mail list archive but could not find any reference to this > issue. Can someone let me know if this is a know issue with Nagios 3.0.6 > or how can I debug it. > > Do let me know if you require any other information. > > Thanks > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 communication may contain confidential and/or privileged information. If you are not the intended recipient (or have received this communication in error) please notify the sender immediately and destroy this communication. Any unauthorized copying, disclosure or distribution of the material in this communication is strictly forbidden. Deutsche Bank does not render legal or tax advice, and the information contained in this communication should not be regarded as such. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Tue Feb 8 17:09:37 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Tue, 8 Feb 2011 08:09:37 -0800 (PST) Subject: (no subject) Message-ID: <350226.19184.qm@web36508.mail.mud.yahoo.com> Feel pleasure from having real satisfaction! http://www.nmbcmedia.net/2011.php?Page=7449 ... ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Tue Feb 8 18:24:43 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 8 Feb 2011 10:24:43 -0700 Subject: nagios-common RPM Package In-Reply-To: <860541.94186.qm@web114118.mail.gq1.yahoo.com> References: <860541.94186.qm@web114118.mail.gq1.yahoo.com> Message-ID: <31B0FE0A1A8166409E9DF35C6DEECB24059B93E9@WPSCV6MM.OPR.STATEFARM.ORG> I'm not sure what that is, but I tend to stick with the RPM's from rpmforge for Nagios stuff. I have to tweak them, but they are good. You should be able to get nagios (all server stuff), then things like nagios-plugins, nagios-nrpe, nsca, and the nsca client and that would get most of what you should need in just a few packages. Dan From: Jonathan Q. [mailto:jonathan_q at ymail.com] Sent: Monday, February 07, 2011 6:14 PM To: Nagios List Subject: [Nagios-users] nagios-common RPM Package My apologies for the newbie question... I'm doing an install of Nagios 3.2.3 on CentOS 5.5, and I've run across an RPM package called nagios-common. My google searches have turned up little info about this package, so I thought I'd ask here... Is this a required package for a typical Nagios install, or is it optional, or is it even still relevant to the current version? Which are the "required" base packages for Nagios? I've installed nagios, nagios-devel, nagios-nrpe, and nagios-plugins. Am I missing anything? Thank you for any information or guidance! Jonathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Feb 8 21:40:51 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 8 Feb 2011 20:40:51 +0000 Subject: Error with scheduling service check In-Reply-To: References: Message-ID: On 8 February 2011 14:44, kk wrote: > Hi, > > Summary: Error with scheduling service checks to run on particular day of every > month. > > I am facing problem with scheduling a service check to run on particular day of > every month. > The problem is that the check is not actually trigerred. I am not aware if this > is a known issue with the version of nagios I am using or > how should I go about to determine the root cause of this problem. > > Nagios Version 3.0.6 > OS: SunOS 1.5 > > For e.g. if I tried to schedule a check to run on 9th of every month at 11:00 > am, the entry for this setting in the timeperiod section > would be as below (reference: > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod): > > day 9 ? ? ? ? ? ? ? ? ? 11:00-11:00 > > The service check is scheduled correctly and I could verify that on the "Service > Detail" web page. However, the service check is never trigerred. > I tried to search the mail list archive but could not find any reference to this > issue. Can someone let me know if this is a know issue with Nagios 3.0.6 > or how can I debug it. I don't know what the code is actually doing, but it strikes me that 11:00-11:00 is an infinitesimally small amount of time! Nagios isn't designed to run checks at a precise time like this. Personally I would configure this one as a passive check in Nagios and get cron to run the check once a month, sending the result back to Nagios either via nsca or directly to the command interface. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oiyankok at yahoo.ca Tue Feb 8 22:06:46 2011 From: oiyankok at yahoo.ca (ann kok) Date: Tue, 8 Feb 2011 13:06:46 -0800 (PST) Subject: send_nsca Message-ID: <864667.35185.qm@web111313.mail.gq1.yahoo.com> Hi I install nsca and can't find this command send_nsca in fedora14 ls any problem? Thank you ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allanc at chickenandporn.com Tue Feb 8 22:23:59 2011 From: allanc at chickenandporn.com (Allan Clark) Date: Tue, 8 Feb 2011 13:23:59 -0800 Subject: send_nsca In-Reply-To: <864667.35185.qm@web111313.mail.gq1.yahoo.com> References: <864667.35185.qm@web111313.mail.gq1.yahoo.com> Message-ID: Hi Ann; On Tue, Feb 8, 2011 at 13:06, ann kok wrote: > Hi > > I install nsca and can't find this command send_nsca in fedora14 > > ls any problem? RPM-based distros are a flurry of RPMs around a snowstorm of activity, with different naking convention, so it's sometimes difficult to keep them straight. Let's ask for some detail: What's the URL of the RPM you installed? What's the "rpm -qi" and "rpm -ql | grep send" of that RPM? Based on http://fr2.rpmfind.net//linux/RPM/fedora/14/i386/nsca-2.7.2-8.fc12.i686.html ... you probably installed only the server-side. http://fr2.rpmfind.net//linux/RPM/fedora/14/i386/nsca-client-2.7.2-8.fc12.i686.html is probably similar to what you want, so try installing "nagios-nsca-client" or "nsca-client" on the systems that need to SEND content, and "nsca" or "nagios-nsca" on the systems that need to RECEIVE updates. Allan -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 8 22:36:30 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Feb 2011 22:36:30 +0100 Subject: Error with scheduling service check In-Reply-To: References: Message-ID: <4D51B75E.6080503@op5.se> On 02/08/2011 03:44 PM, kk wrote: > Hi, > > Summary: Error with scheduling service checks to run on particular day of every > month. > > I am facing problem with scheduling a service check to run on particular day of > every month. > The problem is that the check is not actually trigerred. I am not aware if this > is a known issue with the version of nagios I am using or > how should I go about to determine the root cause of this problem. > > Nagios Version 3.0.6 > OS: SunOS 1.5 > > For e.g. if I tried to schedule a check to run on 9th of every month at 11:00 > am, the entry for this setting in the timeperiod section > would be as below (reference: > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod): > > day 9 11:00-11:00 > This timeperiod includes zero seconds. Nagios can't run a check like that. If you want it to be run at 11:00 sharp, you schedule it with cron. If you can live with the check being a couple of minutes late, you create a timeperiod containing 11:00-11:05 or something similar. > The service check is scheduled correctly and I could verify that on the "Service > Detail" web page. However, the service check is never trigerred. Because when its scheduleentry comes around to the right time, the right time has already passed. > I tried to search the mail list archive but could not find any reference to this > issue. Can someone let me know if this is a know issue with Nagios 3.0.6 > or how can I debug it. > It's not an issue. It's supposed to work like that. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Wed Feb 9 00:13:01 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 09 Feb 2011 00:13:01 +0100 Subject: Nagios storing data into PostgreSQL? In-Reply-To: References: Message-ID: <4D51CDFD.1050301@univie.ac.at> On 07.02.2011 22:49, larry johnson wrote: > Hello, i am newbie to linux/Nagios and need help to clear some doubts. > I wander whether is possible to make Nagios writing notification (host > up/host down, for example) into PostgreSQL database? if you write your own NEB broker module, and put that onto libpq or similar, the core will be able to, sure. Or you'll have a look at Icinga IDOUtils which support Postgresql quite a while now. > I found NDOUtils, but this addon does not suit me because i don't use > MySQL. Well there aren't that much alternatives to that. Merlin supports MySQL and Oracle (in development on git). I'm not sure if the Centreon Broker is already released which *should* support more RDBMS. But for notifications only, why not using event handlers? then you could call scripts putting data into your rdbms the preferred way. http://nagios.sourceforge.net/docs/3_0/eventhandlers.html kind regards, Michael > Also found that this kind of storage is suported under Nagios 1.x, but > what about 3.x? > I run Nagios 3.2.3 (with 1.4.15 plugins) on openSUSE 11.3. > > Regards.// > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Wed Feb 9 00:23:02 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Tue, 08 Feb 2011 15:23:02 -0800 Subject: Nagios storing data into PostgreSQL? In-Reply-To: <4D51CDFD.1050301@univie.ac.at> References: <4D51CDFD.1050301@univie.ac.at> Message-ID: <4D51D056.3090604@5dninja.net> Another potential option is setting ups a 'postgres' contact, with a custom notification command. Pass the data you want to store, to the notification command, and let that dump the data to the database. This can potentially be as simple as a bash script that takes the input, builds a sql statement and echos it to the postgresql client binary. On 2/8/11 3:13 PM, Michael Friedrich wrote: > On 07.02.2011 22:49, larry johnson wrote: >> Hello, i am newbie to linux/Nagios and need help to clear some doubts. >> I wander whether is possible to make Nagios writing notification >> (host up/host down, for example) into PostgreSQL database? > > if you write your own NEB broker module, and put that onto libpq or > similar, the core will be able to, sure. Or you'll have a look at > Icinga IDOUtils which support Postgresql quite a while now. > >> I found NDOUtils, but this addon does not suit me because i don't use >> MySQL. > > Well there aren't that much alternatives to that. Merlin supports > MySQL and Oracle (in development on git). I'm not sure if the Centreon > Broker is already released which *should* support more RDBMS. > > But for notifications only, why not using event handlers? then you > could call scripts putting data into your rdbms the preferred way. > http://nagios.sourceforge.net/docs/3_0/eventhandlers.html > > kind regards, > Michael > >> Also found that this kind of storage is suported under Nagios 1.x, >> but what about 3.x? >> I run Nagios 3.2.3 (with 1.4.15 plugins) on openSUSE 11.3. >> >> Regards.// Mike Lindsey -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cosmin.neagu at omnilogic.ro Wed Feb 9 12:32:14 2011 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Wed, 09 Feb 2011 13:32:14 +0200 Subject: Auto generated reports Message-ID: <4D527B3E.2070801@omnilogic.ro> Hello, Does anyone know a plugin that can generate periodically reports and sent them via email? Thanks ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Wed Feb 9 13:16:32 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Wed, 9 Feb 2011 12:16:32 +0000 Subject: Understanding Unhandled Services / Hosts Message-ID: Hi - would someone be able to explain in detail the behaviour of this? I have a Nagios setup that in the Problems page is showing a host as DOWN - it's currently failing my default FPING test. It also has a number of simple check_tcp commands run against it, all of which are timing out because obviously with the host down I'm getting a "CRITICAL - Socket timeout after 10 seconds" for them all. BUT when looking in Unhandled Services they don't appear. The host itself DOES appear in the Unhandled Hosts screen. There are NO comments / acknowledgements in place at all for this host. Does anyone know why the service checks don't appear as an Unhandled Service? Thanks - J. ******************************************************* Julian Grunnell Unix Analyst TD Waterhouse International Leeds, West Yorkshire Tel: 0113 346 2824 Extn: 32824 Mobex: 52824 ******************************************************* _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Wed Feb 9 13:23:11 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Wed, 9 Feb 2011 12:23:11 +0000 Subject: using check_udp Message-ID: Hi - has anyone successfully got check_udp working? I'm trying to use check_UDP (nagios-plugins 1.4.5) 1.80 but it keeps asking for a send/expect string and I've no idea what this is meant to be? The target server is running syslog and the check so far has just been failing with this: /opt/tools/libexec/check_udp -H 192.168.75.131 -p 514 With UDP checks, a send/expect string must be specified. So I guess my question is simply what should the following be set to: --send=STRING --expect=STRING Thanks - Julian. ******************************************************* Julian Grunnell Unix Analyst TD Waterhouse International Leeds, West Yorkshire Tel: 0113 346 2824 Extn: 32824 Mobex: 52824 ******************************************************* _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Wed Feb 9 13:33:22 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 9 Feb 2011 07:33:22 -0500 Subject: You don't have permission to access /nagios/nagvis/ on this server Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789CE12F46C@susday218.corp.ncr.com> Hi All, I am new to Nagios and this forum. I am facing following error message when trying to access nagvis - You don't have permission to access /nagios/nagvis/ on this server I am able to access http://destination-server/nagios/ fine with the username/password I have configured, but not nagvis. This seems to be some kind of permission/configuration issue with NAGVIS. Please help. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBeck at urbn.com Wed Feb 9 13:41:32 2011 From: JBeck at urbn.com (Joe Beck) Date: Wed, 9 Feb 2011 07:41:32 -0500 Subject: using check_udp In-Reply-To: References: Message-ID: <7E8A12EF1C6F234984662F13D740F1E31074EF8471@exdb1> 8 bucks says it depends on the app or service running on port 514 So when you connect to that what msg like GET, SHOW, HEAD kind of deal will that app understand & what would its reply be? From: Julian_Grunnell at tdwh.co.uk [mailto:Julian_Grunnell at tdwh.co.uk] Sent: Wednesday, February 09, 2011 7:23 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] using check_udp Hi - has anyone successfully got check_udp working? I'm trying to use check_UDP (nagios-plugins 1.4.5) 1.80 but it keeps asking for a send/expect string and I've no idea what this is meant to be? The target server is running syslog and the check so far has just been failing with this: /opt/tools/libexec/check_udp -H 192.168.75.131 -p 514 With UDP checks, a send/expect string must be specified. So I guess my question is simply what should the following be set to: --send=STRING --expect=STRING Thanks - Julian. ******************************************************* Julian Grunnell Unix Analyst TD Waterhouse International Leeds, West Yorkshire Tel: 0113 346 2824 Extn: 32824 Mobex: 52824 ******************************************************* -------------------------------------------------------------------------------- Consider the environment. Please don't print this e-mail unless you really need to. Confidentiality: This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank). Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863. Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX. Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791). Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. -------------------------------------------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Wed Feb 9 13:52:48 2011 From: giles at coochey.net (Giles Coochey) Date: Wed, 09 Feb 2011 13:52:48 +0100 Subject: using check_udp In-Reply-To: References: Message-ID: <4D528E20.8060801@coochey.net> On 09/02/2011 13:23, Julian_Grunnell at tdwh.co.uk wrote: > > Hi - has anyone successfully got check_udp working? I'm trying to use > check_UDP (nagios-plugins 1.4.5) 1.80 but it keeps asking for a > send/expect string and I've no idea what this is meant to be? > > The target server is running syslog and the check so far has just been > failing with this: > > /opt/tools/libexec/check_udp -H 192.168.75.131 -p 514 > With UDP checks, a send/expect string must be specified. > > > So I guess my question is simply what should the following be set to: > > --send=STRING > --expect=STRING > > Hi, UDP is a connectionless protocol, because of this you can't just check to see whether the port is open like you can with TCP (which has a port open handshake --> SYN <-- SYN/ACK etc...) I'm guessing that the --send string is what you will send to the UDP port in question and the --expect string is what you will expect back. After a quick review of UDP/514 (syslog) and RFC3164, it appears to me that you cannot check this port using that particular check, because the syslog port will not report back to the sender in anyway (at least from what I can see). Therefore, I would recommend that you try a packet capture to verify this is the case and research another method of monitoring syslog, it could be a passive check to see how old the latest logs in your syslog are with a use of MARK entries in the syslog to ensure it's refreshed from time to time. -- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350 5401 6693 Email/MSN/Live Messenger: giles at coochey.net Skype: gilescoochey -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5137 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Feb 9 14:10:00 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 9 Feb 2011 13:10:00 +0000 Subject: Understanding Unhandled Services / Hosts In-Reply-To: References: Message-ID: On 9 February 2011 12:16, wrote: > > Hi - would someone be able to explain in detail the behaviour of this? I > have a Nagios setup that in the Problems page is showing a host as DOWN - > it's currently failing my default FPING test. It also has a number of simple > check_tcp commands run against it, all of which are timing out because > obviously with the host down I'm getting a "CRITICAL - Socket timeout after > 10 seconds" for them all. BUT when looking in Unhandled Services they don't > appear. The host itself DOES appear in the Unhandled Hosts screen. There are > NO comments / acknowledgements in place at all for this host. > > Does anyone know why the service checks don't appear as an Unhandled > Service? Maybe those services are in scheduled downtime? I notice that when I click on unhandled services, the "Display Filters" panel in the header says ... Host Status Types: Pending | Up Host Properties: Any Service Status Types: All Problems Service Properties: Not In Scheduled Downtime & Has Not Been Acknowledged & Active Checks Enabled Out of interest, what does yours say? ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Feb 9 14:17:50 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 9 Feb 2011 21:17:50 +0800 Subject: Understanding Unhandled Services / Hosts In-Reply-To: References: Message-ID: because the host is down, it assumes all its service are also unavailable. therefore the first priority task is to "handle" the problem of the host. so what i guess is just for simplifying display, only the host which is down appears in Unhandled section. On Wed, Feb 9, 2011 at 8:16 PM, wrote: > > Hi - would someone be able to explain in detail the behaviour of this? I > have a Nagios setup that in the Problems page is showing a host as DOWN - > it's currently failing my default FPING test. It also has a number of simple > check_tcp commands run against it, all of which are timing out because > obviously with the host down I'm getting a "CRITICAL - Socket timeout after > 10 seconds" for them all. BUT when looking in Unhandled Services they don't > appear. The host itself DOES appear in the Unhandled Hosts screen. There are > NO comments / acknowledgements in place at all for this host. > > Does anyone know why the service checks don't appear as an Unhandled > Service? > > Thanks - J. > > ******************************************************* > Julian Grunnell > Unix Analyst > TD Waterhouse International > Leeds, West Yorkshire > > Tel: 0113 346 2824 > Extn: 32824 > Mobex: 52824 > ******************************************************* > > -------------------------------------------------------------------------------- > > Consider the environment. Please don't print this e-mail unless you really > need to. > > Confidentiality:? This email and its attachments are intended for the above > named only and may be confidential.? If they have come to you in error you > must take no action based on them, nor must you copy or show them to anyone; > please reply to this email and highlight the error. > > Viruses:? Although we have taken steps to ensure that this email and > attachments are free from any virus, we advise that in keeping with good > computing practice the recipient should ensure that they are actually > virus-free. > > Brokerage services provided by TD Waterhouse Investor Services (Europe) > Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and > regulated by the Financial Services Authority (FSA registered number > 141282), member of the London Stock Exchange and the PLUS market. > Incorporated in England and Wales under registration number 2101863. > Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX. Banking > services provided by TD Waterhouse Bank N.V. authorised and regulated by De > Nederlandsche Bank and the Financial Services Authority for UK Business (FSA > registered number 216791).? Incorporated in the Netherlands and registered > as a branch in England and Wales under branch registration number BR006780. > > -------------------------------------------------------------------------------- > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc.maignan at winxpert.com Wed Feb 9 14:41:32 2011 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Wed, 09 Feb 2011 14:41:32 +0100 Subject: Manage notifications Message-ID: <4D52998C.4050208@winxpert.com> Hi, On my configuration, all notifications (warning + error) are sent. Is there a way to notify errors but not warnings ? BR ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Wed Feb 9 14:51:45 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Wed, 9 Feb 2011 13:51:45 +0000 Subject: Understanding Unhandled Services / Hosts In-Reply-To: References: Message-ID: ******************************************************* Julian Grunnell Unix Analyst TD Waterhouse International Leeds, West Yorkshire Tel: 0113 346 2824 Extn: 32824 Mobex: 52824 ******************************************************* Yueh-Hung Liu 09/02/2011 13:26 Please respond to Nagios Users List To Nagios Users List cc Subject Re: [Nagios-users] Understanding Unhandled Services / Hosts because the host is down, it assumes all its service are also unavailable. therefore the first priority task is to "handle" the problem of the host. so what i guess is just for simplifying display, only the host which is down appears in Unhandled section. On Wed, Feb 9, 2011 at 8:16 PM, wrote: > > Hi - would someone be able to explain in detail the behaviour of this? I > have a Nagios setup that in the Problems page is showing a host as DOWN - > it's currently failing my default FPING test. It also has a number of simple > check_tcp commands run against it, all of which are timing out because > obviously with the host down I'm getting a "CRITICAL - Socket timeout after > 10 seconds" for them all. BUT when looking in Unhandled Services they don't > appear. The host itself DOES appear in the Unhandled Hosts screen. There are > NO comments / acknowledgements in place at all for this host. > > Does anyone know why the service checks don't appear as an Unhandled > Service? > > Thanks - J. > Thanks, your explanation does make sense as at the time I'd not acknowledged it, no scheduled downtime or anything. I'll just have to keep an eye on it for when this happens again or I'll simulate an error when I get time. I can just about remember that with the HOST critical it appeared in the "unhandled Hosts" section. And looking at the "Service Status Details" page the "Attempt" column remained on "1/3" whilst the host was DOWN. So it certainly was as if the HOST is DOWN so there is no point in it trying to perform any Service checks as these are always going to fail. Julian. _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Wed Feb 9 14:53:57 2011 From: a31modela at hotmail.com (steve f) Date: Wed, 9 Feb 2011 08:53:57 -0500 Subject: Manage notifications In-Reply-To: <4D52998C.4050208@winxpert.com> References: <4D52998C.4050208@winxpert.com> Message-ID: BR, Try setting your service notification setting as follows to allow notification of only critical when you define your service : notification_option c Steve > Date: Wed, 9 Feb 2011 14:41:32 +0100 > From: luc.maignan at winxpert.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Manage notifications > > Hi, > > On my configuration, all notifications (warning + error) are sent. Is > there a way to notify errors but not warnings ? > > BR > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aengelmann at libertymgt.com Wed Feb 9 14:54:53 2011 From: aengelmann at libertymgt.com (Engelmann, Austin) Date: Wed, 9 Feb 2011 08:54:53 -0500 Subject: Manage notifications In-Reply-To: <4D52998C.4050208@winxpert.com> References: <4D52998C.4050208@winxpert.com> Message-ID: <6F13E8BB6FDAC14FA6B0BD869991833825FF13@exch-coni-is.LIBERTYMGT.COM> In my templates.cfg under Service Templates I changed "notification_options w,c,r", take the "w" out and that leaves Critical and Recovery -----Original Message----- From: Luc MAIGNAN [mailto:luc.maignan at winxpert.com] Sent: Wednesday, February 09, 2011 8:42 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Manage notifications Hi, On my configuration, all notifications (warning + error) are sent. Is there a way to notify errors but not warnings ? BR ------------------------------------------------------------------------ ------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc.maignan at winxpert.com Wed Feb 9 15:08:46 2011 From: luc.maignan at winxpert.com (Luc MAIGNAN) Date: Wed, 09 Feb 2011 15:08:46 +0100 Subject: Manage notifications In-Reply-To: <6F13E8BB6FDAC14FA6B0BD869991833825FF13@exch-coni-is.LIBERTYMGT.COM> References: <4D52998C.4050208@winxpert.com> <6F13E8BB6FDAC14FA6B0BD869991833825FF13@exch-coni-is.LIBERTYMGT.COM> Message-ID: <4D529FEE.5000203@winxpert.com> OK, fine. Is it possible to do this only for a contact_group ? (one contact_group that will receive all alerts, and one that will receive only criticals ) Many thanks Le 09/02/11 14:54, Engelmann, Austin a ?crit : > In my templates.cfg under Service Templates I changed > "notification_options w,c,r", take the "w" out and that leaves Critical > and Recovery > > -----Original Message----- > From: Luc MAIGNAN [mailto:luc.maignan at winxpert.com] > Sent: Wednesday, February 09, 2011 8:42 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Manage notifications > > Hi, > > On my configuration, all notifications (warning + error) are sent. Is > there a way to notify errors but not warnings ? > > BR > > ------------------------------------------------------------------------ > ------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aengelmann at libertymgt.com Wed Feb 9 15:22:34 2011 From: aengelmann at libertymgt.com (Engelmann, Austin) Date: Wed, 9 Feb 2011 09:22:34 -0500 Subject: Manage notifications In-Reply-To: <4D529FEE.5000203@winxpert.com> References: <4D52998C.4050208@winxpert.com><6F13E8BB6FDAC14FA6B0BD869991833825FF13@exch-coni-is.LIBERTYMGT.COM> <4D529FEE.5000203@winxpert.com> Message-ID: <6F13E8BB6FDAC14FA6B0BD869991833825FF14@exch-coni-is.LIBERTYMGT.COM> I have yet to customize that. But here is what I got from Yueh-Hung Liu on that subject: http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details -----Original Message----- From: Luc MAIGNAN [mailto:luc.maignan at winxpert.com] Sent: Wednesday, February 09, 2011 9:09 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Manage notifications OK, fine. Is it possible to do this only for a contact_group ? (one contact_group that will receive all alerts, and one that will receive only criticals ) Many thanks Le 09/02/11 14:54, Engelmann, Austin a ?crit : > In my templates.cfg under Service Templates I changed > "notification_options w,c,r", take the "w" out and that leaves Critical > and Recovery > > -----Original Message----- > From: Luc MAIGNAN [mailto:luc.maignan at winxpert.com] > Sent: Wednesday, February 09, 2011 8:42 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Manage notifications > > Hi, > > On my configuration, all notifications (warning + error) are sent. Is > there a way to notify errors but not warnings ? > > BR > > ------------------------------------------------------------------------ > ------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Wed Feb 9 15:49:34 2011 From: a31modela at hotmail.com (steve f) Date: Wed, 9 Feb 2011 09:49:34 -0500 Subject: Manage notifications In-Reply-To: <6F13E8BB6FDAC14FA6B0BD869991833825FF14@exch-coni-is.LIBERTYMGT.COM> References: <4D52998C.4050208@winxpert.com><6F13E8BB6FDAC14FA6B0BD869991833825FF13@exch-coni-is.LIBERTYMGT.COM>, <4D529FEE.5000203@winxpert.com>, <6F13E8BB6FDAC14FA6B0BD869991833825FF14@exch-coni-is.LIBERTYMGT.COM> Message-ID: You could do it for individual contacts & then put those contacts into a contact group define contact{ service_notification_options[w,u,c,r,f,s,n] service_notification_options: This directive is used to define the service states for which notifications can be sent out to this contact. Valid options are a combination of one or more of the following: w = notify on WARNING service states, u = notify on UNKNOWN service states, c = notify on CRITICAL service states, r = notify on service recoveries (OK states), and f = notify when the service starts and stops flapping. If you specify n (none) as an option, the contact will not receive any type of service notifications. Steve > Date: Wed, 9 Feb 2011 09:22:34 -0500 > From: aengelmann at libertymgt.com > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Manage notifications > > I have yet to customize that. But here is what I got from Yueh-Hung Liu on that subject: > > http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details > > -----Original Message----- > From: Luc MAIGNAN [mailto:luc.maignan at winxpert.com] > Sent: Wednesday, February 09, 2011 9:09 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Manage notifications > > OK, fine. > > Is it possible to do this only for a contact_group ? (one contact_group > that will receive all alerts, and one that will receive only criticals ) > > Many thanks > > Le 09/02/11 14:54, Engelmann, Austin a ?crit : > > In my templates.cfg under Service Templates I changed > > "notification_options w,c,r", take the "w" out and that leaves Critical > > and Recovery > > > > -----Original Message----- > > From: Luc MAIGNAN [mailto:luc.maignan at winxpert.com] > > Sent: Wednesday, February 09, 2011 8:42 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Manage notifications > > > > Hi, > > > > On my configuration, all notifications (warning + error) are sent. Is > > there a way to notify errors but not warnings ? > > > > BR > > > > ------------------------------------------------------------------------ > > ------ > > 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 at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > > Pinpoint memory and threading errors before they happen. > > Find and fix more than 250 security defects in the development cycle. > > Locate bottlenecks in serial and parallel code that limit performance. > > http://p.sf.net/sfu/intel-dev2devfeb > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Thu Feb 10 11:30:09 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Thu, 10 Feb 2011 10:30:09 +0000 Subject: Manipulate the Problems page Message-ID: Hi - does anyone know if its possible to manipulate the URL that shows the Unhandled Services AND Hosts? I want to see on a single screen ALL unhandled Service problems AND ALL unhandled Host problems. By default you can only view one or the other and as I've already posted if you have a HOST that is DOWN it does not appear in the Unhandled Service Problems page. The two URL's I'd like to combine are: Services: http://webserver/nagios/cgi-bin/status.cgi?host=all&type=detail&hoststatustypes=3&serviceprops=42&servicestatustypes=28 Hosts: http://webserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=42 Thanks - Julian. ******************************************************* Julian Grunnell Unix Analyst TD Waterhouse International Leeds, West Yorkshire Tel: 0113 346 2824 Extn: 32824 Mobex: 52824 ******************************************************* _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Thu Feb 10 11:57:00 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Thu, 10 Feb 2011 10:57:00 +0000 Subject: check_snmp not Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE84CF5@althamex1.micro-p.com> Hi all, I've installed Nagios 3.2.3 on fedora 14 but I'm struggling with getting the check_snmp plugin working. It isn't in the libexec folder and there is NO mention of it when I compile the plugins with ./configure, make and make install. Below is output from ./configure (with no options). I've got both net-snmp and net-snmp-devel installed at the latest version already. Can anyone tell me what I've done wrong, or not done at all please?? I am quite new to Linux so please be gentle :) Thanking you very much. Tristan ----- Output from ./configure ---- checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc needs -traditional... no checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether gcc and cc understand -c and -o together... yes checking for error_at_line... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for working strtod... yes checking for python... /usr/bin/python checking for sh... /bin/sh checking for perl... /usr/bin/perl checking for libgnutls-config... no checking for hostname... /bin/hostname checking for basename... /bin/basename checking for main in -ldce... no checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lresolv... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for floor in -lm... yes checking for plan_tests in -ltap... no checking for main in -lcrypt... yes checking for PQsetdbLogin in -lpq... no checking for rc_read_config in -lradiusclient... no checking for rc_read_config in -lradiusclient-ng... no checking for main in -lldap... yes checking for ldap_set_option... yes checking for ldap_init... yes checking for ldap_set_option... (cached) yes checking for ldap_get_option... yes checking for ldap_start_tls_s... yes checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for mysql_config... no checking for IPv6 support... yes checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking for dlopen in -ldl... yes checking for shl_load in -ldl... no checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/x509.h usability... yes checking openssl/x509.h presence... yes checking for openssl/x509.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking for CRYPTO_lock in -lcrypto... yes checking for main in -lssl... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/unistd.h usability... yes checking sys/unistd.h presence... yes checking for sys/unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for va_copy... yes checking for memmove... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for floor... no checking for poll... yes checking return type of socket size... int checking for ps... /bin/ps checking for ps syntax... /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args' checking for ping... /bin/ping checking for ping6... /bin/ping6 checking for ICMP ping syntax... /bin/ping -n -U -w %d -c %d %s checking for ICMPv6 ping syntax... /bin/ping6 -n -U -w %d -c %d %s checking for nslookup... /usr/bin/nslookup checking for nslookup syntax... /usr/bin/nslookup -sil checking for number of cpus... sysconf(_SC_NPROCESSORS_CONF) checking for uptime... /usr/bin/uptime checking for rpcinfo... no checking for lmstat... no checking for smbclient... no checking for who... /usr/bin/who checking for snmpget... /usr/bin/snmpget checking for snmpgetnext... /usr/bin/snmpgetnext checking for Net::SNMP perl module... found checking for quakestat... no checking for qstat... no checking for fping... no checking for ssh... /usr/bin/ssh checking for mailq... /usr/bin/mailq checking for qmail-qstat... no checking for swap... no checking for swapinfo... no checking for lsps... no checking for sys/stat.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/swap.h... yes checking whether swapctl is declared... no checking for swaptbl_t... no checking for swapent_t... no checking for struct swapent.se_nblks... no checking for /proc/meminfo... found /proc/meminfo checking for dig... /usr/bin/dig checking for apt-get... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for main in -lpthread... yes checking for working alloca.h... yes checking for alloca... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for errno.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for sys/param.h... (cached) yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/fs_types.h usability... no checking sys/fs_types.h presence... no checking for sys/fs_types.h... no checking for sys/socket.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for math.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for unistd.h... (cached) yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for stdint.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/stat.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for sys/time.h... (cached) yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking whether the preprocessor supports include_next... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking whether uses 'inline' correctly... yes checking for btowc... yes checking for dup2... yes checking for fcntl... yes checking for getdtablesize... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mprotect... yes checking for memchr... yes checking for alarm... yes checking for nl_langinfo... yes checking for lstat... yes checking for isblank... yes checking for iswctype... yes checking for wcscoll... yes checking for setenv... yes checking for strdup... (cached) yes checking for strndup... yes checking for localtime_r... yes checking for timegm... yes checking for pipe... yes checking for vasnprintf... no checking for wcrtomb... yes checking for iswcntrl... yes checking for iswblank... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... fr_FR checking whether byte ordering is bigendian... no checking whether system is Windows or MSDOS... no checking whether // is distinct from /... no checking if environ is properly declared... yes checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for working fcntl.h... yes checking for mode_t... yes checking for promoted mode_t type... mode_t checking whether is self-contained... yes checking for shutdown... yes checking whether defines the SHUT_* macros... yes checking for struct sockaddr_storage... yes checking for sa_family_t... yes checking whether socket is declared without a macro... no checking whether connect is declared without a macro... no checking whether accept is declared without a macro... no checking whether bind is declared without a macro... no checking whether getpeername is declared without a macro... no checking whether getsockname is declared without a macro... no checking whether getsockopt is declared without a macro... no checking whether listen is declared without a macro... no checking whether recv is declared without a macro... no checking whether send is declared without a macro... no checking whether recvfrom is declared without a macro... no checking whether sendto is declared without a macro... no checking whether setsockopt is declared without a macro... no checking whether shutdown is declared without a macro... no checking whether accept4 is declared without a macro... no checking whether getaddrinfo is declared without a macro... yes checking whether freeaddrinfo is declared without a macro... yes checking whether gai_strerror is declared without a macro... yes checking whether getnameinfo is declared without a macro... yes checking for library containing gethostbyname... none required checking for gethostbyname... yes checking for library containing getservbyname... none required checking for getservbyname... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking for library containing inet_ntop... none required checking whether inet_ntop is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether optreset is declared... no checking whether getopt_clip is declared... no checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... yes checking whether getenv is declared... yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for wchar_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether malloc, realloc, calloc are POSIX compliant... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for long long int... yes checking for mbstate_t... yes checking for a traditional japanese locale... ja_JP checking for a transitional chinese locale... zh_CN.GB18030 checking for a french Unicode locale... fr_FR.UTF-8 checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking for ssize_t... yes checking whether setenv validates arguments... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking for tsearch... yes checking whether snprintf is declared... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for unsigned long long int... yes checking whether C symbols are prefixed with underscore at the linker level... no checking whether strdup is declared... yes checking for working strerror function... yes checking whether memmem is declared without a macro... yes checking whether mempcpy is declared without a macro... yes checking whether memrchr is declared without a macro... yes checking whether rawmemchr is declared without a macro... yes checking whether stpcpy is declared without a macro... yes checking whether stpncpy is declared without a macro... yes checking whether strchrnul is declared without a macro... yes checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... yes checking whether strnlen is declared without a macro... yes checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... yes checking whether strcasestr is declared without a macro... yes checking whether strtok_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... yes checking whether strndup is declared... (cached) yes checking whether strnlen is declared... (cached) yes checking whether stat file-mode macros are broken... no checking for struct timespec in ... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether snprintf returns a byte count as in C99... yes checking for snprintf... yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking whether vsnprintf is declared... yes checking for alloca as a compiler built-in... yes checking whether inet_ntop is declared without a macro... yes checking whether inet_pton is declared without a macro... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether btowc(0) is correct... yes checking whether btowc(EOF) is correct... yes checking whether // is distinct from /... (cached) no checking whether dup2 works... yes checking for error_at_line... (cached) yes checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check checking whether fcntl is declared without a macro... yes checking whether openat is declared without a macro... yes checking whether floorf is declared... yes checking for sys/mount.h... yes configure: checking how to get file system space usage checking for statvfs function (SVR4)... no checking for 3-argument statfs function (DEC OSF/1)... no checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... yes checking dustat.h usability... no checking dustat.h presence... no checking for dustat.h... no checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/filsys.h usability... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for statfs that truncates block counts... no configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo checking for library containing getaddrinfo... none required checking for getaddrinfo... yes checking for gai_strerror (possibly via ws2tcpip.h)... yes checking for struct sockaddr.sa_len... no checking whether getaddrinfo is declared... (cached) yes checking whether freeaddrinfo is declared... (cached) yes checking whether gai_strerror is declared... (cached) yes checking whether getnameinfo is declared... (cached) yes checking for struct addrinfo... yes checking for gethostname... yes checking for HOST_NAME_MAX... yes checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for perfstat_cpu_total in -lperfstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking whether getloadavg is declared... yes checking for library containing gethostbyname... (cached) none required checking for gethostbyname... (cached) yes checking for library containing inet_ntop... (cached) none required checking whether inet_ntop is declared... (cached) yes checking whether the compiler generally respects inline... yes checking whether langinfo.h defines CODESET... yes checking whether langinfo.h defines ERA... yes checking whether nl_langinfo is declared without a macro... yes checking whether locale.h conforms to POSIX:2001... yes checking whether locale.h defines locale_t... yes checking whether duplocale is declared without a macro... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking whether NAN macro works... yes checking whether HUGE_VAL works... yes checking whether acosl is declared without a macro... yes checking whether asinl is declared without a macro... yes checking whether atanl is declared without a macro... yes checking whether ceilf is declared without a macro... yes checking whether ceill is declared without a macro... yes checking whether cosl is declared without a macro... yes checking whether expl is declared without a macro... yes checking whether floorf is declared without a macro... yes checking whether floorl is declared without a macro... yes checking whether frexpl is declared without a macro... yes checking whether ldexpl is declared without a macro... yes checking whether logb is declared without a macro... yes checking whether logl is declared without a macro... yes checking whether round is declared without a macro... yes checking whether roundf is declared without a macro... yes checking whether roundl is declared without a macro... yes checking whether sinl is declared without a macro... yes checking whether sqrtl is declared without a macro... yes checking whether tanl is declared without a macro... yes checking whether trunc is declared without a macro... yes checking whether truncf is declared without a macro... yes checking whether truncl is declared without a macro... yes checking whether mbrtowc handles incomplete characters... yes checking whether mbrtowc works as well as mbtowc... yes checking whether mbrtowc handles a NULL string argument... yes checking whether mbrtowc has a correct return value... yes checking whether mbrtowc returns 0 when parsing a NUL character... yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking for working mktime... yes checking for listmntent... no checking for getmntinfo... no checking for sys/ucred.h... no checking for sys/mount.h... (cached) yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for sys/fs_types.h... (cached) no checking for struct fsstat.f_fstypename... no checking for library containing getmntent... none required checking for getmntent... yes checking for listmntent of Cray/Unicos-9... no checking for mntctl function and struct vmount... no checking for one-argument getmntent function... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking for struct statfs.f_fstypename... no checking whether getaddrinfo is declared without a macro... (cached) yes checking whether freeaddrinfo is declared without a macro... (cached) yes checking whether gai_strerror is declared without a macro... (cached) yes checking whether getnameinfo is declared without a macro... (cached) yes checking whether is self-contained... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether open recognizes a trailing slash... yes checking for working re_compile_pattern... yes checking for library containing getservbyname... (cached) none required checking for getservbyname... (cached) yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... (cached) yes checking whether snprintf respects a size of 1... yes checking for library containing setsockopt... none needed checking for socklen_t... yes checking for ssize_t... (cached) yes checking whether stat handles trailing slashes on directories... yes checking whether stat handles trailing slashes on files... yes checking whether NULL can be used in arbitrary expressions... (cached) yes checking whether stdint.h conforms to C99... yes checking whether dprintf is declared without a macro... yes checking whether fpurge is declared without a macro... no checking whether fseeko is declared without a macro... yes checking whether ftello is declared without a macro... yes checking whether getdelim is declared without a macro... yes checking whether getline is declared without a macro... yes checking whether popen is declared without a macro... yes checking whether renameat is declared without a macro... yes checking whether snprintf is declared without a macro... yes checking whether tmpfile is declared without a macro... yes checking whether vdprintf is declared without a macro... yes checking whether vsnprintf is declared without a macro... yes checking for random.h... no checking for struct random_data... yes checking whether atoll is declared without a macro... yes checking whether canonicalize_file_name is declared without a macro... yes checking whether getloadavg is declared without a macro... yes checking whether getsubopt is declared without a macro... yes checking whether grantpt is declared without a macro... yes checking whether mkdtemp is declared without a macro... yes checking whether mkostemp is declared without a macro... yes checking whether mkostemps is declared without a macro... yes checking whether mkstemp is declared without a macro... yes checking whether mkstemps is declared without a macro... yes checking whether ptsname is declared without a macro... yes checking whether random_r is declared without a macro... yes checking whether initstat_r is declared without a macro... no checking whether srandom_r is declared without a macro... yes checking whether setstate_r is declared without a macro... yes checking whether realpath is declared without a macro... yes checking whether rpmatch is declared without a macro... yes checking whether setenv is declared without a macro... yes checking whether strtod is declared without a macro... yes checking whether strtoll is declared without a macro... yes checking whether strtoull is declared without a macro... yes checking whether unlockpt is declared without a macro... yes checking whether unsetenv is declared without a macro... yes checking for working strndup... yes checking for working strnlen... yes checking for strsep... yes checking whether is self-contained... (cached) yes checking for shutdown... (cached) yes checking whether defines the SHUT_* macros... (cached) yes checking for struct sockaddr_storage... (cached) yes checking for sa_family_t... (cached) yes checking whether socket is declared without a macro... (cached) no checking whether connect is declared without a macro... (cached) no checking whether accept is declared without a macro... (cached) no checking whether bind is declared without a macro... (cached) no checking whether getpeername is declared without a macro... (cached) no checking whether getsockname is declared without a macro... (cached) no checking whether getsockopt is declared without a macro... (cached) no checking whether listen is declared without a macro... (cached) no checking whether recv is declared without a macro... (cached) no checking whether send is declared without a macro... (cached) no checking whether recvfrom is declared without a macro... (cached) no checking whether sendto is declared without a macro... (cached) no checking whether setsockopt is declared without a macro... (cached) no checking whether shutdown is declared without a macro... (cached) no checking whether accept4 is declared without a macro... (cached) no checking for a thread-safe mkdir -p... /bin/mkdir -p checking for nlink_t... yes checking whether fchmodat is declared without a macro... yes checking whether fstatat is declared without a macro... yes checking whether futimens is declared without a macro... yes checking whether lchmod is declared without a macro... yes checking whether lstat is declared without a macro... yes checking whether mkdirat is declared without a macro... yes checking whether mkfifo is declared without a macro... yes checking whether mkfifoat is declared without a macro... yes checking whether mknod is declared without a macro... yes checking whether mknodat is declared without a macro... yes checking whether stat is declared without a macro... yes checking whether utimensat is declared without a macro... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether localtime_r is compatible with its POSIX signature... yes checking whether chown is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... yes checking whether environ is declared without a macro... yes checking whether euidaccess is declared without a macro... yes checking whether faccessat is declared without a macro... yes checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd is declared without a macro... yes checking whether getdomainname is declared without a macro... yes checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checking whether endusershell is declared without a macro... yes checking whether lchown is declared without a macro... yes checking whether link is declared without a macro... yes checking whether linkat is declared without a macro... yes checking whether lseek is declared without a macro... yes checking whether pipe2 is declared without a macro... yes checking whether pread is declared without a macro... yes checking whether pwrite is declared without a macro... yes checking whether readlink is declared without a macro... yes checking whether readlinkat is declared without a macro... yes checking whether rmdir is declared without a macro... yes checking whether sleep is declared without a macro... yes checking whether symlink is declared without a macro... yes checking whether symlinkat is declared without a macro... yes checking whether ttyname_r is declared without a macro... yes checking whether unlink is declared without a macro... yes checking whether unlinkat is declared without a macro... yes checking whether usleep is declared without a macro... yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv works on duplicates... yes checking for ptrdiff_t... yes checking for vasprintf... yes checking for vsnprintf... yes checking whether snprintf respects a size of 1... (cached) yes checking whether btowc is declared without a macro... yes checking whether wctob is declared without a macro... yes checking whether mbsinit is declared without a macro... yes checking whether mbrtowc is declared without a macro... yes checking whether mbrlen is declared without a macro... yes checking whether mbsrtowcs is declared without a macro... yes checking whether mbsnrtowcs is declared without a macro... yes checking whether wcrtomb is declared without a macro... yes checking whether wcsrtombs is declared without a macro... yes checking whether wcsnrtombs is declared without a macro... yes checking whether wcwidth is declared without a macro... yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking whether wcrtomb return value is correct... yes checking whether iswcntrl works... yes checking for stdint.h... (cached) yes configure: creating ./config.status config.status: creating gl/Makefile config.status: creating Makefile config.status: creating tap/Makefile config.status: creating lib/Makefile config.status: creating plugins/Makefile config.status: creating lib/tests/Makefile config.status: creating plugins-root/Makefile config.status: creating plugins-scripts/Makefile config.status: creating plugins-scripts/subst config.status: creating plugins-scripts/utils.pm config.status: creating plugins-scripts/utils.sh config.status: creating perlmods/Makefile config.status: creating command.cfg config.status: creating test.pl config.status: creating pkg/solaris/pkginfo config.status: creating po/Makefile.in config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile --with-apt-get-command: --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ipv6: yes --with-mysql: no --with-openssl: yes --with-gnutls: no --enable-extra-opts: no --with-perl: /usr/bin/perl --enable-perl-modules: no --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin --enable-libtap: no ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Saja at 247emaildata.com Thu Feb 10 11:58:46 2011 From: Saja at 247emaildata.com (Saj Ali) Date: Thu, 10 Feb 2011 10:58:46 +0000 Subject: check_procs Message-ID: Hi I have installed nagios software to monitor my network, I want to know that if there is a plugin to monitor a specific process, for example I want to monitor the pmta or tcp or apache, please guide me as I have no idea how to do that, Thanks & Regards Sajjad Ali Network Administrator 247EmailData.com Tel: 0800 043 2460 Fax: 01246 351258 Email: saja at 247emaildata.com [cid:image001.jpg at 01CBC911.7BDC8E30] [cid:image002.jpg at 01CBC911.7BDC8E30] VAT No. 918 3521 24 Registered in England No. 6411606 Registered office address: Tapton Park Innovation Centre, Brimington Road, Chesterfield, S41 0TZ ____________________________________________________________________ Email Disclaimer This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of 247EmailData.com. 247EmailData.com does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the 247EmailData.com finance office. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 13966 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2768 bytes Desc: image002.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Thu Feb 10 14:00:26 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Thu, 10 Feb 2011 13:00:26 +0000 Subject: check_snmp not In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE84CF5@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE84CF5@althamex1.micro-p.com> Message-ID: >I've installed Nagios 3.2.3 on fedora 14 but I'm struggling with getting the >check_snmp plugin working. It isn't in the libexec folder and there is NO >mention of it when I compile the plugins with ./configure, make and make install. Compiling in a package based OS? Try this: `yum whatprovides \*/check_snmp` But now you don't have the prerequisite rpms for Nagios as you compiled. You need to compile the plugins source. In the future, on a package based distro, use the package manager... ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Thu Feb 10 13:59:23 2011 From: tntteam at free.fr (Tntteam) Date: Thu, 10 Feb 2011 13:59:23 +0100 Subject: check_snmp not In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE84CF5@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE84CF5@althamex1.micro-p.com> Message-ID: http://lmgtfy.com/?q=nagios+no+check_snmp 2011/2/10 Tristan Drinkwater > Hi all, > > > > I?ve installed Nagios 3.2.3 on fedora 14 but I?m struggling with getting > the check_snmp plugin working. It isn?t in the libexec folder and there is > NO mention of it when I compile the plugins with ./configure, make and make > install. > > > > Below is output from ./configure (with no options). > > > > I?ve got both net-snmp and net-snmp-devel installed at the latest version > already. > > > > Can anyone tell me what I?ve done wrong, or not done at all please?? > > > > I am quite new to Linux so please be gentle J > > > > Thanking you very much. > > > > Tristan > > > > > > > > ----- Output from ./configure ---- > > > > checking for a BSD-compatible install... /usr/bin/install -c > > checking whether build environment is sane... yes > > checking for a thread-safe mkdir -p... /bin/mkdir -p > > checking for gawk... gawk > > checking whether make sets $(MAKE)... yes > > checking build system type... i686-pc-linux-gnu > > checking host system type... i686-pc-linux-gnu > > checking for gcc... gcc > > checking for C compiler default output file name... a.out > > checking whether the C compiler works... yes > > checking whether we are cross compiling... no > > checking for suffix of executables... > > checking for suffix of object files... o > > checking whether we are using the GNU C compiler... yes > > checking whether gcc accepts -g... yes > > checking for gcc option to accept ISO C89... none needed > > checking for style of include used by make... GNU > > checking dependency style of gcc... gcc3 > > checking for ranlib... ranlib > > checking how to run the C preprocessor... gcc -E > > checking for grep that handles long lines and -e... /bin/grep > > checking for egrep... /bin/grep -E > > checking for ANSI C header files... yes > > checking for sys/types.h... yes > > checking for sys/stat.h... yes > > checking for stdlib.h... yes > > checking for string.h... yes > > checking for memory.h... yes > > checking for strings.h... yes > > checking for inttypes.h... yes > > checking for stdint.h... yes > > checking for unistd.h... yes > > checking minix/config.h usability... no > > checking minix/config.h presence... no > > checking for minix/config.h... no > > checking whether it is safe to define __EXTENSIONS__... yes > > checking whether gcc needs -traditional... no > > checking for a sed that does not truncate output... /bin/sed > > checking for fgrep... /bin/grep -F > > checking for ld used by gcc... /usr/bin/ld > > checking if the linker (/usr/bin/ld) is GNU ld... yes > > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > > checking the name lister (/usr/bin/nm -B) interface... BSD nm > > checking whether ln -s works... yes > > checking the maximum length of command line arguments... 1572864 > > checking whether the shell understands some XSI constructs... yes > > checking whether the shell understands "+="... yes > > checking for /usr/bin/ld option to reload object files... -r > > checking for objdump... objdump > > checking how to recognize dependent libraries... pass_all > > checking for ar... ar > > checking for strip... strip > > checking for ranlib... (cached) ranlib > > checking command to parse /usr/bin/nm -B output from gcc object... ok > > checking for dlfcn.h... yes > > checking for objdir... .libs > > checking if gcc supports -fno-rtti -fno-exceptions... no > > checking for gcc option to produce PIC... -fPIC -DPIC > > checking if gcc PIC flag -fPIC -DPIC works... yes > > checking if gcc static flag -static works... no > > checking if gcc supports -c -o file.o... yes > > checking if gcc supports -c -o file.o... (cached) yes > > checking whether the gcc linker (/usr/bin/ld) supports shared libraries... > yes > > checking whether -lc should be explicitly linked in... no > > checking dynamic linker characteristics... GNU/Linux ld.so > > checking how to hardcode library paths into programs... immediate > > checking whether stripping libraries is possible... yes > > checking if libtool supports shared libraries... yes > > checking whether to build shared libraries... yes > > checking whether to build static libraries... yes > > checking whether gcc and cc understand -c and -o together... yes > > checking for error_at_line... yes > > checking for special C compiler options needed for large files... no > > checking for _FILE_OFFSET_BITS value needed for large files... 64 > > checking for working strtod... yes > > checking for python... /usr/bin/python > > checking for sh... /bin/sh > > checking for perl... /usr/bin/perl > > checking for libgnutls-config... no > > checking for hostname... /bin/hostname > > checking for basename... /bin/basename > > checking for main in -ldce... no > > checking for main in -lnsl... yes > > checking for socket in -lsocket... no > > checking for main in -lresolv... yes > > checking math.h usability... yes > > checking math.h presence... yes > > checking for math.h... yes > > checking for floor in -lm... yes > > checking for plan_tests in -ltap... no > > checking for main in -lcrypt... yes > > checking for PQsetdbLogin in -lpq... no > > checking for rc_read_config in -lradiusclient... no > > checking for rc_read_config in -lradiusclient-ng... no > > checking for main in -lldap... yes > > checking for ldap_set_option... yes > > checking for ldap_init... yes > > checking for ldap_set_option... (cached) yes > > checking for ldap_get_option... yes > > checking for ldap_start_tls_s... yes > > checking linux/hdreg.h usability... yes > > checking linux/hdreg.h presence... yes > > checking for linux/hdreg.h... yes > > checking linux/types.h usability... yes > > checking linux/types.h presence... yes > > checking for linux/types.h... yes > > checking for mysql_config... no > > checking for IPv6 support... yes > > checking krb5.h usability... yes > > checking krb5.h presence... yes > > checking for krb5.h... yes > > checking for dlopen in -ldl... yes > > checking for shl_load in -ldl... no > > checking openssl/ssl.h usability... yes > > checking openssl/ssl.h presence... yes > > checking for openssl/ssl.h... yes > > checking openssl/x509.h usability... yes > > checking openssl/x509.h presence... yes > > checking for openssl/x509.h... yes > > checking openssl/rsa.h usability... yes > > checking openssl/rsa.h presence... yes > > checking for openssl/rsa.h... yes > > checking openssl/pem.h usability... yes > > checking openssl/pem.h presence... yes > > checking for openssl/pem.h... yes > > checking openssl/crypto.h usability... yes > > checking openssl/crypto.h presence... yes > > checking for openssl/crypto.h... yes > > checking openssl/err.h usability... yes > > checking openssl/err.h presence... yes > > checking for openssl/err.h... yes > > checking for CRYPTO_lock in -lcrypto... yes > > checking for main in -lssl... yes > > checking whether time.h and sys/time.h may both be included... yes > > checking for sys/wait.h that is POSIX.1 compatible... yes > > checking signal.h usability... yes > > checking signal.h presence... yes > > checking for signal.h... yes > > checking syslog.h usability... yes > > checking syslog.h presence... yes > > checking for syslog.h... yes > > checking uio.h usability... no > > checking uio.h presence... no > > checking for uio.h... no > > checking errno.h usability... yes > > checking errno.h presence... yes > > checking for errno.h... yes > > checking sys/time.h usability... yes > > checking sys/time.h presence... yes > > checking for sys/time.h... yes > > checking sys/socket.h usability... yes > > checking sys/socket.h presence... yes > > checking for sys/socket.h... yes > > checking sys/un.h usability... yes > > checking sys/un.h presence... yes > > checking for sys/un.h... yes > > checking sys/poll.h usability... yes > > checking sys/poll.h presence... yes > > checking for sys/poll.h... yes > > checking features.h usability... yes > > checking features.h presence... yes > > checking for features.h... yes > > checking stdarg.h usability... yes > > checking stdarg.h presence... yes > > checking for stdarg.h... yes > > checking sys/unistd.h usability... yes > > checking sys/unistd.h presence... yes > > checking for sys/unistd.h... yes > > checking ctype.h usability... yes > > checking ctype.h presence... yes > > checking for ctype.h... yes > > checking for an ANSI C-conforming const... yes > > checking whether struct tm is in sys/time.h or time.h... time.h > > checking for pid_t... yes > > checking for size_t... yes > > checking return type of signal handlers... void > > checking for va_copy... yes > > checking for memmove... yes > > checking for select... yes > > checking for socket... yes > > checking for strdup... yes > > checking for strstr... yes > > checking for strtol... yes > > checking for strtoul... yes > > checking for floor... no > > checking for poll... yes > > checking return type of socket size... int > > checking for ps... /bin/ps > > checking for ps syntax... /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm > args' > > checking for ping... /bin/ping > > checking for ping6... /bin/ping6 > > checking for ICMP ping syntax... /bin/ping -n -U -w %d -c %d %s > > checking for ICMPv6 ping syntax... /bin/ping6 -n -U -w %d -c %d %s > > checking for nslookup... /usr/bin/nslookup > > checking for nslookup syntax... /usr/bin/nslookup -sil > > checking for number of cpus... sysconf(_SC_NPROCESSORS_CONF) > > checking for uptime... /usr/bin/uptime > > checking for rpcinfo... no > > checking for lmstat... no > > checking for smbclient... no > > checking for who... /usr/bin/who > > checking for snmpget... /usr/bin/snmpget > > checking for snmpgetnext... /usr/bin/snmpgetnext > > checking for Net::SNMP perl module... found > > checking for quakestat... no > > checking for qstat... no > > checking for fping... no > > checking for ssh... /usr/bin/ssh > > checking for mailq... /usr/bin/mailq > > checking for qmail-qstat... no > > checking for swap... no > > checking for swapinfo... no > > checking for lsps... no > > checking for sys/stat.h... (cached) yes > > checking sys/param.h usability... yes > > checking sys/param.h presence... yes > > checking for sys/param.h... yes > > checking for sys/swap.h... yes > > checking whether swapctl is declared... no > > checking for swaptbl_t... no > > checking for swapent_t... no > > checking for struct swapent.se_nblks... no > > checking for /proc/meminfo... found /proc/meminfo > > checking for dig... /usr/bin/dig > > checking for apt-get... no > > checking sys/sockio.h usability... no > > checking sys/sockio.h presence... no > > checking for sys/sockio.h... no > > checking whether NLS is requested... yes > > checking for msgfmt... no > > checking for gmsgfmt... : > > checking for xgettext... no > > checking for msgmerge... no > > checking for ld used by GCC... /usr/bin/ld > > checking if the linker (/usr/bin/ld) is GNU ld... yes > > checking for shared library run path origin... done > > checking for CFPreferencesCopyAppValue... no > > checking for CFLocaleCopyCurrent... no > > checking for GNU gettext in libc... yes > > checking whether to use NLS... yes > > checking where the gettext function comes from... libc > > checking for main in -lpthread... yes > > checking for working alloca.h... yes > > checking for alloca... yes > > checking arpa/inet.h usability... yes > > checking arpa/inet.h presence... yes > > checking for arpa/inet.h... yes > > checking for errno.h... (cached) yes > > checking fcntl.h usability... yes > > checking fcntl.h presence... yes > > checking for fcntl.h... yes > > checking float.h usability... yes > > checking float.h presence... yes > > checking for float.h... yes > > checking for sys/param.h... (cached) yes > > checking sys/vfs.h usability... yes > > checking sys/vfs.h presence... yes > > checking for sys/vfs.h... yes > > checking sys/fs_types.h usability... no > > checking sys/fs_types.h presence... no > > checking for sys/fs_types.h... no > > checking for sys/socket.h... (cached) yes > > checking netdb.h usability... yes > > checking netdb.h presence... yes > > checking for netdb.h... yes > > checking netinet/in.h usability... yes > > checking netinet/in.h presence... yes > > checking for netinet/in.h... yes > > checking getopt.h usability... yes > > checking getopt.h presence... yes > > checking for getopt.h... yes > > checking langinfo.h usability... yes > > checking langinfo.h presence... yes > > checking for langinfo.h... yes > > checking stddef.h usability... yes > > checking stddef.h presence... yes > > checking for stddef.h... yes > > checking xlocale.h usability... yes > > checking xlocale.h presence... yes > > checking for xlocale.h... yes > > checking locale.h usability... yes > > checking locale.h presence... yes > > checking for locale.h... yes > > checking for math.h... (cached) yes > > checking sys/mman.h usability... yes > > checking sys/mman.h presence... yes > > checking for sys/mman.h... yes > > checking for unistd.h... (cached) yes > > checking sys/statvfs.h usability... yes > > checking sys/statvfs.h presence... yes > > checking for sys/statvfs.h... yes > > checking for stdint.h... (cached) yes > > checking wchar.h usability... yes > > checking wchar.h presence... yes > > checking for wchar.h... yes > > checking stdio.h usability... yes > > checking stdio.h presence... yes > > checking for stdio.h... yes > > checking for stdlib.h... (cached) yes > > checking for string.h... (cached) yes > > checking for sys/stat.h... (cached) yes > > checking time.h usability... yes > > checking time.h presence... yes > > checking for time.h... yes > > checking for sys/time.h... (cached) yes > > checking wctype.h usability... yes > > checking wctype.h presence... yes > > checking for wctype.h... yes > > checking whether the preprocessor supports include_next... yes > > checking for inline... inline > > checking for C/C++ restrict keyword... __restrict > > checking whether uses 'inline' correctly... yes > > checking for btowc... yes > > checking for dup2... yes > > checking for fcntl... yes > > checking for getdtablesize... yes > > checking for mbsinit... yes > > checking for mbrtowc... yes > > checking for mprotect... yes > > checking for memchr... yes > > checking for alarm... yes > > checking for nl_langinfo... yes > > checking for lstat... yes > > checking for isblank... yes > > checking for iswctype... yes > > checking for wcscoll... yes > > checking for setenv... yes > > checking for strdup... (cached) yes > > checking for strndup... yes > > checking for localtime_r... yes > > checking for timegm... yes > > checking for pipe... yes > > checking for vasnprintf... no > > checking for wcrtomb... yes > > checking for iswcntrl... yes > > checking for iswblank... yes > > checking for nl_langinfo and CODESET... yes > > checking for a traditional french locale... fr_FR > > checking whether byte ordering is bigendian... no > > checking whether system is Windows or MSDOS... no > > checking whether // is distinct from /... no > > checking if environ is properly declared... yes > > checking for complete errno.h... yes > > checking whether strerror_r is declared... yes > > checking for strerror_r... yes > > checking whether strerror_r returns char *... yes > > checking for working fcntl.h... yes > > checking for mode_t... yes > > checking for promoted mode_t type... mode_t > > checking whether is self-contained... yes > > checking for shutdown... yes > > checking whether defines the SHUT_* macros... yes > > checking for struct sockaddr_storage... yes > > checking for sa_family_t... yes > > checking whether socket is declared without a macro... no > > checking whether connect is declared without a macro... no > > checking whether accept is declared without a macro... no > > checking whether bind is declared without a macro... no > > checking whether getpeername is declared without a macro... no > > checking whether getsockname is declared without a macro... no > > checking whether getsockopt is declared without a macro... no > > checking whether listen is declared without a macro... no > > checking whether recv is declared without a macro... no > > checking whether send is declared without a macro... no > > checking whether recvfrom is declared without a macro... no > > checking whether sendto is declared without a macro... no > > checking whether setsockopt is declared without a macro... no > > checking whether shutdown is declared without a macro... no > > checking whether accept4 is declared without a macro... no > > checking whether getaddrinfo is declared without a macro... yes > > checking whether freeaddrinfo is declared without a macro... yes > > checking whether gai_strerror is declared without a macro... yes > > checking whether getnameinfo is declared without a macro... yes > > checking for library containing gethostbyname... none required > > checking for gethostbyname... yes > > checking for library containing getservbyname... none required > > checking for getservbyname... yes > > checking for IPv4 sockets... yes > > checking for IPv6 sockets... yes > > checking for library containing inet_ntop... none required > > checking whether inet_ntop is declared... yes > > checking for getopt.h... (cached) yes > > checking for getopt_long_only... yes > > checking whether optreset is declared... no > > checking whether getopt_clip is declared... no > > checking whether getopt is POSIX compatible... yes > > checking for working GNU getopt function... yes > > checking whether getenv is declared... yes > > checking whether getc_unlocked is declared... yes > > checking whether we are using the GNU C Library 2.1 or newer... yes > > checking for wchar_t... yes > > checking whether NULL can be used in arbitrary expressions... yes > > checking whether malloc, realloc, calloc are POSIX compliant... yes > > checking for stdlib.h... (cached) yes > > checking for GNU libc compatible malloc... yes > > checking for long long int... yes > > checking for mbstate_t... yes > > checking for a traditional japanese locale... ja_JP > > checking for a transitional chinese locale... zh_CN.GB18030 > > checking for a french Unicode locale... fr_FR.UTF-8 > > checking for mmap... yes > > checking for MAP_ANONYMOUS... yes > > checking whether memchr works... yes > > checking for ssize_t... yes > > checking whether setenv validates arguments... yes > > checking search.h usability... yes > > checking search.h presence... yes > > checking for search.h... yes > > checking for tsearch... yes > > checking whether snprintf is declared... yes > > checking for stdbool.h that conforms to C99... yes > > checking for _Bool... yes > > checking for unsigned long long int... yes > > checking whether C symbols are prefixed with underscore at the linker > level... no > > checking whether strdup is declared... yes > > checking for working strerror function... yes > > checking whether memmem is declared without a macro... yes > > checking whether mempcpy is declared without a macro... yes > > checking whether memrchr is declared without a macro... yes > > checking whether rawmemchr is declared without a macro... yes > > checking whether stpcpy is declared without a macro... yes > > checking whether stpncpy is declared without a macro... yes > > checking whether strchrnul is declared without a macro... yes > > checking whether strdup is declared without a macro... yes > > checking whether strncat is declared without a macro... yes > > checking whether strndup is declared without a macro... yes > > checking whether strnlen is declared without a macro... yes > > checking whether strpbrk is declared without a macro... yes > > checking whether strsep is declared without a macro... yes > > checking whether strcasestr is declared without a macro... yes > > checking whether strtok_r is declared without a macro... yes > > checking whether strsignal is declared without a macro... yes > > checking whether strverscmp is declared without a macro... yes > > checking whether strndup is declared... (cached) yes > > checking whether strnlen is declared... (cached) yes > > checking whether stat file-mode macros are broken... no > > checking for struct timespec in ... yes > > checking for wint_t... yes > > checking for inttypes.h... yes > > checking for stdint.h... yes > > checking for intmax_t... yes > > checking whether snprintf returns a byte count as in C99... yes > > checking for snprintf... yes > > checking for strnlen... yes > > checking for wcslen... yes > > checking for wcsnlen... yes > > checking for mbrtowc... (cached) yes > > checking for wcrtomb... (cached) yes > > checking whether _snprintf is declared... no > > checking whether vsnprintf is declared... yes > > checking for alloca as a compiler built-in... yes > > checking whether inet_ntop is declared without a macro... yes > > checking whether inet_pton is declared without a macro... yes > > checking for a thread-safe mkdir -p... /bin/mkdir -p > > checking whether btowc(0) is correct... yes > > checking whether btowc(EOF) is correct... yes > > checking whether // is distinct from /... (cached) no > > checking whether dup2 works... yes > > checking for error_at_line... (cached) yes > > checking whether fcntl handles F_DUPFD correctly... yes > > checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check > > checking whether fcntl is declared without a macro... yes > > checking whether openat is declared without a macro... yes > > checking whether floorf is declared... yes > > checking for sys/mount.h... yes > > configure: checking how to get file system space usage > > checking for statvfs function (SVR4)... no > > checking for 3-argument statfs function (DEC OSF/1)... no > > checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... > yes > > checking dustat.h usability... no > > checking dustat.h presence... no > > checking for dustat.h... no > > checking sys/fs/s5param.h usability... no > > checking sys/fs/s5param.h presence... no > > checking for sys/fs/s5param.h... no > > checking sys/filsys.h usability... no > > checking sys/filsys.h presence... no > > checking for sys/filsys.h... no > > checking sys/statfs.h usability... yes > > checking sys/statfs.h presence... yes > > checking for sys/statfs.h... yes > > checking for statfs that truncates block counts... no > > configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo > > checking for library containing getaddrinfo... none required > > checking for getaddrinfo... yes > > checking for gai_strerror (possibly via ws2tcpip.h)... yes > > checking for struct sockaddr.sa_len... no > > checking whether getaddrinfo is declared... (cached) yes > > checking whether freeaddrinfo is declared... (cached) yes > > checking whether gai_strerror is declared... (cached) yes > > checking whether getnameinfo is declared... (cached) yes > > checking for struct addrinfo... yes > > checking for gethostname... yes > > checking for HOST_NAME_MAX... yes > > checking for getloadavg... yes > > checking for pstat_getdynamic... no > > checking for kstat_open in -lkstat... no > > checking for perfstat_cpu_total in -lperfstat... no > > checking for getloadavg... yes > > checking whether getloadavg requires setgid... no > > checking sys/loadavg.h usability... no > > checking sys/loadavg.h presence... no > > checking for sys/loadavg.h... no > > checking whether getloadavg is declared... yes > > checking for library containing gethostbyname... (cached) none required > > checking for gethostbyname... (cached) yes > > checking for library containing inet_ntop... (cached) none required > > checking whether inet_ntop is declared... (cached) yes > > checking whether the compiler generally respects inline... yes > > checking whether langinfo.h defines CODESET... yes > > checking whether langinfo.h defines ERA... yes > > checking whether nl_langinfo is declared without a macro... yes > > checking whether locale.h conforms to POSIX:2001... yes > > checking whether locale.h defines locale_t... yes > > checking whether duplocale is declared without a macro... yes > > checking for stdlib.h... (cached) yes > > checking for GNU libc compatible malloc... (cached) yes > > checking whether NAN macro works... yes > > checking whether HUGE_VAL works... yes > > checking whether acosl is declared without a macro... yes > > checking whether asinl is declared without a macro... yes > > checking whether atanl is declared without a macro... yes > > checking whether ceilf is declared without a macro... yes > > checking whether ceill is declared without a macro... yes > > checking whether cosl is declared without a macro... yes > > checking whether expl is declared without a macro... yes > > checking whether floorf is declared without a macro... yes > > checking whether floorl is declared without a macro... yes > > checking whether frexpl is declared without a macro... yes > > checking whether ldexpl is declared without a macro... yes > > checking whether logb is declared without a macro... yes > > checking whether logl is declared without a macro... yes > > checking whether round is declared without a macro... yes > > checking whether roundf is declared without a macro... yes > > checking whether roundl is declared without a macro... yes > > checking whether sinl is declared without a macro... yes > > checking whether sqrtl is declared without a macro... yes > > checking whether tanl is declared without a macro... yes > > checking whether trunc is declared without a macro... yes > > checking whether truncf is declared without a macro... yes > > checking whether truncl is declared without a macro... yes > > checking whether mbrtowc handles incomplete characters... yes > > checking whether mbrtowc works as well as mbtowc... yes > > checking whether mbrtowc handles a NULL string argument... yes > > checking whether mbrtowc has a correct return value... yes > > checking whether mbrtowc returns 0 when parsing a NUL character... yes > > checking whether mbrtowc handles incomplete characters... (cached) yes > > checking whether mbrtowc works as well as mbtowc... (cached) yes > > checking for working mktime... yes > > checking for listmntent... no > > checking for getmntinfo... no > > checking for sys/ucred.h... no > > checking for sys/mount.h... (cached) yes > > checking mntent.h usability... yes > > checking mntent.h presence... yes > > checking for mntent.h... yes > > checking for sys/fs_types.h... (cached) no > > checking for struct fsstat.f_fstypename... no > > checking for library containing getmntent... none required > > checking for getmntent... yes > > checking for listmntent of Cray/Unicos-9... no > > checking for mntctl function and struct vmount... no > > checking for one-argument getmntent function... yes > > checking sys/mntent.h usability... no > > checking sys/mntent.h presence... no > > checking for sys/mntent.h... no > > checking for struct statfs.f_fstypename... no > > checking whether getaddrinfo is declared without a macro... (cached) yes > > checking whether freeaddrinfo is declared without a macro... (cached) yes > > checking whether gai_strerror is declared without a macro... (cached) yes > > checking whether getnameinfo is declared without a macro... (cached) yes > > checking whether is self-contained... yes > > checking for a thread-safe mkdir -p... /bin/mkdir -p > > checking whether open recognizes a trailing slash... yes > > checking for working re_compile_pattern... yes > > checking for library containing getservbyname... (cached) none required > > checking for getservbyname... (cached) yes > > checking for stdint.h... (cached) yes > > checking for SIZE_MAX... yes > > checking for snprintf... (cached) yes > > checking whether snprintf respects a size of 1... yes > > checking for library containing setsockopt... none needed > > checking for socklen_t... yes > > checking for ssize_t... (cached) yes > > checking whether stat handles trailing slashes on directories... yes > > checking whether stat handles trailing slashes on files... yes > > checking whether NULL can be used in arbitrary expressions... (cached) yes > > checking whether stdint.h conforms to C99... yes > > checking whether dprintf is declared without a macro... yes > > checking whether fpurge is declared without a macro... no > > checking whether fseeko is declared without a macro... yes > > checking whether ftello is declared without a macro... yes > > checking whether getdelim is declared without a macro... yes > > checking whether getline is declared without a macro... yes > > checking whether popen is declared without a macro... yes > > checking whether renameat is declared without a macro... yes > > checking whether snprintf is declared without a macro... yes > > checking whether tmpfile is declared without a macro... yes > > checking whether vdprintf is declared without a macro... yes > > checking whether vsnprintf is declared without a macro... yes > > checking for random.h... no > > checking for struct random_data... yes > > checking whether atoll is declared without a macro... yes > > checking whether canonicalize_file_name is declared without a macro... yes > > checking whether getloadavg is declared without a macro... yes > > checking whether getsubopt is declared without a macro... yes > > checking whether grantpt is declared without a macro... yes > > checking whether mkdtemp is declared without a macro... yes > > checking whether mkostemp is declared without a macro... yes > > checking whether mkostemps is declared without a macro... yes > > checking whether mkstemp is declared without a macro... yes > > checking whether mkstemps is declared without a macro... yes > > checking whether ptsname is declared without a macro... yes > > checking whether random_r is declared without a macro... yes > > checking whether initstat_r is declared without a macro... no > > checking whether srandom_r is declared without a macro... yes > > checking whether setstate_r is declared without a macro... yes > > checking whether realpath is declared without a macro... yes > > checking whether rpmatch is declared without a macro... yes > > checking whether setenv is declared without a macro... yes > > checking whether strtod is declared without a macro... yes > > checking whether strtoll is declared without a macro... yes > > checking whether strtoull is declared without a macro... yes > > checking whether unlockpt is declared without a macro... yes > > checking whether unsetenv is declared without a macro... yes > > checking for working strndup... yes > > checking for working strnlen... yes > > checking for strsep... yes > > checking whether is self-contained... (cached) yes > > checking for shutdown... (cached) yes > > checking whether defines the SHUT_* macros... (cached) yes > > checking for struct sockaddr_storage... (cached) yes > > checking for sa_family_t... (cached) yes > > checking whether socket is declared without a macro... (cached) no > > checking whether connect is declared without a macro... (cached) no > > checking whether accept is declared without a macro... (cached) no > > checking whether bind is declared without a macro... (cached) no > > checking whether getpeername is declared without a macro... (cached) no > > checking whether getsockname is declared without a macro... (cached) no > > checking whether getsockopt is declared without a macro... (cached) no > > checking whether listen is declared without a macro... (cached) no > > checking whether recv is declared without a macro... (cached) no > > checking whether send is declared without a macro... (cached) no > > checking whether recvfrom is declared without a macro... (cached) no > > checking whether sendto is declared without a macro... (cached) no > > checking whether setsockopt is declared without a macro... (cached) no > > checking whether shutdown is declared without a macro... (cached) no > > checking whether accept4 is declared without a macro... (cached) no > > checking for a thread-safe mkdir -p... /bin/mkdir -p > > checking for nlink_t... yes > > checking whether fchmodat is declared without a macro... yes > > checking whether fstatat is declared without a macro... yes > > checking whether futimens is declared without a macro... yes > > checking whether lchmod is declared without a macro... yes > > checking whether lstat is declared without a macro... yes > > checking whether mkdirat is declared without a macro... yes > > checking whether mkfifo is declared without a macro... yes > > checking whether mkfifoat is declared without a macro... yes > > checking whether mknod is declared without a macro... yes > > checking whether mknodat is declared without a macro... yes > > checking whether stat is declared without a macro... yes > > checking whether utimensat is declared without a macro... yes > > checking for a thread-safe mkdir -p... /bin/mkdir -p > > checking whether localtime_r is compatible with its POSIX signature... yes > > checking whether chown is declared without a macro... yes > > checking whether dup2 is declared without a macro... yes > > checking whether dup3 is declared without a macro... yes > > checking whether environ is declared without a macro... yes > > checking whether euidaccess is declared without a macro... yes > > checking whether faccessat is declared without a macro... yes > > checking whether fchdir is declared without a macro... yes > > checking whether fchownat is declared without a macro... yes > > checking whether fsync is declared without a macro... yes > > checking whether ftruncate is declared without a macro... yes > > checking whether getcwd is declared without a macro... yes > > checking whether getdomainname is declared without a macro... yes > > checking whether getdtablesize is declared without a macro... yes > > checking whether getgroups is declared without a macro... yes > > checking whether gethostname is declared without a macro... yes > > checking whether getlogin is declared without a macro... yes > > checking whether getlogin_r is declared without a macro... yes > > checking whether getpagesize is declared without a macro... yes > > checking whether getusershell is declared without a macro... yes > > checking whether setusershell is declared without a macro... yes > > checking whether endusershell is declared without a macro... yes > > checking whether lchown is declared without a macro... yes > > checking whether link is declared without a macro... yes > > checking whether linkat is declared without a macro... yes > > checking whether lseek is declared without a macro... yes > > checking whether pipe2 is declared without a macro... yes > > checking whether pread is declared without a macro... yes > > checking whether pwrite is declared without a macro... yes > > checking whether readlink is declared without a macro... yes > > checking whether readlinkat is declared without a macro... yes > > checking whether rmdir is declared without a macro... yes > > checking whether sleep is declared without a macro... yes > > checking whether symlink is declared without a macro... yes > > checking whether symlinkat is declared without a macro... yes > > checking whether ttyname_r is declared without a macro... yes > > checking whether unlink is declared without a macro... yes > > checking whether unlinkat is declared without a macro... yes > > checking whether usleep is declared without a macro... yes > > checking for unsetenv... yes > > checking for unsetenv() return type... int > > checking whether unsetenv works on duplicates... yes > > checking for ptrdiff_t... yes > > checking for vasprintf... yes > > checking for vsnprintf... yes > > checking whether snprintf respects a size of 1... (cached) yes > > checking whether btowc is declared without a macro... yes > > checking whether wctob is declared without a macro... yes > > checking whether mbsinit is declared without a macro... yes > > checking whether mbrtowc is declared without a macro... yes > > checking whether mbrlen is declared without a macro... yes > > checking whether mbsrtowcs is declared without a macro... yes > > checking whether mbsnrtowcs is declared without a macro... yes > > checking whether wcrtomb is declared without a macro... yes > > checking whether wcsrtombs is declared without a macro... yes > > checking whether wcsnrtombs is declared without a macro... yes > > checking whether wcwidth is declared without a macro... yes > > checking whether mbrtowc handles incomplete characters... (cached) yes > > checking whether mbrtowc works as well as mbtowc... (cached) yes > > checking whether wcrtomb return value is correct... yes > > checking whether iswcntrl works... yes > > checking for stdint.h... (cached) yes > > configure: creating ./config.status > > config.status: creating gl/Makefile > > config.status: creating Makefile > > config.status: creating tap/Makefile > > config.status: creating lib/Makefile > > config.status: creating plugins/Makefile > > config.status: creating lib/tests/Makefile > > config.status: creating plugins-root/Makefile > > config.status: creating plugins-scripts/Makefile > > config.status: creating plugins-scripts/subst > > config.status: creating plugins-scripts/utils.pm > > config.status: creating plugins-scripts/utils.sh > > config.status: creating perlmods/Makefile > > config.status: creating command.cfg > > config.status: creating test.pl > > config.status: creating pkg/solaris/pkginfo > > config.status: creating po/Makefile.in > > config.status: creating config.h > > config.status: config.h is unchanged > > config.status: executing depfiles commands > > config.status: executing libtool commands > > config.status: executing po-directories commands > > config.status: creating po/POTFILES > > config.status: creating po/Makefile > > --with-apt-get-command: > > --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s > > --with-ping-command: /bin/ping -n -U -w %d -c %d %s > > --with-ipv6: yes > > --with-mysql: no > > --with-openssl: yes > > --with-gnutls: no > > --enable-extra-opts: no > > --with-perl: /usr/bin/perl > > --enable-perl-modules: no > > --with-cgiurl: /nagios/cgi-bin > > --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin > > --enable-libtap: no > > > > > > ------------------------------ > Micro Peripherals Limited. > Registered Office: Shorten Brook Way, Altham Business Park, Altham, > Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 > Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB > 864 4387 91 > > DISCLAIMER: > This e-mail and attachments are confidential and are intended solely for > the use of the individual to > whom it is addressed. Any views or opinions presented are solely those of > the author and do not > necessarily represent those of Micro Peripherals Limited. > If you are not the intended recipient, be advised that you have received > this Email in error and that > any use, dissemination, forwarding, printing, or copying of this Email is > strictly prohibited. If this > transmission is received in error please notify the sender immediately and > delete this message from > your E-mail system. > All electronic transmissions to and from Micro Peripherals Ltd are recorded > and may be monitored. > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Feb 10 14:14:23 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 10 Feb 2011 13:14:23 +0000 Subject: Manipulate the Problems page In-Reply-To: References: Message-ID: On 10 February 2011 10:30, wrote: > > Hi - does anyone know if its possible to manipulate the URL that shows the > Unhandled Services AND Hosts? I want to see on a single screen ALL unhandled > Service problems AND ALL unhandled Host problems. > > By default you can only view one or the other and as I've already posted if > you have a HOST that is DOWN it does not appear in the Unhandled Service > Problems page. > > The two URL's I'd like to combine are: > > Services: > http://webserver/nagios/cgi-bin/status.cgi?host=all&type=detail&hoststatustypes=3&serviceprops=42&servicestatustypes=28 > > Hosts: > http://webserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=42 I'm pretty sure you can't do that. You could of course contrive a web page with two frames one for each. I tried that myself once but it wasn't very satisfactory as whenever the top frame had lots of problems, the bottom frame would then be pushed down the page out of sight. If it's any help to you, the URL I now use is: http://webserver/nagios/cgi-bin/status.cgi?host=all&hostprops=10&servicestatustypes=29&serviceprops=10&sorttype=2&sortoption=6&noheader Even though this doesn't explictly show hosts, if a host is down you will still see it on this page because its services will also be down (or unknown or whatever). According to the Display Filters panel which appears if you remove the "&noheader", this one shows: Host Status Types: All Host Properties: Not In Scheduled Downtime & Has Not Been Acknowledged Service Status Types: Pending | Unknown | Warning | Critical Service Properties: Not In Scheduled Downtime & Has Not Been Acknowledged and the sort is by state duration descending. Of course it won't show downed hosts if they have no services. I make sure all hosts have at least one service (even if that's just ping) so they can be seen on this service page. hth, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Feb 10 14:20:43 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 10 Feb 2011 13:20:43 +0000 Subject: check_procs In-Reply-To: References: Message-ID: On 10 February 2011 10:58, Saj Ali wrote: > > Hi > > I have installed nagios software to monitor my network, I want to know that if there is a plugin to monitor a specific process, for example I want to monitor the pmta or tcp or apache, please guide me as I have no idea how to do that, Personally for Unix/Linux processes, I use check_snmp_process.pl which can be found at http://nagios.manubulon.com/ . It presupposes you have the snmp daemon running and configured to allow you to query the processes. If the process is on a Windows server, then you can use the NSClient++ agent (checkProcState). See http://www.nsclient.org/nscp/wiki/CheckProcState hth, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Feb 10 14:25:53 2011 From: jpratt at norwich.edu (James Pratt) Date: Thu, 10 Feb 2011 08:25:53 -0500 Subject: check_snmp not Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD183B51@nuexchange.norwich.edu> Hi - here is what I have installed on a Centos 5.3 box , and it compiles fine. $ rpm -qa | grep snmp net-snmp-5.3.2.2-9.el5_5.1 net-snmp-devel-5.3.2.2-9.el5_5.1 net-snmp-perl-5.3.2.2-9.el5_5.1 net-snmp-utils-5.3.2.2-9.el5_5.1 net-snmp-libs-5.3.2.2-9.el5_5.1 HTH, cheers, Jamie From: Tristan Drinkwater [mailto:tristand at micro-p.com] Sent: Thursday, February 10, 2011 5:57 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp not Hi all, I've installed Nagios 3.2.3 on fedora 14 but I'm struggling with getting the check_snmp plugin working. It isn't in the libexec folder and there is NO mention of it when I compile the plugins with ./configure, make and make install. Below is output from ./configure (with no options). I've got both net-snmp and net-snmp-devel installed at the latest version already. Can anyone tell me what I've done wrong, or not done at all please?? I am quite new to Linux so please be gentle J Thanking you very much. Tristan ----- Output from ./configure ---- checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for ranlib... ranlib checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc needs -traditional... no checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether gcc and cc understand -c and -o together... yes checking for error_at_line... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for working strtod... yes checking for python... /usr/bin/python checking for sh... /bin/sh checking for perl... /usr/bin/perl checking for libgnutls-config... no checking for hostname... /bin/hostname checking for basename... /bin/basename checking for main in -ldce... no checking for main in -lnsl... yes checking for socket in -lsocket... no checking for main in -lresolv... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking for floor in -lm... yes checking for plan_tests in -ltap... no checking for main in -lcrypt... yes checking for PQsetdbLogin in -lpq... no checking for rc_read_config in -lradiusclient... no checking for rc_read_config in -lradiusclient-ng... no checking for main in -lldap... yes checking for ldap_set_option... yes checking for ldap_init... yes checking for ldap_set_option... (cached) yes checking for ldap_get_option... yes checking for ldap_start_tls_s... yes checking linux/hdreg.h usability... yes checking linux/hdreg.h presence... yes checking for linux/hdreg.h... yes checking linux/types.h usability... yes checking linux/types.h presence... yes checking for linux/types.h... yes checking for mysql_config... no checking for IPv6 support... yes checking krb5.h usability... yes checking krb5.h presence... yes checking for krb5.h... yes checking for dlopen in -ldl... yes checking for shl_load in -ldl... no checking openssl/ssl.h usability... yes checking openssl/ssl.h presence... yes checking for openssl/ssl.h... yes checking openssl/x509.h usability... yes checking openssl/x509.h presence... yes checking for openssl/x509.h... yes checking openssl/rsa.h usability... yes checking openssl/rsa.h presence... yes checking for openssl/rsa.h... yes checking openssl/pem.h usability... yes checking openssl/pem.h presence... yes checking for openssl/pem.h... yes checking openssl/crypto.h usability... yes checking openssl/crypto.h presence... yes checking for openssl/crypto.h... yes checking openssl/err.h usability... yes checking openssl/err.h presence... yes checking for openssl/err.h... yes checking for CRYPTO_lock in -lcrypto... yes checking for main in -lssl... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/un.h usability... yes checking sys/un.h presence... yes checking for sys/un.h... yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking features.h usability... yes checking features.h presence... yes checking for features.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/unistd.h usability... yes checking sys/unistd.h presence... yes checking for sys/unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for va_copy... yes checking for memmove... yes checking for select... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for strtol... yes checking for strtoul... yes checking for floor... no checking for poll... yes checking return type of socket size... int checking for ps... /bin/ps checking for ps syntax... /bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args' checking for ping... /bin/ping checking for ping6... /bin/ping6 checking for ICMP ping syntax... /bin/ping -n -U -w %d -c %d %s checking for ICMPv6 ping syntax... /bin/ping6 -n -U -w %d -c %d %s checking for nslookup... /usr/bin/nslookup checking for nslookup syntax... /usr/bin/nslookup -sil checking for number of cpus... sysconf(_SC_NPROCESSORS_CONF) checking for uptime... /usr/bin/uptime checking for rpcinfo... no checking for lmstat... no checking for smbclient... no checking for who... /usr/bin/who checking for snmpget... /usr/bin/snmpget checking for snmpgetnext... /usr/bin/snmpgetnext checking for Net::SNMP perl module... found checking for quakestat... no checking for qstat... no checking for fping... no checking for ssh... /usr/bin/ssh checking for mailq... /usr/bin/mailq checking for qmail-qstat... no checking for swap... no checking for swapinfo... no checking for lsps... no checking for sys/stat.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking for sys/swap.h... yes checking whether swapctl is declared... no checking for swaptbl_t... no checking for swapent_t... no checking for struct swapent.se_nblks... no checking for /proc/meminfo... found /proc/meminfo checking for dig... /usr/bin/dig checking for apt-get... no checking sys/sockio.h usability... no checking sys/sockio.h presence... no checking for sys/sockio.h... no checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for main in -lpthread... yes checking for working alloca.h... yes checking for alloca... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for errno.h... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for sys/param.h... (cached) yes checking sys/vfs.h usability... yes checking sys/vfs.h presence... yes checking for sys/vfs.h... yes checking sys/fs_types.h usability... no checking sys/fs_types.h presence... no checking for sys/fs_types.h... no checking for sys/socket.h... (cached) yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking xlocale.h usability... yes checking xlocale.h presence... yes checking for xlocale.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for math.h... (cached) yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking for unistd.h... (cached) yes checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking for stdint.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/stat.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for sys/time.h... (cached) yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking whether the preprocessor supports include_next... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking whether uses 'inline' correctly... yes checking for btowc... yes checking for dup2... yes checking for fcntl... yes checking for getdtablesize... yes checking for mbsinit... yes checking for mbrtowc... yes checking for mprotect... yes checking for memchr... yes checking for alarm... yes checking for nl_langinfo... yes checking for lstat... yes checking for isblank... yes checking for iswctype... yes checking for wcscoll... yes checking for setenv... yes checking for strdup... (cached) yes checking for strndup... yes checking for localtime_r... yes checking for timegm... yes checking for pipe... yes checking for vasnprintf... no checking for wcrtomb... yes checking for iswcntrl... yes checking for iswblank... yes checking for nl_langinfo and CODESET... yes checking for a traditional french locale... fr_FR checking whether byte ordering is bigendian... no checking whether system is Windows or MSDOS... no checking whether // is distinct from /... no checking if environ is properly declared... yes checking for complete errno.h... yes checking whether strerror_r is declared... yes checking for strerror_r... yes checking whether strerror_r returns char *... yes checking for working fcntl.h... yes checking for mode_t... yes checking for promoted mode_t type... mode_t checking whether is self-contained... yes checking for shutdown... yes checking whether defines the SHUT_* macros... yes checking for struct sockaddr_storage... yes checking for sa_family_t... yes checking whether socket is declared without a macro... no checking whether connect is declared without a macro... no checking whether accept is declared without a macro... no checking whether bind is declared without a macro... no checking whether getpeername is declared without a macro... no checking whether getsockname is declared without a macro... no checking whether getsockopt is declared without a macro... no checking whether listen is declared without a macro... no checking whether recv is declared without a macro... no checking whether send is declared without a macro... no checking whether recvfrom is declared without a macro... no checking whether sendto is declared without a macro... no checking whether setsockopt is declared without a macro... no checking whether shutdown is declared without a macro... no checking whether accept4 is declared without a macro... no checking whether getaddrinfo is declared without a macro... yes checking whether freeaddrinfo is declared without a macro... yes checking whether gai_strerror is declared without a macro... yes checking whether getnameinfo is declared without a macro... yes checking for library containing gethostbyname... none required checking for gethostbyname... yes checking for library containing getservbyname... none required checking for getservbyname... yes checking for IPv4 sockets... yes checking for IPv6 sockets... yes checking for library containing inet_ntop... none required checking whether inet_ntop is declared... yes checking for getopt.h... (cached) yes checking for getopt_long_only... yes checking whether optreset is declared... no checking whether getopt_clip is declared... no checking whether getopt is POSIX compatible... yes checking for working GNU getopt function... yes checking whether getenv is declared... yes checking whether getc_unlocked is declared... yes checking whether we are using the GNU C Library 2.1 or newer... yes checking for wchar_t... yes checking whether NULL can be used in arbitrary expressions... yes checking whether malloc, realloc, calloc are POSIX compliant... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for long long int... yes checking for mbstate_t... yes checking for a traditional japanese locale... ja_JP checking for a transitional chinese locale... zh_CN.GB18030 checking for a french Unicode locale... fr_FR.UTF-8 checking for mmap... yes checking for MAP_ANONYMOUS... yes checking whether memchr works... yes checking for ssize_t... yes checking whether setenv validates arguments... yes checking search.h usability... yes checking search.h presence... yes checking for search.h... yes checking for tsearch... yes checking whether snprintf is declared... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for unsigned long long int... yes checking whether C symbols are prefixed with underscore at the linker level... no checking whether strdup is declared... yes checking for working strerror function... yes checking whether memmem is declared without a macro... yes checking whether mempcpy is declared without a macro... yes checking whether memrchr is declared without a macro... yes checking whether rawmemchr is declared without a macro... yes checking whether stpcpy is declared without a macro... yes checking whether stpncpy is declared without a macro... yes checking whether strchrnul is declared without a macro... yes checking whether strdup is declared without a macro... yes checking whether strncat is declared without a macro... yes checking whether strndup is declared without a macro... yes checking whether strnlen is declared without a macro... yes checking whether strpbrk is declared without a macro... yes checking whether strsep is declared without a macro... yes checking whether strcasestr is declared without a macro... yes checking whether strtok_r is declared without a macro... yes checking whether strsignal is declared without a macro... yes checking whether strverscmp is declared without a macro... yes checking whether strndup is declared... (cached) yes checking whether strnlen is declared... (cached) yes checking whether stat file-mode macros are broken... no checking for struct timespec in ... yes checking for wint_t... yes checking for inttypes.h... yes checking for stdint.h... yes checking for intmax_t... yes checking whether snprintf returns a byte count as in C99... yes checking for snprintf... yes checking for strnlen... yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... (cached) yes checking for wcrtomb... (cached) yes checking whether _snprintf is declared... no checking whether vsnprintf is declared... yes checking for alloca as a compiler built-in... yes checking whether inet_ntop is declared without a macro... yes checking whether inet_pton is declared without a macro... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether btowc(0) is correct... yes checking whether btowc(EOF) is correct... yes checking whether // is distinct from /... (cached) no checking whether dup2 works... yes checking for error_at_line... (cached) yes checking whether fcntl handles F_DUPFD correctly... yes checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check checking whether fcntl is declared without a macro... yes checking whether openat is declared without a macro... yes checking whether floorf is declared... yes checking for sys/mount.h... yes configure: checking how to get file system space usage checking for statvfs function (SVR4)... no checking for 3-argument statfs function (DEC OSF/1)... no checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... yes checking dustat.h usability... no checking dustat.h presence... no checking for dustat.h... no checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/filsys.h usability... no checking sys/filsys.h presence... no checking for sys/filsys.h... no checking sys/statfs.h usability... yes checking sys/statfs.h presence... yes checking for sys/statfs.h... yes checking for statfs that truncates block counts... no configure: checking how to do getaddrinfo, freeaddrinfo and getnameinfo checking for library containing getaddrinfo... none required checking for getaddrinfo... yes checking for gai_strerror (possibly via ws2tcpip.h)... yes checking for struct sockaddr.sa_len... no checking whether getaddrinfo is declared... (cached) yes checking whether freeaddrinfo is declared... (cached) yes checking whether gai_strerror is declared... (cached) yes checking whether getnameinfo is declared... (cached) yes checking for struct addrinfo... yes checking for gethostname... yes checking for HOST_NAME_MAX... yes checking for getloadavg... yes checking for pstat_getdynamic... no checking for kstat_open in -lkstat... no checking for perfstat_cpu_total in -lperfstat... no checking for getloadavg... yes checking whether getloadavg requires setgid... no checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking whether getloadavg is declared... yes checking for library containing gethostbyname... (cached) none required checking for gethostbyname... (cached) yes checking for library containing inet_ntop... (cached) none required checking whether inet_ntop is declared... (cached) yes checking whether the compiler generally respects inline... yes checking whether langinfo.h defines CODESET... yes checking whether langinfo.h defines ERA... yes checking whether nl_langinfo is declared without a macro... yes checking whether locale.h conforms to POSIX:2001... yes checking whether locale.h defines locale_t... yes checking whether duplocale is declared without a macro... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... (cached) yes checking whether NAN macro works... yes checking whether HUGE_VAL works... yes checking whether acosl is declared without a macro... yes checking whether asinl is declared without a macro... yes checking whether atanl is declared without a macro... yes checking whether ceilf is declared without a macro... yes checking whether ceill is declared without a macro... yes checking whether cosl is declared without a macro... yes checking whether expl is declared without a macro... yes checking whether floorf is declared without a macro... yes checking whether floorl is declared without a macro... yes checking whether frexpl is declared without a macro... yes checking whether ldexpl is declared without a macro... yes checking whether logb is declared without a macro... yes checking whether logl is declared without a macro... yes checking whether round is declared without a macro... yes checking whether roundf is declared without a macro... yes checking whether roundl is declared without a macro... yes checking whether sinl is declared without a macro... yes checking whether sqrtl is declared without a macro... yes checking whether tanl is declared without a macro... yes checking whether trunc is declared without a macro... yes checking whether truncf is declared without a macro... yes checking whether truncl is declared without a macro... yes checking whether mbrtowc handles incomplete characters... yes checking whether mbrtowc works as well as mbtowc... yes checking whether mbrtowc handles a NULL string argument... yes checking whether mbrtowc has a correct return value... yes checking whether mbrtowc returns 0 when parsing a NUL character... yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking for working mktime... yes checking for listmntent... no checking for getmntinfo... no checking for sys/ucred.h... no checking for sys/mount.h... (cached) yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for sys/fs_types.h... (cached) no checking for struct fsstat.f_fstypename... no checking for library containing getmntent... none required checking for getmntent... yes checking for listmntent of Cray/Unicos-9... no checking for mntctl function and struct vmount... no checking for one-argument getmntent function... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking for struct statfs.f_fstypename... no checking whether getaddrinfo is declared without a macro... (cached) yes checking whether freeaddrinfo is declared without a macro... (cached) yes checking whether gai_strerror is declared without a macro... (cached) yes checking whether getnameinfo is declared without a macro... (cached) yes checking whether is self-contained... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether open recognizes a trailing slash... yes checking for working re_compile_pattern... yes checking for library containing getservbyname... (cached) none required checking for getservbyname... (cached) yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for snprintf... (cached) yes checking whether snprintf respects a size of 1... yes checking for library containing setsockopt... none needed checking for socklen_t... yes checking for ssize_t... (cached) yes checking whether stat handles trailing slashes on directories... yes checking whether stat handles trailing slashes on files... yes checking whether NULL can be used in arbitrary expressions... (cached) yes checking whether stdint.h conforms to C99... yes checking whether dprintf is declared without a macro... yes checking whether fpurge is declared without a macro... no checking whether fseeko is declared without a macro... yes checking whether ftello is declared without a macro... yes checking whether getdelim is declared without a macro... yes checking whether getline is declared without a macro... yes checking whether popen is declared without a macro... yes checking whether renameat is declared without a macro... yes checking whether snprintf is declared without a macro... yes checking whether tmpfile is declared without a macro... yes checking whether vdprintf is declared without a macro... yes checking whether vsnprintf is declared without a macro... yes checking for random.h... no checking for struct random_data... yes checking whether atoll is declared without a macro... yes checking whether canonicalize_file_name is declared without a macro... yes checking whether getloadavg is declared without a macro... yes checking whether getsubopt is declared without a macro... yes checking whether grantpt is declared without a macro... yes checking whether mkdtemp is declared without a macro... yes checking whether mkostemp is declared without a macro... yes checking whether mkostemps is declared without a macro... yes checking whether mkstemp is declared without a macro... yes checking whether mkstemps is declared without a macro... yes checking whether ptsname is declared without a macro... yes checking whether random_r is declared without a macro... yes checking whether initstat_r is declared without a macro... no checking whether srandom_r is declared without a macro... yes checking whether setstate_r is declared without a macro... yes checking whether realpath is declared without a macro... yes checking whether rpmatch is declared without a macro... yes checking whether setenv is declared without a macro... yes checking whether strtod is declared without a macro... yes checking whether strtoll is declared without a macro... yes checking whether strtoull is declared without a macro... yes checking whether unlockpt is declared without a macro... yes checking whether unsetenv is declared without a macro... yes checking for working strndup... yes checking for working strnlen... yes checking for strsep... yes checking whether is self-contained... (cached) yes checking for shutdown... (cached) yes checking whether defines the SHUT_* macros... (cached) yes checking for struct sockaddr_storage... (cached) yes checking for sa_family_t... (cached) yes checking whether socket is declared without a macro... (cached) no checking whether connect is declared without a macro... (cached) no checking whether accept is declared without a macro... (cached) no checking whether bind is declared without a macro... (cached) no checking whether getpeername is declared without a macro... (cached) no checking whether getsockname is declared without a macro... (cached) no checking whether getsockopt is declared without a macro... (cached) no checking whether listen is declared without a macro... (cached) no checking whether recv is declared without a macro... (cached) no checking whether send is declared without a macro... (cached) no checking whether recvfrom is declared without a macro... (cached) no checking whether sendto is declared without a macro... (cached) no checking whether setsockopt is declared without a macro... (cached) no checking whether shutdown is declared without a macro... (cached) no checking whether accept4 is declared without a macro... (cached) no checking for a thread-safe mkdir -p... /bin/mkdir -p checking for nlink_t... yes checking whether fchmodat is declared without a macro... yes checking whether fstatat is declared without a macro... yes checking whether futimens is declared without a macro... yes checking whether lchmod is declared without a macro... yes checking whether lstat is declared without a macro... yes checking whether mkdirat is declared without a macro... yes checking whether mkfifo is declared without a macro... yes checking whether mkfifoat is declared without a macro... yes checking whether mknod is declared without a macro... yes checking whether mknodat is declared without a macro... yes checking whether stat is declared without a macro... yes checking whether utimensat is declared without a macro... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking whether localtime_r is compatible with its POSIX signature... yes checking whether chown is declared without a macro... yes checking whether dup2 is declared without a macro... yes checking whether dup3 is declared without a macro... yes checking whether environ is declared without a macro... yes checking whether euidaccess is declared without a macro... yes checking whether faccessat is declared without a macro... yes checking whether fchdir is declared without a macro... yes checking whether fchownat is declared without a macro... yes checking whether fsync is declared without a macro... yes checking whether ftruncate is declared without a macro... yes checking whether getcwd is declared without a macro... yes checking whether getdomainname is declared without a macro... yes checking whether getdtablesize is declared without a macro... yes checking whether getgroups is declared without a macro... yes checking whether gethostname is declared without a macro... yes checking whether getlogin is declared without a macro... yes checking whether getlogin_r is declared without a macro... yes checking whether getpagesize is declared without a macro... yes checking whether getusershell is declared without a macro... yes checking whether setusershell is declared without a macro... yes checking whether endusershell is declared without a macro... yes checking whether lchown is declared without a macro... yes checking whether link is declared without a macro... yes checking whether linkat is declared without a macro... yes checking whether lseek is declared without a macro... yes checking whether pipe2 is declared without a macro... yes checking whether pread is declared without a macro... yes checking whether pwrite is declared without a macro... yes checking whether readlink is declared without a macro... yes checking whether readlinkat is declared without a macro... yes checking whether rmdir is declared without a macro... yes checking whether sleep is declared without a macro... yes checking whether symlink is declared without a macro... yes checking whether symlinkat is declared without a macro... yes checking whether ttyname_r is declared without a macro... yes checking whether unlink is declared without a macro... yes checking whether unlinkat is declared without a macro... yes checking whether usleep is declared without a macro... yes checking for unsetenv... yes checking for unsetenv() return type... int checking whether unsetenv works on duplicates... yes checking for ptrdiff_t... yes checking for vasprintf... yes checking for vsnprintf... yes checking whether snprintf respects a size of 1... (cached) yes checking whether btowc is declared without a macro... yes checking whether wctob is declared without a macro... yes checking whether mbsinit is declared without a macro... yes checking whether mbrtowc is declared without a macro... yes checking whether mbrlen is declared without a macro... yes checking whether mbsrtowcs is declared without a macro... yes checking whether mbsnrtowcs is declared without a macro... yes checking whether wcrtomb is declared without a macro... yes checking whether wcsrtombs is declared without a macro... yes checking whether wcsnrtombs is declared without a macro... yes checking whether wcwidth is declared without a macro... yes checking whether mbrtowc handles incomplete characters... (cached) yes checking whether mbrtowc works as well as mbtowc... (cached) yes checking whether wcrtomb return value is correct... yes checking whether iswcntrl works... yes checking for stdint.h... (cached) yes configure: creating ./config.status config.status: creating gl/Makefile config.status: creating Makefile config.status: creating tap/Makefile config.status: creating lib/Makefile config.status: creating plugins/Makefile config.status: creating lib/tests/Makefile config.status: creating plugins-root/Makefile config.status: creating plugins-scripts/Makefile config.status: creating plugins-scripts/subst config.status: creating plugins-scripts/utils.pm config.status: creating plugins-scripts/utils.sh config.status: creating perlmods/Makefile config.status: creating command.cfg config.status: creating test.pl config.status: creating pkg/solaris/pkginfo config.status: creating po/Makefile.in config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile --with-apt-get-command: --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-ipv6: yes --with-mysql: no --with-openssl: yes --with-gnutls: no --enable-extra-opts: no --with-perl: /usr/bin/perl --enable-perl-modules: no --with-cgiurl: /nagios/cgi-bin --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin --enable-libtap: no ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Feb 10 14:29:07 2011 From: jpratt at norwich.edu (James Pratt) Date: Thu, 10 Feb 2011 08:29:07 -0500 Subject: check_procs In-Reply-To: References: Message-ID: <369C2BA4DE2C8F4A88BC422AD06C96BD183B53@nuexchange.norwich.edu> Just as a side note, I fully agree with you on the plugins at manubulon.com, they are supreme replacements/substitutes for the check_snmp plugin. Also, you can indeed query windows boxes with SNMP if you are like me and have too many systems for agents etc, you just need to have the windows SNMPD service installed and configured for polling as well. Cheers, Jamie -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: Thursday, February 10, 2011 8:21 AM To: Nagios Users List Subject: Re: [Nagios-users] check_procs On 10 February 2011 10:58, Saj Ali wrote: > > Hi > > I have installed nagios software to monitor my network, I want to know > that if there is a plugin to monitor a specific process, for example I > want to monitor the pmta or tcp or apache, please guide me as I have > no idea how to do that, Personally for Unix/Linux processes, I use check_snmp_process.pl which can be found at http://nagios.manubulon.com/ . It presupposes you have the snmp daemon running and configured to allow you to query the processes. If the process is on a Windows server, then you can use the NSClient++ agent (checkProcState). See http://www.nsclient.org/nscp/wiki/CheckProcState hth, Jim ------------------------------------------------------------------------ ------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdrepeater at gmail.com Thu Feb 10 14:51:20 2011 From: tdrepeater at gmail.com (larry johnson) Date: Thu, 10 Feb 2011 14:51:20 +0100 Subject: Nagios storing data into PostgreSQL? In-Reply-To: <4D51D056.3090604@5dninja.net> References: <4D51CDFD.1050301@univie.ac.at> <4D51D056.3090604@5dninja.net> Message-ID: Thanks a lot both of you. I will try to use event handlers to fill stats in PostgreSQL. I also wonder whether is possible to write monitoring data (from nagios.log ?) into external database (MySQL or PostgreSQL)? External db implies a base on a remote computer reachable over VPN. Regards! On Wed, Feb 9, 2011 at 12:23 AM, Mike Lindsey wrote: > Another potential option is setting ups a 'postgres' contact, with a > custom notification command. Pass the data you want to store, to the > notification command, and let that dump the data to the database. > > This can potentially be as simple as a bash script that takes the input, > builds a sql statement and echos it to the postgresql client binary. > > > On 2/8/11 3:13 PM, Michael Friedrich wrote: > > On 07.02.2011 22:49, larry johnson wrote: > > Hello, i am newbie to linux/Nagios and need help to clear some doubts. > I wander whether is possible to make Nagios writing notification (host > up/host down, for example) into PostgreSQL database? > > > if you write your own NEB broker module, and put that onto libpq or > similar, the core will be able to, sure. Or you'll have a look at Icinga > IDOUtils which support Postgresql quite a while now. > > I found NDOUtils, but this addon does not suit me because i don't use > MySQL. > > > Well there aren't that much alternatives to that. Merlin supports MySQL and > Oracle (in development on git). I'm not sure if the Centreon Broker is > already released which *should* support more RDBMS. > > But for notifications only, why not using event handlers? then you could > call scripts putting data into your rdbms the preferred way. > http://nagios.sourceforge.net/docs/3_0/eventhandlers.html > > kind regards, > Michael > > Also found that this kind of storage is suported under Nagios 1.x, but > what about 3.x? > I run Nagios 3.2.3 (with 1.4.15 plugins) on openSUSE 11.3. > > Regards.** > > Mike Lindsey > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Julian_Grunnell at tdwh.co.uk Thu Feb 10 15:28:26 2011 From: Julian_Grunnell at tdwh.co.uk (Julian_Grunnell at tdwh.co.uk) Date: Thu, 10 Feb 2011 14:28:26 +0000 Subject: Manipulate the Problems page In-Reply-To: References: Message-ID: ******************************************************* Julian Grunnell Unix Analyst TD Waterhouse International Leeds, West Yorkshire Tel: 0113 346 2824 Extn: 32824 Mobex: 52824 ******************************************************* Jim Avery 10/02/2011 13:23 Please respond to Nagios Users List To Nagios Users List cc Subject Re: [Nagios-users] Manipulate the Problems page On 10 February 2011 10:30, wrote: > > Hi - does anyone know if its possible to manipulate the URL that shows the > Unhandled Services AND Hosts? I want to see on a single screen ALL unhandled > Service problems AND ALL unhandled Host problems. > > By default you can only view one or the other and as I've already posted if > you have a HOST that is DOWN it does not appear in the Unhandled Service > Problems page. > > The two URL's I'd like to combine are: > > Services: > http://webserver/nagios/cgi-bin/status.cgi?host=all&type=detail&hoststatustypes=3&serviceprops=42&servicestatustypes=28 > > Hosts: > http://webserver/nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail&hoststatustypes=12&hostprops=42 I'm pretty sure you can't do that. You could of course contrive a web page with two frames one for each. I tried that myself once but it wasn't very satisfactory as whenever the top frame had lots of problems, the bottom frame would then be pushed down the page out of sight. If it's any help to you, the URL I now use is: http://webserver/nagios/cgi-bin/status.cgi?host=all&hostprops=10&servicestatustypes=29&serviceprops=10&sorttype=2&sortoption=6&noheader Even though this doesn't explictly show hosts, if a host is down you will still see it on this page because its services will also be down (or unknown or whatever). According to the Display Filters panel which appears if you remove the "&noheader", this one shows: Host Status Types: All Host Properties: Not In Scheduled Downtime & Has Not Been Acknowledged Service Status Types: Pending | Unknown | Warning | Critical Service Properties: Not In Scheduled Downtime & Has Not Been Acknowledged and the sort is by state duration descending. Of course it won't show downed hosts if they have no services. I make sure all hosts have at least one service (even if that's just ping) so they can be seen on this service page. hth, Jim ======================================================= Thanks Jim - that's just the info I needed to get this setup. I've changed this slightly so that the headers and side frame also appear now. So I simply edited the side.php file and added a new line after line 68:
  • /status.cgi?host=all&hostprops=10&servicestatustypes=29&serviceprops=10&sorttype=2&sortoption=6" target="">ALL (Unhandled)
  • This is exactly what our support guys wanted to be able to see on a single page. Julian. _______________________________________________________ Consider the environment: Please don't print this e-mail unless you really need to. Confidentiality:? This email and its attachments are intended for the above named only and may be confidential.? If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses:? Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank).? Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863.? Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX.?Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791).? Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. _______________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Thu Feb 10 15:48:39 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Thu, 10 Feb 2011 14:48:39 +0000 Subject: check_snmp not Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE84F32@althamex1.micro-p.com> Hey guys, Thanks for the replies. I've managed to get it working by running 'yum install Nagios Nagios-plugins-snmp' and then moving the file 'check_snmp' from /usr/lib to /usr/local/Nagios/libexec All's working great now. Thanks you very much :) TRistan ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded message was scrubbed... From: James Pratt Subject: Re: [Nagios-users] check_snmp not Date: Thu, 10 Feb 2011 13:25:53 +0000 Size: 198410 URL: -------------- next part -------------- An embedded message was scrubbed... From: Tntteam Subject: Re: [Nagios-users] check_snmp not Date: Thu, 10 Feb 2011 12:59:23 +0000 Size: 160864 URL: -------------- next part -------------- An embedded message was scrubbed... From: "Joseph L. Casale" Subject: Re: [Nagios-users] check_snmp not Date: Thu, 10 Feb 2011 13:00:26 +0000 Size: 6862 URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Thu Feb 10 15:52:15 2011 From: a31modela at hotmail.com (steve f) Date: Thu, 10 Feb 2011 09:52:15 -0500 Subject: check_procs In-Reply-To: References: Message-ID: I assume you want check_procs -w ( warning value ) -c ( critical value ) -C ( NAME OF PROCESS TO CHECK) do check_procs --help to see all of the options From: Saja at 247emaildata.com To: nagios-users at lists.sourceforge.net Date: Thu, 10 Feb 2011 10:58:46 +0000 Subject: [Nagios-users] check_procs HiI have installed nagios software to monitor my network, I want to know that if there is a plugin to monitor a specific process, for example I want to monitor the pmta or tcp or apache, please guide me as I have no idea how to do that, Thanks & Regards Sajjad AliNetwork Administrator247EmailData.com Tel: 0800 043 2460Fax: 01246 351258Email: saja at 247emaildata.com VAT No. 918 3521 24 Registered in England No. 6411606 Registered office address: Tapton Park Innovation Centre, Brimington Road, Chesterfield, S41 0TZ ____________________________________________________________________ Email Disclaimer This email and any attachments may contain confidential material and is solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately and delete this email. If you are not the intended recipient(s), you must not use, retain or disclose any information contained in this email. Any views or opinions are solely those of the sender and do not necessarily represent those of 247EmailData.com. 247EmailData.com does not guarantee that this email or any attachments are free from viruses or 100% secure. Unless expressly stated in the body of the text of the email, this email is not intended to form a binding contract - a list of authorised signatories is available from the 247EmailData.com finance office. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 13966 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 2768 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Feb 10 18:24:38 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 10 Feb 2011 17:24:38 +0000 Subject: first_notification_delay problem Message-ID: Hi, I'm having a problem with using first_notification_delay. I'm not sure if it's a bug or just that I don't understand how it's supposed to work. I have this passive service check to receive traps from a UPS: define service { host_name ups-a service_description SNMP-Trap check_period 24x7 check_command check_nothing contact_groups notify-Facilities_HQ notification_period 24x7 initial_state o check_interval 60.000000 retry_interval 2.000000 max_check_attempts 1 is_volatile 0 parallelize_check 1 active_checks_enabled 0 passive_checks_enabled 1 obsess_over_service 0 event_handler_enabled 1 low_flap_threshold 0.000000 high_flap_threshold 0.000000 flap_detection_enabled 0 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options w,c,r notifications_enabled 1 notification_interval 720.000000 first_notification_delay 10.000000 stalking_options w,c process_perf_data 0 failure_prediction_enabled 1 notes If you need to reset status of this check back to OK, submit a passive service check. retain_status_information 1 retain_nonstatus_information 1 } I want Nagios only to send a notification if the service is in a non-ok state for more than ten minutes. In practice I find it sends a notification regardless: ups-a SNMP-Trap CRITICAL 09-02-2011 07:07:41 notify-Facilities_HQ notify-service-by-email upsOnBattery UPS: Switched to battery backup power. ups-a SNMP-Trap OK 09-02-2011 07:07:41 notify-Facilities_HQ notify-service-by-email powerRestored UPS: Returned from battery backup power. Is this a bug? I tried looking in Nagios tracker ( http://tracker.nagios.org ) but couldn't find anything (then again I rarely look there so might have done the search wrong). Is Nagios Tracker the right place to look for issues like this? Cheers, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From TTeska at bhccu.org Thu Feb 10 18:22:48 2011 From: TTeska at bhccu.org (Tom Teska) Date: Thu, 10 Feb 2011 11:22:48 -0600 Subject: Nagios Looking Glass with Groundwork 6 Message-ID: <4D53CA88.0744.00BA.0@bhccu.org> I am trying to get NLG working with Groundwork CE 6 and am having difficulty. I am using NLG version 1.06 and it looks like it's working except it reports that I have 0 servers and 0 metrics. Needless to say, I have many more than that! Here is a copy of the debug output: +---------------------------------------------------------------------------+ | Running Nagios Looking Glass in Debug mode | |---------------------------------------------------------------------------| | *** WARNING *** | | Leaving $Stub_ClientEnableDebugging enabled can expose information about | | your environment to your visitors - don't forget to disable when you're | | done debugging! | | | | NOTE: No server/metric statuses will be shown in debug mode. | +---------------------------------------------------------------------------+ *** Download Stub -> DownloadFiles() running *** Attempting to download files from /server/s3_poller.php?fid=0&gid=0 All data received and decrypted OK *** S3 Client -> PingPoller() finished *** -- OBJECT SUMMARY USING CURRENT DATA SET -- Servers (hosts): 0 Metrics (services): 0 The client and server directories are directly under /usr/local/groundwork/apache2/htdocs I have set $ServerNagiosFeed = "/usr/local/groundwork/nagios/var/" $ServerNagiosFiles has "comments" => "status.log", "downtime" => "status.log", "obj_cache" => "objects_cache", "status" => "status.log" I have checked that the nagios user can get to the client and server directories and all sub-directories. Any help will be greatly appreciated. Thanks. Tom Teska E-mail confidentiality notice: This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcasale at activenetwerx.com Thu Feb 10 18:56:19 2011 From: jcasale at activenetwerx.com (Joseph L. Casale) Date: Thu, 10 Feb 2011 17:56:19 +0000 Subject: check_snmp not In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE84F32@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE84F32@althamex1.micro-p.com> Message-ID: >Thanks for the replies. No problem... >I've managed to get it working by running 'yum install Nagios Nagios-plugins-snmp' and then moving the file 'check_snmp' from /usr/lib to /usr/local/Nagios/libexec Good to see your using the tools provided by the OS, truth is when you manually install software in a packaged based distro you often mangle it. On that note, which command definition desired to find the binary in /usr/local/Nagios/libexec ? Possibly one from the manually compiled config files? If the one from the rpm did this, it's a bug that should be filed. If I was you, I would move it back as that's where the rpm database expects it and fix your config template or at the very most, link to it... YMMV, jlc ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu Feb 10 20:20:00 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 10 Feb 2011 19:20:00 +0000 Subject: You don't have permission to access /nagios/nagvis/ on this server In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789CE12F46C@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789CE12F46C@susday218.corp.ncr.com> Message-ID: <4D543A60.2060601@flatto.net> Anand, Sakshi wrote: > Hi All, > > I am new to Nagios and this forum. > > I am facing following error message when trying to access nagvis - > > You don't have permission to access /nagios/nagvis/ on this server > > I am able to access _http://destination-server/nagios/_ fine with the > username/password I have configured, but not nagvis. > This seems to be some kind of permission/configuration issue with NAGVIS. > Please help. > Thanks & Regards, > Sakshi Anand the most common issue for this is that the web server ( Apache) has not been configured to allow access to the directory of the nagvis installation or the nagvis directory is not allowing the user that the apache is running under to access . Assaf ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu Feb 10 20:21:56 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 10 Feb 2011 19:21:56 +0000 Subject: Auto generated reports In-Reply-To: <4D527B3E.2070801@omnilogic.ro> References: <4D527B3E.2070801@omnilogic.ro> Message-ID: <4D543AD4.1020806@flatto.net> Cosmin Neagu wrote: > Hello, > Does anyone know a plugin that can generate periodically reports and > sent them via email? > > Thanks > Hello You can try looking at https://www.monitoringexchange.org/ but from memory , there is no such plugin - you'll have to write a script that will do what you need. Assaf ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Thu Feb 10 20:29:37 2011 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 10 Feb 2011 19:29:37 +0000 Subject: Fwd: Monitoring unmounted partition In-Reply-To: <4D512C69.9020202@skisa.com> References: <4D512C69.9020202@skisa.com> Message-ID: <4D543CA1.2040401@flatto.net> Javier Rivera wrote: > Good Morning, > > Im having a problem with check_nrpe. Im monitoring a partition > /mnt/XXXX2 f.e. If i dont have this partition mounted, it just returns > the value of "/" witout sending any error. > > How can i get an alert when the partition isn`t mounted. > > Thanks in advance. > Hello Javier what is you definition in the nrpe.cfg you can change the definition on the nrpe.cfg to instead of "-p /mnt/XXXX2 f.e. " to be "-p [device ] ( i.e /dev/sdd(X) ) " , that way if the file system is not mounted - the check will fail and you will get notified about it. Assaf ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From breandan at dezendorf.com Thu Feb 10 22:37:12 2011 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Thu, 10 Feb 2011 16:37:12 -0500 Subject: Uptime Calculation Question Message-ID: Does anyone have a good guide to the impact the check_interval setting has on calculating uptime and availability data from Nagios logs? For example, if your check_interval is set to 10 minutes, a service could be down for 9 minutes and never register in Nagios. However, your availability numbers at that point couldn't be any more precise than 99.99% (as the cutoff for "five nines" is 5.26 service outage minutes a year). While unlikely, six such outages would push you into 99.9% - and an SLA report that generated from Nagios log files would still report 100%. If the value for check_interval is set to 30 minutes, the problem is amplified - Nagios is more likely to miss events, which makes me even less comfortable with the resulting statistics. Are there SLA packages for Nagios that account for this, or does Nagios's in-built reporting engine account for this in some way? Or, is there a statistician amongst us who can make me understand that I'm just being overly paranoid, and show me that the math actually works out? -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Feb 11 02:59:27 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 11 Feb 2011 09:59:27 +0800 Subject: first_notification_delay problem In-Reply-To: References: Message-ID: no bug in your case. "first_notification_delay" is just to postpone the notification for a (hard)status change, Nagios won't check the status during the delay period. in your example, a notification will be sent at 09-02-2011 07:17:41 to reflect the critical event at 09-02-2011 07:07:41, no matter what happened then. On Fri, Feb 11, 2011 at 1:24 AM, Jim Avery wrote: > Hi, > > I'm having a problem with using first_notification_delay. ?I'm not > sure if it's a bug or just that I don't understand how it's supposed > to work. > > I have this passive service check to receive traps from a UPS: > > define service { > ? ? ? ?host_name ? ? ? ups-a > ? ? ? ?service_description ? ? SNMP-Trap > ? ? ? ?check_period ? ?24x7 > ? ? ? ?check_command ? check_nothing > ? ? ? ?contact_groups ?notify-Facilities_HQ > ? ? ? ?notification_period ? ? 24x7 > ? ? ? ?initial_state ? o > ? ? ? ?check_interval ?60.000000 > ? ? ? ?retry_interval ?2.000000 > ? ? ? ?max_check_attempts ? ? ?1 > ? ? ? ?is_volatile ? ? 0 > ? ? ? ?parallelize_check ? ? ? 1 > ? ? ? ?active_checks_enabled ? 0 > ? ? ? ?passive_checks_enabled ?1 > ? ? ? ?obsess_over_service ? ? 0 > ? ? ? ?event_handler_enabled ? 1 > ? ? ? ?low_flap_threshold ? ? ?0.000000 > ? ? ? ?high_flap_threshold ? ? 0.000000 > ? ? ? ?flap_detection_enabled ?0 > ? ? ? ?flap_detection_options ?o,w,u,c > ? ? ? ?freshness_threshold ? ? 0 > ? ? ? ?check_freshness 0 > ? ? ? ?notification_options ? ?w,c,r > ? ? ? ?notifications_enabled ? 1 > ? ? ? ?notification_interval ? 720.000000 > ? ? ? ?first_notification_delay ? ? ? ?10.000000 > ? ? ? ?stalking_options ? ? ? ?w,c > ? ? ? ?process_perf_data ? ? ? 0 > ? ? ? ?failure_prediction_enabled ? ? ?1 > ? ? ? ?notes ? If you need to reset status of this check back to OK, > submit a passive service check. > ? ? ? ?retain_status_information ? ? ? 1 > ? ? ? ?retain_nonstatus_information ? ?1 > ? ? ? ?} > > I want Nagios only to send a notification if the service is in a > non-ok state for more than ten minutes. ?In practice I find it sends a > notification regardless: > > ups-a ? SNMP-Trap ? ? ? CRITICAL ? ? ? ?09-02-2011 07:07:41 ? ? notify-Facilities_HQ > ? ? ? ?notify-service-by-email ? ? ? ? upsOnBattery UPS: Switched to battery backup > power. > ups-a ? SNMP-Trap ? ? ? OK ? ? ?09-02-2011 07:07:41 ? ? notify-Facilities_HQ > ? ? ? ?notify-service-by-email ? ? ? ? powerRestored UPS: Returned from battery > backup power. > > > Is this a bug? ?I tried looking in Nagios tracker ( > http://tracker.nagios.org ) but couldn't find anything (then again I > rarely look there so might have done the search wrong). ?Is Nagios > Tracker the right place to look for issues like this? > > Cheers, > > Jim > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Feb 11 03:12:41 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 11 Feb 2011 10:12:41 +0800 Subject: Uptime Calculation Question In-Reply-To: References: Message-ID: nothing will be known without checking. you want more precise data you have to do more checks, that is, decrease the "check_interval" value. On Fri, Feb 11, 2011 at 5:37 AM, Breandan Dezendorf wrote: > Does anyone have a good guide to the impact the check_interval setting > has on calculating uptime and availability data from Nagios logs? > > For example, if your check_interval is set to 10 minutes, a service > could be down for 9 minutes and never register in Nagios. ?However, > your availability numbers at that point couldn't be any more precise > than 99.99% (as the cutoff for "five nines" is 5.26 service outage > minutes a year). ?While unlikely, six such outages would push you into > 99.9% - and an SLA report that generated from Nagios log files would > still report 100%. ?If the value for check_interval is set to 30 > minutes, the problem is amplified - Nagios is more likely to miss > events, which makes me even less comfortable with the resulting > statistics. > > Are there SLA packages for Nagios that account for this, or does > Nagios's in-built reporting engine account for this in some way? ?Or, > is there a statistician amongst us who can make me understand that I'm > just being overly paranoid, and show me that the math actually works > out? > > -- > Breandan Dezendorf > breandan at dezendorf.com > bwdezend at gmail.com > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From breandan at dezendorf.com Fri Feb 11 03:49:40 2011 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Thu, 10 Feb 2011 21:49:40 -0500 Subject: Uptime Calculation Question In-Reply-To: References: Message-ID: On Thu, Feb 10, 2011 at 9:12 PM, Yueh-Hung Liu wrote: > nothing will be known without checking. > you want more precise data you have to do more checks, that is, > decrease the "check_interval" value. And the lower you set the check_interval, the harder the servers have to work to keep up with all the checks. While the servers we are running could very well run all 5000 service checks every 5 minutes (or even faster), it would chew up a lot of our growth capacity for the server. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Feb 11 03:59:39 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 11 Feb 2011 10:59:39 +0800 Subject: Uptime Calculation Question In-Reply-To: References: Message-ID: consider distributed monitoring On Fri, Feb 11, 2011 at 10:49 AM, Breandan Dezendorf wrote: > On Thu, Feb 10, 2011 at 9:12 PM, Yueh-Hung Liu wrote: >> nothing will be known without checking. >> you want more precise data you have to do more checks, that is, >> decrease the "check_interval" value. > > And the lower you set the check_interval, the harder the servers have > to work to keep up with all the checks. ?While the servers we are > running could very well run all 5000 service checks every 5 minutes > (or even faster), it would chew up a lot of our growth capacity for > the server. > > -- > Breandan Dezendorf > breandan at dezendorf.com > bwdezend at gmail.com > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Feb 11 08:48:01 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 11 Feb 2011 07:48:01 +0000 Subject: Uptime Calculation Question In-Reply-To: References: Message-ID: On 11 February 2011 02:49, Breandan Dezendorf wrote: > And the lower you set the check_interval, the harder the servers have > to work to keep up with all the checks. ?While the servers we are > running could very well run all 5000 service checks every 5 minutes > (or even faster), it would chew up a lot of our growth capacity for > the server. I think the trick is only to set short check interval for those services where accurate stats are critical. For example, for a web server, set check_interval to a short value for check_http but a long value for disk checks, memory checks, log file checks and so on. The Service Level Agreements in place for those systems should help you to determine which services need accurate stats. I also group hosts in to "gold", "silver" and "bronze" hostgroups and configure the service definitions so "gold" servers are polled every two minutes, but "silver" servers only every five minutes, and "bronze" every 30 minutes. Where there are more than one server in a cluster, each of those servers is in "silver" and only the check for the clustered service is in "gold". Also remember that you probably don't need to set a short check_interval for a host if you already have a service on that host which has a short check_interval. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Feb 11 09:57:54 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 11 Feb 2011 08:57:54 +0000 Subject: first_notification_delay problem In-Reply-To: References: Message-ID: On 10 February 2011 17:24 I wrote: > Hi, > > I'm having a problem with using first_notification_delay. ?I'm not > sure if it's a bug or just that I don't understand how it's supposed > to work. ... I believe I found the answer here: http://git.nagiosprojects.org/?p=nagios.git;a=commit;h=d34d13f61baa2943b565988c3b0c1f8f4ba58511 Many thanks Andreas - your timing is impeccable! :-) ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Fri Feb 11 10:33:04 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Fri, 11 Feb 2011 04:33:04 -0500 Subject: Notification by Email Message-ID: <4D551E700200002F0001DB39@trw.com> Hi I have a problem getting my status detail sent (correctly) via email. Let me explain. If I look at Nagios self and I look at the status detail for a printer that I monitor I see the following, which is correct BTW: service at kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20"UAD6X01096"%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre ( 'mailto:service at kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20"UAD6X01096"%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre' ) If you copy and paste that link into word and you click it you will see that it populates the entire email for you and you just have to hit send. Now when this service goes into critical (like I have done here to test) it send me an email, but this is where the problem comes in. When I get my email the "&" is missing from the above link and then it does not work properly. Somewhere Nagios removes it and I have no clue where. I have sent a test mail from a shell on my Nagios machine as follows: /usr/bin/printf "Body Text" | /bin/mail -s "Subject" andre.kruger at trw.com. When I receive this mail it still has the "&" in the body. So I am making the assumption that somewhere between Nagios and Postfix when it send the notification the "&" is removed. Can somebody please shed some light on this? Regards Andre Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Fri Feb 11 11:35:02 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Fri, 11 Feb 2011 10:35:02 +0000 Subject: Notification by Email In-Reply-To: <4D551E700200002F0001DB39@trw.com> References: <4D551E700200002F0001DB39@trw.com> Message-ID: On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger wrote: > Hi > > I have a problem getting my status detail sent (correctly) via email. Let me > explain. If I look at Nagios self and I look at the status detail for a > printer that I monitor I see the following, which is correct BTW: > > service at kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20"UAD6X01096"%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre > > If you copy and paste that link into word and you click it you will see that > it populates the entire email for you and you just have to hit send. Now > when this service goes into critical (like I have done here to test) it send > me an email, but this is where the problem comes in. When I get my email the > "&" is missing from the above link and then it does not work properly. > Somewhere Nagios removes it and I have no clue where. I have sent a test > mail from a shell on my Nagios machine as follows: > > /usr/bin/printf "Body Text" | /bin/mail -s "Subject" andre.kruger at trw.com. > > When I receive this mail it still has the "&" in the body. So I am making > the assumption that somewhere between Nagios and?Postfix when it send the > notification the "&" is removed. Can somebody please shed some light on > this? try escaping or html encoding the # > > Regards > Andre > > P Please consider your environmental responsibility before printing this > e-mail or any other document. Ask yourself whether you need a hard copy. > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Fri Feb 11 11:56:49 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Fri, 11 Feb 2011 05:56:49 -0500 Subject: Notification by Email In-Reply-To: References: <4D551E700200002F0001DB39@trw.com> Message-ID: <4D5532110200002F0001DB46@trw.com> I would try an escape key if I knew what it was. Any idea? It just seems strange to me that from Nagois on the way to Postfix the "&" is dumped somewhere along the way. >>> 2011/02/11 12:35 >>> On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger wrote: > Hi > > I have a problem getting my status detail sent (correctly) via email. Let me > explain. If I look at Nagios self and I look at the status detail for a > printer that I monitor I see the following, which is correct BTW: > > service at kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20"UAD6X01096"%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre > > If you copy and paste that link into word and you click it you will see that > it populates the entire email for you and you just have to hit send. Now > when this service goes into critical (like I have done here to test) it send > me an email, but this is where the problem comes in. When I get my email the > "&" is missing from the above link and then it does not work properly. > Somewhere Nagios removes it and I have no clue where. I have sent a test > mail from a shell on my Nagios machine as follows: > > /usr/bin/printf "Body&Text" | /bin/mail -s "Subject" andre.kruger at trw.com. > > When I receive this mail it still has the "&" in the body. So I am making > the assumption that somewhere between Nagios and Postfix when it send the > notification the "&" is removed. Can somebody please shed some light on > this? try escaping or html encoding the # > > Regards > Andre > > P Please consider your environmental responsibility before printing this > e-mail or any other document. Ask yourself whether you need a hard copy. > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Fri Feb 11 12:08:37 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Fri, 11 Feb 2011 11:08:37 +0000 Subject: Check_snmp -d & -s Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85317@althamex1.micro-p.com> Morning all, I'm trying to refine a few snmp checks I do. My command looks like this; ./check_snmp -H xx.xx.xx.xx -o READyNAS-MIB::diskState.1 -C nas-drive -P 2c -v This produces the following; /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx READYNAS-MIB::diskState.1 READYNAS-MIB::diskState.1 = STRING: "dead" SNMP OK - "dead" | Now, as you can see from above, my disk 2 is 'dead' but Nagios reports this as ok. I'm under the impression I need to use the '-s' switch to specify what is good and what is bad, based on matching a string from the output. To me, the output above would suggest that the returning string is "dead" so to get it to report that this is actually bad I should use "-s ok" as "ok" is the string returned on all the other disks that are working ok. ----- working disk--- /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx READYNAS-MIB::diskState.2 READYNAS-MIB::diskState.2 = STRING: "ok" SNMP OK - "ok" | ----- working disk--- Sadly, this doesn't work as it seems that "ok" and "dead" aren't the returning strings. Neither are 1 and 0 as stated in the readynas MIB documentation. Anyone got any ideas?? Have I messed up the syntax?? Thanks in advance, Tristan ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Feb 11 12:20:55 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 11 Feb 2011 19:20:55 +0800 Subject: Notification by Email In-Reply-To: <4D5532110200002F0001DB46@trw.com> References: <4D551E700200002F0001DB39@trw.com> <4D5532110200002F0001DB46@trw.com> Message-ID: maybe "escape_html_tags" in CGI configuration file? On Fri, Feb 11, 2011 at 6:56 PM, Andre Kruger wrote: > I would try an escape key if I knew what it was. Any idea? > > It just seems strange to me that from Nagois on the way to Postfix the "&" > is dumped somewhere along the way. > >>>> 2011/02/11 12:35 >>> > On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger wrote: >> Hi >> >> I have a problem getting my status detail sent (correctly) via email. Let >> me >> explain. If I look at Nagios self and I look at the status detail for a >> printer that I monitor I see the following, which is correct BTW: >> >> >> service at kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20"UAD6X01096"%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre >> >> If you copy and paste that link into word and you click it you will see >> that >> it populates the entire email for you and you just have to hit send. Now >> when this service goes into critical (like I have done here to test) it >> send >> me an email, but this is where the problem comes in. When I get my email >> the >> "&" is missing from the above link and then it does not work properly. >> Somewhere Nagios removes it and I have no clue where. I have sent a test >> mail from a shell on my Nagios machine as follows: >> >> /usr/bin/printf "Body&Text" | /bin/mail -s "Subject" andre.kruger at trw.com. >> >> When I receive this mail it still has the "&" in the body. So I am making >> the assumption that somewhere between Nagios and Postfix when it send the >> notification the "&" is removed. Can somebody please shed some light on >> this? > > > > try escaping or html encoding the # > >> >> Regards >> Andre >> >> P Please consider your environmental responsibility before printing this >> e-mail or any other document. Ask yourself whether you need a hard copy. >> >> ------------------------------------------------------------------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > P Please consider your environmental responsibility before printing this > e-mail or any other document. Ask yourself whether you need a hard copy. > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Feb 11 12:24:16 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 11 Feb 2011 19:24:16 +0800 Subject: Check_snmp -d & -s In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85317@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85317@althamex1.micro-p.com> Message-ID: you can write a wrap script, which would be the check command, to deal the return string and report correct status to Nagios. of course this script will use check_snmp in it. On Fri, Feb 11, 2011 at 7:08 PM, Tristan Drinkwater wrote: > Morning all, > > > > I?m trying to refine a few snmp checks I do. > > > > My command looks like this; > > > > ./check_snmp ?H xx.xx.xx.xx ?o READyNAS-MIB::diskState.1 ?C nas-drive ?P 2c > ?v > > > > > > This produces the following; > > > > /usr/bin/snmpget ?t 1 ?r 5 ?m ALL ?v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.1 > > READYNAS-MIB::diskState.1 = STRING: ?dead? > > SNMP OK ? ?dead? | > > > > > > Now, as you can see from above, my disk 2 is ?dead? but Nagios reports this > as ok. I?m under the impression I need to use the ??s? switch to specify > what is good and what is bad, based on matching a string from the output. > > > > To me, the output above would suggest that the returning string is ?dead? so > to get it to report that this is actually bad I should use ?-s ok?? as ?ok? > is the string returned on all the other disks that are working ok. > > > > ----- working disk--- > > /usr/bin/snmpget ?t 1 ?r 5 ?m ALL ?v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.2 > > READYNAS-MIB::diskState.2 = STRING: ?ok? > > SNMP OK ? ?ok? | > > ----- working disk--- > > > > > > > > Sadly, this doesn?t work as it seems that ?ok? and ?dead? aren?t the > returning strings. Neither are 1 and 0 as stated in the readynas MIB > documentation. > > > > Anyone got any ideas?? > > > > Have I messed up the syntax?? > > > > Thanks in advance, > > > > Tristan > > > > > > > > ________________________________ > Micro Peripherals Limited. > Registered Office: Shorten Brook Way, Altham Business Park, Altham, > Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 > Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 > 4387 91 > > DISCLAIMER: > This e-mail and attachments are confidential and are intended solely for the > use of the individual to > whom it is addressed. Any views or opinions presented are solely those of > the author and do not > necessarily represent those of Micro Peripherals Limited. > If you are not the intended recipient, be advised that you have received > this Email in error and that > any use, dissemination, forwarding, printing, or copying of this Email is > strictly prohibited. If this > transmission is received in error please notify the sender immediately and > delete this message from > your E-mail system. > All electronic transmissions to and from Micro Peripherals Ltd are recorded > and may be monitored. > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Fri Feb 11 12:25:13 2011 From: giles at coochey.net (Giles Coochey) Date: Fri, 11 Feb 2011 12:25:13 +0100 Subject: Check_snmp -d & -s In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85317@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85317@althamex1.micro-p.com> Message-ID: <4D551C99.8010503@coochey.net> On 11/02/2011 12:08, Tristan Drinkwater wrote: > > Morning all, > > I?m trying to refine a few snmp checks I do. > > My command looks like this; > > ./check_snmp ?H xx.xx.xx.xx ?o READyNAS-MIB::diskState.1 ?C nas-drive > ?P 2c ?v > > This produces the following; > > /usr/bin/snmpget ?t 1 ?r 5 ?m ALL ?v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.1 > > READYNAS-MIB::diskState.1 = STRING: ?dead? > > SNMP OK ? ?dead? | > > Now, as you can see from above, my disk 2 is ?dead? but Nagios reports > this as ok. I?m under the impression I need to use the ??s? switch to > specify what is good and what is bad, based on matching a string from > the output. > > To me, the output above would suggest that the returning string is > ?dead? so to get it to report that this is actually bad I should use > ?-s ok? as ?ok? is the string returned on all the other disks that are > working ok. > > ----- working disk--- > > /usr/bin/snmpget ?t 1 ?r 5 ?m ALL ?v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.2 > > READYNAS-MIB::diskState.2 = STRING: ?ok? > > SNMP OK ? ?ok? | > > ----- working disk--- > > Sadly, this doesn?t work as it seems that ?ok? and ?dead? aren?t the > returning strings. Neither are 1 and 0 as stated in the readynas MIB > documentation. > > Anyone got any ideas?? > > Have I messed up the syntax?? > > Have you tried --eregi="ok" ? -- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350 5401 6693 Email/MSN/Live Messenger: giles at coochey.net Skype: gilescoochey -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5137 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Fri Feb 11 12:32:54 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Fri, 11 Feb 2011 11:32:54 +0000 Subject: Check_snmp -d & -s In-Reply-To: <4D551C99.8010503@coochey.net> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85317@althamex1.micro-p.com> <4D551C99.8010503@coochey.net> Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85347@althamex1.micro-p.com> Hi, I have just tried that not but dice. :( -----Original Message----- From: Giles Coochey [mailto:giles at coochey.net] Sent: 11 February 2011 11:25 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_snmp -d & -s On 11/02/2011 12:08, Tristan Drinkwater wrote: > > Morning all, > > I'm trying to refine a few snmp checks I do. > > My command looks like this; > > ./check_snmp -H xx.xx.xx.xx -o READyNAS-MIB::diskState.1 -C nas-drive > -P 2c -v > > This produces the following; > > /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.1 > > READYNAS-MIB::diskState.1 = STRING: "dead" > > SNMP OK - "dead" | > > Now, as you can see from above, my disk 2 is 'dead' but Nagios reports > this as ok. I'm under the impression I need to use the '-s' switch to > specify what is good and what is bad, based on matching a string from > the output. > > To me, the output above would suggest that the returning string is > "dead" so to get it to report that this is actually bad I should use > "-s ok" as "ok" is the string returned on all the other disks that are > working ok. > > ----- working disk--- > > /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.2 > > READYNAS-MIB::diskState.2 = STRING: "ok" > > SNMP OK - "ok" | > > ----- working disk--- > > Sadly, this doesn't work as it seems that "ok" and "dead" aren't the > returning strings. Neither are 1 and 0 as stated in the readynas MIB > documentation. > > Anyone got any ideas?? > > Have I messed up the syntax?? > > Have you tried --eregi="ok" ? -- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350 5401 6693 Email/MSN/Live Messenger: giles at coochey.net Skype: gilescoochey Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Fri Feb 11 12:34:05 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Fri, 11 Feb 2011 11:34:05 +0000 Subject: Check_snmp -d & -s In-Reply-To: References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85317@althamex1.micro-p.com> Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE8534A@althamex1.micro-p.com> Interesting..... How do I go about a wrap script then? I take it I call the script from the command_check line? Anything special about outputting the result so Nagios can see it? thanks -----Original Message----- From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Sent: 11 February 2011 11:24 To: Nagios Users List Subject: Re: [Nagios-users] Check_snmp -d & -s you can write a wrap script, which would be the check command, to deal the return string and report correct status to Nagios. of course this script will use check_snmp in it. On Fri, Feb 11, 2011 at 7:08 PM, Tristan Drinkwater wrote: > Morning all, > > > > I'm trying to refine a few snmp checks I do. > > > > My command looks like this; > > > > ./check_snmp -H xx.xx.xx.xx -o READyNAS-MIB::diskState.1 -C nas-drive > -P 2c -v > > > > > > This produces the following; > > > > /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.1 > > READYNAS-MIB::diskState.1 = STRING: "dead" > > SNMP OK - "dead" | > > > > > > Now, as you can see from above, my disk 2 is 'dead' but Nagios reports > this as ok. I'm under the impression I need to use the '-s' switch to > specify what is good and what is bad, based on matching a string from the output. > > > > To me, the output above would suggest that the returning string is > "dead" so to get it to report that this is actually bad I should use "-s ok"? as "ok" > is the string returned on all the other disks that are working ok. > > > > ----- working disk--- > > /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.2 > > READYNAS-MIB::diskState.2 = STRING: "ok" > > SNMP OK - "ok" | > > ----- working disk--- > > > > > > > > Sadly, this doesn't work as it seems that "ok" and "dead" aren't the > returning strings. Neither are 1 and 0 as stated in the readynas MIB > documentation. > > > > Anyone got any ideas?? > > > > Have I messed up the syntax?? > > > > Thanks in advance, > > > > Tristan > > > > > > > > ________________________________ > Micro Peripherals Limited. > Registered Office: Shorten Brook Way, Altham Business Park, Altham, > Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 > Micro Peripherals Limited. Registered in England No. 1511931. VAT No. > GB 864 > 4387 91 > > DISCLAIMER: > This e-mail and attachments are confidential and are intended solely > for the use of the individual to whom it is addressed. Any views or > opinions presented are solely those of the author and do not > necessarily represent those of Micro Peripherals Limited. > If you are not the intended recipient, be advised that you have > received this Email in error and that any use, dissemination, > forwarding, printing, or copying of this Email is strictly prohibited. > If this transmission is received in error please notify the sender > immediately and delete this message from your E-mail system. > All electronic transmissions to and from Micro Peripherals Ltd are > recorded and may be monitored. > > ---------------------------------------------------------------------- > -------- The ultimate all-in-one performance toolkit: Intel(R) > Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mariog at absi.be Fri Feb 11 12:21:12 2011 From: mariog at absi.be (Mario Garcia Ortiz) Date: Fri, 11 Feb 2011 12:21:12 +0100 Subject: import historical data from old nagios to new Message-ID: Hello all we have upgraded nagios from version 3.0.3 to the latest version, all the config was upgraded and it's nicely in production but the historical data and availability reports from the old nagios are not in the new; how can i migrate the data from the old nagis and integrate it in the new i still have the /usr/localnagios/var/nagios.log from the old nagios as well as the /usr/local/nagios/var/archives. thank you for your help.. Mario Garcia Ortiz. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Fri Feb 11 13:03:23 2011 From: subscription at kkeane.com (Kevin Keane) Date: Fri, 11 Feb 2011 04:03:23 -0800 Subject: Uptime Calculation Question In-Reply-To: References: Message-ID: The trick is to carefully select what you are actually checking. You probably don't want to run 5000 checks every five minutes, but you really only need to have one check, or a few at most, per server that will tell you whether or not whatever you are monitoring is up; that should be enough for your SLA. Make sure that check is very inexpensive computationally, and you can safely run it once per minute. For instance, for a Web site, check_http is a fairly inexpensive check, depending on the options you use. That said, you may also want to look at other tools. I haven't used it myself, but I hear that many people use Cacti for this type of higher-resolution monitoring/measuring. A third option is to create your own agent that monitors something important - for instance, it could monitor the Web server log files and generate an alert if no new entries have been added for 20 seconds, or if it sees a 500 error, things like that. Such an agent can submit check results to Nagios as a passive check result, basically right as it occurs. Drawback: if the server as a whole is down, such an agent wouldn't report a problem. Advantage: such an agent can be crafted very specifically to measure whatever parameters your SLA defines. -----Original Message----- From: Breandan Dezendorf [mailto:breandan at dezendorf.com] Sent: Thursday, February 10, 2011 6:50 PM To: Nagios Users List Subject: Re: [Nagios-users] Uptime Calculation Question On Thu, Feb 10, 2011 at 9:12 PM, Yueh-Hung Liu wrote: > nothing will be known without checking. > you want more precise data you have to do more checks, that is, > decrease the "check_interval" value. And the lower you set the check_interval, the harder the servers have to work to keep up with all the checks. While the servers we are running could very well run all 5000 service checks every 5 minutes (or even faster), it would chew up a lot of our growth capacity for the server. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Fri Feb 11 12:57:34 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Fri, 11 Feb 2011 06:57:34 -0500 Subject: Notification by Email In-Reply-To: References: <4D551E700200002F0001DB39@trw.com> <4D5532110200002F0001DB46@trw.com> Message-ID: <4D55404E0200002F0001DB51@trw.com> I have tried replacing my "&" with %26 , but that does not work. The %26 shows in my Notification email but then the link does not work as expected. Next I tried the \ escape character, but then when I receive the notification email the "b" of "...&body=..." is gone. I am not sure about the escape_html_tags as this is the configuration for the Nagios web interface and I don't believe it would have any impact on Notifications sent out from Nagios >>> Yueh-Hung Liu 2011/02/11 13:20 >>> maybe "escape_html_tags" in CGI configuration file? On Fri, Feb 11, 2011 at 6:56 PM, Andre Kruger wrote: > I would try an escape key if I knew what it was. Any idea? > > It just seems strange to me that from Nagois on the way to Postfix the "&" > is dumped somewhere along the way. > >>>> 2011/02/11 12:35 >>> > On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger wrote: >> Hi >> >> I have a problem getting my status detail sent (correctly) via email. Let >> me >> explain. If I look at Nagios self and I look at the status detail for a >> printer that I monitor I see the following, which is correct BTW: >> >> >> service at kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20"UAD6X01096"%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre >> >> If you copy and paste that link into word and you click it you will see >> that >> it populates the entire email for you and you just have to hit send. Now >> when this service goes into critical (like I have done here to test) it >> send >> me an email, but this is where the problem comes in. When I get my email >> the >> "&" is missing from the above link and then it does not work properly. >> Somewhere Nagios removes it and I have no clue where. I have sent a test >> mail from a shell on my Nagios machine as follows: >> >> /usr/bin/printf "Body&Text" | /bin/mail -s "Subject" andre.kruger at trw.com. >> >> When I receive this mail it still has the "&" in the body. So I am making >> the assumption that somewhere between Nagios and Postfix when it send the >> notification the "&" is removed. Can somebody please shed some light on >> this? > > > > try escaping or html encoding the # > >> >> Regards >> Andre >> >> P Please consider your environmental responsibility before printing this >> e-mail or any other document. Ask yourself whether you need a hard copy. >> >> ------------------------------------------------------------------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > P Please consider your environmental responsibility before printing this > e-mail or any other document. Ask yourself whether you need a hard copy. > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From breandan at dezendorf.com Fri Feb 11 14:27:53 2011 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Fri, 11 Feb 2011 08:27:53 -0500 Subject: Uptime Calculation Question In-Reply-To: References: Message-ID: On Fri, Feb 11, 2011 at 7:03 AM, Kevin Keane wrote: > The trick is to carefully select what you are actually checking. You > probably don't want to run 5000 checks every five minutes, but you really > only need to have one check, or a few at most, per server that will tell you > whether or not whatever you are monitoring is up; that should be enough > for your SLA. Make sure that check is very inexpensive computationally, > and you can safely run it once per minute. On Fri, Feb 11, 2011 at 2:48 AM, Jim Avery wrote: > I think the trick is only to set short check interval for those > services where accurate stats are critical. ?For example, for a web > server, set check_interval to a short value for check_http but a long > value for disk checks, memory checks, log file checks and so on. I understand that increasing the check_interval decreases the margin of possible error. I was hoping someone with a statistics bent could show me that "with a check_interval of X minutes, your accuracy in nines can be reported with an accuracy of up to Y percent". I will probably go the route of inexpensive and frequent checks for services where we're trying to promise a specific number of nines. That will be a communication issue with the other administrators and the customers, and doesn't rate discussion on this list. All of that said, I'm still unable to shake the feeling that a poll-based system is the wrong thing to use for uptime calculations. It doesn't help that all alternatives coming to mind are messy and inelegant, and would likely need to be customized to each service - and possibly each instance of each service. (Processing application log files, processing system logs, doing horrible things like running constant dtrace/strace metrics, etc) Clustered and load balanced services are even harder, depending on your setup, as the hypothetical system would have to be able to correlate logs from multiple devices. And sadly, monitoring is only one of the things I'm responsible for. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rochak41 at hotmail.com Fri Feb 11 15:37:20 2011 From: rochak41 at hotmail.com (Roch Akanor) Date: Fri, 11 Feb 2011 14:37:20 +0000 Subject: Hope this useful : a dashboard management tool for Nagios Message-ID: Hello everyone,I just found ngrt4n (http://www.ngrt4n.com), a nice dashboard management tool for Nagios. I have thought that it could be useful to share the link with you.Kind regards--Roch A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryanoshea3 at gmail.com Fri Feb 11 16:40:28 2011 From: bryanoshea3 at gmail.com (Bryan O'Shea) Date: Fri, 11 Feb 2011 10:40:28 -0500 Subject: check_openmanage and linebreaks Message-ID: check_openmanage and linebreaks not working in $SERVICEOUTPUT$ emails. When using the either of the following options the linebreaks seem to be broken: -e or --postmsg This is what i get in my service notification emails instead of the desired output of seperate lines. "Power Supply 1 [AC] needs attention: Presence detected, Failure detected, AC lostbr/NOTE: PowerEdge 2950 III 437RQH1 - 555-1212" It puts a br/ in instead of a "\n". ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Fri Feb 11 16:42:09 2011 From: tntteam at free.fr (Tntteam) Date: Fri, 11 Feb 2011 16:42:09 +0100 Subject: Hope this useful : a dashboard management tool for Nagios In-Reply-To: References: Message-ID: Thanks for sharing 2011/2/11 Roch Akanor > Hello everyone, > I just found ngrt4n (http://www.ngrt4n.com), a nice dashboard management > tool for Nagios. > I have thought that it could be useful to share the link with you. > Kind regards > -- > Roch A. > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damnshock at gmail.com Fri Feb 11 16:43:44 2011 From: damnshock at gmail.com (Marc Deop) Date: Fri, 11 Feb 2011 16:43:44 +0100 Subject: Hope this useful : a dashboard management tool for Nagios In-Reply-To: References: Message-ID: <201102111643.44088.damnshock@gmail.com> On Friday 11 February 2011 15:37:20 Roch Akanor wrote: > Hello everyone,I just found ngrt4n (http://www.ngrt4n.com), a nice dashboard management tool for Nagios. I have thought that it could be useful to share the link with you.Kind regards--Roch A. > Thanks for sharing. I'll have a look at it -- Regards, Marc Deop ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aengelmann at libertymgt.com Fri Feb 11 16:46:26 2011 From: aengelmann at libertymgt.com (Engelmann, Austin) Date: Fri, 11 Feb 2011 10:46:26 -0500 Subject: Hope this useful : a dashboard management toolfor Nagios In-Reply-To: References: Message-ID: <6F13E8BB6FDAC14FA6B0BD869991833825FF38@exch-coni-is.LIBERTYMGT.COM> Yes, thank you for sharing that! It got me searching the net for other possibilities which led me to Icinga (http://www.icinga.org). Anyone have any experience with this? What is attractive for my department is the reporting functionality. Austin From: Tntteam [mailto:tntteam at free.fr] Sent: Friday, February 11, 2011 10:42 AM To: Nagios Users List Subject: Re: [Nagios-users] Hope this useful : a dashboard management toolfor Nagios Thanks for sharing 2011/2/11 Roch Akanor Hello everyone, I just found ngrt4n (http://www.ngrt4n.com ), a nice dashboard management tool for Nagios. I have thought that it could be useful to share the link with you. Kind regards -- Roch A. ------------------------------------------------------------------------ ------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Fri Feb 11 17:02:48 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Fri, 11 Feb 2011 16:02:48 +0000 Subject: Notification by Email In-Reply-To: <4D55404E0200002F0001DB51@trw.com> References: <4D551E700200002F0001DB39@trw.com> <4D5532110200002F0001DB46@trw.com> <4D55404E0200002F0001DB51@trw.com> Message-ID: Sorry for top posting... What command are you using for the notification? / How are you sending these mails? We originally used a simple one like this... which just 'echos' text in to the mail command ============================================= # 'notify-by-email' command definition define command{ command_name customer-notify-by-email command_line /bin/echo "To: $CONTACTEMAIL$\n\ Subject: $SERVICESTATE$ alert for $HOSTNAME$/$SERVICEDESC$\n\ \n\ \n\ application=\"Nagios\"\n\ node=\"$HOSTNAME$\"\n\ type=\"$NOTIFICATIONTYPE$\"\n\ service=\"$SERVICEDESC$\"\n\ criticality=\"$_SERVICECRITICALITY$\"\n\ service status=\"$SERVICESTATE$\" (for $SERVICEDURATION$) last time it was \"$LASTSERVICESTATE$\"\n\ message=\"$SHORTDATETIME$ - $SERVICEDESC$ on $HOSTNAME$ $SERVICESTATE$ - $SERVICEOUTPUT$ - $TOTALSERVICESCRITICAL$ services critical in total\"\n\ msg=\"$LONGSERVICEOUTPUT$\"\n\ checked using=\"$SERVICECHECKCOMMAND$\"\n\ " | /usr/bin/mail $CONTACTEMAIL$ } ============================================= Then went for a neater solution that work work across our different platforms this sends the arguments from nagios in to a wrapper scrip for mail... ============================================= # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /etc/nagios/global/commands/nagios-mailx.sh -t $CONTACTEMAIL$ -s "$SERVICESTATE$ Service Alert: $HOSTNAME$/$SERVICEDESC$" -y "$NOTIFICATIONTYPE$" -m "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nCriticality: $_SERVICECRITICALITY$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nSee: $_SERVICENAGIOS_URL$host=$HOSTNAME$&service=$SERVICEDESC$\n\nCommand: $SERVICECHECKCOMMAND$" ============================================= =========================================================================== cat /etc/nagios/global/commands/nagios-mailx.sh #!/bin/sh #script to send mail for nagios #this should work on mutiple OS's PROGNAME=`/bin/basename $0` PRINTF='/usr/bin/printf' find_mailx() { #find a version of mailx if [ -x /bin/mailx ] ; then MAILX='/bin/mailx' elif [ -x /usr/bin/mailx ] ; then MAILX='/usr/bin/mailx' fi } print_usage() { echo "Usage: $PROGNAME -s subject -t to: address -m \"message text" echo "Usage: $PROGNAME --help" } print_help() { print_revision $PROGNAME echo "" print_usage echo "" echo "a script to send mail for Nagios" echo "" support } # Make sure the correct number of command line # arguments have been supplied if [ $# -lt 6 ]; then print_usage exit 1 fi find_mailx type='' while getopts "s:t:m:y:h" flag do case $flag in h) print_help exit 0 ;; y) type=$OPTARG ;; s) subject=$OPTARG ;; t) sendTo=$OPTARG ;; m) msgText=$OPTARG bodyText=`$PRINTF "%b\n" "$msgText"` ;; *) print_usage exit $STATE_UNKNOWN; ;; esac; done if [ -n "${type}" ] && [ "${type}" != '$' ]; then subject="${subject} [${type}]" fi $MAILX -s "$subject" $sendTo << MAILBODY $bodyText MAILBODY =========================================================================== Ritchie, -- Fnord... <-- http://23.me.uk --> <-- http://wiki.s23.org --> <-- http://twitter.com/23me --> <- -Only the lavender prairie dogs know the key to unlock the secret of the tumble-weeds. --> On Fri, Feb 11, 2011 at 11:57 AM, Andre Kruger wrote: > I have tried replacing my "&" with %26 , but that does not work. The %26 > shows in my Notification email but then the link does not work as expected. > > Next I tried the \ escape character, but then when I receive the > notification email the "b" of "...&body=..." is gone. > > I am not sure about the escape_html_tags as this is the configuration for > the Nagios web interface and I don't believe it would have any impact on > Notifications sent out from Nagios > >>>> Yueh-Hung Liu 2011/02/11 13:20 >>> > maybe "escape_html_tags" in CGI configuration file? > > > On Fri, Feb 11, 2011 at 6:56 PM, Andre Kruger wrote: >> I would try an escape key if I knew what it was. Any idea? >> >> It just seems strange to me that from Nagois on the way to Postfix the "&" >> is dumped somewhere along the way. >> >>>>> 2011/02/11 12:35 >>> >> On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger >> wrote: >>> Hi >>> >>> I have a problem getting my status detail sent (correctly) via email. Let >>> me >>> explain. If I look at Nagios self and I look at the status detail for a >>> printer that I monitor I see the following, which is correct BTW: >>> >>> >>> >>> service at kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20"UAD6X01096"%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre >>> >>> If you copy and paste that link into word and you click it you will see >>> that >>> it populates the entire email for you and you just have to hit send. Now >>> when this service goes into critical (like I have done here to test) it >>> send >>> me an email, but this is where the problem comes in. When I get my email >>> the >>> "&" is missing from the above link and then it does not work properly. >>> Somewhere Nagios removes it and I have no clue where. I have sent a test >>> mail from a shell on my Nagios machine as follows: >>> >>> /usr/bin/printf "Body&Text" | /bin/mail -s "Subject" >>> andre.kruger at trw.com. >>> >>> When I receive this mail it still has the "&" in the body. So I am making >>> the assumption that somewhere between Nagios and Postfix when it send the >>> notification the "&" is removed. Can somebody please shed some light on >>> this? >> >> >> >> try escaping or html encoding the # >> >>> >>> Regards >>> Andre >>> >>> P Please consider your environmental responsibility before printing this >>> e-mail or any other document. Ask yourself whether you need a hard copy. >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> P Please consider your environmental responsibility before printing this >> e-mail or any other document. Ask yourself whether you need a hard copy. >> >> ------------------------------------------------------------------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > P Please consider your environmental responsibility before printing this > e-mail or any other document. Ask yourself whether you need a hard copy. > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ray at ganymede.org Fri Feb 11 17:43:00 2011 From: ray at ganymede.org (Ray Kiddy) Date: Fri, 11 Feb 2011 08:43:00 -0800 Subject: plugin for monitoring nagios, remembering to turn notifications back on Message-ID: I could not think of a way to search for this kind of plugin in the usual places, so I ended up creating a version myself. We had a service and had turned off notifications a bit ago and forgot to turn them back on once the problem was fixed. So, now I have a service which checks the services in the status.dat file and goes red is a service has notification turned off for longer than a day or two. How does one search the exchanges for a plugin which checks nagios itself. Doing a search for "nagios" obviously does not work. Sort of like looking for R in Google. It turns out that there are a lot of pages that use that letter and not all of them are about the statistics tool.... Anyway. Right now, the service is written and does not come up, probably because something is missing. After all, what host does one attach it to? It is about the nagios service itself, so no host would really be correct. Or I am missing something else. I am sure I can get it to work. I will be finishing this and will put it up in the exchange, but if anyone has suggestions, I would be interested in hearing them. One bother is that if a service has its notifications turned off, none of the time markers in the service say when that happened. If a service went down and up 7 days ago and the notifications were turned off 5 days ago, all the times point to the event 7 days ago. I do not see one which references the change 5 days ago. There seems to be no variable that stores the time a human changed something about a service in the service that was changed So, I have to store the time I first saw a service with its notifications turned off. I was storing this in a file, but I am going to use the output line from this service. Then the status.dat entry for this service will tell me about the notification setting time for the other services. Seems a bother, but there it is. Is there a name for this sort of nagios-monitoring, reflexive plugin? Does anyone know a key word to search for to find others like this? thanx - ray ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Feb 11 18:32:57 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 11 Feb 2011 17:32:57 +0000 Subject: plugin for monitoring nagios, remembering to turn notifications back on In-Reply-To: References: Message-ID: On 11 February 2011 16:43, Ray Kiddy wrote: > Is there a name for this sort of nagios-monitoring, reflexive plugin? Does anyone know a key word to search for to find others like this? No, but it looks like a few such plugins and tools are found in the "Others" section in Nagios Exchange - http://exchange.nagios.org/directory/Plugins/Others hth, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Fri Feb 11 18:38:38 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Fri, 11 Feb 2011 18:38:38 +0100 Subject: check_openmanage and linebreaks In-Reply-To: (Bryan O'Shea's message of "Fri, 11 Feb 2011 10:40:28 -0500") References: Message-ID: <15td3myv5cx.fsf@tux.uio.no> "Bryan O'Shea" writes: > check_openmanage and linebreaks not working in $SERVICEOUTPUT$ emails. > > When using the either of the following options the linebreaks seem to be broken: > -e or --postmsg > > This is what i get in my service notification emails instead of the > desired output of seperate lines. > > "Power Supply 1 [AC] needs attention: Presence detected, Failure > detected, AC lostbr/NOTE: PowerEdge 2950 III 437RQH1 - > 555-1212" > > It puts a br/ in instead of a "\n". Hi Bryan, The default behaviour of check_openmanage is to use HTML linebreaks when run from Nagios, NRPE etc., and regular linebreaks in a console which has a TTY. The reason for this is that the plugin monitors several things, and in case of multiple alerts it's practical to display them each on a different line. However, since this behaviour doesn't fit everyone you can modify it with the '--linebreak' switch. To switch to regular (\n) linebreaks: check_openmanage --linebreak=REG You can also specify any string as a custom linebreak: check_openmanage --linebreak=' -- ' If you choose regular linebreaks, the first line will be put in the SERVICEOUTPUT macro, while any subsequent lines will be put in the LONGSERVICEOUTPUT macro. This is how Nagios 3.x handles multiline output from plugins. PS. In order for the default HTML linebreaks to work as indended in the web frontend, you should set "escape_html_tags=0" in the Nagios config. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Fri Feb 11 18:57:11 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Fri, 11 Feb 2011 17:57:11 +0000 Subject: Check_snmp -d & -s In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE8534A@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85317@althamex1.micro-p.com> <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE8534A@althamex1.micro-p.com> Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85751@althamex1.micro-p.com> Hi, Just in case anyone wanted to know.. I resolved my issue my created a wrap script for the check_snmp plugin. Quite simple really :) ---- script #!/bin/bash # Run check_snmp with param check=$(/usr/local/nagios/libexec/check_snmp -H $1 -o $2 -C nas-drive -P 2c) # echo result (testing) # echo $check # return result if CRITICAL if [[ $check == *dead* ]] then echo "Disk OFFLINE - CRITICAL"; exit 2 fi # return result if OK if [[ $check == *ok* ]] then echo "Disk Online - OK"; exit 0 fi # end script -----Original Message----- From: Tristan Drinkwater [mailto:tristand at micro-p.com] Sent: 11 February 2011 11:34 To: Nagios Users List Subject: Re: [Nagios-users] Check_snmp -d & -s Interesting..... How do I go about a wrap script then? I take it I call the script from the command_check line? Anything special about outputting the result so Nagios can see it? thanks -----Original Message----- From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] Sent: 11 February 2011 11:24 To: Nagios Users List Subject: Re: [Nagios-users] Check_snmp -d & -s you can write a wrap script, which would be the check command, to deal the return string and report correct status to Nagios. of course this script will use check_snmp in it. On Fri, Feb 11, 2011 at 7:08 PM, Tristan Drinkwater wrote: > Morning all, > > > > I'm trying to refine a few snmp checks I do. > > > > My command looks like this; > > > > ./check_snmp -H xx.xx.xx.xx -o READyNAS-MIB::diskState.1 -C nas-drive > -P 2c -v > > > > > > This produces the following; > > > > /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.1 > > READYNAS-MIB::diskState.1 = STRING: "dead" > > SNMP OK - "dead" | > > > > > > Now, as you can see from above, my disk 2 is 'dead' but Nagios reports > this as ok. I'm under the impression I need to use the '-s' switch to > specify what is good and what is bad, based on matching a string from the output. > > > > To me, the output above would suggest that the returning string is > "dead" so to get it to report that this is actually bad I should use "-s ok"? as "ok" > is the string returned on all the other disks that are working ok. > > > > ----- working disk--- > > /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx > READYNAS-MIB::diskState.2 > > READYNAS-MIB::diskState.2 = STRING: "ok" > > SNMP OK - "ok" | > > ----- working disk--- > > > > > > > > Sadly, this doesn't work as it seems that "ok" and "dead" aren't the > returning strings. Neither are 1 and 0 as stated in the readynas MIB > documentation. > > > > Anyone got any ideas?? > > > > Have I messed up the syntax?? > > > > Thanks in advance, > > > > Tristan > > > > > > > > ________________________________ > Micro Peripherals Limited. > Registered Office: Shorten Brook Way, Altham Business Park, Altham, > Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 > Micro Peripherals Limited. Registered in England No. 1511931. VAT No. > GB 864 > 4387 91 > > DISCLAIMER: > This e-mail and attachments are confidential and are intended solely > for the use of the individual to whom it is addressed. Any views or > opinions presented are solely those of the author and do not > necessarily represent those of Micro Peripherals Limited. > If you are not the intended recipient, be advised that you have > received this Email in error and that any use, dissemination, > forwarding, printing, or copying of this Email is strictly prohibited. > If this transmission is received in error please notify the sender > immediately and delete this message from your E-mail system. > All electronic transmissions to and from Micro Peripherals Ltd are > recorded and may be monitored. > > ---------------------------------------------------------------------- > -------- The ultimate all-in-one performance toolkit: Intel(R) > Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morty+nagios at frakir.org Fri Feb 11 19:26:32 2011 From: morty+nagios at frakir.org (Morty) Date: Fri, 11 Feb 2011 13:26:32 -0500 Subject: nagios server redundancy Message-ID: <20110211182632.GH13199@red-sonja> I'm looking to implement redundant nagios servers, with the backup server in a different location than the prime server. This is nagios 3.2.3, with the default web interface. I'm synchronizing configurations by rsyncing /usr/local/nagios/etc/ between systems. I'm doing active/active (i.e. I want the backup server monitoring at the same time as the prime server.) So far so good. Problem: acknowledgements on the prime are not being synced to the backup. Is there a (clean) way to sync the prime's acknowledgements to the backup, as well? I'm tempted to shut down the backup, rsync the prime's var directory to the backup, and then bring the backup back online. But the docs have various warnings about not messing with the var files, so figured I'd ask about possible hidden gotchas. I've read http://nagios.sourceforge.net/docs/3_0/redundancy.html, but scenario one doesn't discuss syncing acknowledgements, and scenario 2 is active/passive. Thanks! - Morty ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pangrazi at gmail.com Fri Feb 11 21:07:45 2011 From: pangrazi at gmail.com (Greg Pangrazio) Date: Fri, 11 Feb 2011 14:07:45 -0600 Subject: Check_snmp -d & -s In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85751@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85317@althamex1.micro-p.com> <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE8534A@althamex1.micro-p.com> <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EE85751@althamex1.micro-p.com> Message-ID: You might think about putting an "else" clause that returns "unknown" just to cover all of your bases. Right now if the line doesn't match the script will not return anything. Greg Pangrazio On Fri, Feb 11, 2011 at 11:57 AM, Tristan Drinkwater wrote: > Hi, > > Just in case anyone wanted to know.. > > I resolved my issue my created a wrap script for the check_snmp plugin. > > Quite simple really :) > > ---- script > > > #!/bin/bash > > # Run check_snmp with param > check=$(/usr/local/nagios/libexec/check_snmp -H $1 -o $2 -C nas-drive -P 2c) > > # echo result (testing) > # echo $check > > # return result if CRITICAL > if [[ $check == *dead* ]] > then > ? ? ? ?echo "Disk OFFLINE - CRITICAL"; > ? ? ? ?exit 2 > fi > > # return result if OK > if [[ $check == *ok* ]] > then > ? ? ? ?echo "Disk Online - OK"; > ? ? ? ?exit 0 > fi > > # end script > > > > > -----Original Message----- > From: Tristan Drinkwater [mailto:tristand at micro-p.com] > Sent: 11 February 2011 11:34 > To: Nagios Users List > Subject: Re: [Nagios-users] Check_snmp -d & -s > > Interesting..... > > How do I go about a wrap script then? > > I take it I call the script from the command_check line? ?Anything special about outputting the result so Nagios can see it? > > thanks > > -----Original Message----- > From: Yueh-Hung Liu [mailto:yuehung.liu at gmail.com] > Sent: 11 February 2011 11:24 > To: Nagios Users List > Subject: Re: [Nagios-users] Check_snmp -d & -s > > you can write a wrap script, which would be the check command, to deal the return string and report correct status to Nagios. > of course this script will use check_snmp in it. > > > On Fri, Feb 11, 2011 at 7:08 PM, Tristan Drinkwater wrote: >> Morning all, >> >> >> >> I'm trying to refine a few snmp checks I do. >> >> >> >> My command looks like this; >> >> >> >> ./check_snmp -H xx.xx.xx.xx -o READyNAS-MIB::diskState.1 -C nas-drive >> -P 2c -v >> >> >> >> >> >> This produces the following; >> >> >> >> /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx >> READYNAS-MIB::diskState.1 >> >> READYNAS-MIB::diskState.1 = STRING: "dead" >> >> SNMP OK - "dead" | >> >> >> >> >> >> Now, as you can see from above, my disk 2 is 'dead' but Nagios reports >> this as ok. I'm under the impression I need to use the '-s' switch to >> specify what is good and what is bad, based on matching a string from the output. >> >> >> >> To me, the output above would suggest that the returning string is >> "dead" so to get it to report that this is actually bad I should use "-s ok"? as "ok" >> is the string returned on all the other disks that are working ok. >> >> >> >> ----- working disk--- >> >> /usr/bin/snmpget -t 1 -r 5 -m ALL -v 2c [authpriv] xx.xx.xx.xx >> READYNAS-MIB::diskState.2 >> >> READYNAS-MIB::diskState.2 = STRING: "ok" >> >> SNMP OK - "ok" | >> >> ----- working disk--- >> >> >> >> >> >> >> >> Sadly, this doesn't work as it seems that "ok" and "dead" aren't the >> returning strings. Neither are 1 and 0 as stated in the readynas MIB >> documentation. >> >> >> >> Anyone got any ideas?? >> >> >> >> Have I messed up the syntax?? >> >> >> >> Thanks in advance, >> >> >> >> Tristan >> >> >> >> >> >> >> >> ________________________________ >> Micro Peripherals Limited. >> Registered Office: Shorten Brook Way, Altham Business Park, Altham, >> Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 >> Micro Peripherals Limited. Registered in England No. 1511931. VAT No. >> GB 864 >> 4387 91 >> >> DISCLAIMER: >> This e-mail and attachments are confidential and are intended solely >> for the use of the individual to whom it is addressed. Any views or >> opinions presented are solely those of the author and do not >> necessarily represent those of Micro Peripherals Limited. >> If you are not the intended recipient, be advised that you have >> received this Email in error and that any use, dissemination, >> forwarding, printing, or copying of this Email is strictly prohibited. >> If this transmission is received in error please notify the sender >> immediately and delete this message from your E-mail system. >> All electronic transmissions to and from Micro Peripherals Ltd are >> recorded and may be monitored. >> >> ---------------------------------------------------------------------- >> -------- The ultimate all-in-one performance toolkit: Intel(R) >> Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike-nagios at 5dninja.net Fri Feb 11 22:35:26 2011 From: mike-nagios at 5dninja.net (Mike Lindsey) Date: Fri, 11 Feb 2011 13:35:26 -0800 Subject: nagios server redundancy In-Reply-To: <20110211182632.GH13199@red-sonja> References: <20110211182632.GH13199@red-sonja> Message-ID: <4D55AB9E.9080500@5dninja.net> On 2/11/11 10:26 AM, Morty wrote: > I'm looking to implement redundant nagios servers, with the backup > server in a different location than the prime server. This is nagios > 3.2.3, with the default web interface. I'm synchronizing > configurations by rsyncing /usr/local/nagios/etc/ between systems. > I'm doing active/active (i.e. I want the backup server monitoring at > the same time as the prime server.) So far so good. > > Problem: acknowledgements on the prime are not being synced to the > backup. > > Is there a (clean) way to sync the prime's acknowledgements to the > backup, as well? I'm tempted to shut down the backup, rsync the > prime's var directory to the backup, and then bring the backup back > online. But the docs have various warnings about not messing with the > var files, so figured I'd ask about possible hidden gotchas. > > I've read http://nagios.sourceforge.net/docs/3_0/redundancy.html, but > scenario one doesn't discuss syncing acknowledgements, and scenario 2 > is active/passive. What I end up doing with my backup master is leave it off, with frequent rsyncs of both config and the status files in var. Both the active master and the backup master are sitting behind a load balanced vip, with the nsca and http/https ports managed by the load balancer. There's a cronjob running on the backup master that, if it determines an error on the active master, starts up nsca, nagios, and apache. That causes the vip to fail over to the backup master, giving automatic recover with no more than five minutes of downtime (the frequency of the cronjob). The active master does not have apache, nsca, or nagios configured to start on boot, instead those are also managed by a cronjob that does a check of the backup master. If the backup master is running apache/nagios/nsca, then the active master doesn't start up (and if they're already running, say from an intermittent error, they shut down) and the rsyncs also don't happen. This allows me to do automatic failover, and manual fail-back, after whatever issue triggered the failover has been verified and resolved. You cannot - to the best of my knowledge - sync acknowledgments to a backup server while it's actively running, unless you want to write something that checks for new acks and dumps them into the command pipe. So, if you want to maintain acks and downtime, you'll need to have your backup disabled for the syncs. -- Mike Lindsey ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Fri Feb 11 23:41:37 2011 From: a31modela at hotmail.com (steve f) Date: Fri, 11 Feb 2011 17:41:37 -0500 Subject: Question on setting up a specialized status.cgi page Message-ID: Hello All, I have say 20 hosts that among their checks they each run the same 5 checks on a SCO Unix machine at their location via an rsh script. For example, I rsh to the sco box, do a sar on it and report the results back and determine if the cpu on the sco box is high. These check reports as a check from the host and is called Legacy CPU. I wanted to set up a status.cgi page that the people responsible for the legacy stuff could look at and see the status of all 5 Legacy_XXX checks on one status page. I have not been able to figure out how to get this page to display. I have tried setting up a servicegroup, manually playing with the statustypes, looking into doing it via extinfo.cgi and have come up empty handed. These hosts have a bunch of checks coming back from them into the console but I wanted to just have some sort of Legacy Check Service group screen. I think I am missing something easy here and may be trying to over engineer this Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morty+nagios at frakir.org Fri Feb 11 23:47:36 2011 From: morty+nagios at frakir.org (Morty) Date: Fri, 11 Feb 2011 17:47:36 -0500 Subject: nagios server redundancy In-Reply-To: <4D55AB9E.9080500@5dninja.net> References: <20110211182632.GH13199@red-sonja> <4D55AB9E.9080500@5dninja.net> Message-ID: <20110211224736.GJ13199@red-sonja> On Fri, Feb 11, 2011 at 01:35:26PM -0800, Mike Lindsey wrote: > What I end up doing with my backup master is leave it off, with > frequent rsyncs of both config and the status files in var. Thanks! But I specifically want to leave both running under nominal conditions. This gives me the warm fuzzies that the backup is fully functional, i.e. no missing programs, scripts, firewall rules, or whatever, and without any single points of failure. I can live with duplicate notifications, especially since I'm expecting to report to a COTS product with built-in dedupe. The way I handle active/active sync with certain COTS products is to shutdown the prime; back up the prime (i.e. to a tarball); restart the prime; transfer the tarball to the backup; shutdown the backup; restore the tarball on the backup; and restart the backup. This way, I never have a moment when both the prime and the backup are down, and the backup is done on a quiescent system. If you're successfully syncing the var dirs, sounds like this should work for nagios as well. > You cannot - to the best of my knowledge - sync acknowledgments to a > backup server while it's actively running, unless you want to write > something that checks for new acks and dumps them into the command > pipe. So, if you want to maintain acks and downtime, you'll need to > have your backup disabled for the syncs. That's unfortunate. OK, thanks. - Morty ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morty+nagios at frakir.org Sat Feb 12 00:01:28 2011 From: morty+nagios at frakir.org (Morty) Date: Fri, 11 Feb 2011 18:01:28 -0500 Subject: nagios start script errors Message-ID: <20110211230128.GB13057@red-sonja> The default nagios start/stop script sends errors to stdout rather than stderr. This isn't proper *nix behavior. It's also not good for scripting around nagios. I.e. I have a script that wants to do /etc/init.d/nagios stop >/dev/null && $other_stuff && /etc/init.d/nagios start >/dev/null && $more_stuff. If the nagios stop or start fails, I want a useful error message; otherwise, I want it to succeed quietly. Easy enough to fix; patch follows. [Should I send this to a different mailing list instead?] diff -ur nagios-3.2.3.orig/daemon-init.in nagios-3.2.3/daemon-init.in --- nagios-3.2.3.orig/daemon-init.in Sun Nov 30 17:22:58 2008 +++ nagios-3.2.3/daemon-init.in Thu Feb 3 08:51:54 2011 @@ -73,7 +73,7 @@ { if test ! -f $NagiosRunFile; then - echo "No lock file found in $NagiosRunFile" + echo "No lock file found in $NagiosRunFile" >&2 exit 1 fi @@ -107,13 +107,13 @@ # Check that nagios exists. if [ ! -f $NagiosBin ]; then - echo "Executable file $NagiosBin not found. Exiting." + echo "Executable file $NagiosBin not found. Exiting." >&2 exit 1 fi # Check that nagios.cfg exists. if [ ! -f $NagiosCfgFile ]; then - echo "Configuration file $NagiosCfgFile not found. Exiting." + echo "Configuration file $NagiosCfgFile not found. Exiting." >&2 exit 1 fi @@ -133,7 +133,7 @@ echo " done." exit 0 else - echo "CONFIG ERROR! Start aborted. Check your Nagios configuration." + echo "CONFIG ERROR! Start aborted. Check your Nagios configuration." >&2 exit 1 fi ;; @@ -160,7 +160,7 @@ done if status_nagios > /dev/null; then echo '' - echo 'Warning - nagios did not exit in a timely manner' + echo 'Warning - nagios did not exit in a timely manner' >&2 else echo 'done.' fi @@ -179,7 +179,7 @@ if [ $? -eq 0 ]; then echo " OK." else - echo " CONFIG ERROR! Check your Nagios configuration." + echo " CONFIG ERROR! Check your Nagios configuration." >&2 exit 1 fi ;; @@ -192,7 +192,7 @@ $0 stop $0 start else - echo " CONFIG ERROR! Restart aborted. Check your Nagios configuration." + echo " CONFIG ERROR! Restart aborted. Check your Nagios configuration." >&2 exit 1 fi ;; @@ -216,7 +216,7 @@ fi fi else - echo " CONFIG ERROR! Reload aborted. Check your Nagios configuration." + echo " CONFIG ERROR! Reload aborted. Check your Nagios configuration." >&2 exit 1 fi ;; ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Sat Feb 12 02:14:33 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Sat, 12 Feb 2011 09:14:33 +0800 Subject: plugin for monitoring nagios, remembering to turn notifications back on In-Reply-To: References: Message-ID: enable logging for external commands, won't you find the time about disabling notification of services? On Sat, Feb 12, 2011 at 12:43 AM, Ray Kiddy wrote: > > I could not think of a way to search for this kind of plugin in the usual places, so I ended up creating a version myself. > > We had a service and had turned off notifications a bit ago and forgot to turn them back on once the problem was fixed. So, now I have a service which checks the services in the status.dat file and goes red is a service has notification turned off for longer than a day or two. > > How does one search the exchanges for a plugin which checks nagios itself. Doing a search for "nagios" ?obviously does not work. Sort of like looking for R in Google. It turns out that there are a lot of pages that use that letter and not all of them are about the statistics tool.... > > Anyway. Right now, the service is written and does not come up, probably because something is missing. After all, what host does one attach it to? It is about the nagios service itself, so no host would really be correct. Or I am missing something else. I am sure I can get it to work. I will be finishing this and will put it up in the exchange, but if anyone has suggestions, I would be interested in hearing them. > > One bother is that if a service has its notifications turned off, none of the time markers in the service say when that happened. If a service went down and up 7 days ago and the notifications were turned off 5 days ago, all the times point to the event 7 days ago. I do not see one which references the change 5 days ago. There seems to be no variable that stores the time a human changed something about a service in the service that was changed So, I have to store the time I first saw a service with its notifications turned off. I was storing this in a file, but I am going to use the output line from this service. Then the status.dat entry for this service will tell me about the notification setting time for the other services. Seems a bother, but there it is. > > Is there a name for this sort of nagios-monitoring, reflexive plugin? Does anyone know a key word to search for to find others like this? > > thanx - ray > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sat Feb 12 11:09:26 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 12 Feb 2011 10:09:26 +0000 Subject: Question on setting up a specialized status.cgi page In-Reply-To: References: Message-ID: What was is about servicegroups which didn't work for you? That's what I'd look at first. Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Sat Feb 12 20:29:25 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Sat, 12 Feb 2011 11:29:25 -0800 (PST) Subject: (no subject) Message-ID: <564195.73685.qm@web36507.mail.mud.yahoo.com> Try to change something in your ordinary life. Choose on-line shopping! http://www.enklava.enetia.pl/www/2011.php?hot=4228 ... ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at localguru.de Sun Feb 13 15:58:53 2011 From: lists at localguru.de (Marcus Schopen) Date: Sun, 13 Feb 2011 15:58:53 +0100 Subject: nagiosgrapher: adding further DS to rrd database Message-ID: <1297609133.3798.17.camel@crabtree> 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Sun Feb 13 17:06:12 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Mon, 14 Feb 2011 00:06:12 +0800 Subject: nagiosgrapher: adding further DS to rrd database In-Reply-To: <1297609133.3798.17.camel@crabtree> References: <1297609133.3798.17.camel@crabtree> Message-ID: if my memory isn't going wrong, rrdtool has no direct approach to do that. you have to dump the specific rrd file to a text format(XML), edit it with adding extra DSs, then restore it to an rrd file. maybe there are some 3rd-party utilities can do that, you can search them. On Sun, Feb 13, 2011 at 10:58 PM, Marcus Schopen wrote: > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From badri at diglinks.com Sun Feb 13 19:22:29 2011 From: badri at diglinks.com (Badri Pillai) Date: Sun, 13 Feb 2011 19:22:29 +0100 Subject: nagiosgrapher: adding further DS to rrd database In-Reply-To: References: <1297609133.3798.17.camel@crabtree> Message-ID: <0D2A7076-E8CF-445F-B24C-6D9A10E7EDCA@diglinks.com> Hi, have a look at RRD::Simple CPAN module.. n2rrd uses that!! -bp On Feb 13, 2011, at 5:06 PM, Yueh-Hung Liu wrote: > if my memory isn't going wrong, rrdtool has no direct approach to do that. > you have to dump the specific rrd file to a text format(XML), edit it > with adding extra DSs, then restore it to an rrd file. > maybe there are some 3rd-party utilities can do that, you can search them. > > On Sun, Feb 13, 2011 at 10:58 PM, Marcus Schopen wrote: >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at localguru.de Mon Feb 14 01:28:08 2011 From: lists at localguru.de (Marcus Schopen) Date: Mon, 14 Feb 2011 01:28:08 +0100 Subject: nagiosgrapher: adding further DS to rrd database In-Reply-To: <0D2A7076-E8CF-445F-B24C-6D9A10E7EDCA@diglinks.com> References: <1297609133.3798.17.camel@crabtree> <0D2A7076-E8CF-445F-B24C-6D9A10E7EDCA@diglinks.com> Message-ID: <1297643288.2936.11.camel@crabtree> 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Mon Feb 14 11:54:51 2011 From: tntteam at free.fr (Tntteam) Date: Mon, 14 Feb 2011 11:54:51 +0100 Subject: Hope this useful : a dashboard management toolfor Nagios In-Reply-To: <6F13E8BB6FDAC14FA6B0BD869991833825FF38@exch-coni-is.LIBERTYMGT.COM> References: <6F13E8BB6FDAC14FA6B0BD869991833825FF38@exch-coni-is.LIBERTYMGT.COM> Message-ID: I just installed ngrt4n (I got many problems with the poor documentation). Seem very bugged (but is noted as beta) and I didn't like the main thing at all. Having the dashboard using a ssh and X forward system is not very handy. The same thing using web interface would be a better idea. 2011/2/11 Engelmann, Austin > Yes, thank you for sharing that! It got me searching the net for other > possibilities which led me to Icinga (http://www.icinga.org). Anyone have > any experience with this? > > > > What is attractive for my department is the reporting functionality. > > > > Austin > > > > *From:* Tntteam [mailto:tntteam at free.fr] > *Sent:* Friday, February 11, 2011 10:42 AM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] Hope this useful : a dashboard management > toolfor Nagios > > > > Thanks for sharing > > 2011/2/11 Roch Akanor > > Hello everyone, > > I just found ngrt4n (http://www.ngrt4n.com), > a nice dashboard management tool for Nagios. > > I have thought that it could be useful to share the link with you. > > Kind regards > > -- > > Roch A. > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martin.unger at itsdone.at Mon Feb 14 12:42:52 2011 From: martin.unger at itsdone.at (Martin Unger) Date: Mon, 14 Feb 2011 12:42:52 +0100 Subject: Status File Differences Message-ID: Hi Nagios admins! I maintain a rather large distributed monitoring setup with OCSP sweeper. Sometimes, parts of the status file on the master are inconsistent with the status-file on the distributed servers. I came across a service where last_state_change on the master was seven days after last_state_change on the distributed server. Does anyone know what's wrong? Best Regards, Martin Unger ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Mon Feb 14 13:03:38 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Mon, 14 Feb 2011 07:03:38 -0500 Subject: Notification by Email In-Reply-To: References: <4D551E700200002F0001DB39@trw.com> <4D5532110200002F0001DB46@trw.com> <4D55404E0200002F0001DB51@trw.com> Message-ID: <4D59363A0200002F0001DBA0@trw.com> As follows: /usr/bin/printf "%b" "***** TRW Automotive SA *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nDescription: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ >>> 2011/02/11 18:02 >>> Sorry for top posting... What command are you using for the notification? / How are you sending these mails? We originally used a simple one like this... which just 'echos' text in to the mail command ============================================= # 'notify-by-email' command definition define command{ command_name customer-notify-by-email command_line /bin/echo "To: $CONTACTEMAIL$\n\ Subject: $SERVICESTATE$ alert for $HOSTNAME$/$SERVICEDESC$\n\ \n\ \n\ application=\"Nagios\"\n\ node=\"$HOSTNAME$\"\n\ type=\"$NOTIFICATIONTYPE$\"\n\ service=\"$SERVICEDESC$\"\n\ criticality=\"$_SERVICECRITICALITY$\"\n\ service status=\"$SERVICESTATE$\" (for $SERVICEDURATION$) last time it was \"$LASTSERVICESTATE$\"\n\ message=\"$SHORTDATETIME$ - $SERVICEDESC$ on $HOSTNAME$ $SERVICESTATE$ - $SERVICEOUTPUT$ - $TOTALSERVICESCRITICAL$ services critical in total\"\n\ msg=\"$LONGSERVICEOUTPUT$\"\n\ checked using=\"$SERVICECHECKCOMMAND$\"\n\ " | /usr/bin/mail $CONTACTEMAIL$ } ============================================= Then went for a neater solution that work work across our different platforms this sends the arguments from nagios in to a wrapper scrip for mail... ============================================= # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /etc/nagios/global/commands/nagios-mailx.sh -t $CONTACTEMAIL$ -s "$SERVICESTATE$ Service Alert: $HOSTNAME$/$SERVICEDESC$" -y "$NOTIFICATIONTYPE$" -m "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nCriticality: $_SERVICECRITICALITY$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nSee: $_SERVICENAGIOS_URL$host=$HOSTNAME$&service=$SERVICEDESC$\n\nCommand: $SERVICECHECKCOMMAND$" ============================================= =========================================================================== cat /etc/nagios/global/commands/nagios-mailx.sh #!/bin/sh #script to send mail for nagios #this should work on mutiple OS's PROGNAME=`/bin/basename $0` PRINTF='/usr/bin/printf' find_mailx() { #find a version of mailx if [ -x /bin/mailx ] ; then MAILX='/bin/mailx' elif [ -x /usr/bin/mailx ] ; then MAILX='/usr/bin/mailx' fi } print_usage() { echo "Usage: $PROGNAME -s subject -t to: address -m \"message text" echo "Usage: $PROGNAME --help" } print_help() { print_revision $PROGNAME echo "" print_usage echo "" echo "a script to send mail for Nagios" echo "" support } # Make sure the correct number of command line # arguments have been supplied if [ $# -lt 6 ]; then print_usage exit 1 fi find_mailx type='' while getopts "s:t:m:y:h" flag do case $flag in h) print_help exit 0 ;; y) type=$OPTARG ;; s) subject=$OPTARG ;; t) sendTo=$OPTARG ;; m) msgText=$OPTARG bodyText=`$PRINTF "%b\n" "$msgText"` ;; *) print_usage exit $STATE_UNKNOWN; ;; esac; done if [ -n "${type}" ] && [ "${type}" != '$' ]; then subject="${subject} [${type}]" fi $MAILX -s "$subject" $sendTo << MAILBODY $bodyText MAILBODY =========================================================================== Ritchie, -- Fnord... <-- http://23.me.uk --> <-- http://wiki.s23.org --> <-- http://twitter.com/23me --> <- -Only the lavender prairie dogs know the key to unlock the secret of the tumble-weeds. --> On Fri, Feb 11, 2011 at 11:57 AM, Andre Kruger wrote: > I have tried replacing my "&" with %26 , but that does not work. The %26 > shows in my Notification email but then the link does not work as expected. > > Next I tried the \ escape character, but then when I receive the > notification email the "b" of "...&body=..." is gone. > > I am not sure about the escape_html_tags as this is the configuration for > the Nagios web interface and I don't believe it would have any impact on > Notifications sent out from Nagios > >>>> Yueh-Hung Liu 2011/02/11 13:20 >>> > maybe "escape_html_tags" in CGI configuration file? > > > On Fri, Feb 11, 2011 at 6:56 PM, Andre Kruger wrote: >> I would try an escape key if I knew what it was. Any idea? >> >> It just seems strange to me that from Nagois on the way to Postfix the "&" >> is dumped somewhere along the way. >> >>>>> 2011/02/11 12:35 >>> >> On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger >> wrote: >>> Hi >>> >>> I have a problem getting my status detail sent (correctly) via email. Let >>> me >>> explain. If I look at Nagios self and I look at the status detail for a >>> printer that I monitor I see the following, which is correct BTW: >>> >>> >>> >>> service at kyocera.co.za?subject=Toner%20Order&body=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20"UAD6X01096"%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre >>> >>> If you copy and paste that link into word and you click it you will see >>> that >>> it populates the entire email for you and you just have to hit send. Now >>> when this service goes into critical (like I have done here to test) it >>> send >>> me an email, but this is where the problem comes in. When I get my email >>> the >>> "&" is missing from the above link and then it does not work properly. >>> Somewhere Nagios removes it and I have no clue where. I have sent a test >>> mail from a shell on my Nagios machine as follows: >>> >>> /usr/bin/printf "Body&Text" | /bin/mail -s "Subject" >>> andre.kruger at trw.com. >>> >>> When I receive this mail it still has the "&" in the body. So I am making >>> the assumption that somewhere between Nagios and Postfix when it send the >>> notification the "&" is removed. Can somebody please shed some light on >>> this? >> >> >> >> try escaping or html encoding the # >> >>> >>> Regards >>> Andre >>> >>> P Please consider your environmental responsibility before printing this >>> e-mail or any other document. Ask yourself whether you need a hard copy. >>> >>> >>> ------------------------------------------------------------------------------ >>> 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 at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> P Please consider your environmental responsibility before printing this >> e-mail or any other document. Ask yourself whether you need a hard copy. >> >> ------------------------------------------------------------------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > P Please consider your environmental responsibility before printing this > e-mail or any other document. Ask yourself whether you need a hard copy. > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Mon Feb 14 14:59:23 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 14 Feb 2011 06:59:23 -0700 Subject: nagios server redundancy In-Reply-To: <4D55AB9E.9080500@5dninja.net> References: <20110211182632.GH13199@red-sonja> <4D55AB9E.9080500@5dninja.net> Message-ID: <31B0FE0A1A8166409E9DF35C6DEECB2405A48036@WPSCV6MM.OPR.STATEFARM.ORG> This is kind of what I did when testing backup system. I had a process tailing the nagios.log and when it got incoming messages it would just forward a copy to the other server so all but passive checks the secondary system appeared to be the same as the primary. Seemed to work pretty well. Dan ------------ You cannot - to the best of my knowledge - sync acknowledgments to a backup server while it's actively running, unless you want to write something that checks for new acks and dumps them into the command pipe. So, if you want to maintain acks and downtime, you'll need to have your backup disabled for the syncs. -- Mike Lindsey ------------------------------------------------------------------------ ------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmontagner at sorint.it Mon Feb 14 16:09:25 2011 From: gmontagner at sorint.it (Giacomo Montagner) Date: Mon, 14 Feb 2011 16:09:25 +0100 Subject: nagios server redundancy In-Reply-To: <4D55AB9E.9080500@5dninja.net> References: <20110211182632.GH13199@red-sonja> <4D55AB9E.9080500@5dninja.net> Message-ID: <20110214160925.2158a594@ragnarok.entirelyunlike.net> On Fri, 11 Feb 2011 13:35:26 -0800 Mike Lindsey wrote: > You cannot - to the best of my knowledge - sync acknowledgments to a > backup server while it's actively running, unless you want to write > something that checks for new acks and dumps them into the command > pipe. So, if you want to maintain acks and downtime, you'll need to > have your backup disabled for the syncs. > Hi all, I have a pair of nagios servers in active/passive configuration, both of them are running also ndomod/ndo2db over a local MySQL database. I set up a little script which polls the db for host/service checks and pushes them to the backup (using NSCA). I think it could be easily done for acknowledgments too, and NDOUtils/MySQL are easy enough to setup (and don't seem to have great performance impact), or you could parse nagios.dat and get the acknowledgments from there, then push them to the secondary server. Cheers, Giacomo ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bernd.kuhlen at wetteronline.de Mon Feb 14 16:41:44 2011 From: bernd.kuhlen at wetteronline.de (Bernd Kuhlen -WetterOnline-) Date: Mon, 14 Feb 2011 16:41:44 +0100 Subject: avoid notifications after status change from unreachable to down Message-ID: <31EC4913-A87F-4B60-9A51-9250EABC8531@wetteronline.de> Hello list, my problem is that I'm using vmware esx with multiple virtual hosts on it. In my nagios config the esx server is the parent so if it goes down, I only get one notification, which is what i want. My problem is that my unreachable hosts turn to "down" after my esx comes up again and it takes them some time (up to 15 minutes) to come up (they all have to boot).Within this 15 minutes a get loads of notifications telling me about all the vms that are down, which is distracting and unwanted information. What I want: After my parent comes up I want the counters (the ones that define soft and hard states) of my vms to start from 1 again so that my vms get some time to boot and come up before I get a down notification. Any idea how this is possible? Thanks and regards, Bernd ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Mon Feb 14 18:59:07 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Mon, 14 Feb 2011 18:59:07 +0100 Subject: import historical data from old nagios to new In-Reply-To: References: Message-ID: <4D596D6B.6000901@univie.ac.at> Mario Garcia Ortiz wrote: > Hello all > > we have upgraded nagios from version 3.0.3 to the latest version, > all the config was upgraded and it's nicely in production but the > historical data and availability reports from the old nagios are not > in the new; > > how can i migrate the data from the old nagis and integrate it in the > new i still have the /usr/localnagios/var/nagios.log from the old > nagios as well as the /usr/local/nagios/var/archives. copy those over and in case you want to keep state history, look for retention.dat and put that into the new target location (if changed). re-check the nagios.cfg for their respective locations, the cgis expect that for creating trends/availibility too. kind regards, Michael > thank you for your help.. > > Mario Garcia Ortiz. > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- DI (FH) Michael Friedrich Vienna University Computer Center Universitaetsstrasse 7 A-1010 Vienna, Austria email: michael.friedrich at univie.ac.at phone: +43 1 4277 14359 fax: +43 1 4277 14338 web: http://www.univie.ac.at/zid http://www.aco.net Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morty+nagios at frakir.org Mon Feb 14 22:52:09 2011 From: morty+nagios at frakir.org (Morty) Date: Mon, 14 Feb 2011 16:52:09 -0500 Subject: nagios server redundancy In-Reply-To: <31B0FE0A1A8166409E9DF35C6DEECB2405A48036@WPSCV6MM.OPR.STATEFARM.ORG> References: <20110211182632.GH13199@red-sonja> <4D55AB9E.9080500@5dninja.net> <31B0FE0A1A8166409E9DF35C6DEECB2405A48036@WPSCV6MM.OPR.STATEFARM.ORG> Message-ID: <20110214215209.GM13199@red-sonja> On Mon, Feb 14, 2011 at 06:59:23AM -0700, Daniel Wittenberg wrote: > This is kind of what I did when testing backup system. I had a > process tailing the nagios.log and when it got incoming messages it > would just forward a copy to the other server so all but passive > checks the secondary system appeared to be the same as the primary. > Seemed to work pretty well. I wouldn't want to forward everything, because I want the backup monitoring to be monitoring independently (active/active). But otherwise, sounds good -- a suitable script should be able to filter events so only acknowledgements and the like are sent between systems. Do you have example code? Thanks! - Morty ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morty+nagios at frakir.org Mon Feb 14 22:53:59 2011 From: morty+nagios at frakir.org (Morty) Date: Mon, 14 Feb 2011 16:53:59 -0500 Subject: nagios server redundancy In-Reply-To: <20110214160925.2158a594@ragnarok.entirelyunlike.net> References: <20110211182632.GH13199@red-sonja> <4D55AB9E.9080500@5dninja.net> <20110214160925.2158a594@ragnarok.entirelyunlike.net> Message-ID: <20110214215359.GN13199@red-sonja> On Mon, Feb 14, 2011 at 04:09:25PM +0100, Giacomo Montagner wrote: > I set up a little script which polls the db for host/service checks > and pushes them to the backup (using NSCA). I think it could be > easily done for acknowledgments too, and NDOUtils/MySQL are easy > enough to setup (and don't seem to have great performance impact), > or you could parse nagios.dat and get the acknowledgments from > there, then push them to the secondary server. Interesting. Do you have example code? I'm currently using a file backend, but I could switch to a DB backend if necessary. - Morty ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Mon Feb 14 23:35:57 2011 From: a31modela at hotmail.com (steve f) Date: Mon, 14 Feb 2011 17:35:57 -0500 Subject: Question on setting up a specialized status.cgi page In-Reply-To: References: , Message-ID: Thanks for your reply Jim, I tried to set up the servicegroup as follows : define servicegroup { servicegroup_name Legacy_Checks alias Legacy Checks members HOSTNAME1,check_1, check_2, check_3,check_4,check_5,HOSTNAME2, SAME 5 CHECKS AS HOST #1,HOSTNAME3,SAME.... } I assume that the service group will only work with a single check for multiple hosts as if I removed all of the checks but 1, it will work. This however will not work for what I am trying to do. Thanks, Steve > Date: Sat, 12 Feb 2011 10:09:26 +0000 > From: jim at jimavery.me.uk > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Question on setting up a specialized status.cgi page > > What was is about servicegroups which didn't work for you? That's > what I'd look at first. > > Jim > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Tue Feb 15 00:26:35 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Mon, 14 Feb 2011 16:26:35 -0700 Subject: nagios server redundancy In-Reply-To: <20110214215209.GM13199@red-sonja> References: <20110211182632.GH13199@red-sonja> <4D55AB9E.9080500@5dninja.net><31B0FE0A1A8166409E9DF35C6DEECB2405A48036@WPSCV6MM.OPR.STATEFARM.ORG> <20110214215209.GM13199@red-sonja> Message-ID: <31B0FE0A1A8166409E9DF35C6DEECB2405A48656@WPSCV6MM.OPR.STATEFARM.ORG> The only problem with this is that you can't have passive checks (easily) coming into two systems, where we have so many hosts that we can't do active on everything, hence the reason for forwarding of certain log entries. Plus, it's very lightweight compared with parsing the .dat files all the time. Dan -----Original Message----- From: Morty [mailto:morty+nagios at frakir.org] Sent: Monday, February 14, 2011 3:52 PM To: Nagios Users List Subject: Re: [Nagios-users] nagios server redundancy On Mon, Feb 14, 2011 at 06:59:23AM -0700, Daniel Wittenberg wrote: > This is kind of what I did when testing backup system. I had a > process tailing the nagios.log and when it got incoming messages it > would just forward a copy to the other server so all but passive > checks the secondary system appeared to be the same as the primary. > Seemed to work pretty well. I wouldn't want to forward everything, because I want the backup monitoring to be monitoring independently (active/active). But otherwise, sounds good -- a suitable script should be able to filter events so only acknowledgements and the like are sent between systems. Do you have example code? Thanks! - Morty ------------------------------------------------------------------------ ------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Feb 15 02:37:24 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 15 Feb 2011 09:37:24 +0800 Subject: avoid notifications after status change from unreachable to down In-Reply-To: <31EC4913-A87F-4B60-9A51-9250EABC8531@wetteronline.de> References: <31EC4913-A87F-4B60-9A51-9250EABC8531@wetteronline.de> Message-ID: write an event handler which will be triggered while the parent system comes up from down. this handler will schedule a downtime for each child systems, during the downtime Nagios won't send notifications; or this handler can send a passive check with status OK for each children, the hard/soft counters will be reset. both can be done by using external commands. On Mon, Feb 14, 2011 at 11:41 PM, Bernd Kuhlen -WetterOnline- wrote: > Hello list, > > my problem is that I'm using vmware esx with multiple virtual hosts on it. In my nagios config the esx server is the parent so if it goes down, I only get one notification, which is what i want. > My problem is that my unreachable hosts turn to "down" after my esx comes up again and it takes them some time (up to 15 minutes) to come up (they all have to boot).Within this 15 minutes a get loads of notifications telling me about all the vms that are down, which is distracting and unwanted information. > > What I want: After my parent comes up I want the counters (the ones that define soft and hard states) of my vms to start from 1 again so that my vms get some time to boot and come up before I get a down notification. > Any idea how this is possible? > > Thanks and regards, > Bernd > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Feb 15 02:44:21 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 15 Feb 2011 09:44:21 +0800 Subject: Question on setting up a specialized status.cgi page In-Reply-To: References: Message-ID: please review the document of objects definition, the following quoted from servicegroup definition: members: This is a list of the descriptions of services (and the names of their corresponding hosts) that should be included in this group. Host and service names should be separated by commas. This directive may be used as an alternative to the servicegroups directive in service definitions. The format of the member directive is as follows (note that a host name must precede a service name/description): members=,,,,...,, On Tue, Feb 15, 2011 at 6:35 AM, steve f wrote: > Thanks for your reply Jim, > > I tried to set up the servicegroup as follows : > > define servicegroup { > servicegroup_name ? ? ? ??????? Legacy_Checks > alias ? ? ? ? ? ? ? ? ? ?????? ? ? ? ? ? Legacy Checks > members ? ? ? ? ? ? ? ? ?????? ? ? ? ? ? HOSTNAME1,check_1, check_2, > check_3,check_4,check_5,HOSTNAME2, SAME 5 CHECKS AS HOST > #1,HOSTNAME3,SAME.... > } > > I assume that the service group will only work with a single check for > multiple hosts as if I removed all of the checks but 1, it will work.? This > however will not work for what I am trying to do. > > Thanks, > > Steve > > > >> Date: Sat, 12 Feb 2011 10:09:26 +0000 >> From: jim at jimavery.me.uk >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Question on setting up a specialized >> status.cgi page >> >> What was is about servicegroups which didn't work for you? That's >> what I'd look at first. >> >> Jim >> >> >> ------------------------------------------------------------------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmontagner at sorint.it Tue Feb 15 10:14:55 2011 From: gmontagner at sorint.it (Giacomo Montagner) Date: Tue, 15 Feb 2011 10:14:55 +0100 Subject: nagios server redundancy In-Reply-To: <20110214215359.GN13199@red-sonja> References: <20110211182632.GH13199@red-sonja> <4D55AB9E.9080500@5dninja.net> <20110214160925.2158a594@ragnarok.entirelyunlike.net> <20110214215359.GN13199@red-sonja> Message-ID: <20110215101455.5cd46e23@ragnarok.entirelyunlike.net> On Mon, 14 Feb 2011 16:53:59 -0500 Morty wrote: > Interesting. Do you have example code? I'm currently using a file > backend, but I could switch to a DB backend if necessary. > > - Morty Hi, I attach my script. I called it NPRD (Nagios Perl Replicator Daemon), it's a simple daemon which polls the MySQL db and pushes all new checks to the standby server, via NSCA. I took all NSCA stuff from here: http://jasonplancaster.com/send-nsca-perl-version-send_nscapl/ It's quite messy because it's considered to be still in development, but for now it just works. For the db part, just follow plain NDOUtils doc. The daemon should be quite self-explaining (or I might explain if it's not so). Cheers. Giacomo -------------- next part -------------- A non-text attachment was scrubbed... Name: nprd Type: application/octet-stream Size: 12215 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nprd.cfg Type: application/octet-stream Size: 641 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mochu33 at gmail.com Tue Feb 15 12:48:09 2011 From: mochu33 at gmail.com (Juan-Francisco Diez) Date: Tue, 15 Feb 2011 12:48:09 +0100 Subject: Problem with BPI addon Message-ID: Hi everyone, I had a problem with the Nagios Business Process Intelligence (BPI). I can create new groups but I can't edit them. When I try to edit, the BPI don't say me anything about errors but it don't change the bpi.conf with the new configuration parameters. I don't think that the problem is located in file permission because I can create new groups. My installation of Nagios is under Linux with Apache web server. When I edit with vim the bpi.conf, I can see that all the lines ending are with the ^M (DOS ending line). Can it be the problem? I hope you can help me to resolve this trouble. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Luis.Carneiro at compsisnet.com.br Tue Feb 15 13:30:56 2011 From: Luis.Carneiro at compsisnet.com.br (=?iso-8859-1?Q?Luis_Gustavo_de_Andrade_Jord=E3o_Carneiro?=) Date: Tue, 15 Feb 2011 10:30:56 -0200 Subject: Check_NT -> Double Memory In-Reply-To: References: Message-ID: <6E3EBE71CB62274F8EB78338A6CDD975021616C661AA@ADEXC07A.intranet.local> Hello all! My Server Win 2008 x64 has 8 Gb of RAM, but when nagios check_nt dicovery 16 Gb. I installed NSCLient++ x64 on Win 2008. ./check_nt -H 10.0.24.1 -p 12489 -s public -v MEMUSE Utilizacao de memory: total:16378,20 Mb - used: 6821,03 Mb (42%) - free 9557,17 Mb (58%) Why? Swap memory? Luis Gustavo de A. J. Carneiro ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mssneah at yahoo.com Tue Feb 15 15:50:11 2011 From: mssneah at yahoo.com (moses neah) Date: Tue, 15 Feb 2011 06:50:11 -0800 (PST) Subject: Installing and configuring nexsm with nagiosxi Message-ID: <240920.61796.qm@web45210.mail.sp1.yahoo.com> Hill All, Has anyone install nexsm to work with nagiosxi. If so, please give me the installation and configuration procedure. I have try by following the procedures at the nexsm site buy I get java aplet error. Thanks in advance. Regards, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Feb 15 16:22:17 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 15 Feb 2011 15:22:17 +0000 Subject: Check_NT -> Double Memory In-Reply-To: <6E3EBE71CB62274F8EB78338A6CDD975021616C661AA@ADEXC07A.intranet.local> References: <6E3EBE71CB62274F8EB78338A6CDD975021616C661AA@ADEXC07A.intranet.local> Message-ID: 2011/2/15 Luis Gustavo de Andrade Jord?o Carneiro : > Hello all! > > > My Server Win 2008 x64 has 8 Gb of RAM, but when nagios check_nt dicovery 16 Gb. > I installed NSCLient++ x64 on Win 2008. > > ./check_nt -H 10.0.24.1 -p 12489 -s public -v MEMUSE > Utilizacao de memory: total:16378,20 Mb - used: 6821,03 Mb (42%) - free 9557,17 Mb (58%) > > > Why? Swap memory? I believe it's total virtual memory (RAM plus SWAP). I think check_nt is no longer the preferred method to check memory with NSClient++ though. Take a look at: http://www.nsclient.org/nscp/wiki/CheckMem This typically requires you to use check_nrpe rather than check_nt hth, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mguthrie at nagios.com Tue Feb 15 16:30:32 2011 From: mguthrie at nagios.com (Mike Guthrie) Date: Tue, 15 Feb 2011 09:30:32 -0600 Subject: Problem with BPI addon Message-ID: <4D5A9C18.8020801@nagios.com> > [Nagios-users] Problem with BPI addon > From: Juan-Francisco Diez - 2011-02-15 11:48 > > Hi everyone, > > I had a problem with the Nagios Business Process Intelligence (BPI). > > I can create new groups but I can't edit them. When I try to edit, the BPI > don't say me anything about errors but it don't change the bpi.conf with the > new configuration parameters. > > I don't think that the problem is located in file permission because I can > create new groups. > > My installation of Nagios is under Linux with Apache web server. When I edit > with vim the bpi.conf, I can see that all the lines ending are with the ^M > (DOS ending line). Can it be the problem? > It might be, the file should be saving with unix line endings. BPI also allows for manual maintenance of the bpi.conf file, so you can test your edits manually and see if they're taking place in the browser. > I hope you can help me to resolve this trouble. > > -- Mike Guthrie Technical Team ___ Nagios Enterprises, LLC Email: mguthrie at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Tue Feb 15 16:59:32 2011 From: tntteam at free.fr (Tntteam) Date: Tue, 15 Feb 2011 16:59:32 +0100 Subject: Installing and configuring nexsm with nagiosxi In-Reply-To: <240920.61796.qm@web45210.mail.sp1.yahoo.com> References: <240920.61796.qm@web45210.mail.sp1.yahoo.com> Message-ID: Probably a signing error (try to read the INSTALL file in the archive) I just setup this java thing this morning and I don't find it usefull at all. Plus the creator is not maintaining this as he is developing a similar thing but in a commercial (paid) way. 2011/2/15 moses neah > Hill All, > Has anyone install nexsm to work with nagiosxi. If so, please give me the > installation and configuration procedure. I have try by following the > procedures at the nexsm site buy I get java aplet error. > Thanks in advance. > Regards, > > > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Tue Feb 15 18:14:58 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 15 Feb 2011 17:14:58 +0000 Subject: Installing and configuring nexsm with nagiosxi In-Reply-To: <240920.61796.qm@web45210.mail.sp1.yahoo.com> References: <240920.61796.qm@web45210.mail.sp1.yahoo.com> Message-ID: On 15 February 2011 14:50, moses neah wrote: > Hill All, > Has anyone install nexsm to work with nagiosxi. If so, please give me the > installation and configuration procedure. I have try by following the > procedures at the nexsm site buy I get java aplet error. > Thanks in advance. > Regards, I have found it extremely difficult to get nexsm working with Nagios Core. Personally I can't recommend it for that reason and as Tntteam mentioned because it seems to be pretty much unsupported now. It's a shame because Nexsm can be pretty impressive when it's working. Having said all that you could try the official help forum for nexsm at http://sourceforge.net/projects/nexsm/forums/forum/558504 I see there's a Network Hypermap on the roadmap for NagiosXI. It might be worth waiting for that rather than expend too much effort on Nexsm. See: http://www.nagios.com/products/nagiosxi/roadmap ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Tue Feb 15 18:25:36 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Tue, 15 Feb 2011 09:25:36 -0800 (PST) Subject: (no subject) Message-ID: <406634.54148.qm@web36502.mail.mud.yahoo.com> Feel pleasure from having good sex! http://actualeducation.co.uk/html/2011.php?CID=4416 ... ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Garland at quantum.com Tue Feb 15 18:55:24 2011 From: Rick.Garland at quantum.com (Rick Garland) Date: Tue, 15 Feb 2011 10:55:24 -0700 Subject: How to find downtime_id Message-ID: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> Hi all: Running Nagios 3.2.3 on a RHEL 5.5 system. I am wanting to be able to run a script to DEL_HOST_DOWNTIME but I see one of the parameters in the downtime_id. Where do I find that number? I noticed in an earlier version (3.0.x) there was the file downtime.dat residing in the nagios/var subdir, but at 3.2.3 I do not see that file anymore. Is it somewhere else? I cannot find. Should there be a downtime.dat file? Thanks. ---------------------------------------------------------------------- The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Feb 15 20:15:49 2011 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 15 Feb 2011 13:15:49 -0600 Subject: Installing and configuring nexsm with nagiosxi In-Reply-To: References: <240920.61796.qm@web45210.mail.sp1.yahoo.com> Message-ID: Hi Moses, I suggest you contact the author if it is no more being supported. He will be able to point you in the right direction. I installed NEXSM years ago, took a great deal to get it working. You can either invest that much time or contact the author and he may be able to assist Regards, Alex On Tue, Feb 15, 2011 at 11:14 AM, Jim Avery wrote: > On 15 February 2011 14:50, moses neah wrote: > > Hill All, > > Has anyone install nexsm to work with nagiosxi. If so, please give me the > > installation and configuration procedure. I have try by following the > > procedures at the nexsm site buy I get java aplet error. > > Thanks in advance. > > Regards, > > I have found it extremely difficult to get nexsm working with Nagios > Core. Personally I can't recommend it for that reason and as Tntteam > mentioned because it seems to be pretty much unsupported now. It's a > shame because Nexsm can be pretty impressive when it's working. > > Having said all that you could try the official help forum for nexsm > at http://sourceforge.net/projects/nexsm/forums/forum/558504 > > I see there's a Network Hypermap on the roadmap for NagiosXI. It > might be worth waiting for that rather than expend too much effort on > Nexsm. See: http://www.nagios.com/products/nagiosxi/roadmap > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.friedrich at univie.ac.at Tue Feb 15 22:18:31 2011 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 15 Feb 2011 22:18:31 +0100 Subject: How to find downtime_id In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> Message-ID: <4D5AEDA7.7010606@univie.ac.at> On 15.02.2011 18:55, Rick Garland wrote: > > Hi all: > > Running Nagios 3.2.3 on a RHEL 5.5 system. > > I am wanting to be able to run a script to DEL_HOST_DOWNTIME but I see > one of the parameters in the downtime_id. > Where do I find that number? > > I noticed in an earlier version (3.0.x) there was the file > downtime.dat residing in the nagios/var subdir, but at 3.2.3 I do not > see that file anymore. > retention.dat - check the what's new section http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/html/docs/whatsnew.html > Is it somewhere else? I cannot find. Should there be a downtime.dat file? > > Thanks. > > > ------------------------------------------------------------------------ > The information contained in this transmission may be confidential. > Any disclosure, copying, or further distribution of confidential > information is not permitted unless such privilege is explicitly > granted in writing by Quantum. Quantum reserves the right to have > electronic communications, including email and attachments, sent > across its networks filtered through anti virus and spam software > programs and retain such messages in order to comply with applicable > data security and retention requirements. Quantum is not responsible > for the proper and complete transmission of the substance of this > communication or for any delay in its receipt. > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Tue Feb 15 22:50:49 2011 From: a31modela at hotmail.com (steve f) Date: Tue, 15 Feb 2011 16:50:49 -0500 Subject: A question on my distributed server set up Message-ID: So far everything has been working fine in my test distributed environment. Getting ready to go live with it as soon as a new server is build for the central server. On my distributed set up however..... In /var/log/nagios/nagios.log, I see 2 entries for every check as shown below. Are these both supposed to be in there or am I checking my services twice ? EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;7924server102;POS Queue File Size;0;OK - All POS queue files are fine then a few lines further down I see PASSIVE SERVICE CHECK: 7924server102;POS Queue File Size;0;OK - All POS queue files are fine I am starting to 2nd guess my configuration here. In my haste to get it running, am I configured incorrectly?? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel.wittenberg.r0ko at statefarm.com Tue Feb 15 23:00:36 2011 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Tue, 15 Feb 2011 15:00:36 -0700 Subject: A question on my distributed server set up In-Reply-To: References: Message-ID: <31B0FE0A1A8166409E9DF35C6DEECB2405A9728F@WPSCV6MM.OPR.STATEFARM.ORG> That looks right. First nagios is telling you that it has received an external command, and the value is X. Then it is telling you that it is processing the results of the passive check. Does that make sense? Dan From: steve f [mailto:a31modela at hotmail.com] Sent: Tuesday, February 15, 2011 3:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] A question on my distributed server set up So far everything has been working fine in my test distributed environment. Getting ready to go live with it as soon as a new server is build for the central server. On my distributed set up however..... In /var/log/nagios/nagios.log, I see 2 entries for every check as shown below. Are these both supposed to be in there or am I checking my services twice ? EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;7924server102;POS Queue File Size;0;OK - All POS queue files are fine then a few lines further down I see PASSIVE SERVICE CHECK: 7924server102;POS Queue File Size;0;OK - All POS queue files are fine I am starting to 2nd guess my configuration here. In my haste to get it running, am I configured incorrectly?? Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Tue Feb 15 23:09:53 2011 From: a31modela at hotmail.com (steve f) Date: Tue, 15 Feb 2011 17:09:53 -0500 Subject: A question on my distributed server set up In-Reply-To: <31B0FE0A1A8166409E9DF35C6DEECB2405A9728F@WPSCV6MM.OPR.STATEFARM.ORG> References: , <31B0FE0A1A8166409E9DF35C6DEECB2405A9728F@WPSCV6MM.OPR.STATEFARM.ORG> Message-ID: hey Daniel, Thanks for the follow up, it does make sense but as I get closer to going into production with this , I start looking at stuff trying to make sure I am as streamlined as possible and seeing stuff like that makes me wonder if its right or not. Just me being anal I hope, Thanks Again for the input. Steve Date: Tue, 15 Feb 2011 15:00:36 -0700 From: daniel.wittenberg.r0ko at statefarm.com To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] A question on my distributed server set up That looks right. First nagios is telling you that it has received an external command, and the value is X. Then it is telling you that it is processing the results of the passive check. Does that make sense? Dan From: steve f [mailto:a31modela at hotmail.com] Sent: Tuesday, February 15, 2011 3:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] A question on my distributed server set up So far everything has been working fine in my test distributed environment. Getting ready to go live with it as soon as a new server is build for the central server. On my distributed set up however..... In /var/log/nagios/nagios.log, I see 2 entries for every check as shown below. Are these both supposed to be in there or am I checking my services twice ? EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;7924server102;POS Queue File Size;0;OK - All POS queue files are fine then a few lines further down I see PASSIVE SERVICE CHECK: 7924server102;POS Queue File Size;0;OK - All POS queue files are fine I am starting to 2nd guess my configuration here. In my haste to get it running, am I configured incorrectly?? Thanks, Steve ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Tue Feb 15 22:58:39 2011 From: mirde at oppy.com (Mirza Dedic) Date: Tue, 15 Feb 2011 13:58:39 -0800 Subject: Nagios email notification, nothing for "aditional information" section. Message-ID: Hello, I recently re-installed my Nagios environment and recently found that using my old configuration that used to work, is not working now; more specifically the email notification parsing seems to not send information regarding "additional information" part. Example email notification message that I receive: ***** Nagios ***** Notification Type: PROBLEM Service: DB Log Watch oppy1 Host: van-oppy Address: 172.16.4.14 State: CRITICAL Date/Time: Tue Feb 15 11:06:26 PST 2011 Additional Info: There is nothing in for additional information, below is the email notification command being used: define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ Any help on troubleshooting this? Thank you! ________________________________ The Oppenheimer Group ---- CONFIDENTIAL This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mochu33 at gmail.com Wed Feb 16 08:24:40 2011 From: mochu33 at gmail.com (Juan-Francisco Diez) Date: Wed, 16 Feb 2011 08:24:40 +0100 Subject: Problem with BPI addon In-Reply-To: <4D5A9C18.8020801@nagios.com> References: <4D5A9C18.8020801@nagios.com> Message-ID: I use dos2unix tool but BPI still not edit the field through the web browser. I edit it manually and it work fine but it don't dolve the problem. Any idea? 2011/2/15 Mike Guthrie > > > > [Nagios-users] Problem with BPI addon > > From: Juan-Francisco Diez - 2011-02-15 11:48 > > > > Hi everyone, > > > > I had a problem with the Nagios Business Process Intelligence (BPI). > > > > I can create new groups but I can't edit them. When I try to edit, the > BPI > > don't say me anything about errors but it don't change the bpi.conf with > the > > new configuration parameters. > > > > I don't think that the problem is located in file permission because I > can > > create new groups. > > > > My installation of Nagios is under Linux with Apache web server. When I > edit > > with vim the bpi.conf, I can see that all the lines ending are with the > ^M > > (DOS ending line). Can it be the problem? > > > It might be, the file should be saving with unix line endings. BPI also > allows for manual maintenance of the bpi.conf file, so you can test your > edits manually and see if they're taking place in the browser. > > > > > I hope you can help me to resolve this trouble. > > > > > > > > -- > > > Mike Guthrie > Technical Team > ___ > Nagios Enterprises, LLC > Email: mguthrie at nagios.com > Web: www.nagios.com > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Wed Feb 16 08:52:51 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 16 Feb 2011 16:52:51 +0900 Subject: High Latency with service checks Message-ID: <201102160752.AA03301@S2007337.jp.fujitsu.com> Hello All. I would like to get an advice with nagios latency issue. In nagios 3.0.6 with RHEL 4, would there be a possibility that service check latency hikes even though the sar or iostat usage is not in relatively high load usage? (I am planning to upgrade to v 3.2.3 soon.) SAR average cpu usage were 40% and iowait was lying 0%. Swaping were not occuring. I have more than 1000 ping checks and average latency are 20 min. Check execution time for ping is all below 1 sec. Plugin I am using is check_icmp. CPU I am using is , Intel(R) Xeon(TM) CPU 2.80GHz Memory is 8GB OS is RHEL 4.4 Are there any possiblity that Nagios gets locked up with the service check scheduling? Thanks, Yu ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Wed Feb 16 08:42:37 2011 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 16 Feb 2011 08:42:37 +0100 Subject: snmp Konica Minolta Message-ID: <4D5B7FED.3010008@fhv.at> Hi all, I have to check the Toner Cartridges from our Konica Minolta BizHub Printers/Scanners, but I can't find the right MIBs. Searching http://mibdepot.com was not successfully. many thank Richard ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Wed Feb 16 09:57:41 2011 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 16 Feb 2011 08:57:41 +0000 Subject: High Latency with service checks In-Reply-To: <201102160752.AA03301@S2007337.jp.fujitsu.com> References: <201102160752.AA03301@S2007337.jp.fujitsu.com> Message-ID: <4D5B9185.6090302@flatto.net> Yu Watanabe wrote: > Hello All. > > I would like to get an advice with nagios latency issue. > > In nagios 3.0.6 with RHEL 4, would there be a possibility > that service check latency hikes even though the sar or iostat > usage is not in relatively high load usage? (I am planning to upgrade to v 3.2.3 soon.) > > SAR average cpu usage were 40% and iowait was lying 0%. Swaping were not occuring. > > I have more than 1000 ping checks and average latency are 20 min. Check execution time for ping is > all below 1 sec. Plugin I am using is check_icmp. > > CPU I am using is , > Intel(R) Xeon(TM) CPU 2.80GHz > Memory is 8GB > OS is RHEL 4.4 > > Are there any possiblity that Nagios gets locked up with the service check scheduling? > > Thanks, > Yu > > > have you tried throttling the amount of concurrent checks ? could it be that the 1000 pings is flooding your network ? I've encountered a similar issue with a a setup I had ( granted the latency wasn't that extreme ) , and from what you describe the symptoms sound the same . We tried several solutions (DNX , Mod_gearman) to reduce the latency , the solution that worked int he end was adding extra RAM to the machine and that solved it - I know that is not the best method , but non of the "regular" methods of tweaking nagios (large install , ramfs etc` ) worked , the boost in ram reduced the latency from 6+ minutes to 3 sec. Assaf ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ales.Rikovsky at upol.cz Wed Feb 16 09:50:47 2011 From: Ales.Rikovsky at upol.cz (Ales Rikovsky) Date: Wed, 16 Feb 2011 09:50:47 +0100 Subject: No login? In-Reply-To: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> References: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> Message-ID: <4D5B8FE7.7040005@upol.cz> Hello, Can anybody help? Is it possible to let user access to Nagios web page without having to log in with username/password? Thank you. Ales -- Ales Rikovsky +420 585631826 Ales.Rikovsky at upol.cz Biskupske nam. 1 Palacky University Computer Center 771 11 Olomouc ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Wed Feb 16 10:09:15 2011 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 16 Feb 2011 09:09:15 +0000 Subject: No login? In-Reply-To: <4D5B8FE7.7040005@upol.cz> References: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> <4D5B8FE7.7040005@upol.cz> Message-ID: <4D5B943B.5020500@flatto.net> Ales Rikovsky wrote: > Hello, > > Can anybody help? > Is it possible to let user access to Nagios web page without having to > log in with username/password? > > Thank you. > > Ales > > In essence , Yes , but why would you want to do that ? You can disable the requiredauth in the apache conf and change the cgi.cfg to allow read only to * . Assaf ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Wed Feb 16 10:18:51 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 16 Feb 2011 18:18:51 +0900 Subject: High Latency with service checks In-Reply-To: <4D5B9185.6090302@flatto.net> References: <4D5B9185.6090302@flatto.net> Message-ID: <201102160918.AA03304@S2007337.jp.fujitsu.com> Thank you very much for the reply. Assaf Flatto ????????: >Yu Watanabe wrote: >> Hello All. >> >> I would like to get an advice with nagios latency issue. >> >> In nagios 3.0.6 with RHEL 4, would there be a possibility >> that service check latency hikes even though the sar or iostat >> usage is not in relatively high load usage? (I am planning to upgrade to v 3.2.3 soon.) >> >> SAR average cpu usage were 40% and iowait was lying 0%. Swaping were not occuring. >> >> I have more than 1000 ping checks and average latency are 20 min. Check execution time for ping is >> all below 1 sec. Plugin I am using is check_icmp. >> >> CPU I am using is , >> Intel(R) Xeon(TM) CPU 2.80GHz >> Memory is 8GB >> OS is RHEL 4.4 >> >> Are there any possiblity that Nagios gets locked up with the service check scheduling? >> >> Thanks, >> Yu >> >> >> >have you tried throttling the amount of concurrent checks ? >could it be that the 1000 pings is flooding your network ? I am not sure that I understand the meaning by throttling... Would there be a parameter in Nagios to control this? For flooding I will check the netstat -s periodically and see if there are too much. > >I've encountered a similar issue with a a setup I had ( granted the >latency wasn't that extreme ) , and from what you describe the symptoms >sound the same . > >We tried several solutions (DNX , Mod_gearman) to reduce the latency , >the solution that worked int he end was adding extra RAM to the machine >and that solved it - I know that is not the best method , but non of the >"regular" methods of tweaking nagios (large install , ramfs etc` ) >worked , the boost in ram reduced the latency from 6+ minutes to 3 sec. As long as I see the vmstat , there seems to be enough memories left for buffer and cache since there aren't any swaping. Thanks , Yu > >Assaf > > >------------------------------------------------------------------------------ >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 at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Wed Feb 16 10:17:04 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Wed, 16 Feb 2011 04:17:04 -0500 Subject: No login? In-Reply-To: <4D5B943B.5020500@flatto.net> References: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> <4D5B8FE7.7040005@upol.cz> <4D5B943B.5020500@flatto.net> Message-ID: <4D5BB2300200002F0001DC30@trw.com> Or do you mean authentication against ldap? >>> Assaf Flatto 2011/02/16 11:09 >>> Ales Rikovsky wrote: > Hello, > > Can anybody help? > Is it possible to let user access to Nagios web page without having to > log in with username/password? > > Thank you. > > Ales > > In essence , Yes , but why would you want to do that ? You can disable the requiredauth in the apache conf and change the cgi.cfg to allow read only to * . Assaf ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rochak41 at hotmail.com Wed Feb 16 10:23:44 2011 From: rochak41 at hotmail.com (Roch Akanor) Date: Wed, 16 Feb 2011 09:23:44 +0000 Subject: Hope this useful : a dashboard management toolfor Nagios In-Reply-To: References: , , <6F13E8BB6FDAC14FA6B0BD869991833825FF38@exch-coni-is.LIBERTYMGT.COM>, Message-ID: I find ngrt4n not bad for my use, that's why I shared it here. With a good network bandwidth, I think that ssh and X forward is more secure than other X-enabled mechanisms based on telnet + a X server for example.Of course, in a beta stage it may has some bugs. As mentioned on their web site, It could be useful to send feedback about encountered bugs or new ideas (such as which you mentioned on web based interface) to author(s) so to allow them to improve the tool. Regards,--Roch A. Date: Mon, 14 Feb 2011 11:54:51 +0100 From: tntteam at free.fr To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Hope this useful : a dashboard management toolfor Nagios I just installed ngrt4n (I got many problems with the poor documentation). Seem very bugged (but is noted as beta) and I didn't like the main thing at all. Having the dashboard using a ssh and X forward system is not very handy. The same thing using web interface would be a better idea. 2011/2/11 Engelmann, Austin Yes, thank you for sharing that! It got me searching the net for other possibilities which led me to Icinga (http://www.icinga.org). Anyone have any experience with this? What is attractive for my department is the reporting functionality. Austin From: Tntteam [mailto:tntteam at free.fr] Sent: Friday, February 11, 2011 10:42 AM To: Nagios Users List Subject: Re: [Nagios-users] Hope this useful : a dashboard management toolfor Nagios Thanks for sharing 2011/2/11 Roch Akanor Hello everyone, I just found ngrt4n (http://www.ngrt4n.com), a nice dashboard management tool for Nagios. I have thought that it could be useful to share the link with you. Kind regards -- Roch A. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Wed Feb 16 10:25:11 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Wed, 16 Feb 2011 04:25:11 -0500 Subject: Check_NT -> Double Memory In-Reply-To: References: <6E3EBE71CB62274F8EB78338A6CDD975021616C661AA@ADEXC07A.intranet.local> Message-ID: <4D5BB4170200002F0001DC35@trw.com> You should all check out check_mk. This guy is doing some great work. http://mathias-kettner.de/check_mk.html >>> Jim Avery 2011/02/15 17:22 >>> 2011/2/15 Luis Gustavo de Andrade Jord?o Carneiro : > Hello all! > > > My Server Win 2008 x64 has 8 Gb of RAM, but when nagios check_nt dicovery 16 Gb. > I installed NSCLient++ x64 on Win 2008. > > ./check_nt -H 10.0.24.1 -p 12489 -s public -v MEMUSE > Utilizacao de memory: total:16378,20 Mb - used: 6821,03 Mb (42%) - free 9557,17 Mb (58%) > > > Why? Swap memory? I believe it's total virtual memory (RAM plus SWAP). I think check_nt is no longer the preferred method to check memory with NSClient++ though. Take a look at: http://www.nsclient.org/nscp/wiki/CheckMem This typically requires you to use check_nrpe rather than check_nt hth, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Wed Feb 16 10:32:46 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Wed, 16 Feb 2011 04:32:46 -0500 Subject: Nagios email notification, nothing for "aditional information" section. In-Reply-To: References: Message-ID: <4D5BB5DE0200002F0001DC3A@trw.com> Yeah, for the service-by-email notification you should add $LONGSERVICEOUTPUT$. I edited your command as follows: define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n$LONGSERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } >>> Mirza Dedic 2011/02/15 23:58 >>> Hello, I recently re-installed my Nagios environment and recently found that using my old configuration that used to work, is not working now; more specifically the email notification parsing seems to not send information regarding ?additional information? part. Example email notification message that I receive: ***** Nagios ***** Notification Type: PROBLEM Service: DB Log Watch oppy1 Host: van-oppy Address: 172.16.4.14 State: CRITICAL Date/Time: Tue Feb 15 11:06:26 PST 2011 Additional Info: There is nothing in for additional information, below is the email notification command being used: define command{ command_name notify-host-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Host Alert: $HOSTNAME$ is $HOSTSTATE$ **" $CONTACTEMAIL$ } define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ Any help on troubleshooting this? Thank you! The Oppenheimer Group ---- CONFIDENTIAL This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Wed Feb 16 10:36:43 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Wed, 16 Feb 2011 04:36:43 -0500 Subject: snmp Konica Minolta In-Reply-To: <4D5B7FED.3010008@fhv.at> References: <4D5B7FED.3010008@fhv.at> Message-ID: <4D5BB6CB0200002F0001DC3F@trw.com> You can do an SNMP-Walk on your printer. It usually, I know with my Kyocera machines it didn't, doesn't give you all of the OID's but you will get most of them. Who know, on your machines you might get all of them. You can run this command from your Nagios machine: snmpwalk -v1 -c public x.x.x.x or just type "snmpwalk" and hit enter and it will give you all of the options. >>> Richard Gliebe 2011/02/16 09:42 >>> Hi all, I have to check the Toner Cartridges from our Konica Minolta BizHub Printers/Scanners, but I can't find the right MIBs. Searching http://mibdepot.com was not successfully. many thank Richard ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ales.Rikovsky at upol.cz Wed Feb 16 10:47:29 2011 From: Ales.Rikovsky at upol.cz (Ales Rikovsky) Date: Wed, 16 Feb 2011 10:47:29 +0100 Subject: No login? In-Reply-To: <4D5BB2300200002F0001DC30@trw.com> References: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> <4D5B8FE7.7040005@upol.cz> <4D5B943B.5020500@flatto.net> <4D5BB2300200002F0001DC30@trw.com> Message-ID: <4D5B9D31.8020703@upol.cz> On 16.2.2011 10:17, Andre Kruger wrote: > Or do you mean authentication against ldap? > > > Is it possible to let user access to Nagios web page without having to > > log in with username/password? > > > > Thank you. > > No. I want to allow pure public access to http://nagios.MyACME.com/ without ANY login. ALes -- Ales Rikovsky +420 585631826 Ales.Rikovsky at upol.cz Biskupske nam. 1 Palacky University Computer Center 771 11 Olomouc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Wed Feb 16 10:50:12 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Wed, 16 Feb 2011 17:50:12 +0800 Subject: High Latency with service checks In-Reply-To: <201102160918.AA03304@S2007337.jp.fujitsu.com> References: <4D5B9185.6090302@flatto.net> <201102160918.AA03304@S2007337.jp.fujitsu.com> Message-ID: another possibility, do you use addon to do task after "every" checking? for example, update RRD files for performance graphing, sometimes that should increase the checking latency. 2011/2/16 Yu Watanabe : > Thank you very much for the reply. > > > Assaf Flatto ????????: >>Yu Watanabe wrote: >>> Hello All. >>> >>> I would like to get an advice with nagios latency issue. >>> >>> In nagios 3.0.6 with RHEL 4, would there be a possibility >>> that service check latency hikes even though the sar or iostat >>> usage is not in relatively high load usage? (I am planning to upgrade to v 3.2.3 soon.) >>> >>> SAR average cpu usage were 40% and iowait was lying 0%. Swaping were not occuring. >>> >>> I have more than 1000 ping checks and average latency are 20 min. Check execution time for ping is >>> all below 1 sec. Plugin I am using is check_icmp. >>> >>> CPU I am using is , >>> Intel(R) Xeon(TM) CPU 2.80GHz >>> Memory is 8GB >>> OS is RHEL 4.4 >>> >>> Are there any possiblity that Nagios gets locked up with the service check scheduling? >>> >>> Thanks, >>> Yu >>> >>> >>> >>have you tried throttling the amount of concurrent checks ? >>could it be that the 1000 pings is flooding your network ? > > ?I am not sure that I understand the meaning by throttling... > ?Would there be a parameter in Nagios to control this? > > ?For flooding I will check the netstat -s periodically and see if there are too much. > >> >>I've encountered a similar issue with a ?a setup I had ( granted the >>latency wasn't that extreme ) , and from what you describe the symptoms >>sound the same . >> >>We tried several solutions (DNX , Mod_gearman) to reduce the latency , >>the solution that worked int he end was adding extra RAM to the machine >>and that solved it - I know that is not the best method , but non of the >>"regular" methods of tweaking nagios (large install , ramfs etc` ) >>worked , the boost in ram reduced the latency from 6+ minutes to 3 sec. > > ?As long as I see the vmstat , there seems to be enough memories left > ?for buffer and cache since there aren't any swaping. > > Thanks , > Yu > >> >>Assaf >> >> >>------------------------------------------------------------------------------ >>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 at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null >> > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andre.Kruger at TRW.COM Wed Feb 16 10:51:30 2011 From: Andre.Kruger at TRW.COM (Andre Kruger) Date: Wed, 16 Feb 2011 04:51:30 -0500 Subject: No login? In-Reply-To: <4D5B9D31.8020703@upol.cz> References: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> <4D5B8FE7.7040005@upol.cz> <4D5B943B.5020500@flatto.net> <4D5BB2300200002F0001DC30@trw.com> <4D5B9D31.8020703@upol.cz> Message-ID: <4D5BBA420200002F0001DC44@trw.com> The public access will also be able to issue commands, disable notifications etc? That is honestly not a very good idea. >>> Ales Rikovsky 2011/02/16 11:47 >>> On 16.2.2011 10:17, Andre Kruger wrote: Or do you mean authentication against ldap? > Is it possible to let user access to Nagios web page without having to > log in with username/password? > > Thank you. > No. I want to allow pure public access to http://nagios.MyACME.com/ without ANY login. ALes -- Ales Rikovsky +420 585631826Ales.Rikovsky at upol.czBiskupske nam. 1 Palacky University Computer Center 771 11 Olomouc Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Wed Feb 16 10:51:25 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 16 Feb 2011 18:51:25 +0900 Subject: Check_NT -> Double Memory In-Reply-To: <4D5BB4170200002F0001DC35@trw.com> References: <4D5BB4170200002F0001DC35@trw.com> Message-ID: <201102160951.AA03306@S2007337.jp.fujitsu.com> I have used this with nagvis before. I like the way it communicates with the nagios bronx. Thanks, Yu Andre Kruger ????????: >You should all check out check_mk. This guy is doing some great work. > >http://mathias-kettner.de/check_mk.html > >>>> Jim Avery 2011/02/15 17:22 >>> >2011/2/15 Luis Gustavo de Andrade Jordao Carneiro >: >> Hello all! >> >> >> My Server Win 2008 x64 has 8 Gb of RAM, but when nagios check_nt >dicovery 16 Gb. >> I installed NSCLient++ x64 on Win 2008. >> >> ./check_nt -H 10.0.24.1 -p 12489 -s public -v MEMUSE >> Utilizacao de memory: total:16378,20 Mb - used: 6821,03 Mb (42%) - >free 9557,17 Mb (58%) >> >> >> Why? Swap memory? > > >I believe it's total virtual memory (RAM plus SWAP). > >I think check_nt is no longer the preferred method to check memory >with NSClient++ though. Take a look at: > > http://www.nsclient.org/nscp/wiki/CheckMem > >This typically requires you to use check_nrpe rather than check_nt > >hth, > >Jim > >------------------------------------------------------------------------------ >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 at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > >Please consider your environmental responsibility before printing this >e-mail or any other document. Ask yourself whether you need a hard copy. > >______________________________________________________________________ > >------------------------------------------------------------------------------ >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 at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Wed Feb 16 11:08:20 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 16 Feb 2011 19:08:20 +0900 Subject: High Latency with service checks In-Reply-To: References: Message-ID: <201102161008.AA03307@S2007337.jp.fujitsu.com> Thank you for the reply Yueh. We graph the results but not after every check. I use the performance output to pool it to a file first . Thanks , Yu Yueh-Hung Liu ????????: >another possibility, do you use addon to do task after "every" checking? >for example, update RRD files for performance graphing, sometimes that >should increase the checking latency. > > >2011/2/16 Yu Watanabe : >> Thank you very much for the reply. >> >> >> Assaf Flatto ????????: >>>Yu Watanabe wrote: >>>> Hello All. >>>> >>>> I would like to get an advice with nagios latency issue. >>>> >>>> In nagios 3.0.6 with RHEL 4, would there be a possibility >>>> that service check latency hikes even though the sar or iostat >>>> usage is not in relatively high load usage? (I am planning to upgrade to v 3.2.3 soon.) >>>> >>>> SAR average cpu usage were 40% and iowait was lying 0%. Swaping were not occuring. >>>> >>>> I have more than 1000 ping checks and average latency are 20 min. Check execution time for ping is >>>> all below 1 sec. Plugin I am using is check_icmp. >>>> >>>> CPU I am using is , >>>> Intel(R) Xeon(TM) CPU 2.80GHz >>>> Memory is 8GB >>>> OS is RHEL 4.4 >>>> >>>> Are there any possiblity that Nagios gets locked up with the service check scheduling? >>>> >>>> Thanks, >>>> Yu >>>> >>>> >>>> >>>have you tried throttling the amount of concurrent checks ? >>>could it be that the 1000 pings is flooding your network ? >> >> ?I am not sure that I understand the meaning by throttling... >> ?Would there be a parameter in Nagios to control this? >> >> ?For flooding I will check the netstat -s periodically and see if there are too much. >> >>> >>>I've encountered a similar issue with a ?a setup I had ( granted the >>>latency wasn't that extreme ) , and from what you describe the symptoms >>>sound the same . >>> >>>We tried several solutions (DNX , Mod_gearman) to reduce the latency , >>>the solution that worked int he end was adding extra RAM to the machine >>>and that solved it - I know that is not the best method , but non of the >>>"regular" methods of tweaking nagios (large install , ramfs etc` ) >>>worked , the boost in ram reduced the latency from 6+ minutes to 3 sec. >> >> ?As long as I see the vmstat , there seems to be enough memories left >> ?for buffer and cache since there aren't any swaping. >> >> Thanks , >> Yu >> >>> >>>Assaf >>> >>> >>>------------------------------------------------------------------------------ >>>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 at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >>>::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> ------------------------------------------------------------------------------ >> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >> Pinpoint memory and threading errors before they happen. >> Find and fix more than 250 security defects in the development cycle. >> Locate bottlenecks in serial and parallel code that limit performance. >> http://p.sf.net/sfu/intel-dev2devfeb >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > >------------------------------------------------------------------------------ >The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: >Pinpoint memory and threading errors before they happen. >Find and fix more than 250 security defects in the development cycle. >Locate bottlenecks in serial and parallel code that limit performance. >http://p.sf.net/sfu/intel-dev2devfeb >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ales.Rikovsky at upol.cz Wed Feb 16 11:10:08 2011 From: Ales.Rikovsky at upol.cz (Ales Rikovsky) Date: Wed, 16 Feb 2011 11:10:08 +0100 Subject: No login? In-Reply-To: <4D5BBA420200002F0001DC44@trw.com> References: <8324365F3DDCFE4EA4CBB01F275CDD65065BC4BD@DENMSGV1.QUANTUM.COM> <4D5B8FE7.7040005@upol.cz> <4D5B943B.5020500@flatto.net> <4D5BB2300200002F0001DC30@trw.com> <4D5B9D31.8020703@upol.cz> <4D5BBA420200002F0001DC44@trw.com> Message-ID: <4D5BA280.5010206@upol.cz> On 16.2.2011 10:51, Andre Kruger wrote: > The public access will also be able to issue commands, disable > notifications etc? > That is honestly not a very good idea. No, I want to allow ONLY to VIEW not ru execute commands # GLOBAL HOST/SERVICE VIEW ACCESS (cgi.cfg) to anyone. The only possibility I've found is # DEFAULT USER default_user_name=guest That seems to be access without password but using guest username is still necessary. Thanks, Ales -- Ales Rikovsky +420 585631826 Ales.Rikovsky at upol.cz Biskupske nam. 1 Palacky University Computer Center 771 11 Olomouc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmontagner at sorint.it Wed Feb 16 11:40:09 2011 From: gmontagner at sorint.it (Giacomo Montagner) Date: Wed, 16 Feb 2011 11:40:09 +0100 Subject: nagios server redundancy In-Reply-To: <20110214215359.GN13199@red-sonja> References: <20110211182632.GH13199@red-sonja> <4D55AB9E.9080500@5dninja.net> <20110214160925.2158a594@ragnarok.entirelyunlike.net> <20110214215359.GN13199@red-sonja> Message-ID: <20110216114009.2b045cf3@ragnarok.entirelyunlike.net> On Mon, 14 Feb 2011 16:53:59 -0500 Morty wrote: > Interesting. Do you have example code? I'm currently using a file > backend, but I could switch to a DB backend if necessary. > > - Morty Hi all, sorry for double-answering, but I found out NSCA is not able to forward things other than host/service checks, so I managed to forward acknowledgments in another way. It's still based on the NDOUtils-maintained MySQL DB. First: setup the machine which is receiving acks - put the following line in /etc/services: get_acks 15667/tcp # get acks from other server (I chose that port by putting a "1" before NSCA standard port). - put get_acks.pl into /bin (on my machines it's /opt/nagios/bin) or wherever you prefer; modify the line: my $cmd = '/opt/nagios/var/rw/nagios.cmd'; to match your environment (i.e. put there the right path to the external commands file); - put get_acks into /etc/xinetd.d, modify the lines: server = /opt/nagios/bin/get_acks.pl # Path to script only_from = 127.0.0.1 192.168.0.1 to match your environment (list the IP of the sending server on the second line); - start/restart xinetd; verify it's listening on port 15667 (or whichever you chose). Second: setup the sending machine - Put replicate_acks.pl wherever you prefer; modify the configuration in it to match your environment (MySQL db location, user, password, etc.). Schedule it to run automatically. If the receiving machine is processing external commands, it should start receiving acknowledgments as well. Please notice that the script must be able to write to a lock/status file, it's in the config. I did not test it thoroughly, but it seemed to work at least one time. It might be buggy :) Hope this helps. Bye. Giacomo -------------- next part -------------- A non-text attachment was scrubbed... Name: get_acks Type: application/octet-stream Size: 450 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: get_acks.pl Type: application/x-perl Size: 711 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: replicate_acks.pl Type: application/x-perl Size: 3923 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Wed Feb 16 13:02:09 2011 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 16 Feb 2011 13:02:09 +0100 Subject: snmp Konica Minolta In-Reply-To: <4D5BB6CB0200002F0001DC3F@trw.com> References: <4D5B7FED.3010008@fhv.at> <4D5BB6CB0200002F0001DC3F@trw.com> Message-ID: <4D5BBCC1.2000207@fhv.at> On 2/16/11 10:36 AM Andre Kruger wrote: Hi Andre, > You can do an SNMP-Walk on your printer. It usually, I know with my Kyocera machines it didn't, > doesn't give you all of the OID's but you will get most of them. > Who know, on your machines you might get all of them. You can run this command from your Nagios machine: > > snmpwalk -v1 -c public x.x.x.x > > or just type "snmpwalk" and hit enter and it will give you all of the options. I've already run a snmpwalk and found the OIDs for the Cartridges # snmpget -v1 -cpublic 1.3.6.1.2.1.43.11.1.1.6.1.1 SNMPv2-SMI::mib-2.43.11.1.1.6.1.1 = STRING: "Cyan Toner Cartridge" # snmpget -v1 -cpublic 1.3.6.1.2.1.43.11.1.1.6.1.2 SNMPv2-SMI::mib-2.43.11.1.1.6.1.2 = STRING: "Magenta Toner Cartridge" # snmpget -v1 -cpublic 1.3.6.1.2.1.43.11.1.1.6.1.3 SNMPv2-SMI::mib-2.43.11.1.1.6.1.3 = STRING: "Yellow Toner Cartridge" # snmpget -v1 -cpublic 1.3.6.1.2.1.43.11.1.1.6.1.4 SNMPv2-SMI::mib-2.43.11.1.1.6.1.4 = STRING: "Black Toner Cartridge" But I can't find the right OIDs for the Toner. Normally the OIDs are. MAX=1.3.6.1.2.1.43.11.1.1.8.1.1 LEVEL=1.3.6.1.2.1.43.11.1.1.9.1.1 but these OIDs are not the right one for these $?#! Konica Minolta Printers. I need these Minolta OIDs for my check_toner script. many thanks Richard ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Wed Feb 16 13:38:04 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Wed, 16 Feb 2011 12:38:04 +0000 Subject: nrpe CheckEventLog Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF36@althamex1.micro-p.com> Hi guys, I hope someone can help me. I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server. So far no matter what I try I always get 'Eventlog Check ok' even when I know that there are some red error's showing in the log. I've just been running this from the libexec folder so far as I what to get the syntax right before defining the service and alike. ./check_nrpe -H IP -p 5667 -c checkEventLog file=application file=system filter-eventType==error filter-generated=\<1d Any ideas anyone? NSclient 3.3.20 installed on windows machine. Can someone provide a simple syntax that will at least produce something more interesting the 'ok' so I know that's it is possible? At the moment I'm thinking it's stuck at only reporting 'ok' no matter what I do. Thanks in advance :) Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Wed Feb 16 13:55:11 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Wed, 16 Feb 2011 13:55:11 +0100 Subject: nrpe CheckEventLog In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF36@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF36@althamex1.micro-p.com> Message-ID: On Wed, Feb 16, 2011 at 1:38 PM, Tristan Drinkwater wrote: > Hi guys, > > I hope someone can help me. > > I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server. > > So far no matter what I try I always get 'Eventlog Check ok' even when I know that there are some red error's showing in the log. > > I've just been running this from the libexec folder so far as I what to get the syntax right before defining the service and alike. > > ./check_nrpe -H IP -p 5667 -c checkEventLog file=application file=system filter-eventType==error filter-generated=\<1d > > > Any ideas anyone? > > NSclient 3.3.20 installed on windows machine. > > > Can someone provide a simple syntax that will at least produce something more interesting the 'ok' so I know that's it is possible? At the moment I'm thinking it's stuck at only reporting 'ok' no matter what I do. > Ah, the ole-dead-thing, isn't working as it is supposed too case :-). Usually this means that something is overlooked , or there is a knowledge-gap in corrrect usage of the needed tool ; Some things to remark : - normally in your example command the '-a' flag should appear after checkEventLog to denote arguments following (I think) - in the NSC config file on the remote host, support for arguments must be , explicitly enabled, as also support for nasty meta chars (I think) - further I would advice to make tests against the lastest version of NSClient 0.3.8..x , because the syntax changed somewhat, and this can influence behavior, pending your are looking at links with correct examples w.r.t to the version of NSClient used , or not. M. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Wed Feb 16 13:44:35 2011 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Wed, 16 Feb 2011 07:44:35 -0500 Subject: snmp Konica Minolta In-Reply-To: <4D5BB6CB0200002F0001DC3F@trw.com> References: <4D5B7FED.3010008@fhv.at> <4D5BB6CB0200002F0001DC3F@trw.com> Message-ID: <201102160744.36359.dyioulos@firstbhph.com> On Wednesday 16 February 2011 4:36:43 am Andre Kruger wrote: > You can do an SNMP-Walk on your printer. It > usually, I know with my Kyocera machines it > didn't, doesn't give you all of the OID's but > you will get most of them. Who know, on your > machines you might get all of them. You can run > this command from your Nagios machine: > > snmpwalk -v1 -c public x.x.x.x > > or just type "snmpwalk" and hit enter and it > will give you all of the options. > > >>> Richard Gliebe > >>> 2011/02/16 09:42 >>> > > Hi all, > > I have to check the Toner Cartridges from our > Konica Minolta BizHub Printers/Scanners, but I > can't find the right MIBs. > > Searching http://mibdepot.com was not > successfully. > > many thank > Richard > I would be grateful if anybody has found or created a plug-in for Konica Minolta copiers, or might instruct me on how to build one. Thanks. Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Wed Feb 16 14:13:17 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Wed, 16 Feb 2011 13:13:17 +0000 Subject: nrpe CheckEventLog In-Reply-To: References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF36@althamex1.micro-p.com> Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF96@althamex1.micro-p.com> Thanks for the reply. I fear the main problem here is the lack of knowledge that's sat in-between my chair and my pc :) I've edited the ini file on the server to allow both arguments and nasty chars and restarted the service. If I use the -a switch after -c checkEventLog all I get back is 'CHECK_NRPE: Received 0 bytes from daemon... blah, blah blah...' To me, that's suggests something isn't right on my windows server end, but what? Thanks again :) -----Original Message----- From: Mark Elsen [mailto:mark.elsen at gmail.com] Sent: 16 February 2011 12:55 To: Nagios Users List Subject: Re: [Nagios-users] nrpe CheckEventLog On Wed, Feb 16, 2011 at 1:38 PM, Tristan Drinkwater wrote: > Hi guys, > > I hope someone can help me. > > I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server. > > So far no matter what I try I always get 'Eventlog Check ok' even when I know that there are some red error's showing in the log. > > I've just been running this from the libexec folder so far as I what to get the syntax right before defining the service and alike. > > ./check_nrpe -H IP -p 5667 -c checkEventLog file=application > file=system filter-eventType==error filter-generated=\<1d > > > Any ideas anyone? > > NSclient 3.3.20 installed on windows machine. > > > Can someone provide a simple syntax that will at least produce something more interesting the 'ok' so I know that's it is possible? At the moment I'm thinking it's stuck at only reporting 'ok' no matter what I do. > Ah, the ole-dead-thing, isn't working as it is supposed too case :-). Usually this means that something is overlooked , or there is a knowledge-gap in corrrect usage of the needed tool ; Some things to remark : - normally in your example command the '-a' flag should appear after checkEventLog to denote arguments following (I think) - in the NSC config file on the remote host, support for arguments must be , explicitly enabled, as also support for nasty meta chars (I think) - further I would advice to make tests against the lastest version of NSClient 0.3.8..x , because the syntax changed somewhat, and this can influence behavior, pending your are looking at links with correct examples w.r.t to the version of NSClient used , or not. M. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Wed Feb 16 14:33:33 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 16 Feb 2011 13:33:33 +0000 Subject: nrpe CheckEventLog In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF36@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF36@althamex1.micro-p.com> Message-ID: On 16 February 2011 12:38, Tristan Drinkwater wrote: > Hi guys, > > I hope someone can help me. > > I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server. > > So far no matter what I try I always get 'Eventlog Check ok' even when I know that there are some red error's showing in the log. > > I've just been running this from the libexec folder so far as I what to get the syntax right before defining the service and alike. > > ./check_nrpe -H IP -p 5667 -c checkEventLog file=application file=system filter-eventType==error filter-generated=\<1d > > > Any ideas anyone? > > NSclient 3.3.20 installed on windows machine. If it's any help to you, the entry I have in my nsc.ini file in the [External Alias] section is: alias_CheckEventLog=CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -1h AND severity NOT IN ('success', 'informational')" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" (that's all one line in case your email file wraps it) As you can see it uses the new syntax. Note that to use external aliases like this, you need to uncomment the line which reads: CheckExternalScripts.dll And you can query it from the Nagios server simply with ./check_nrpe -H IP -p 5667 -c alias_CheckEventLog This method where all the command line options are in the agent config can be useful for troubleshooting, as you're less likely to hit problems with escaping non-alphanumeric characters. Once you have it working nicely you can try moving to the the method you were trying where the command line options are specified in the Nagios config. I hope that helps rather than confuses! Cheers, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Wed Feb 16 14:34:27 2011 From: mark.elsen at gmail.com (Mark Elsen) Date: Wed, 16 Feb 2011 14:34:27 +0100 Subject: nrpe CheckEventLog In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF96@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF36@althamex1.micro-p.com> <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF96@althamex1.micro-p.com> Message-ID: > Thanks for the reply. > > I fear the main problem here is the lack of knowledge that's sat in-between my chair and my pc :) > > I've edited the ini file on the server to allow both arguments and nasty chars and restarted the service. > > If I use the -a switch after -c checkEventLog all I get back is 'CHECK_NRPE: Received 0 bytes from daemon... blah, blah blah...' > > To me, that's suggests something isn't right on my windows server end, but what? > > As far as NSC config file on windows server 2003 is concerned I have : ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. allow_arguments=1 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. allow_nasty_meta_chars=1 For the rest this, probably, only, means that there is a syntax conflict pending. Trial and error should lead to pinpointing the problem Als remember the versioning issue. M. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Wed Feb 16 14:38:12 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Wed, 16 Feb 2011 13:38:12 +0000 Subject: nrpe CheckEventLog In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF96@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF36@althamex1.micro-p.com> <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECF96@althamex1.micro-p.com> Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC8156EEECFD1@althamex1.micro-p.com> Arh, no got it.... I uncommented the lines in the ini file but didn't change their values from 0 to 1. Not to worry. Thanks all :) -----Original Message----- From: Tristan Drinkwater [mailto:tristand at micro-p.com] Sent: 16 February 2011 13:13 To: Nagios Users List Subject: Re: [Nagios-users] nrpe CheckEventLog Thanks for the reply. I fear the main problem here is the lack of knowledge that's sat in-between my chair and my pc :) I've edited the ini file on the server to allow both arguments and nasty chars and restarted the service. If I use the -a switch after -c checkEventLog all I get back is 'CHECK_NRPE: Received 0 bytes from daemon... blah, blah blah...' To me, that's suggests something isn't right on my windows server end, but what? Thanks again :) -----Original Message----- From: Mark Elsen [mailto:mark.elsen at gmail.com] Sent: 16 February 2011 12:55 To: Nagios Users List Subject: Re: [Nagios-users] nrpe CheckEventLog On Wed, Feb 16, 2011 at 1:38 PM, Tristan Drinkwater wrote: > Hi guys, > > I hope someone can help me. > > I'm trying to set up Nagios to return a warning for all red error logs in both the system and application logs on a windows 2003 server. > > So far no matter what I try I always get 'Eventlog Check ok' even when I know that there are some red error's showing in the log. > > I've just been running this from the libexec folder so far as I what to get the syntax right before defining the service and alike. > > ./check_nrpe -H IP -p 5667 -c checkEventLog file=application > file=system filter-eventType==error filter-generated=\<1d > > > Any ideas anyone? > > NSclient 3.3.20 installed on windows machine. > > > Can someone provide a simple syntax that will at least produce something more interesting the 'ok' so I know that's it is possible? At the moment I'm thinking it's stuck at only reporting 'ok' no matter what I do. > Ah, the ole-dead-thing, isn't working as it is supposed too case :-). Usually this means that something is overlooked , or there is a knowledge-gap in corrrect usage of the needed tool ; Some things to remark : - normally in your example command the '-a' flag should appear after checkEventLog to denote arguments following (I think) - in the NSC config file on the remote host, support for arguments must be , explicitly enabled, as also support for nasty meta chars (I think) - further I would advice to make tests against the lastest version of NSClient 0.3.8..x , because the syntax changed somewhat, and this can influence behavior, pending your are looking at links with correct examples w.r.t to the version of NSClient used , or not. M. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From henti at geekware.co.za Wed Feb 16 14:20:05 2011 From: henti at geekware.co.za (Henti Smith) Date: Wed, 16 Feb 2011 15:20:05 +0200 Subject: Distributed monitoring and dependencies Message-ID: Good day all. I've taken over ownership of a very hacked and mutilated nagios installation?in house, and I'm busy?building?a migration plan and designing the new nagios instance. I have some questions which the documentation is not making?apparent, likely due to my lack of understanding nagios, not the documentation. We have?3?physical locations which will be?monitored, which will likely increase, and I'm looking at a distributed monitoring setup as described in the documentation here?: http://nagios.sourceforge.net/docs/3_0/distributed.html Now the documentation mentions : "The purpose of the?central server?is to simply listen for service check results from one or more distributed servers. Even though services are occassionally actively checked from the central server, the active checks are only performed in dire circumstances, so lets just say that the central server only accepts passive check for now" We are also looking?at using dependencies between hosts and services across all locations, which according to the documentation and my understanding of it, might be a problem. "Execution dependencies are used to restrict when active checks of a service can be performed. Passive checks are not restricted by execution dependencies" Unfortunately the check scheduling logic link is still in TODO status, so I cannot explore further. Is my understanding correct ? If not, can you use distributed monitoring and host and service dependencies ? As a final question. I'd like to be able to monitor a single host from the different locations to be able to identify links going down using the above configuration. Would I have to configure the host 3 times for each nagios server or is there a different way. Regards Henti ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dyioulos at firstbhph.com Wed Feb 16 14:55:29 2011 From: dyioulos at firstbhph.com (Dimitri Yioulos) Date: Wed, 16 Feb 2011 08:55:29 -0500 Subject: snmp Konica Minolta In-Reply-To: <4D5BD5CD.5080509@fhv.at> References: <4D5B7FED.3010008@fhv.at> <201102160744.36359.dyioulos@firstbhph.com> <4D5BD5CD.5080509@fhv.at> Message-ID: <201102160855.29848.dyioulos@firstbhph.com> On Wednesday 16 February 2011 8:49:01 am Richard Gliebe wrote: > On 2/16/11 1:44 PM Dimitri Yioulos wrote: > > I would be grateful if anybody has found or > > created a plug-in for Konica Minolta copiers, > > or might instruct me on how to build one. > > Hi Dimitri, > > I have some scripts (snmp) to check the toner > status for HP and Canon Printers, which works > fine. > > Now I'm looking for the Konica Minolta OIDs for > these scripts. > > Regards > Richard Richard, I have a KM service tech coming in (today or tomorrow, I hope) to do a PM on one of my KM copiers. He's a good egg, and might be able to access that info from the manufacturer. I'll keep you informed. Regards, Dimitri -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Wed Feb 16 15:20:59 2011 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 16 Feb 2011 15:20:59 +0100 Subject: snmp Konica Minolta In-Reply-To: <201102160855.29848.dyioulos@firstbhph.com> References: <4D5B7FED.3010008@fhv.at> <201102160744.36359.dyioulos@firstbhph.com> <4D5BD5CD.5080509@fhv.at> <201102160855.29848.dyioulos@firstbhph.com> Message-ID: <4D5BDD4B.3050202@fhv.at> On 2/16/11 2:55 PM Dimitri Yioulos wrote: > I have a KM service tech coming in (today or > tomorrow, I hope) to do a PM on one of my KM > copiers. He's a good egg, and might be able to > access that info from the manufacturer. I'll > keep you informed. torturing him until he tell us the solution ;-) ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.mue01 at gmail.com Wed Feb 16 15:30:26 2011 From: robert.mue01 at gmail.com (Robert Mueller) Date: Wed, 16 Feb 2011 15:30:26 +0100 Subject: Nagios & exchange 2010 Message-ID: Hi, I have to monitor the Exchange 2010 Server with the HUB and CAS Servers... does somebody have an idea how I can realize that?? Robert ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mochu33 at gmail.com Wed Feb 16 16:19:22 2011 From: mochu33 at gmail.com (Juan-Francisco Diez) Date: Wed, 16 Feb 2011 16:19:22 +0100 Subject: Nagios & exchange 2010 In-Reply-To: References: Message-ID: You can use PowerShell to realize queries and nsclient to post to your nagios the results. Of course if your nagios is intalled on a Windows platform, simply create the check using PowerShell and define this check in your commands.cfg. Juan-Francisco 2011/2/16 Robert Mueller > Hi, > > I have to monitor the Exchange 2010 Server with the HUB and CAS > Servers... does somebody have an idea how I can realize that?? > > Robert > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Wed Feb 16 19:44:53 2011 From: benny at bennyvision.com (C. Bensend) Date: Wed, 16 Feb 2011 12:44:53 -0600 Subject: Hostgroups: if not contact for one host, none are available Message-ID: Hey folks, This has bitten me a few times now, so I figured I'd better report it... If I have hostgroup "bob": host1 host2 host3 host4 host5 and contact "frank" is a contact for hosts 1, 2, 3, and 4 (but NOT 5), frank will not be able to view the *hostgroup*. It gives the usual "It appears you do not have permissions ..." error. *Surely* this can't be intentional, can it? Why the heck would you _want_ that behavior? I would expect it to display the hosts in the group (viewing a host you're a contact for will show all services, even if you're not a contact for all), or at worst just the members of the group the user is a contact for, but not deny access to the entire hostgroup. In my environment, I have accidentally added a host to the wrong hostgroup. When I do this and the users of the hostgroup aren't contacts for this new one that I misplaced, the users lose access to the entire hostgroup. Am I being dense, or is this a bug? 3.2.3 on RHEL 5.5, BTW. Thanks! Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albrecht.dress at arcor.de Wed Feb 16 19:50:37 2011 From: albrecht.dress at arcor.de (Albrecht =?iso-8859-1?b?RHJl3w==?=) Date: Wed, 16 Feb 2011 19:50:37 +0100 Subject: snmp Konica Minolta In-Reply-To: <4D5BBCC1.2000207@fhv.at> (from richard.gliebe@fhv.at on Wed Feb 16 13:02:09 2011) References: <4D5BBCC1.2000207@fhv.at> Message-ID: <1297882243.1810.0@antares> Hi Richard: Sorry, I missed the first part of the thread - I have a Konica Minolta KMC-250 successfully connected to Nagios, so maybe you did already check this one w/o success... I use the shell script available from . When I run it on my printer, I see root at mybox:~# /opt/nagios/libexec/extra/check_snmp_printer np-kmc250 public CONSUM TEST Consumables you may Monitor: "Cyan Toner Cartridge" "Magenta Toner Cartridge" "Yellow Toner Cartridge" "Black Toner Cartridge" "Cyan Imaging Unit" "Magenta Imaging Unit" "Yellow Imaging Unit" "Black Imaging Unit" "Waste Toner Box" "Fuser Unit" "Transfer Unit" "Staple Unit" root at mybox:~# /opt/nagios/libexec/extra/check_snmp_printer np-kmc250 public CONSUM "Black Toner Cartridge" Black Toner Cartridge is OK It looks as if the Konica doesn't give much details (just good or bad); the same script on a HP says e.g. root at mybox:~# /opt/nagios/libexec/extra/check_snmp_printer np-hpclj4650 public CONSUM "Black Print Cartridge HP C9720A" OK,Black Print Cartridge HP C9720A is at 79%|Black Print Cartridge HP C9720A=79;;9000; I don't recall if I tweaked the script, though... the md5 hash here is affa3cee48d53a278093bed3ba528684 /opt/nagios/libexec/extra/check_snmp_printer Hth, Albrecht. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Wed Feb 16 21:53:02 2011 From: a31modela at hotmail.com (steve f) Date: Wed, 16 Feb 2011 15:53:02 -0500 Subject: Question on setting up a specialized status.cgi page In-Reply-To: References: , , , Message-ID: I stumbled upon the answer to my issue for a custom status page. What I was doing wrong was I created in the servicegroups.cfg file with a line called members members HOSTNAME1,check_1, check_2, check_3,check_4,check_5,HOSTNAME2, SAME 5 CHECKS AS HOST #1,HOSTNAME3,SAME.... This method did not work. I wound up removing the members line from the servicegroups.cfg file, just leaving the service group name & the alias in the file and added the service group name to each define service for the 5 legacy_checks as follows : define service{ use generic-service servicegroups Legacy Checks hostgroup_name APP_servers contact_groups admins,legacy notification_options w,c active_checks_enabled 0 service_description Legacy CPU Load check_command check_legacy_cpu } This allowed me to get the service group for all different legacy checks I wanted. Then If I run the following url http://NAGIOS_SERVER/nagios/cgi-bin/status.cgi?servicegroup=Legacy+Checks&servicestatustypes=16 I get the list of all legacy checks for all hosts and the critical ones only. Hopefully someone else can benefit from this info. Regards, Steve From: a31modela at hotmail.com To: nagios-users at lists.sourceforge.net Date: Mon, 14 Feb 2011 17:35:57 -0500 Subject: Re: [Nagios-users] Question on setting up a specialized status.cgi page Thanks for your reply Jim, I tried to set up the servicegroup as follows : define servicegroup { servicegroup_name Legacy_Checks alias Legacy Checks members HOSTNAME1,check_1, check_2, check_3,check_4,check_5,HOSTNAME2, SAME 5 CHECKS AS HOST #1,HOSTNAME3,SAME.... } I assume that the service group will only work with a single check for multiple hosts as if I removed all of the checks but 1, it will work. This however will not work for what I am trying to do. Thanks, Steve > Date: Sat, 12 Feb 2011 10:09:26 +0000 > From: jim at jimavery.me.uk > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Question on setting up a specialized status.cgi page > > What was is about servicegroups which didn't work for you? That's > what I'd look at first. > > Jim > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Thu Feb 17 05:14:33 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 17 Feb 2011 12:14:33 +0800 Subject: Hostgroups: if not contact for one host, none are available In-Reply-To: References: Message-ID: this isn't a bug. by reviewing the source codes, you can find that Nagios(more precisely, the CGIs) just do this way. i have no clue why Nagios won't show "partial" hostgroups if one has no access to all host members. maybe for performance issue? On Thu, Feb 17, 2011 at 2:44 AM, C. Bensend wrote: > > Hey folks, > > ? This has bitten me a few times now, so I figured I'd better report > it... > > ? If I have hostgroup "bob": > > host1 > host2 > host3 > host4 > host5 > > and contact "frank" is a contact for hosts 1, 2, 3, and 4 (but NOT > 5), frank will not be able to view the *hostgroup*. ?It gives the > usual "It appears you do not have permissions ..." error. > > ? *Surely* this can't be intentional, can it? ?Why the heck would > you _want_ that behavior? ?I would expect it to display the hosts > in the group (viewing a host you're a contact for will show all > services, even if you're not a contact for all), or at worst just > the members of the group the user is a contact for, but not deny > access to the entire hostgroup. > > ? In my environment, I have accidentally added a host to the > wrong hostgroup. ?When I do this and the users of the hostgroup > aren't contacts for this new one that I misplaced, the users lose > access to the entire hostgroup. > > ? Am I being dense, or is this a bug? ?3.2.3 on RHEL 5.5, BTW. > > Thanks! > > Benny > > > -- > "Hairy ape nads." ? ? ? ?-- Colleen, playing Neverwinter Nights > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Traiano.Welcome at mtnbusiness.co.za Thu Feb 17 09:24:57 2011 From: Traiano.Welcome at mtnbusiness.co.za (Traiano Welcome) Date: Thu, 17 Feb 2011 08:24:57 +0000 Subject: Perl/BASH Wrapper Script for check_nrpe binary Message-ID: Hi List I would like to debug the check_nrpe binary (for nagios 3.1.2) using a perl wrapper script. The wrapper script should return all the output handed to it by the remote nrpe agent, as well as correctly get and return to nagios, the return value of the check: Would anyone have a handy wrapper script for this purpose lying around somewhere? Thanks in Advance, Traiano Welcome -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Thu Feb 17 09:28:23 2011 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 17 Feb 2011 09:28:23 +0100 Subject: snmp Konica Minolta In-Reply-To: <1297882243.1810.0@antares> References: <1297882243.1810.0@antares> Message-ID: <4D5CDC27.3020503@fhv.at> On 2/16/11 7:50 PM Albrecht Dre? wrote: > Hi Richard: Hi Albrecht (german?) > "Staple Unit" > root at mybox:~# /opt/nagios/libexec/extra/check_snmp_printer np-kmc250 > public CONSUM "Black Toner Cartridge" > Black Toner Cartridge is OK > > > It looks as if the Konica doesn't give much details (just good or bad); > the same script on a HP says e.g. > > > root at mybox:~# /opt/nagios/libexec/extra/check_snmp_printer np-hpclj4650 > public CONSUM "Black Print Cartridge HP C9720A" > OK,Black Print Cartridge HP C9720A is at 79%|Black Print Cartridge HP > C9720A=79;;9000; > our Konica Minolta printers wouldn't like this script as well. # ./check_snmp_printer.sh public CONSUM TEST Consumables you may Monitor: "Cyan Toner Cartridge" "Magenta Toner Cartridge" "Yellow Toner Cartridge" "Black Toner Cartridge" "Cyan Imaging Unit" "Magenta Imaging Unit" "Yellow Imaging Unit" "Black Imaging Unit" "Waste Toner Box" "Fuser Unit" "Transfer Unit" "Staple Unit" "Saddle Staple Cartridge 1" "Saddle Staple Cartridge 2" "Punch Dust Box" # ./check_snmp_printer.sh public CONSUM "Cyan Toner Cartridge" Error OID not found,maybe your Printer does not support checking this device, call me with Option CONSUM TEST or see help On HP printers, it works. # ./check_snmp_printer.sh public CONSUM TEST Consumables you may Monitor: "Patrone Schwarz HP CE505A" # ./check_snmp_printer.sh public CONSUM "Patrone Schwarz HP CE505A" 5 CRITICAL,Patrone Schwarz HP CE505A is at 5%|Patrone Schwarz HP CE505A=5;;940; I had a phone with a Konica Minolta reseller. "Customers are not allowed to check the Cartridges/Toner by themself. They have to by a Hardware module for this feature" ..... Lets fight for these OIDs ;-) Regards Richard ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rutger at blokje.net Thu Feb 17 08:56:05 2011 From: rutger at blokje.net (Rutger Blom) Date: Thu, 17 Feb 2011 08:56:05 +0100 Subject: Hostgroups: if not contact for one host, none are available In-Reply-To: References: Message-ID: I find this very irritating too. It doesn't make sense either. Rutger 2011/2/17 Yueh-Hung Liu : > this isn't a bug. > by reviewing the source codes, you can find that Nagios(more > precisely, the CGIs) just do this way. > i have no clue why Nagios won't show "partial" hostgroups if one has > no access to all host members. > maybe for performance issue? > > > On Thu, Feb 17, 2011 at 2:44 AM, C. Bensend wrote: >> >> Hey folks, >> >> ? This has bitten me a few times now, so I figured I'd better report >> it... >> >> ? If I have hostgroup "bob": >> >> host1 >> host2 >> host3 >> host4 >> host5 >> >> and contact "frank" is a contact for hosts 1, 2, 3, and 4 (but NOT >> 5), frank will not be able to view the *hostgroup*. ?It gives the >> usual "It appears you do not have permissions ..." error. >> >> ? *Surely* this can't be intentional, can it? ?Why the heck would >> you _want_ that behavior? ?I would expect it to display the hosts >> in the group (viewing a host you're a contact for will show all >> services, even if you're not a contact for all), or at worst just >> the members of the group the user is a contact for, but not deny >> access to the entire hostgroup. >> >> ? In my environment, I have accidentally added a host to the >> wrong hostgroup. ?When I do this and the users of the hostgroup >> aren't contacts for this new one that I misplaced, the users lose >> access to the entire hostgroup. >> >> ? Am I being dense, or is this a bug? ?3.2.3 on RHEL 5.5, BTW. >> >> Thanks! >> >> Benny >> >> >> -- >> "Hairy ape nads." ? ? ? ?-- Colleen, playing Neverwinter Nights >> >> >> >> ------------------------------------------------------------------------------ >> 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 at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aengelmann at libertymgt.com Thu Feb 17 18:59:00 2011 From: aengelmann at libertymgt.com (Engelmann, Austin) Date: Thu, 17 Feb 2011 12:59:00 -0500 Subject: Nagios Alert Format? Message-ID: <6F13E8BB6FDAC14FA6B0BD869991833825FFD3@exch-coni-is.LIBERTYMGT.COM> This is a small question. I have been editing the Nagios alert commands to get a nice, simple format to our cell phones. I am trying to get the notification type to be on the "MSG:" line. In my command, the notification type always gets place on the next line. My current command and the format of the SMS alert are listed below, anybody see what I can change and if it's possible? #'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$\nSVC: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: $SERVICESTATE$\n$SERVICEOUTPUT$" | /bin/mail -s "Service Alert" $CONTACTEMAIL$ } FRM:nagiosadmin SUBJ:Service Alert MSG: RECOVERY SVC: Ping Test Host: Hostname State: OK PING OK - Packet loss = 0%, RTA = 14.29 ms Austin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Feb 17 20:21:06 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 17 Feb 2011 13:21:06 -0600 Subject: Hostgroups: if not contact for one host, none are available In-Reply-To: References: Message-ID: > this isn't a bug. > by reviewing the source codes, you can find that Nagios(more > precisely, the CGIs) just do this way. > i have no clue why Nagios won't show "partial" hostgroups if one has > no access to all host members. > maybe for performance issue? If this behavior is intention, I'd love to know why... It seems utterly broken to me, and while I have no vote to cast, I'd love to see it changed. While this seems like just a logic thing, I'd have to dig into the code to see if I'm smart enough to come up with a diff. :) Any developers have an opinion/comment? Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dredmorbius at gmail.com Thu Feb 17 20:57:59 2011 From: dredmorbius at gmail.com (Dr. Ed Morbius) Date: Thu, 17 Feb 2011 11:57:59 -0800 Subject: Nagios Alert Format? In-Reply-To: <6F13E8BB6FDAC14FA6B0BD869991833825FFD3@exch-coni-is.LIBERTYMGT.COM> References: <6F13E8BB6FDAC14FA6B0BD869991833825FFD3@exch-coni-is.LIBERTYMGT.COM> Message-ID: <20110217195759.GC19136@altaira.krellpowersys.exo> Possible alternate solution: Does your cell phone and/or carrier provide MMS service? Messages will arrive in a format more similar to email, with more context, etc. You still could benefit by rewriting the standard Nagios alerts (which I find to be rather uninformative), but could avoid other limitations of SMS (160 character limit, etc.). on 12:59 Thu 17 Feb, Engelmann, Austin (aengelmann at libertymgt.com) wrote: > This is a small question. I have been editing the Nagios alert commands > to get a nice, simple format to our cell phones. I am trying to get the > notification type to be on the "MSG:" line. In my command, the > notification type always gets place on the next line. My current command > and the format of the SMS alert are listed below, anybody see what I can > change and if it's possible? > > > > #'notify-service-by-email' command definition > > define command{ > > command_name notify-service-by-email > > command_line /usr/bin/printf "%b" > "$NOTIFICATIONTYPE$\nSVC: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: > $SERVICESTATE$\n$SERVICEOUTPUT$" | /bin/mail -s "Service Alert" > $CONTACTEMAIL$ > > } > > > > FRM:nagiosadmin > > SUBJ:Service Alert > > MSG: > > RECOVERY > > SVC: Ping Test > > Host: Hostname > > State: OK > > PING OK - Packet loss = 0%, > > RTA = 14.29 ms > > > > Austin > > > > ------------------------------------------------------------------------------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Dr. Ed Morbius, Chief Scientist / | Robot Wrangler / Staff Psychologist | When you seek unlimited power Krell Power Systems Unlimited | Go to Krell! ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sgreen at dotomi.com Thu Feb 17 21:10:27 2011 From: sgreen at dotomi.com (Shawn Green) Date: Thu, 17 Feb 2011 14:10:27 -0600 Subject: check_openmanage SNMP Error Message-ID: I'm in the process of rolling out check_openmanage to monitor a variety of hardware including R510s, M600s, and M610s. I'm running into an interesting issue where the alert is reporting back: SNMP ERROR [cooling]: The requested entries are empty or do not exist. I understand this is an SNMP error (not check_openmanage), but what's baffling me is how to work around it. My Net::SNMP module is up to date (v6.0.1) as are net-snmp packages on all hosts. A good majority of hosts that are getting this error are M600/M610 blades, yet other blades in the same chassis' do not get this error. I'm also seeing these on several R510s, yet other R510s have no problems. All hosts are Centos 5.5 64 bit with OMSA 6.2.0. Thanks in advance, Shawn sgreen at dotomi.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aengelmann at libertymgt.com Thu Feb 17 21:50:19 2011 From: aengelmann at libertymgt.com (Engelmann, Austin) Date: Thu, 17 Feb 2011 15:50:19 -0500 Subject: Nagios Alert Format? In-Reply-To: <20110217195759.GC19136@altaira.krellpowersys.exo> References: <6F13E8BB6FDAC14FA6B0BD869991833825FFD3@exch-coni-is.LIBERTYMGT.COM> <20110217195759.GC19136@altaira.krellpowersys.exo> Message-ID: <6F13E8BB6FDAC14FA6B0BD869991833825FFDE@exch-coni-is.LIBERTYMGT.COM> We do have MMS capabilities... -----Original Message----- From: Dr. Ed Morbius [mailto:dredmorbius at gmail.com] Sent: Thursday, February 17, 2011 2:58 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Alert Format? Possible alternate solution: Does your cell phone and/or carrier provide MMS service? Messages will arrive in a format more similar to email, with more context, etc. You still could benefit by rewriting the standard Nagios alerts (which I find to be rather uninformative), but could avoid other limitations of SMS (160 character limit, etc.). on 12:59 Thu 17 Feb, Engelmann, Austin (aengelmann at libertymgt.com) wrote: > This is a small question. I have been editing the Nagios alert commands > to get a nice, simple format to our cell phones. I am trying to get the > notification type to be on the "MSG:" line. In my command, the > notification type always gets place on the next line. My current command > and the format of the SMS alert are listed below, anybody see what I can > change and if it's possible? > > > > #'notify-service-by-email' command definition > > define command{ > > command_name notify-service-by-email > > command_line /usr/bin/printf "%b" > "$NOTIFICATIONTYPE$\nSVC: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: > $SERVICESTATE$\n$SERVICEOUTPUT$" | /bin/mail -s "Service Alert" > $CONTACTEMAIL$ > > } > > > > FRM:nagiosadmin > > SUBJ:Service Alert > > MSG: > > RECOVERY > > SVC: Ping Test > > Host: Hostname > > State: OK > > PING OK - Packet loss = 0%, > > RTA = 14.29 ms > > > > Austin > > > > ------------------------------------------------------------------------ ------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Dr. Ed Morbius, Chief Scientist / | Robot Wrangler / Staff Psychologist | When you seek unlimited power Krell Power Systems Unlimited | Go to Krell! ------------------------------------------------------------------------ ------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aengelmann at libertymgt.com Thu Feb 17 21:58:51 2011 From: aengelmann at libertymgt.com (Engelmann, Austin) Date: Thu, 17 Feb 2011 15:58:51 -0500 Subject: Nagios Alert Format? In-Reply-To: <20110217195759.GC19136@altaira.krellpowersys.exo> References: <6F13E8BB6FDAC14FA6B0BD869991833825FFD3@exch-coni-is.LIBERTYMGT.COM> <20110217195759.GC19136@altaira.krellpowersys.exo> Message-ID: <6F13E8BB6FDAC14FA6B0BD869991833825FFDF@exch-coni-is.LIBERTYMGT.COM> I should mention: I took every cell number address (ex. 15551234567 at carrier.net) and added them as a contact in Active Directory. Then I created an alias which forwards to that contact (ex. email at company.com) and Nagios uses this to send messages out. I am in the process of ordering a PC and iSMS box to dedicate to Nagios and get it out of the server room. -----Original Message----- From: Dr. Ed Morbius [mailto:dredmorbius at gmail.com] Sent: Thursday, February 17, 2011 2:58 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Alert Format? Possible alternate solution: Does your cell phone and/or carrier provide MMS service? Messages will arrive in a format more similar to email, with more context, etc. You still could benefit by rewriting the standard Nagios alerts (which I find to be rather uninformative), but could avoid other limitations of SMS (160 character limit, etc.). on 12:59 Thu 17 Feb, Engelmann, Austin (aengelmann at libertymgt.com) wrote: > This is a small question. I have been editing the Nagios alert commands > to get a nice, simple format to our cell phones. I am trying to get the > notification type to be on the "MSG:" line. In my command, the > notification type always gets place on the next line. My current command > and the format of the SMS alert are listed below, anybody see what I can > change and if it's possible? > > > > #'notify-service-by-email' command definition > > define command{ > > command_name notify-service-by-email > > command_line /usr/bin/printf "%b" > "$NOTIFICATIONTYPE$\nSVC: $SERVICEDESC$\nHost: $HOSTALIAS$\nState: > $SERVICESTATE$\n$SERVICEOUTPUT$" | /bin/mail -s "Service Alert" > $CONTACTEMAIL$ > > } > > > > FRM:nagiosadmin > > SUBJ:Service Alert > > MSG: > > RECOVERY > > SVC: Ping Test > > Host: Hostname > > State: OK > > PING OK - Packet loss = 0%, > > RTA = 14.29 ms > > > > Austin > > > > ------------------------------------------------------------------------ ------ > 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 at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Dr. Ed Morbius, Chief Scientist / | Robot Wrangler / Staff Psychologist | When you seek unlimited power Krell Power Systems Unlimited | Go to Krell! ------------------------------------------------------------------------ ------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cbeattie at geninfo.com Thu Feb 17 21:23:40 2011 From: cbeattie at geninfo.com (Chris Beattie) Date: Thu, 17 Feb 2011 15:23:40 -0500 Subject: Nagios Alert Format? In-Reply-To: <6F13E8BB6FDAC14FA6B0BD869991833825FFD3@exch-coni-is.LIBERTYMGT.COM> References: <6F13E8BB6FDAC14FA6B0BD869991833825FFD3@exch-coni-is.LIBERTYMGT.COM> Message-ID: <4D5D83CC.3090006@geninfo.com> Engelmann, Austin wrote: > notification type to be on the "MSG:" line. In my command, the > notification type always gets place on the next line. It looks like "FRM:", "SUBJ:", and "MSG:" are being added by your phone. Those words do not appear in your command. You can verify this by setting your pager address as your regular e-mail address. Here is the command I use: define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "$HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$\n$SERVICEOUTPUT$\n$SHORTDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTNAME$/$SERVICEDESC$" $CONTACTPAGER$ } And here is a "page", sent to a regular e-mail client: From: nagios at domain [mailto:nagios at domain] Sent: Thursday, February 17, 2011 2:46 PM To: Chris Beattie Subject: PROBLEM: servername/Disk: F servername/Disk: F is WARNING F:\ - total: 399.99 Gb - used: 342.71 Gb (86%) - free 57.27 Gb (14%) 02-17-2011 14:46:02 -- -Chris ------ Nothing in this message is intended to make or accept an offer or to form a contract, except that an attachment that is an image of a contract bearing the signature of an officer of our company may be or become a contract. This message (including any attachments) is intended only for the use of the individual or entity to whom it is addressed. It may contain information that is non-public, proprietary, privileged, confidential, and exempt from disclosure under applicable law or may constitute as attorney work product. If you are not the intended recipient, we hereby notify you that any use, dissemination, distribution, or copying of this message is strictly prohibited. If you have received this message in error, please notify us immediately by telephone and delete this message immediately. Thank you. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Thu Feb 17 22:19:48 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 17 Feb 2011 22:19:48 +0100 Subject: check_openmanage SNMP Error In-Reply-To: (Shawn Green's message of "Thu, 17 Feb 2011 14:10:27 -0600") References: Message-ID: <15tipwimk97.fsf@tux.uio.no> Shawn Green writes: > I?m in the process of rolling out check_openmanage to monitor a variety of > hardware including R510s, M600s, and M610s. I?m running into an interesting > issue where the alert is reporting back: > > SNMP ERROR [cooling]: The requested entries are empty or do not exist. > > I understand this is an SNMP error (not check_openmanage), but what?s baffling > me is how to work around it. My Net::SNMP module is up to date (v6.0.1) as are > net-snmp packages on all hosts. > > A good majority of hosts that are getting this error are M600/M610 blades, yet > other blades in the same chassis? do not get this error. I?m also seeing these > on several R510s, yet other R510s have no problems. > > All hosts are Centos 5.5 64 bit with OMSA 6.2.0. Hi Shawn, One thing that is really peculiar is that you're getting this error from blade servers. The plugin should identify blades and ignore the fact that they don't have cooling devices (i.e. fans). You should never get this error from blades. Are you really sure that the error from your blades are with cooling and not something else? (If so, we'll need to investigate why the plugin doesn't identify the blade servers correctly). Your Net::SNMP version is fine and not to blame. The error lies with OMSA and/or the SNMP service. Try running on the servers: omreport chassis fans On the blades, you should get an error saying that no fan probes where found, which is normal. But the R510s should display fan info. If they don't, the problem is not SNMP related but with OMSA itself. If you haven't already done so, try restarting OMSA (i.e. run 'srvadmin-services.sh restart') on the servers. Reinstalling OMSA (or better yet: reinstall with version 6.4.0) is the logical next step. Make sure that there are no errors during installation and that everything gets installed. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Fri Feb 18 05:11:36 2011 From: mirde at oppy.com (Mirza Dedic) Date: Thu, 17 Feb 2011 20:11:36 -0800 Subject: SMS Alerts, what do you use? Message-ID: Hi, I currently have Nagios running on a Ubuntu 10.04 VM on our virtual infrastructure, what I would like to do is enable SMS notification for some of the more "critical" notifications. Just wondering what you guys use out there and how you have it setup? Anyone share their experience on getting something reliable to work? Thanks. ________________________________ The Oppenheimer Group ---- CONFIDENTIAL This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Fri Feb 18 05:27:43 2011 From: jra at baylink.com (Jay Ashworth) Date: Thu, 17 Feb 2011 23:27:43 -0500 (EST) Subject: SMS Alerts, what do you use? In-Reply-To: References: Message-ID: <1057516.286.1298003263413.JavaMail.root@benjamin.baylink.com> ----- Original Message ----- > From: "Mirza Dedic" > I currently have Nagios running on a Ubuntu 10.04 VM on our virtual > infrastructure, what I would like to do is enable SMS notification for > some of the more "critical" notifications. Just wondering what you > guys use out there and how you have it setup? Anyone share their > experience on getting something reliable to work? You will get different responses on this... but using SMS for something that's *more* critical may not be your best approach, seeing as how SMS is a non-reliable transport with no way to tell (in most cases) whether the destination addressee received the message and (in some cases) even whether the network did. It depends on what your definition of "is", er, I mean "critical" is. :-) Cheers, -- jra ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Fri Feb 18 06:23:02 2011 From: mirde at oppy.com (Mirza Dedic) Date: Thu, 17 Feb 2011 21:23:02 -0800 Subject: SMS Alerts, what do you use? In-Reply-To: <1057516.286.1298003263413.JavaMail.root@benjamin.baylink.com> References: <1057516.286.1298003263413.JavaMail.root@benjamin.baylink.com> Message-ID: I want to receive text version of some notifications in place (along with the standard email) for some of our systems; I already have the checks in place but what I want is them to be texted to me and not emailed. Sometimes emails get through the cracks, but I think SMS will work. Also for a scenario where our email server does not work, say the service stops or the box becomes unresponsive this would be a 2nd way to get alerted regarding the issue. That is the general idea of what I need SMS or an alternative way to get messages to my mobile device; and with the iPhone there is no custom email filters on messages (such as setting loud noise, etc. unless you jailbreak it and use cydia repo) but such control is there for texts. -----Original Message----- From: Jay Ashworth [mailto:jra at baylink.com] Sent: February/17/2011 8:28 PM To: Nagios Users List Subject: Re: [Nagios-users] SMS Alerts, what do you use? ----- Original Message ----- > From: "Mirza Dedic" > I currently have Nagios running on a Ubuntu 10.04 VM on our virtual > infrastructure, what I would like to do is enable SMS notification for > some of the more "critical" notifications. Just wondering what you > guys use out there and how you have it setup? Anyone share their > experience on getting something reliable to work? You will get different responses on this... but using SMS for something that's *more* critical may not be your best approach, seeing as how SMS is a non-reliable transport with no way to tell (in most cases) whether the destination addressee received the message and (in some cases) even whether the network did. It depends on what your definition of "is", er, I mean "critical" is. :-) Cheers, -- jra ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The Oppenheimer Group ---- CONFIDENTIAL This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Fri Feb 18 12:42:36 2011 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Fri, 18 Feb 2011 06:42:36 -0500 Subject: SMS Alerts, what do you use? In-Reply-To: References: Message-ID: <4D5E5B2C.5060300@collaborativefusion.com> On 02/17/11 23:11, Mirza Dedic wrote: > Hi, > > I currently have Nagios running on a Ubuntu 10.04 VM on our virtual > infrastructure, what I would like to do is enable SMS notification for some of > the more ?critical? notifications. Just wondering what you guys use out there > and how you have it setup? Anyone share their experience on getting something > reliable to work? We use: - Moxa OnCell G2110 (http://www.moxa.com/product/OnCell_G2100_G2150I.htm) - SMSTools3 (http://smstools3.kekekasvi.com/) Previously, we had a Cepag modem, but it locked up pretty frequently. In about 2 years of having the Moxa, we've never had a missed page, locked up device, or any other problem (other than PETA spamming the number...) -- Sean McAfee ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From streitleak at gmail.com Fri Feb 18 14:00:58 2011 From: streitleak at gmail.com (StreitLeak) Date: Fri, 18 Feb 2011 21:00:58 +0800 Subject: CGI: extinfo.cfg is showing "Status Information: Cannot create temporary filename" when using check_snmp --rate Message-ID: OS: CentOS5.5 Nagios: 3.2.3(yum) Real HTML: /usr/share/nagios CGI: /usr/lib/nagios/cgi When I visit http://localhost/nagios/cgi-bin/extinfo.cgi?type=2&host=test&service=Port+1+Bandwidth+Usage . It is showing Cannot create temporary filename at Status Information. I can?t find where to fix this problem. Nagios logs, /var/log/messages, /var/log/httpd/access_log and /var/log/httpd/error_log don?t have any thing which can trace. How to fix it? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From breandan at dezendorf.com Fri Feb 18 14:49:03 2011 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Fri, 18 Feb 2011 08:49:03 -0500 Subject: SMS Alerts, what do you use? In-Reply-To: References: Message-ID: On Thu, Feb 17, 2011 at 11:11 PM, Mirza Dedic wrote: > I currently have Nagios running on a Ubuntu 10.04 VM on our virtual > infrastructure, what I would like to do is enable SMS notification for some > of the more ?critical? notifications. Just wondering what you guys use out > there and how you have it setup? Anyone share their experience on getting > something reliable to work? We have two front end servers that alternate the notification role. Using a pair of Nokia GSM mobile phones attached by their USB cables to the servers for charging and for the data connection. These are being operated by gnokii-smsd. We insert a notification message into the database queue via a perl script that is called by the notification handler. The only trouble we've had is from before we switched over to gnokii-smsd, and were just using gnokii. If two notifications came in at *just* the right time, the phone's USB port would hang attached to a zombie process, and we'd have to reboot the server. So, once or twice a month we'd have to reboot one of the servers. gnokii-smsd solves that problem by queuing outgoing messages in a database. Personally, I find that SMS is about as reliable as email for timely notification. However, we also offer jabber notifications, and I'm working on being able to hit analog/celluar pagers from Nagios. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durwin at mgtsciences.com Fri Feb 18 15:31:15 2011 From: durwin at mgtsciences.com (durwin at mgtsciences.com) Date: Fri, 18 Feb 2011 07:31:15 -0700 Subject: Retry issue fail to notify Message-ID: I have the notifications using a script calling festival. My initial configuration work and festival voice was heard. But I wanted to change it so it would retry 3 times before reporting. This worked. I heard festival for each change it state. max_check_attempts 1 normal_check_interval 2 retry_interval 0 This did *not* work. I never heard festival. max_check_attempts 3 normal_check_interval 2 retry_interval 15s What is wrong with the way I did it? define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' event_handler_enabled 1 ; Service event handler is enabled event_handler service-notify flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 1 times in order to determine its final (hard) state normal_check_interval 2 ; Check the service every 2 minutes under normal conditions retry_interval 15s ; Re-check the service every minute until a hard state can be determined contact_groups festival ; Notifications get sent out to everyone in the 'admins' group notifications_enabled 1 ; Service notifications are enabled notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 1 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } Durwin F. De La Rue Management Sciences, Inc. 6022 Constitution Ave. NE Albuquerque, NM 87110 Phone (505) 255-8611 This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s), please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachments to the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Feb 18 20:13:30 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 18 Feb 2011 19:13:30 +0000 Subject: Retry issue fail to notify In-Reply-To: References: Message-ID: On 18 February 2011 14:31, wrote: > I have the notifications using a script calling festival. ?My initial > configuration work and festival voice was heard. ?But I wanted to change it > so it would retry 3 times before reporting. > > This worked. ?I heard festival for each change it state. > ? ? ? ? max_check_attempts ? ? ? ? ? ? ?1 > ? ? ? ? normal_check_interval ? ? ? ? ? 2 > ? ? ? ? retry_interval ? ? ? ? ? ? ? ? ?0 > > This did *not* work. ?I never heard festival. > ? ? ? ? max_check_attempts ? ? ? ? ? ? ?3 > ? ? ? ? normal_check_interval ? ? ? ? ? 2 > ? ? ? ? retry_interval ? ? ? ? ? ? ? ? ?15s > > What is wrong with the way I did it? I don't know for certain without testing, but does it work if you change "15s" to "1". Also, do you see the service go from a soft state to a hard state after the 3rd check? Take a look at the alert history screen for that service to see better what has (or hasn't) happened. Also if you look at the notification history screen does it tell you a notification was sent? There's nothing in the documentation to indicate that "15s" is valid syntax. It wouldn't surprise me if Nagios ignores the "s" and retries every 15 minutes! See: http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#service hth, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From durwin at mgtsciences.com Fri Feb 18 20:30:39 2011 From: durwin at mgtsciences.com (durwin at mgtsciences.com) Date: Fri, 18 Feb 2011 12:30:39 -0700 Subject: Retry issue fail to notify In-Reply-To: References: Message-ID: Jim Avery wrote on 02/18/2011 12:13:30 PM: > Jim Avery > 02/18/2011 12:13 PM > > Please respond to > Nagios Users List > > To > > Nagios Users List > > cc > > Subject > > Re: [Nagios-users] Retry issue fail to notify > > On 18 February 2011 14:31, wrote: > > I have the notifications using a script calling festival. My initial > > configuration work and festival voice was heard. But I wanted to change it > > so it would retry 3 times before reporting. > > > > This worked. I heard festival for each change it state. > > max_check_attempts 1 > > normal_check_interval 2 > > retry_interval 0 > > > > This did *not* work. I never heard festival. > > max_check_attempts 3 > > normal_check_interval 2 > > retry_interval 15s > > > > What is wrong with the way I did it? > > > I don't know for certain without testing, but does it work if you > change "15s" to "1". Also, do you see the service go from a soft > state to a hard state after the 3rd check? Take a look at the alert > history screen for that service to see better what has (or hasn't) > happened. Also if you look at the notification history screen does it > tell you a notification was sent? Changing 15s to 1 does work. I see a soft state during the first check. It goes to hard state and I get festivals notification after 3 check (3 minutes later). So this brings me to ask the question, is there no way to reduce the retry_interval units to seconds? Other configuration settings have that option. I see no need to wait long for a retry (at least no longer then a timeout takes)? Thank you for your reply, Durwin This email message and any attachments are for the sole use of the intended recipient(s) and may contain proprietary and/or confidential information which may be privileged or otherwise protected from disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient(s), please contact the sender by reply email and destroy the original message and any copies of the message as well as any attachments to the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ahmed.Akhtar at sephora.com Fri Feb 18 20:41:58 2011 From: Ahmed.Akhtar at sephora.com (Akhtar, Ahmed) Date: Fri, 18 Feb 2011 11:41:58 -0800 Subject: Duration column for host appears to have incorrect uptime Message-ID: I recently installed Nagios 3.2.3 and things appear to be working fine. The "Duration" column (which shows the uptime of a host) appears to have incorrect information for a few hosts in a hostgroup. After I click on the host that has the incorrect information to see more detailed stats, the "Host Status" shows the correct uptime, a duration that matches the rest of the hosts in the group. The check_ping service was activated at the same time for all the hosts in the group. Is this a bug? I assume the "Duration" column and "Host Status" info should match, right? - Ahmed ______________________________________________________________________ Confidentiality Notice: The contents of this email, all related responses and any files and/or attachments transmitted with it are CONFIDENTIAL and are intended solely for the use of the individual or entity to whom they are addressed. This email may contain legally privileged information and may not be disclosed, copied or distributed to anyone without authorization from the email's originator. It is strictly prohibited for unaddressed individuals or entities to take any action based on upon information contained in this email. If you have received this email in error, please notify the sender immediately and delete all copies from your system. ______________________________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Fri Feb 18 21:53:09 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 18 Feb 2011 20:53:09 +0000 Subject: Retry issue fail to notify In-Reply-To: References: Message-ID: On 18 February 2011 19:30, wrote: > So this brings me to ask the question, is there no way to reduce the > retry_interval units to seconds? ?Other configuration settings have that > option. ?I see no need to wait long for a retry (at least no longer then a > timeout takes)? If you want an extremely fast retry, you can make the plugin do that for you. If you've written the plugin yourself that should be easy - just get it to loop a few times before returning a result. The check_ping plugin for example tries a few times (-p option) before returning a result. If you haven't written the plugin yourself you can either edit the source or write a little wrapper script instead. If you just want to allow a 15s interval, you can set interval_length to 15s. See: http://nagios.sourceforge.net/docs/nagioscore/3/en/configmain.html#interval_length I've never tried this myself, and like the author of the documentation I can't recommend it, not least because you would have to trawl through all your nagios configs and adjust the various intervals accordingly. Personally I feel that Nagios should only have to work at a pace in which we mortals can respond. With the best will in the world, I'm never likely to respond to an alert in less than a minute, so it really shouldn't matter if Nagios takes a minute or two to work out there's a problem and tell me about it. If you really must catch very short duration events, you will probably be best off writing a script which loops every few seconds and sends check results as a passive service check to Nagios whenever the state changes. Cheers, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Mon Feb 21 11:27:05 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Mon, 21 Feb 2011 10:27:05 +0000 Subject: check event log Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC815ACB6E88D@althamex1.micro-p.com> Morning all (depending where you are in the world..) I'm trying to catch all error and warning logs from application event folder but I'm struggling with the filter+generated bit. In a nut shell all I want is anything red that happened within the last 24 hours. Here is my syntax I'm running from the libexec folder till I get it right; ./check_nrpe -H ip -p 5667 -c CheckEventLog -a filter=in file=application filter.eventType==error filter+generated=\<24h MaxCrit=1 This return's 12 errors. Only 3 of which happened in the last 24 hours. It seems to be either not using the filter I've detailed or making up its own one!! Can anyone see what I'm doing wrong? Thanks in advance :) ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Mon Feb 21 13:58:45 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 21 Feb 2011 12:58:45 +0000 Subject: check event log In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC815ACB6E88D@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC815ACB6E88D@althamex1.micro-p.com> Message-ID: On 21 February 2011 10:27, Tristan Drinkwater wrote: > Morning all (depending where you are in the world..) > > I?m trying to catch all error and warning logs from application event folder > but I?m struggling with the filter+generated bit. > > In a nut shell all I want is anything red that happened within the last 24 > hours. > > Here is my syntax I?m running from the libexec folder till I get it right; > > ./check_nrpe ?H ip ?p 5667 ?c CheckEventLog ?a filter=in file=application > filter.eventType==error filter+generated=\<24h MaxCrit=1 > > This return?s 12 errors. Only 3 of which happened in the last 24 hours. > > It seems to be either not using the filter I?ve detailed or making up its > own one!! > > Can anyone see what I?m doing wrong? I'm not sure. What I can tell you is I use the following syntax when using the 0.3.5 version of NSClient++ when looking for alerts specifically from MSSQL. Event_MSSQLSERVER=inject CheckEventLog filter=new file=application MaxWarn=1 MaxCrit=2 filter+generated=<30m filter+eventSource=MSSQLSERVER filter+eventType==error filter=in filter=all Note in particular "filter=new" might be important, and I have "filter+eventType" where you have "filter.eventType". I have found CheckEventLog especially in older versions of NSClient++ can behave quite bizarrely at times. My advice is keep your query as simple as you can (but tbh, yours probably couldn't be much simpler). If you're using the latest version of NSClient++ (0.3.8), you might find the new syntax easier, for example: CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -1h AND severity NOT IN ('success', 'informational')" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" You may need to play with how various characters are escaped as I don't run it quite the same way as you do. hth, Jim ------------------------------------------------------------------------------ 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 at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Mon Feb 21 14:42:23 2011 From: michael at medin.name (Michael Medin) Date: Mon, 21 Feb 2011 14:42:23 +0100 Subject: check event log In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC815ACB6E88D@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC815ACB6E88D@althamex1.micro-p.com> Message-ID: <4D626BBF.3020700@medin.name> Hello, It is generally much much simpler to use the new SQL-like syntax. Then you end up writing something which looks a bit like this: generated > -1d AND severity NOT IN ('success', 'informational') There is some information on the wiki for how to use this here: http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog For instance this could be a good starting point: CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=*generated gt -2d AND severity NOT IN ('success', 'informational')*" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" This requires a "modern" (as in 0.3.8) version of NSClient++. // Michael Medin 2011-02-21 11:27 Tristan Drinkwater skrev: > > Morning all (depending where you are in the world..) > > I'm trying to catch all error and warning logs from application event > folder but I'm struggling with the filter+generated bit. > > In a nut shell all I want is anything red that happened within the > last 24 hours. > > Here is my syntax I'm running from the libexec folder till I get it right; > > ./check_nrpe --H ip --p 5667 --c CheckEventLog --a filter=in > file=application filter.eventType==error filter+generated=\<24h MaxCrit=1 > > This return's 12 errors. Only 3 of which happened in the last 24 hours. > > It seems to be either not using the filter I've detailed or making up > its own one!! > > Can anyone see what I'm doing wrong? > > Thanks in advance J > > > ------------------------------------------------------------------------ > Micro Peripherals Limited. > Registered Office: Shorten Brook Way, Altham Business Park, Altham, > Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 > Micro Peripherals Limited. Registered in England No. 1511931. VAT No. > GB 864 4387 91 > > DISCLAIMER: > This e-mail and attachments are confidential and are intended solely > for the use of the individual to > whom it is addressed. Any views or opinions presented are solely those > of the author and do not > necessarily represent those of Micro Peripherals Limited. > If you are not the intended recipient, be advised that you have > received this Email in error and that > any use, dissemination, forwarding, printing, or copying of this Email > is strictly prohibited. If this > transmission is received in error please notify the sender immediately > and delete this message from > your E-mail system. > All electronic transmissions to and from Micro Peripherals Ltd are > recorded and may be monitored. > > > ------------------------------------------------------------------------------ > The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: > Pinpoint memory and threading errors before they happen. > Find and fix more than 250 security defects in the development cycle. > Locate bottlenecks in serial and parallel code that limit performance. > http://p.sf.net/sfu/intel-dev2devfeb > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ 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 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Tue Feb 22 01:25:45 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 22 Feb 2011 09:25:45 +0900 Subject: Calculation of nagios latency in nagiostas Message-ID: <201102220025.AA03331@S2007337.jp.fujitsu.com> Hello all. I would like to ask question for the calculation with nagios latecy. In the nagiostats.c , the calculation of 'average_active_service_latency' is not doing the simple way, which is 1. Add up the latecy of each service 2. Devide by the number of services rather than above it is caculating as, average_active_service_latency=(((average_active_service_latency*((double)active_service_checks-1.0))+latency)/(double)active_service_checks); 1. Revert the average sum by multiplying the previous average and number of checks 2. Add up the latency of the current line 3. Devide by the number of services Would there be a specific reason or thought in this calculation? Thanks, Yu Watanabe ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From socomm at crowbar.cc Tue Feb 22 02:02:28 2011 From: socomm at crowbar.cc (socomm) Date: Mon, 21 Feb 2011 17:02:28 -0800 Subject: NAGIOS does not register "Critical" | "Warning" status. Message-ID: <9fece41365305d5719a66fc6cc85fac7@crowbar.cc> I'm having a small problem where Nagios is not registering the status of critical or warning when I run a check. In this instance I am using the check_nt plug-in, and when ran manually I get exit code of 2 which, according to the Nagios API doc (http://nagios.sourceforge.net/docs/3_0/pluginapi.html) should be treated as a critical status: ------------------------- [COMMAND] su - nagios /usr/lib64/nagios/plugins/check_nt -H windows_host -p 12489 -v USEDDISKSPACE -w 80% -c 90% -l S; printf "\n$?\n"; [OUTPUT] S:\ - total: 894.99 Gb - used: 855.89 Gb (96%) - free 39.10 Gb (4%) | 'S:\ Used Space'=855.89Gb;716.00;805.49;0.00;894.99 2 [CONFIGURATION] define command { command_name check_nt_larg command_line /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' -p 12489 -v '$ARG1$' -l '$ARG2$' } define service { use generic-service hostgroup_name check-ntsdisk service_description S:\ Disk Space check_command check_nt_larg!USEDDISKSPACE!S!-w 80%% -c 90%% notification_interval 15 } ------------------------- Nagios web interface shows "Status" as "Ok" and "Status information" as "S: - total: 894.99 Gb - used: 855.92 Gb (96%) - free 39.07 Gb (4%)" - exact same information we got when we ran the check_nt plug-in manually with the exception that the exit code some how did not register as an error. I've not had any problems since I first installed Nagios, and am lost as to where to begin troubleshooting this problem. All replies are greatly appreciated. ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From allanc at chickenandporn.com Tue Feb 22 02:23:54 2011 From: allanc at chickenandporn.com (Allan Clark) Date: Mon, 21 Feb 2011 20:23:54 -0500 Subject: NAGIOS does not register "Critical" | "Warning" status. In-Reply-To: <9fece41365305d5719a66fc6cc85fac7@crowbar.cc> References: <9fece41365305d5719a66fc6cc85fac7@crowbar.cc> Message-ID: On Mon, Feb 21, 2011 at 20:02, socomm wrote: > I'm having a small problem where Nagios is not registering the status of > critical or warning when I run a check. In this instance I am using the > check_nt plug-in, and when ran manually I get exit code of 2 which, > according to the Nagios API doc ... > [CONFIGURATION] > > define command { > ? ? ? ?command_name ? ?check_nt_larg > ? ? ? ?command_line ? /usr/lib/nagios/plugins/check_nt -H '$HOSTADDRESS$' > -p 12489 -v '$ARG1$' -l '$ARG2$' > } > > > define service { > ? ?use ? ? ? ? ? ? ? ? ? ? generic-service > ? ?hostgroup_name ? ? ? ? ?check-ntsdisk > ? ?service_description ? ? S:\ Disk Space > ? ?check_command ? ? ? ? ? check_nt_larg!USEDDISKSPACE!S!-w 80%% -c 90%% > ? ?notification_interval ? 15 > ? ?} Can you confirm that "%%" is needed for a single "%" token? I don't remember that being needed, but I don't use "%" in my commands. I could see "$" needing doubling up due to token replacement. Also, see about increasing logging, see if you can log what the actual command is running as, and what it responds as a result code. Maybe proving that the check_nt script is being called in the way you think it is can help bisect the problem. Allan -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Tue Feb 22 03:13:14 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Tue, 22 Feb 2011 10:13:14 +0800 Subject: Calculation of nagios latency in nagiostas In-Reply-To: <201102220025.AA03331@S2007337.jp.fujitsu.com> References: <201102220025.AA03331@S2007337.jp.fujitsu.com> Message-ID: because at any moment in physical, not all checks will be performed, therefore Nagios only knows the "previous" average latency and the latency of services which have just finished. Nagios won't keep the latency of checks in somewhere so it has to calculate the "present" average latency right after each check while it has the newest latency of that check in hand. you can see the formula that while the total latency is restored, the number of checks will be decreased by 1, that means the latency of the check just finished will be added to calculate new average latency. this method can make sure the average latency is "dynamical" and "real time". On Tue, Feb 22, 2011 at 8:25 AM, Yu Watanabe wrote: > Hello all. > > I would like to ask question for the calculation with nagios latecy. > In the nagiostats.c , the calculation of 'average_active_service_latency' is > not doing the simple way, which is > > 1. Add up the latecy of each service > 2. Devide by the number of services > > rather than above it is caculating as, > > average_active_service_latency=(((average_active_service_latency*((double)active_service_checks-1.0))+latency)/(double)active_service_checks); > > 1. Revert the average sum by multiplying the previous average and number of checks > 2. Add up the latency of the current line > 3. Devide by the number of services > > Would there be a specific reason or thought in this calculation? > > Thanks, > Yu Watanabe > > > ------------------------------------------------------------------------------ > Index, Search & Analyze Logs and other IT data in Real-Time with Splunk > Collect, index and harness all the fast moving IT data generated by your > applications, servers and devices whether physical, virtual or in the cloud. > Deliver compliance at lower cost and gain new business insights. > Free Software Download: http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Tue Feb 22 09:26:37 2011 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 22 Feb 2011 17:26:37 +0900 Subject: Calculation of nagios latency in nagiostas In-Reply-To: References: Message-ID: <201102220826.AA03338@S2007337.jp.fujitsu.com> Thank you for the reply. This logic seems to be deep ... I will take time to digest this theory. Thanks! Yu Yueh-Hung Liu ????????: >because at any moment in physical, not all checks will be performed, >therefore Nagios only knows the "previous" average latency and the >latency of services which have just finished. >Nagios won't keep the latency of checks in somewhere so it has to >calculate the "present" average latency right after each check while >it has the newest latency of that check in hand. >you can see the formula that while the total latency is restored, the >number of checks will be decreased by 1, that means the latency of the >check just finished will be added to calculate new average latency. >this method can make sure the average latency is "dynamical" and "real time". > > >On Tue, Feb 22, 2011 at 8:25 AM, Yu Watanabe wrote: >> Hello all. >> >> I would like to ask question for the calculation with nagios latecy. >> In the nagiostats.c , the calculation of 'average_active_service_latency' is >> not doing the simple way, which is >> >> 1. Add up the latecy of each service >> 2. Devide by the number of services >> >> rather than above it is caculating as, >> >> average_active_service_latency=(((average_active_service_latency*((double)active_service_checks-1.0))+latency)/(double)active_service_checks); >> >> 1. Revert the average sum by multiplying the previous average and number of checks >> 2. Add up the latency of the current line >> 3. Devide by the number of services >> >> Would there be a specific reason or thought in this calculation? >> >> Thanks, >> Yu Watanabe >> >> >> ------------------------------------------------------------------------------ >> Index, Search & Analyze Logs and other IT data in Real-Time with Splunk >> Collect, index and harness all the fast moving IT data generated by your >> applications, servers and devices whether physical, virtual or in the cloud. >> Deliver compliance at lower cost and gain new business insights. >> Free Software Download: http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > >------------------------------------------------------------------------------ >Index, Search & Analyze Logs and other IT data in Real-Time with Splunk >Collect, index and harness all the fast moving IT data generated by your >applications, servers and devices whether physical, virtual or in the cloud. >Deliver compliance at lower cost and gain new business insights. >Free Software Download: http://p.sf.net/sfu/splunk-dev2dev >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Feb 22 09:34:37 2011 From: ae at op5.se (Andreas Ericsson) Date: Tue, 22 Feb 2011 09:34:37 +0100 Subject: Calculation of nagios latency in nagiostas In-Reply-To: References: <201102220025.AA03331@S2007337.jp.fujitsu.com> Message-ID: <4D63751D.8060401@op5.se> On 02/22/2011 03:13 AM, Yueh-Hung Liu wrote: > because at any moment in physical, not all checks will be performed, > therefore Nagios only knows the "previous" average latency and the > latency of services which have just finished. > Nagios won't keep the latency of checks in somewhere so it has to > calculate the "present" average latency right after each check while > it has the newest latency of that check in hand. > you can see the formula that while the total latency is restored, the > number of checks will be decreased by 1, that means the latency of the > check just finished will be added to calculate new average latency. > this method can make sure the average latency is "dynamical" and "real time". > This makes absolutely no sense for the nagiostats program though, which only reads the status.log file and parses the data found there in order to print it just once. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Tue Feb 22 10:43:32 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Tue, 22 Feb 2011 09:43:32 +0000 Subject: check event log In-Reply-To: <4D626BBF.3020700@medin.name> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC815ACB6E88D@althamex1.micro-p.com> <4D626BBF.3020700@medin.name> Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC815B6C13946@althamex1.micro-p.com> Cheers for the reply guys. Sadly, as I'm looking after only one of a few sites that each has its own Nagios server and all the windows servers have Nsclient 3.3 installed. I can't upgrade the version to support the newer commands as EVERY windows server in the business would then need upgrading as well! Unless there is a 'use old style commands' switch I can turn on? I didn't see one in the .ini file so guessed it wasn't an option. So I'm still struggling with my issue that the filter+generated=\<1d doesn't seem to work right. If I use =\>1d I get loads of returns so it is filtering something, but only what appears to be the last month, NOT including the last 36 hours. Help? Thanks again Tristan From: Michael Medin [mailto:michael at medin.name] Sent: 21 February 2011 13:42 To: nagios-users at lists.sourceforge.net; Tristan Drinkwater Subject: Re: [Nagios-users] check event log Hello, It is generally much much simpler to use the new SQL-like syntax. Then you end up writing something which looks a bit like this: generated > -1d AND severity NOT IN ('success', 'informational') There is some information on the wiki for how to use this here: http://www.nsclient.org/nscp/wiki/CheckEventLog/CheckEventLog For instance this could be a good starting point: CheckEventLog file=application file=system MaxWarn=1 MaxCrit=1 "filter=generated gt -2d AND severity NOT IN ('success', 'informational')" truncate=800 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" This requires a "modern" (as in 0.3.8) version of NSClient++. // Michael Medin 2011-02-21 11:27 Tristan Drinkwater skrev: Morning all (depending where you are in the world..) I'm trying to catch all error and warning logs from application event folder but I'm struggling with the filter+generated bit. In a nut shell all I want is anything red that happened within the last 24 hours. Here is my syntax I'm running from the libexec folder till I get it right; ./check_nrpe -H ip -p 5667 -c CheckEventLog -a filter=in file=application filter.eventType==error filter+generated=\<24h MaxCrit=1 This return's 12 errors. Only 3 of which happened in the last 24 hours. It seems to be either not using the filter I've detailed or making up its own one!! Can anyone see what I'm doing wrong? Thanks in advance :) ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Index, Search & Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From socomm at crowbar.cc Wed Feb 23 02:17:41 2011 From: socomm at crowbar.cc (socomm) Date: Tue, 22 Feb 2011 17:17:41 -0800 Subject: NAGIOS does not register "Critical" | "Warning" status. In-Reply-To: References: <9fece41365305d5719a66fc6cc85fac7@crowbar.cc> Message-ID: <6bad986251bd5fd672a573530e73a091@crowbar.cc> On Mon, 21 Feb 2011 20:23:54 -0500, Allan Clark wrote: > Can you confirm that "%%" is needed for a single "%" token? I don't > remember that being needed, but I don't use "%" in my commands. I > could see "$" needing doubling up due to token replacement. Apparently check_nt will returns same code whether I pass it the '%' sign or not, however the double '%' was a typo which I've corrected. > Also, see about increasing logging, see if you can log what the actual > command is running as, and what it responds as a result code. Maybe > proving that the check_nt script is being called in the way you think > it is can help bisect the problem. I am looking for a way to log commands, but best I've found is the debug option which will give me option to log commands to a debug file. However, the output I get is the following: ----- OUTPUT ----- Raw Command Input: /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ Expanded Command Output: /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -------------------- Which I'm not sure why variables are not being expanded to the actual arguments being passed. Anyone more familiar as what I may need to do to view the expanded variables being passed? ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Eliot.Picken at wenaas.co.uk Wed Feb 23 02:35:33 2011 From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk) Date: Wed, 23 Feb 2011 01:35:33 +0000 Subject: AUTO: Eliot Picken is out of the office (returning 24/02/2011) Message-ID: I am out of the office until 24/02/2011. I am currently out of the office, and your email has not been forwarded. Note: This is an automated response to your message "Re: [Nagios-users] NAGIOS does not register "Critical" | "Warning" status." sent on 2/23/2011 1:17:41 AM. This is the only notification you will receive while this person is away.. ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBeck at urbn.com Wed Feb 23 03:08:21 2011 From: JBeck at urbn.com (Joe Beck) Date: Tue, 22 Feb 2011 21:08:21 -0500 Subject: Check_openmanage-- Current probes not found Message-ID: I have a couple R610?s Some run omreport chassis pwrmonitoring & return output I also have 1 that returns: # omreport chassis pwrmonitoring Power Consumption Information Error : Current probes not found Does this mean that this module just isn?t installed or ??? At this point, do I just alter the nagios service to exclude pwrmonitoring? Thanks, Joe -- Joe Beck | IT-Open Systems Engineer | urban outfitters inc. 5000 South Broad Street | Phila., PA 19112 | 215.454.7737 | jbeck at urbn.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Wed Feb 23 03:43:33 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Tue, 22 Feb 2011 21:43:33 -0500 Subject: NAGIOS does not register "Critical" | "Warning" status. In-Reply-To: <6bad986251bd5fd672a573530e73a091@crowbar.cc> References: <9fece41365305d5719a66fc6cc85fac7@crowbar.cc> <6bad986251bd5fd672a573530e73a091@crowbar.cc> Message-ID: There is a debug level you can set in nagios.cfg that will show you all commands being executed - an easier way would be to make a shell wrapper for check_int that logs all args and then execs them with the real check_int. Something like 1. Copy check_int to check_int.bin 2. Make check_int a shell script like !#/bin/bash echo "$*" >> /path/tlo/logfile.log exec /path/to/check_int.bin $* Now whenever check_int is called, the full command line and args will be appended to the log each run for you to inspect - without cranking up debug or restarting nagios. Max On 2/22/11, socomm wrote: > On Mon, 21 Feb 2011 20:23:54 -0500, Allan Clark > > wrote: >> Can you confirm that "%%" is needed for a single "%" token? I don't >> remember that being needed, but I don't use "%" in my commands. I >> could see "$" needing doubling up due to token replacement. > > Apparently check_nt will returns same code whether I pass it the '%' sign > or not, however the double '%' was a typo which I've corrected. > >> Also, see about increasing logging, see if you can log what the actual >> command is running as, and what it responds as a result code. Maybe >> proving that the check_nt script is being called in the way you think >> it is can help bisect the problem. > > I am looking for a way to log commands, but best I've found is the debug > option which will give me option to log commands to a debug file. However, > the output I get is the following: > > ----- OUTPUT ----- > > Raw Command Input: /usr/lib/nagios/plugins/check_nrpe -H $HOSTADDRESS$ -c > $ARG1$ > Expanded Command Output: /usr/lib/nagios/plugins/check_nrpe -H > $HOSTADDRESS$ -c $ARG1$ > > -------------------- > > Which I'm not sure why variables are not being expanded to the actual > arguments being passed. Anyone more familiar as what I may need to do to > view the expanded variables being passed? > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ahmad.Arafat at nottingham.edu.my Wed Feb 23 04:53:39 2011 From: Ahmad.Arafat at nottingham.edu.my (AHMAD ARAFAT ABDULLAH) Date: Wed, 23 Feb 2011 11:53:39 +0800 Subject: Nagios Exchange deep monitoring In-Reply-To: References: <9fece41365305d5719a66fc6cc85fac7@crowbar.cc><6bad986251bd5fd672a573530e73a091@crowbar.cc> Message-ID: <2CD137546362394BB1B6D3FB2A450692EBF7CF@WSEXBE1.nottingham.edu.my> Hi all; I'm a system admin who got this machine runs with nagios 2.x and will migrating it to 3.x soon. Anyway I love to do deep monitoring on existing exchange server. Referring to guide from nagiosexchange, http://exchange.nagios.org/directory/Plugins/Email-and-Groupware/Microso ft-Exchange/Check-MS-Exchange-Server-Health/details I try to put the command in cfg files but seems my method is not working, can anyone of u give me little tips/guide how to integrate this command given with **.cfg files? For example: command[ExchangeIMC_final_delivery]=/usr/local/nagios/libexec/check_nt -H $HOSTADDRESS$ -p 1248 -v COUNTER -l "\\MSExchangeIMC\Queued MTS-IN" -w 5 -c 10 need to fix this ASAP, TQ << This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK & Malaysia legislation. >> ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Wed Feb 23 09:55:52 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Wed, 23 Feb 2011 09:55:52 +0100 Subject: Check_openmanage-- Current probes not found In-Reply-To: (Joe Beck's message of "Tue, 22 Feb 2011 21:08:21 -0500") References: Message-ID: <15tk4grdt9j.fsf@tux.uio.no> Joe Beck writes: > I have a couple R610?s > Some run omreport chassis pwrmonitoring & return output > I also have 1 that returns: > # omreport chassis pwrmonitoring > Power Consumption Information > > Error : Current probes not found > > Does this mean that this module just isn?t installed or ??? > > At this point, do I just alter the nagios service to exclude pwrmonitoring? Hi Joe, I think the next point should be to investigate why OMSA behaves like this. I've seen this error before, but on older servers with old OMSA versions (5.4.0). A simple restart of OMSA (srvadmin-services.sh restart) may be the solution and should be attempted first. The next step would be to reinstall OMSA and verify that everything gets installed. Usually, if power monitoring information is not available, OMSA should say something else and more informative. Is the problematic machine identical to the ones that work? Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Feb 23 10:45:43 2011 From: m.borsani at it.net (Marco Borsani) Date: Wed, 23 Feb 2011 10:45:43 +0100 Subject: snmp OID on Packetshaper Message-ID: <25626.7471741468$1298455789@news.gmane.org> Hi all Do you control via SNMP any packetshaper ? Do you know what I have to do to control it via Nagios and check_snmp command ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ras.kumar01 at gmail.com Wed Feb 23 12:33:43 2011 From: ras.kumar01 at gmail.com (Rajesh Kumar) Date: Wed, 23 Feb 2011 17:03:43 +0530 Subject: Reg: Service_Notification_Event Message-ID: Hi team I have installed Nagios Core in CentOS for Monitor Application Server, it?s working fine and getting mail if http server down and up. I need to change to service notification alert of (r-Recovery), (c-Critical). Let me know possible to change the global event in macro address. If it is possible please share to me. It will help for us. Require is Instead of UP and Down Recovery = UP Critical = Down Regards B.Rajeshkumar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tristand at micro-p.com Wed Feb 23 13:13:06 2011 From: tristand at micro-p.com (Tristan Drinkwater) Date: Wed, 23 Feb 2011 12:13:06 +0000 Subject: snmp mib's and nsclient 3.8 Message-ID: <4D1C2CCEC6C4E448B52CE2BBCC201EC815B6C1420D@althamex1.micro-p.com> Hey guys and gals, I have two questions I hope someone can answer. The first is to do with nsclient 3.8. I currently have 3.3 installed on all my windows servers and I need to be able to use the newer client (3.8) with the older style commands. I've noticed the alias part of the ini file but could someone explain how to use them please? My next question is snmp mib related. I have a netgear wc7520 wireless management controller and I'd like to do some checks against it. Ideally I'd like to know how many clients are connected to the 3 different wireless networks on it (1 on separate VLAN) and the traffic rate it's pumping back out on to my network. I'll also check a ping and system uptime but I can handle those myself. I haven't been able to find ANY documentation from netgear on the mibs so I did a snmpwalk -v 2c -c public 172.xx.xx.xx > mibs, saved it to the /usr/share/snmp/mibs directory and got the data attached. I've tried running ./check_snmp -H 172.xx.xx.xx -o DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_linkUp' -C public -P 2c But all I get is External command error: DISMAN-EVENT-MIB::mteEventComment._snmpd._linkUp: Unknown Object Identifier (Index out of range: _snmpd (mteOwner)) Any ideas?? Thanks in advance :) Tristan ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: wlan-mib.txt URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Wed Feb 23 13:26:38 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 23 Feb 2011 07:26:38 -0500 Subject: Configuration Conflicts Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD039E23@susday218.corp.ncr.com> Hi All, I was trying to monitor switches but as soon as I configured it, the services of my server monitoring is not visible on the page anymore - The host associated to the group (test) is not displayed and the services are also not there. But, when I go to configuration link on Nagios page and search for my host "server_monitoring" associated with "Test Servers", I can view all my services - In the scripts, I have assigned hosts to host groups - define host{ use generic-host ; Name of host template to use host_name server_monitoring alias Intranet Server address 192.xxx.xx.13 max_check_attempts 10 ; Check each host 10 times (max) contact_groups SSEs hostgroups test } define hostgroup{ hostgroup_name test alias Test Servers } Have you ever come across this kind of issue? I have been struggling hard with my configurations to get the services back but of no use. Do you have a suggestion for me that can help me resolve the issue? Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Paintbrush Picture 1.jpg Type: image/jpeg Size: 9915 bytes Desc: Paintbrush Picture 1.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Paintbrush Picture 2.jpg Type: image/jpeg Size: 27021 bytes Desc: Paintbrush Picture 2.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Wed Feb 23 13:28:03 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 23 Feb 2011 07:28:03 -0500 Subject: MRTG required Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> Hi, Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able to download same. Is it possible for you to provide me the MRTG.tar.gz (if you have it)? Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From baileifirst at gmail.com Wed Feb 23 13:35:17 2011 From: baileifirst at gmail.com (Qi Zhang) Date: Wed, 23 Feb 2011 20:35:17 +0800 Subject: MRTG required In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> Message-ID: why not use Nagios' traffic plugin? you may find many results in google. Zhang Qi On Wed, Feb 23, 2011 at 8:28 PM, Anand, Sakshi wrote: > Hi, > > Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able > to download same. Is it possible for you to provide me the MRTG.tar.gz (if > you have it)? > > Thanks & Regards, > Sakshi Anand > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Feb 23 13:35:06 2011 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 23 Feb 2011 06:35:06 -0600 Subject: MRTG required In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> Message-ID: Is this what you are refering to http://oss.oetiker.ch/mrtg/pub/?M=D On Wed, Feb 23, 2011 at 6:28 AM, Anand, Sakshi wrote: > Hi, > > Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able > to download same. Is it possible for you to provide me the MRTG.tar.gz (if > you have it)? > > Thanks & Regards, > Sakshi Anand > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Feb 23 13:37:36 2011 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 23 Feb 2011 06:37:36 -0600 Subject: MRTG required In-Reply-To: References: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> Message-ID: Cacti did the trick for me On Wed, Feb 23, 2011 at 6:35 AM, Qi Zhang wrote: > why not use Nagios' traffic plugin? you may find many results in google. > > Zhang Qi > > > On Wed, Feb 23, 2011 at 8:28 PM, Anand, Sakshi wrote: > >> Hi, >> >> Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able >> to download same. Is it possible for you to provide me the MRTG.tar.gz (if >> you have it)? >> >> Thanks & Regards, >> Sakshi Anand >> >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Wed Feb 23 13:43:36 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 23 Feb 2011 07:43:36 -0500 Subject: MRTG required In-Reply-To: References: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD039E3F@susday218.corp.ncr.com> Right. This is exactly what I am referring to. ________________________________ From: Alex Dehaini [mailto:alexdehaini at gmail.com] Sent: Wednesday, February 23, 2011 6:05 PM To: Nagios Users List Cc: Anand, Sakshi Subject: Re: [Nagios-users] MRTG required Is this what you are refering to http://oss.oetiker.ch/mrtg/pub/?M=D On Wed, Feb 23, 2011 at 6:28 AM, Anand, Sakshi > wrote: Hi, Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able to download same. Is it possible for you to provide me the MRTG.tar.gz (if you have it)? Thanks & Regards, Sakshi Anand ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Wed Feb 23 13:53:18 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 23 Feb 2011 07:53:18 -0500 Subject: MRTG required In-Reply-To: References: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD039E56@susday218.corp.ncr.com> Are you talking about "check_mrtgtraf" plugin? If yes, we need to provide MRTG log file as one of its parameters for which we need to install MRTG. Following is the syntax - check_mrtgtraf -F -a -w -c [-e expire_minutes] ________________________________ From: Qi Zhang [mailto:baileifirst at gmail.com] Sent: Wednesday, February 23, 2011 6:05 PM To: Nagios Users List Cc: Anand, Sakshi Subject: Re: [Nagios-users] MRTG required why not use Nagios' traffic plugin? you may find many results in google. Zhang Qi On Wed, Feb 23, 2011 at 8:28 PM, Anand, Sakshi > wrote: Hi, Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able to download same. Is it possible for you to provide me the MRTG.tar.gz (if you have it)? Thanks & Regards, Sakshi Anand ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Wed Feb 23 13:59:17 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Wed, 23 Feb 2011 07:59:17 -0500 Subject: MRTG required In-Reply-To: References: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD039E64@susday218.corp.ncr.com> Is it like you downloaded cacti and provided the log path of it in check_mrtgtraf plugin? ________________________________ From: Alex Dehaini [mailto:alexdehaini at gmail.com] Sent: Wednesday, February 23, 2011 6:08 PM To: Nagios Users List Subject: Re: [Nagios-users] MRTG required Cacti did the trick for me On Wed, Feb 23, 2011 at 6:35 AM, Qi Zhang > wrote: why not use Nagios' traffic plugin? you may find many results in google. Zhang Qi On Wed, Feb 23, 2011 at 8:28 PM, Anand, Sakshi > wrote: Hi, Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able to download same. Is it possible for you to provide me the MRTG.tar.gz (if you have it)? Thanks & Regards, Sakshi Anand ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Feb 23 14:01:58 2011 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 23 Feb 2011 07:01:58 -0600 Subject: MRTG required In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD039E64@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD039E25@susday218.corp.ncr.com> <0270B60DC8448C4EA47D54E8CA8C554789DD039E64@susday218.corp.ncr.com> Message-ID: Cacti is separate from nagios On Wed, Feb 23, 2011 at 6:59 AM, Anand, Sakshi wrote: > Is it like you downloaded cacti and provided the log path of it in check_mrtgtraf > plugin? > > ------------------------------ > *From:* Alex Dehaini [mailto:alexdehaini at gmail.com] > *Sent:* Wednesday, February 23, 2011 6:08 PM > *To:* Nagios Users List > > *Subject:* Re: [Nagios-users] MRTG required > > Cacti did the trick for me > > On Wed, Feb 23, 2011 at 6:35 AM, Qi Zhang wrote: > >> why not use Nagios' traffic plugin? you may find many results in google. >> >> Zhang Qi >> >> >> On Wed, Feb 23, 2011 at 8:28 PM, Anand, Sakshi wrote: >> >>> Hi, >>> >>> Is anyone using MRTG for monitoring bandwidth/traffic rate? I am not able >>> to download same. Is it possible for you to provide me the MRTG.tar.gz (if >>> you have it)? >>> >>> Thanks & Regards, >>> Sakshi Anand >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Free Software Download: Index, Search & Analyze Logs and other IT data in >>> Real-Time with Splunk. Collect, index and harness all the fast moving IT >>> data >>> generated by your applications, servers and devices whether physical, >>> virtual >>> or in the cloud. Deliver compliance at lower cost and gain new business >>> insights. http://p.sf.net/sfu/splunk-dev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >> >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Wed Feb 23 14:15:00 2011 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 23 Feb 2011 14:15:00 +0100 Subject: check if SAP login is possible Message-ID: <4D650854.8010206@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, last week I had a new problem - all Nagios checks of the SAP systems succeeded, but no one was able to login or to work inside SAP. The users got a timeout message, but remained logged in. The usual checks via check_sap_cons still delivered their standard output. How can I check if a SAP login is possible or not? As a first step, I check the https:// login screen (with check_http), but how can I check that a user may log in after seeing that screen? BTW, the reason was a shared filesystem full to the brim... Regards, Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk1lCFQACgkQk33Krq8b42MZlgCfSoyg7yByXygupxaM7C7wFxqB TfkAnRMQiAvorypMZfkAo9jbzTuH+zcc =ZMmj -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsico.com Wed Feb 23 16:45:34 2011 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Wed, 23 Feb 2011 10:45:34 -0500 Subject: check if SAP login is possible In-Reply-To: <4D650854.8010206@ufz.de> References: <4D650854.8010206@ufz.de> Message-ID: Werner, I can't say that I'm an expert at any of these methods, but there are a few possibilities you might explore. - WebInject. It allows you to write these kind of request/response scripts that walk through interaction with a website, including a login. There's even some stuff about using it directly with Nagios on their site. - Perl and the WWW::Mechanize module. This allows you to do something similar to WebInject by writing your own Perl script that interacts with a website including "pressing" buttons, etc. I would also recommend Ton Voon's spiffy Nagios::Plugin module to handle the Nagios plugin duties. In either case, you would probably want to create some dummy/test user to attempt the login with. Mark -----Original Message----- From: Werner Flamme [mailto:werner.flamme at ufz.de] Sent: Wednesday, February 23, 2011 8:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check if SAP login is possible -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi everyone, last week I had a new problem - all Nagios checks of the SAP systems succeeded, but no one was able to login or to work inside SAP. The users got a timeout message, but remained logged in. The usual checks via check_sap_cons still delivered their standard output. How can I check if a SAP login is possible or not? As a first step, I check the https:// login screen (with check_http), but how can I check that a user may log in after seeing that screen? BTW, the reason was a shared filesystem full to the brim... Regards, Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk1lCFQACgkQk33Krq8b42MZlgCfSoyg7yByXygupxaM7C7wFxqB TfkAnRMQiAvorypMZfkAo9jbzTuH+zcc =ZMmj -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noc at fohnet.co.uk Wed Feb 23 16:34:21 2011 From: noc at fohnet.co.uk (Richard Clark) Date: Wed, 23 Feb 2011 15:34:21 +0000 Subject: check if SAP login is possible In-Reply-To: <4D650854.8010206@ufz.de> References: <4D650854.8010206@ufz.de> Message-ID: <8297469284548772878@unknownmsgid> Check out cucumber or www::mechanize -- Richard Clark richard at fohnet.co.uk On 23 Feb 2011, at 13:29, Werner Flamme wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi everyone, > > last week I had a new problem - all Nagios checks of the SAP systems > succeeded, but no one was able to login or to work inside SAP. The users > got a timeout message, but remained logged in. The usual checks via > check_sap_cons still delivered their standard output. > > How can I check if a SAP login is possible or not? As a first step, I > check the https:// login screen (with check_http), but how can I check > that a user may log in after seeing that screen? > > BTW, the reason was a shared filesystem full to the brim... > > Regards, > Werner > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.15 (GNU/Linux) > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ > > iEYEARECAAYFAk1lCFQACgkQk33Krq8b42MZlgCfSoyg7yByXygupxaM7C7wFxqB > TfkAnRMQiAvorypMZfkAo9jbzTuH+zcc > =ZMmj > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From werner.flamme at ufz.de Wed Feb 23 17:48:20 2011 From: werner.flamme at ufz.de (Werner Flamme) Date: Wed, 23 Feb 2011 17:48:20 +0100 Subject: check if SAP login is possible In-Reply-To: References: <4D650854.8010206@ufz.de> Message-ID: <4D653A54.10702@ufz.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mark, thanks, I hope this will work out, since the web page shown is not where you enter login data. You have a "login" button, and when you click on it, a JavaScript window pops up where you may enter your logon data. I played around with Ton's module, but never with WWW::Mechanize (or LWP), so I don't know how far this may help. I'll look into it soon. But this is only one method to log in, the other one is via the generic SAP GUI or the SAP PLATIN GUI, which is a Java tool. And I have no idea how to wrestle with those. Here it would be sufficient to get the standard login screen, the login itself is not needed, since during the hangup even the login screen did not appear. I can't say if this is the same for the web page. Until I'm proven wrong, I'd say this is the case and therefore it is sufficient to test the availability of the page ;-). It is not sufficient to check the validity of the https certificate - this check was "OK" all the time. Maybe of of the 6000+ items I can check via check_sap_cons can help, but how do I know? :-\ Regards, Werner Frost, Mark {PBC} [23.02.2011 16:45]: > Werner, > > I can't say that I'm an expert at any of these methods, but there are a > few possibilities you might explore. > > - WebInject. It allows you to write these kind of request/response > scripts that walk through interaction with a website, including a > login. There's even some stuff about using it directly with Nagios > on their site. > > - Perl and the WWW::Mechanize module. This allows you to do something > similar to WebInject by writing your own Perl script that interacts with > a website including "pressing" buttons, etc. I would also recommend > Ton Voon's spiffy Nagios::Plugin module to handle the Nagios plugin > duties. > > In either case, you would probably want to create some dummy/test > user to attempt the login with. > > Mark > > -----Original Message----- > From: Werner Flamme [mailto:werner.flamme at ufz.de] > Sent: Wednesday, February 23, 2011 8:15 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check if SAP login is possible > > Hi everyone, > > last week I had a new problem - all Nagios checks of the SAP systems > succeeded, but no one was able to login or to work inside SAP. The users > got a timeout message, but remained logged in. The usual checks via > check_sap_cons still delivered their standard output. > > How can I check if a SAP login is possible or not? As a first step, I > check the https:// login screen (with check_http), but how can I check > that a user may log in after seeing that screen? > > BTW, the reason was a shared filesystem full to the brim... > > Regards, > Werner -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/ iEYEARECAAYFAk1lOlQACgkQk33Krq8b42O0LgCcC2y1GMa2vn8u0RVh22kDaw0k z+QAn0Qj0SAxhMiybLm6EJTGJUjWOCdM =ZuT9 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Wed Feb 23 19:17:31 2011 From: vmanojv at rediffmail.com (Nair) Date: 23 Feb 2011 18:17:31 -0000 Subject: =?utf-8?q?Threshold_Based_Timeperiod?= Message-ID: <20110223181731.49622.qmail@f5mail-236-235.rediffmail.com> Friends Is it possible to have a different thresholds for same check for different timeperiods. say 10% from 10AM to 6PM and 20% from 6.01PM to 9.59AM Thank you Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From a31modela at hotmail.com Wed Feb 23 19:23:28 2011 From: a31modela at hotmail.com (steve f) Date: Wed, 23 Feb 2011 13:23:28 -0500 Subject: Nagios Core & Remedy Ticketing Integration Message-ID: Hello All, Has anyone integrated Nagios with BMC Remedy for ticket creation? I am looking at ARCPerl for this since our Remedy infrastructure is not set up to receive e-mails. Has anyone tried this? Any info / horror stories would be appreciated. Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsico.com Wed Feb 23 20:33:50 2011 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Wed, 23 Feb 2011 14:33:50 -0500 Subject: Nagios Core & Remedy Ticketing Integration In-Reply-To: References: Message-ID: We don't use Remedy, but another ticketing system. In our case, the app (or someone who worked with the app), created a command-line script that you can use to create the actual ticket. I then created an event handler for a failing service to call that command line utility to create the ticket. You could really do this via a notification as well depending on what you want as long as you rewrite the notification command to call your "make me a ticket with these parameters" program instead of mail. I believe the key piece here either way, is whatever way Remedy provides you of opening a ticket from a command line, or worst case, via some web interface that you have Nagios login to in some automated fashion. Mark From: steve f [mailto:a31modela at hotmail.com] Sent: Wednesday, February 23, 2011 1:23 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Core & Remedy Ticketing Integration Hello All, Has anyone integrated Nagios with BMC Remedy for ticket creation? I am looking at ARCPerl for this since our Remedy infrastructure is not set up to receive e-mails. Has anyone tried this? Any info / horror stories would be appreciated. Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Thu Feb 24 07:12:17 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Thu, 24 Feb 2011 01:12:17 -0500 Subject: Configuration Conflicts In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD039E23@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD039E23@susday218.corp.ncr.com> Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD03A079@susday218.corp.ncr.com> All, The issue got resolved by restarting nagios using following command - service nagios restart Prior to this, I was using following command to restart which I believe was not restarting it properly and hence was not able to refresh all the configurations - /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg Thanks & Regards, Sakshi Anand ________________________________ From: Anand, Sakshi Sent: Wednesday, February 23, 2011 5:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Configuration Conflicts Hi All, I was trying to monitor switches but as soon as I configured it, the services of my server monitoring is not visible on the page anymore - [cid:830021106 at 24022011-19C9] The host associated to the group (test) is not displayed and the services are also not there. But, when I go to configuration link on Nagios page and search for my host "server_monitoring" associated with "Test Servers", I can view all my services - [cid:830021106 at 24022011-19D0] In the scripts, I have assigned hosts to host groups - define host{ use generic-host ; Name of host template to use host_name server_monitoring alias Intranet Server address 192.xxx.xx.13 max_check_attempts 10 ; Check each host 10 times (max) contact_groups SSEs hostgroups test } define hostgroup{ hostgroup_name test alias Test Servers } Have you ever come across this kind of issue? I have been struggling hard with my configurations to get the services back but of no use. Do you have a suggestion for me that can help me resolve the issue? Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Paintbrush Picture 1.jpg Type: image/jpeg Size: 9915 bytes Desc: Paintbrush Picture 1.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Paintbrush Picture 2.jpg Type: image/jpeg Size: 27021 bytes Desc: Paintbrush Picture 2.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Thu Feb 24 09:06:56 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 24 Feb 2011 08:06:56 +0000 Subject: Threshold Based Timeperiod In-Reply-To: <20110223181731.49622.qmail@f5mail-236-235.rediffmail.com> References: <20110223181731.49622.qmail@f5mail-236-235.rediffmail.com> Message-ID: On 23 February 2011 18:17, Nair wrote: > > Friends > > Is it possible to have a different thresholds for same check for > different timeperiods. > > say 10% from 10AM to 6PM and 20% from 6.01PM to 9.59AM > > Thank you > Nair I don't believe so unless you define two separate services which could look a bit messy. There are some tricks you can use though. One I use in the same vein is I have two contact definitions one for the core hours timeperiod and the other for the out-of-hours timeperiod. The out-of-hours one has notification_options c,r (i.e. not "w") so Nagios will only send an SMS alert out for critical events not warnings during that timeperiod. hth, Jim ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Thu Feb 24 11:03:17 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Thu, 24 Feb 2011 10:03:17 +0000 Subject: Threshold Based Timeperiod In-Reply-To: <20110223181731.49622.qmail@f5mail-236-235.rediffmail.com> References: <20110223181731.49622.qmail@f5mail-236-235.rediffmail.com> Message-ID: On Wed, Feb 23, 2011 at 6:17 PM, Nair wrote: > Friends > > Is it possible to have a different thresholds for same check for > different timeperiods. > > say 10% from 10AM to 6PM and 20% from 6.01PM to 9.59AM > > I do not believe there is a build in Nagios function for this but.. How about a wrapper script for the check command (ether server or client side) that would check the time and use the appropriate thresholds. This could be achieved in Shell or Perl or X scripting language relatively simply. Ritchie, > Thank you > Nair > > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mail at catsnest.co.uk Thu Feb 24 11:18:32 2011 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Thu, 24 Feb 2011 10:18:32 +0000 Subject: Reg: Service_Notification_Event In-Reply-To: References: Message-ID: On Wed, Feb 23, 2011 at 11:33 AM, Rajesh Kumar wrote: > Hi team > > > > ? I have installed Nagios Core in?CentOS for Monitor Application Server, > it?s working fine and getting mail if http server down and up. I need to > change to service notification alert of (r-Recovery), ?(c-Critical). Let me > know possible to change the global event in macro address. If it is possible > please share to me. It will help for us. > > I believe you are referring to service_notification_options and host_notification_options http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#contact Ritchie, > > Require is Instead of UP and Down > > > > Recovery = UP > > Critical = Down > > Regards > > B.Rajeshkumar > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell.hughes at gmail.com Thu Feb 24 12:24:06 2011 From: russell.hughes at gmail.com (Rus Hughes) Date: Thu, 24 Feb 2011 11:24:06 +0000 Subject: Nagios Check Time Issue Message-ID: Hi, I've been investigating an issue we have with Nagios Core 3.2.0 that we're running on Redhat 5.4. We're being a bit ruthless and have configured retry_check_interval and normal_check_interval to both be 1 on all hosts and services (20 hosts and 293 services). We're seeing massive delays between checks getting run for services flagged as DOWN, even though the box has little load (0.2) Looking at the extended information page for a service that was DOWN we're seeing events like this occur : At 10:40 a service that was DOWN had a check that was scheduled to run at 10:25 but still hadn't run At 11:02 I refreshed the page for the Nagios check Nagios had run the check and changed the service state to UP The last check time was set to be 10:25 though Even though the check actually ran between 10:40 and 11:02 Does anyone know why 1) Nagios is being 'lazy' when rechecking services marked as DOWN ? We've configured retry_check_interval to 1 for all checks and theres little load on the box and at most only about 4 Nagios processes running at a time, so there are resources free to be used .. 2) Why Nagios is marking the Last Check Time to be the predicted Next Scheduled Check time, even though the real time the check one is way after? (Bug in Nagios?) Thanks, Rus ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Thu Feb 24 13:38:11 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 24 Feb 2011 20:38:11 +0800 Subject: Nagios Check Time Issue In-Reply-To: References: Message-ID: how many attempts do you configure before a non-OK state becomes hard? On Thu, Feb 24, 2011 at 7:24 PM, Rus Hughes wrote: > Hi, > > I've been investigating an issue we have with Nagios Core 3.2.0 that > we're running on Redhat 5.4. We're being a bit ruthless and have > configured retry_check_interval and normal_check_interval to both be 1 > on all hosts and services (20 hosts and 293 services). > > We're seeing massive delays between checks getting run for services > flagged as DOWN, even though the box has little load (0.2) > > Looking at the extended information page for a service that was DOWN > we're seeing events like this occur : > > At 10:40 a service that was DOWN had a check that was scheduled to run > at 10:25 but still hadn't run > At 11:02 I refreshed the page for the Nagios check > Nagios had run the check and changed the service state to UP > The last check time was set to be 10:25 though > Even though the check actually ran between 10:40 and 11:02 > > Does anyone know why > > 1) Nagios is being 'lazy' when rechecking services marked as DOWN ? > We've configured retry_check_interval to 1 for all checks and theres > little load on the box and at most only about 4 Nagios processes > running at a time, so there are resources free to be used .. > > 2) Why Nagios is marking the Last Check Time to be the predicted Next > Scheduled Check time, even though the real time the check one is way > after? (Bug in Nagios?) > > Thanks, > > Rus > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From russell.hughes at gmail.com Thu Feb 24 14:15:55 2011 From: russell.hughes at gmail.com (Rus Hughes) Date: Thu, 24 Feb 2011 13:15:55 +0000 Subject: Nagios Check Time Issue In-Reply-To: References: Message-ID: The max_check_attempts for all services is configured to be 4 an example service configuration is : define service { retry_check_interval 1 contact_groups admins check_command check_nrpe!check_swap check_period 24x7 host_name somehostrarrarrar max_check_attempts 4 normal_check_interval 1 notification_period 24x7 notification_interval 960 ## --PUPPET_NAME-- (called '_naginator_name' in the manifest) check_swap_vfantprov2 use generic-service service_description swap } define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 3 ; Re-check the service up to 3 times in order to determine its final (hard) state normal_check_interval 1 ; Check the service every 10 minutes under normal conditions retry_check_interval 1 ; Re-check the service every two minutes until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } On Thu, Feb 24, 2011 at 12:38 PM, Yueh-Hung Liu wrote: > how many attempts do you configure before a non-OK state becomes hard? > > > On Thu, Feb 24, 2011 at 7:24 PM, Rus Hughes wrote: >> Hi, >> >> I've been investigating an issue we have with Nagios Core 3.2.0 that >> we're running on Redhat 5.4. We're being a bit ruthless and have >> configured retry_check_interval and normal_check_interval to both be 1 >> on all hosts and services (20 hosts and 293 services). >> >> We're seeing massive delays between checks getting run for services >> flagged as DOWN, even though the box has little load (0.2) >> >> Looking at the extended information page for a service that was DOWN >> we're seeing events like this occur : >> >> At 10:40 a service that was DOWN had a check that was scheduled to run >> at 10:25 but still hadn't run >> At 11:02 I refreshed the page for the Nagios check >> Nagios had run the check and changed the service state to UP >> The last check time was set to be 10:25 though >> Even though the check actually ran between 10:40 and 11:02 >> >> Does anyone know why >> >> 1) Nagios is being 'lazy' when rechecking services marked as DOWN ? >> We've configured retry_check_interval to 1 for all checks and theres >> little load on the box and at most only about 4 Nagios processes >> running at a time, so there are resources free to be used .. >> >> 2) Why Nagios is marking the Last Check Time to be the predicted Next >> Scheduled Check time, even though the real time the check one is way >> after? (Bug in Nagios?) >> >> Thanks, >> >> Rus >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT data >> generated by your applications, servers and devices whether physical, virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ras.kumar01 at gmail.com Thu Feb 24 15:00:42 2011 From: ras.kumar01 at gmail.com (Rajesh Kumar) Date: Thu, 24 Feb 2011 19:30:42 +0530 Subject: Reg: Service_Notification_Event In-Reply-To: References: Message-ID: Hi Team My request is how to change macro event of service status, we dont like Recovery, Critical also. We need instead of Up , Down alert. On Thu, Feb 24, 2011 at 3:48 PM, wrote: > On Wed, Feb 23, 2011 at 11:33 AM, Rajesh Kumar > wrote: > > Hi team > > > > > > > > I have installed Nagios Core in CentOS for Monitor Application Server, > > it?s working fine and getting mail if http server down and up. I need to > > change to service notification alert of (r-Recovery), (c-Critical). Let > me > > know possible to change the global event in macro address. If it is > possible > > please share to me. It will help for us. > > > > > > I believe you are referring to service_notification_options and > host_notification_options > > > http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#contact > > Ritchie, > > > > Require is Instead of UP and Down > > > > > > > > Recovery = UP > > > > Critical = Down > > > > Regards > > > > B.Rajeshkumar > > > > > ------------------------------------------------------------------------------ > > Free Software Download: Index, Search & Analyze Logs and other IT data in > > Real-Time with Splunk. Collect, index and harness all the fast moving IT > > data > > generated by your applications, servers and devices whether physical, > > virtual > > or in the cloud. Deliver compliance at lower cost and gain new business > > insights. http://p.sf.net/sfu/splunk-dev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Thu Feb 24 15:41:19 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 24 Feb 2011 22:41:19 +0800 Subject: Reg: Service_Notification_Event In-Reply-To: References: Message-ID: nowhere to change except modifying source code, i think. this is the way Nagios treats service status. On Thu, Feb 24, 2011 at 10:00 PM, Rajesh Kumar wrote: > Hi Team > My request is how to change macro event of service status, we dont like > Recovery, Critical also. We need instead of Up , Down alert. > > On Thu, Feb 24, 2011 at 3:48 PM, wrote: >> >> On Wed, Feb 23, 2011 at 11:33 AM, Rajesh Kumar >> wrote: >> > Hi team >> > >> > >> > >> > ? I have installed Nagios Core in?CentOS for Monitor Application Server, >> > it?s working fine and getting mail if http server down and up. I need to >> > change to service notification alert of (r-Recovery), ?(c-Critical). Let >> > me >> > know possible to change the global event in macro address. If it is >> > possible >> > please share to me. It will help for us. >> > >> > >> >> I believe you are referring to service_notification_options and >> host_notification_options >> >> >> http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#contact >> >> Ritchie, >> > >> > Require is Instead of UP and Down >> > >> > >> > >> > Recovery = UP >> > >> > Critical = Down >> > >> > Regards >> > >> > B.Rajeshkumar >> > >> > >> > ------------------------------------------------------------------------------ >> > Free Software Download: Index, Search & Analyze Logs and other IT data >> > in >> > Real-Time with Splunk. Collect, index and harness all the fast moving IT >> > data >> > generated by your applications, servers and devices whether physical, >> > virtual >> > or in the cloud. Deliver compliance at lower cost and gain new business >> > insights. http://p.sf.net/sfu/splunk-dev2dev >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting >> > any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Thu Feb 24 15:40:56 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Thu, 24 Feb 2011 22:40:56 +0800 Subject: Reg: Service_Notification_Event In-Reply-To: References: Message-ID: nowhere to change except modifying source code, i think. this is the way Nagios treats service status. On Thu, Feb 24, 2011 at 10:00 PM, Rajesh Kumar wrote: > Hi Team > My request is how to change macro event of service status, we dont like > Recovery, Critical also. We need instead of Up , Down alert. > > On Thu, Feb 24, 2011 at 3:48 PM, wrote: >> >> On Wed, Feb 23, 2011 at 11:33 AM, Rajesh Kumar >> wrote: >> > Hi team >> > >> > >> > >> > ? I have installed Nagios Core in?CentOS for Monitor Application Server, >> > it?s working fine and getting mail if http server down and up. I need to >> > change to service notification alert of (r-Recovery), ?(c-Critical). Let >> > me >> > know possible to change the global event in macro address. If it is >> > possible >> > please share to me. It will help for us. >> > >> > >> >> I believe you are referring to service_notification_options and >> host_notification_options >> >> >> http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#contact >> >> Ritchie, >> > >> > Require is Instead of UP and Down >> > >> > >> > >> > Recovery = UP >> > >> > Critical = Down >> > >> > Regards >> > >> > B.Rajeshkumar >> > >> > >> > ------------------------------------------------------------------------------ >> > Free Software Download: Index, Search & Analyze Logs and other IT data >> > in >> > Real-Time with Splunk. Collect, index and harness all the fast moving IT >> > data >> > generated by your applications, servers and devices whether physical, >> > virtual >> > or in the cloud. Deliver compliance at lower cost and gain new business >> > insights. http://p.sf.net/sfu/splunk-dev2dev >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting >> > any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search & Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Feb 24 16:31:58 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 24 Feb 2011 16:31:58 +0100 Subject: nagios 3.2.3 , which is better OS ? Message-ID: <6183.27324414185$1298561701@news.gmane.org> Hi all I have to install , study and put on-line the last release. I?d like to install it on the better OS possible What about Cent-OS 5 ? Actually I am managing Nagios 1.4.1. on a Red Hat Enterprise Linux ES 4 Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Thu Feb 24 16:35:35 2011 From: alexus at gmail.com (alexus) Date: Thu, 24 Feb 2011 10:35:35 -0500 Subject: nagios 3.2.3 , which is better OS ? In-Reply-To: <4645372146736347775@unknownmsgid> References: <4645372146736347775@unknownmsgid> Message-ID: I'm running latest (stable) Nagios on latest (stable) CentOS works pretty well On Thu, Feb 24, 2011 at 10:31 AM, Marco Borsani wrote: > Hi all > > > > I have to install , study and put on-line the last release. > > > > I?d like to install it on the better OS possible? > > What about Cent-OS 5 ? > > > > Actually I am managing Nagios 1.4.1. on a Red Hat Enterprise Linux ES 4 > > > > Regards > > > > Marco Borsani > > Unix and Monitoring Sysadmin > > Technical Operations Dpt. > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- http://alexus.org/ ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Feb 24 16:45:46 2011 From: m.borsani at it.net (Marco Borsani) Date: Thu, 24 Feb 2011 16:45:46 +0100 Subject: Which GUI to configure Nagios 3 ? Message-ID: <13051.5764155009$1298562510@news.gmane.org> Hi all Actually we use an internal interface to configure all the Nagios contacts/hosts/services I know that there are nice GUI to configure Nagios which one do you know/use ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Feb 24 16:47:28 2011 From: benny at bennyvision.com (C. Bensend) Date: Thu, 24 Feb 2011 09:47:28 -0600 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: <00d401cbd439$e9f9d5c0$bded8140$@borsani@it.net> References: <00d401cbd439$e9f9d5c0$bded8140$@borsani@it.net> Message-ID: > I know that there are nice GUI to configure Nagios which one do you > know/use > ? I'm a big, big fan of NConf. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Thu Feb 24 17:21:45 2011 From: tntteam at free.fr (Tntteam) Date: Thu, 24 Feb 2011 17:21:45 +0100 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: <-8381031076912268216@unknownmsgid> References: <-8381031076912268216@unknownmsgid> Message-ID: We use Centreon 2011/2/24 Marco Borsani > Hi all > > > > Actually we use an internal interface to configure all the Nagios > contacts/hosts/services? > > > > I know that there are nice GUI to configure Nagios?which one do you > know/use ? > > > > Regards > > > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Thu Feb 24 17:21:15 2011 From: tntteam at free.fr (Tntteam) Date: Thu, 24 Feb 2011 17:21:15 +0100 Subject: nagios 3.2.3 , which is better OS ? In-Reply-To: References: <4645372146736347775@unknownmsgid> Message-ID: ubuntu server 64bits LTS here 2011/2/24 alexus > I'm running latest (stable) Nagios on latest (stable) CentOS > > works pretty well > > On Thu, Feb 24, 2011 at 10:31 AM, Marco Borsani wrote: > > Hi all > > > > > > > > I have to install , study and put on-line the last release. > > > > > > > > I?d like to install it on the better OS possible? > > > > What about Cent-OS 5 ? > > > > > > > > Actually I am managing Nagios 1.4.1. on a Red Hat Enterprise Linux ES 4 > > > > > > > > Regards > > > > > > > > Marco Borsani > > > > Unix and Monitoring Sysadmin > > > > Technical Operations Dpt. > > > > tel: +39 010 4310115 > > > > fax: +39 02 30130311 > > > > cell: +39 329 5953944 > > > > ITnet Srl > > > > Societ? con socio unico > > > > Direzione e Coordinamento di WIND TELECOM S.p.A. > > > > > ------------------------------------------------------------------------------ > > Free Software Download: Index, Search & Analyze Logs and other IT data in > > Real-Time with Splunk. Collect, index and harness all the fast moving IT > > data > > generated by your applications, servers and devices whether physical, > > virtual > > or in the cloud. Deliver compliance at lower cost and gain new business > > insights. http://p.sf.net/sfu/splunk-dev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > > any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > http://alexus.org/ > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevejenkins at gmail.com Thu Feb 24 17:27:27 2011 From: stevejenkins at gmail.com (Steve Jenkins) Date: Thu, 24 Feb 2011 08:27:27 -0800 Subject: nagios 3.2.3 , which is better OS ? In-Reply-To: <4645372146736347775@unknownmsgid> References: <4645372146736347775@unknownmsgid> Message-ID: On Thu, Feb 24, 2011 at 7:31 AM, Marco Borsani wrote: > Hi all > > I have to install , study and put on-line the last release. > > I?d like to install it on the better OS possible? > > What about Cent-OS 5 ? > > Actually I am managing Nagios 1.4.1. on a Red Hat Enterprise Linux ES 4 Hi, Marco. CentOS 5 is a great choice. We've been running Nagios 3.2.1, then 3.2.2, and now 3.2.3 on a CentOS 5 box since 2009 and it's been totally stable for us (with in-place upgrades working flawlessly). I don't know if any of the popular CentOS/RHEL repos have a Nagios package, but we prefer to download directly from the Nagios site and follow the provided documentation for setup. There are a couple minor issues I had with the documentation, and a few additional tricks I discovered while setting things up, so I created a blog post for me to refer to later when installing Nagios on a CentOS box: http://stevejenkins.com/blog/2009/12/helpful-links-for-setting-up-nagios-and-nrpe-on-rhel-5-and-centos-5/ It's not written in the same "How To" style as some of my other blog posts (this one is more of a list of notes to refresh my memory if I ever need to re-install or set up another Nagios instance on a CentOS server), but hopefully there's some helpful info there for you. Best regards, SteveJ ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rlemerlus at merethis.com Thu Feb 24 17:06:38 2011 From: rlemerlus at merethis.com (Romain Le Merlus) Date: Thu, 24 Feb 2011 17:06:38 +0100 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: <-8381031076912268216@unknownmsgid> References: <-8381031076912268216@unknownmsgid> Message-ID: Hi Marco, On Thu, Feb 24, 2011 at 4:45 PM, Marco Borsani wrote: > Actually we use an internal interface to configure all the Nagios > contacts/hosts/services? > > I know that there are nice GUI to configure Nagios?which one do you > know/use ? > You can try Centreon (http://www.centreon.com). A powerful GPL monitoring software based on Nagios core. Here is a web demo: http://demo.centreon.com Best regards. -- Romain LE MERLUS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Thu Feb 24 17:28:08 2011 From: vmanojv at rediffmail.com (Nair) Date: 24 Feb 2011 16:28:08 -0000 Subject: =?utf-8?q?Threshold_Based_Timeperiod?= In-Reply-To: References: Message-ID: <1298541885.S.15050.48531.F.H.WW1haWxAY2F0c25lc3QuY28udWsAUmU6IFtOYWdpb3MtdXNlcnNdIFRocmVzaG9sZCBCYXNlZCBUaW1lcGU_.f5-147-127.1298564887.42321@webmail.rediffmail.com> Thank you, Ritchie, for your sugession. Seems this is the most practical approach. On Thu, 24 Feb 2011 15:34:45 +0530 wrote > On Wed, Feb 23, 2011 at 6:17 PM, Nair wrote: Friends Is it possible to have a different thresholds for same check for different timeperiods. say 10% from 10AM to 6PM and 20% from 6.01PM to 9.59AM I do not believe there is a build in Nagios function for this but.. How about a wrapper script for the check command (ether server or client side) that would check the time and use the appropriate thresholds. This could be achieved in Shell or Perl or X scripting language relatively? simply. Ritchie, ? Thank you Nair ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tyarusso at nagios.com Thu Feb 24 17:29:57 2011 From: tyarusso at nagios.com (Tony Yarusso) Date: Thu, 24 Feb 2011 10:29:57 -0600 Subject: nagios 3.2.3 , which is better OS ? In-Reply-To: <00c601cbd437$fc5352c0$f4f9f840$@borsani@it.net> References: <00c601cbd437$fc5352c0$f4f9f840$@borsani@it.net> Message-ID: <1298564997.11128.4.camel@ubuntu-desktop.SSG5-Serial> On Thu, 2011-02-24 at 16:31 +0100, Marco Borsani wrote: > I have to install , study and put on-line the last release. > I?d like to install it on the better OS possible? > > What about Cent-OS 5 ? Distro choice is really just a matter of personal preference - I don't think it's likely to affect how well Nagios works on it. CentOS 5 has some advantage in most closely matching most of the documentation. Ubuntu 10.04 has the advantage of being the easiest to install on (using the 'nagiosinc' PPA). Beyond that, it's whatever you're comfortable with. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From infos at opendoc.net Thu Feb 24 17:37:08 2011 From: infos at opendoc.net (Alexandre) Date: Thu, 24 Feb 2011 17:37:08 +0100 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: References: <-8381031076912268216@unknownmsgid> Message-ID: <4D668934.30407@opendoc.net> There is a very good solution: POM http://www.exosec.fr/POM-plateforme-open-source-monitoring.html Alex On 24/02/2011 17:21, Tntteam wrote: > We use Centreon > > 2011/2/24 Marco Borsani > > > Hi all > > Actually we use an internal interface to configure all the Nagios > contacts/hosts/services? > > I know that there are nice GUI to configure Nagios?which one do you > know/use ? > > Regards > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT > data in > Real-Time with Splunk. Collect, index and harness all the fast > moving IT data > generated by your applications, servers and devices whether > physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevejenkins at gmail.com Thu Feb 24 17:46:51 2011 From: stevejenkins at gmail.com (Steve Jenkins) Date: Thu, 24 Feb 2011 08:46:51 -0800 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: References: <-8381031076912268216@unknownmsgid> Message-ID: On Thu, Feb 24, 2011 at 8:06 AM, Romain Le Merlus wrote: > You can try Centreon (http://www.centreon.com). > A powerful GPL monitoring software based on Nagios core. > Here is a web demo: http://demo.centreon.com Centreon looks interesting! I've tried NINJA in the past, but documentation was a bit lacking. However, the Centreon software requirements say: "If HTTPS is used to work in the admin, SSL certificate should be valid. Self-signed SSL certificates are not supported" That's a deal-breaker for us because we self-sign our internal certs. I wonder why Centreon requiresthat. SteveJ ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tntteam at free.fr Thu Feb 24 19:35:36 2011 From: tntteam at free.fr (Tntteam) Date: Thu, 24 Feb 2011 19:35:36 +0100 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: <4D668934.30407@opendoc.net> References: <-8381031076912268216@unknownmsgid> <4D668934.30407@opendoc.net> Message-ID: We use centreon with self signed ssl certificate : no problems so far 2011/2/24 Alexandre > There is a very good solution: POM > http://www.exosec.fr/POM-plateforme-open-source-monitoring.html > > Alex > > On 24/02/2011 17:21, Tntteam wrote: > > We use Centreon > > > > 2011/2/24 Marco Borsani > > > > > Hi all > > > > Actually we use an internal interface to configure all the Nagios > > contacts/hosts/services? > > > > I know that there are nice GUI to configure Nagios?which one do you > > know/use ? > > > > Regards > > > > Marco Borsani > > > > *Unix and Monitoring Sysadmin* > > > > *Technical Operations Dpt.* > > > > tel: +39 010 4310115 > > > > fax: +39 02 30130311 > > > > cell: +39 329 5953944 > > > > ITnet Srl > > > > Societ? con socio unico > > > > Direzione e Coordinamento di WIND TELECOM S.p.A. > > > > > > > ------------------------------------------------------------------------------ > > Free Software Download: Index, Search & Analyze Logs and other IT > > data in > > Real-Time with Splunk. Collect, index and harness all the fast > > moving IT data > > generated by your applications, servers and devices whether > > physical, virtual > > or in the cloud. Deliver compliance at lower cost and gain new > business > > insights. http://p.sf.net/sfu/splunk-dev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > > > > > > ------------------------------------------------------------------------------ > > Free Software Download: Index, Search& Analyze Logs and other IT data in > > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > > generated by your applications, servers and devices whether physical, > virtual > > or in the cloud. Deliver compliance at lower cost and gain new business > > insights. http://p.sf.net/sfu/splunk-dev2dev > > > > > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBeck at urbn.com Thu Feb 24 19:46:26 2011 From: JBeck at urbn.com (Joe Beck) Date: Thu, 24 Feb 2011 13:46:26 -0500 Subject: Check_openmanage-- Current probes not found In-Reply-To: <15tk4grdt9j.fsf@tux.uio.no> References: <15tk4grdt9j.fsf@tux.uio.no> Message-ID: Yes, just after sending this post I did the things you identified. Verifed model vs others where this issue was not happening We have several r610's & this is only one with the issue. Then I went & looked at the omsa version & found this one was running 5.9 where the others had 6.4 I removed & installed 6.4 but same result. I also had some question/confusion about best way to identify the version; in fact it may have already been running 6.4. I'm grep'ing for version; tried running cmds with -v & --version, etc but no luck in seeing which version via the cmds Good box: grep version /opt/dell/srvadmin/etc/omreg.cfg OMDataEngine.omilcore.version=5.9.4 hapi.omilcore.version=5.9.4 Instrumentation.omilcore.version=5.9.4 openmanage.omacore.omilcore.version=4.3.0 openmanage.omhip.omilcore.version=4.3.0 openmanage.version=6.4.0 Bad box(in terms of pwrmonitoring): grep version /opt/dell/srvadmin/etc/omreg.cfg OMDataEngine.omilcore.version=5.9.4 hapi.omilcore.version=5.9.4 Instrumentation.omilcore.version=5.9.4 openmanage.omacore.omilcore.version=4.3.0 openmanage.omhip.omilcore.version=4.3.0 openmanage.version=6.4.0 So look to be the same, not sure what else to try On 2/23/11 3:55 AM, "Trond Hasle Amundsen" wrote: > Joe Beck writes: > I have a couple R610?s > Some run > omreport chassis pwrmonitoring & return output > I also have 1 that returns: > > # omreport chassis pwrmonitoring > Power Consumption Information > > Error : > Current probes not found > > Does this mean that this module just isn?t > installed or ??? > > At this point, do I just alter the nagios service to > exclude pwrmonitoring? Hi Joe, I think the next point should be to > investigate why OMSA behaves like this. I've seen this error before, but on > older servers with old OMSA versions (5.4.0). A simple restart of OMSA > (srvadmin-services.sh restart) may be the solution and should be attempted > first. The next step would be to reinstall OMSA and verify that everything > gets installed. Usually, if power monitoring information is not available, > OMSA should say something else and more informative. Is the problematic > machine identical to the ones that work? Cheers, -- Trond H. Amundsen > Center for Information Technology Services, > University of > Oslo ------------------------------------------------------------------------ > ------ Free Software Download: Index, Search & Analyze Logs and other IT data > in Real-Time with Splunk. Collect, index and harness all the fast moving IT > data generated by your applications, servers and devices whether physical, > virtual or in the cloud. Deliver compliance at lower cost and gain new > business insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/li > stinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null Joe -- Joe Beck | IT-Open Systems Engineer | urban outfitters inc. 5000 South Broad Street | Phila., PA 19112 | 215.454.7737 | jbeck at urbn.com ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ennis at nmcourts.gov Thu Feb 24 19:54:45 2011 From: ennis at nmcourts.gov (Ennis Ibarra) Date: Thu, 24 Feb 2011 11:54:45 -0700 (MST) Subject: Which GUI to configure Nagios 3 ? In-Reply-To: References: Message-ID: <1018259033.96431.1298573685204.JavaMail.root@mail.nmcourts.gov> My two cents: Once you lock up your configuration to a given tool, then you stick with the tool capabilities to configure stuff. The real power is understanding the Nagios structure and files, leave the GUIs for presentation only. That's just my experience though, but yet again, maybe you want to configure in such "standard" non-changed way that you can adapt to a given tool, but if you are at least part of the implementing team in your environment, I think this is a great opportunity to get your feet wet and actually do it the GUI-free way. Good luck. ----- Original Message ----- From: "Tntteam" To: "Nagios Users List" Sent: Thursday, February 24, 2011 11:35:36 AM Subject: Re: [Nagios-users] Which GUI to configure Nagios 3 ? We use centreon with self signed ssl certificate : no problems so far 2011/2/24 Alexandre < infos at opendoc.net > There is a very good solution: POM http://www.exosec.fr/POM-plateforme-open-source-monitoring.html Alex On 24/02/2011 17:21, Tntteam wrote: > We use Centreon > > 2011/2/24 Marco Borsani < m.borsani at it.net > > > Hi all > > Actually we use an internal interface to configure all the Nagios > contacts/hosts/services? > > I know that there are nice GUI to configure Nagios?which one do you > know/use ? > > Regards > > Marco Borsani > > *Unix and Monitoring Sysadmin* > > *Technical Operations Dpt.* > > tel: +39 010 4310115 > > fax: +39 02 30130311 > > cell: +39 329 5953944 > > ITnet Srl > > Societ? con socio unico > > Direzione e Coordinamento di WIND TELECOM S.p.A. > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT > data in > Real-Time with Splunk. Collect, index and harness all the fast > moving IT data > generated by your applications, servers and devices whether > physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Thu Feb 24 21:57:05 2011 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 24 Feb 2011 21:57:05 +0100 Subject: Check_openmanage-- Current probes not found In-Reply-To: (Joe Beck's message of "Thu, 24 Feb 2011 13:46:26 -0500") References: Message-ID: <15tr5axqhge.fsf@tux.uio.no> Joe Beck writes: > Yes, just after sending this post I did the things you identified. > Verifed model vs others where this issue was not happening > We have several r610's & this is only one with the issue. > Then I went & looked at the omsa version & found this one was running 5.9 > where the others had 6.4 > I removed & installed 6.4 but same result. > I also had some question/confusion about best way to identify the version; > in fact it may have already been running 6.4. > > I'm grep'ing for version; tried running cmds with -v & --version, etc but no > luck in seeing which version via the cmds This command will tell you which version of OMSA you're running: omreport about There are other ways as well: http://folk.uio.no/trondham/software/check_openmanage.html#how-can-i-find-out-which-version-of-omsa-my-server-is-running I'm not sure if you understood my question about the servers being identical. I didn't mean the model (I assumed the model would be the same), but hardware-wise. Specifically, are they alike with respect to number of power supplies? In any case, the next step will be to examine the installed OMSA software components. On RHEL and derivatives such as CentOS, you can do this by comparing the output from 'rpm -qa|grep srvadmin' from healthy boxes versus the failing one. Also check that the running OMSA services are the same. Since this is happening on only one server, and you have probably installed OMSA in exactly the same way on all the servers, you may have a real hardware problem. If all else fails, you should contact Dell support and have them look at it. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From breandan at dezendorf.com Thu Feb 24 22:15:18 2011 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Thu, 24 Feb 2011 16:15:18 -0500 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: <1018259033.96431.1298573685204.JavaMail.root@mail.nmcourts.gov> References: <1018259033.96431.1298573685204.JavaMail.root@mail.nmcourts.gov> Message-ID: On Thu, Feb 24, 2011 at 1:54 PM, Ennis Ibarra wrote: > My two cents: > > Once you lock up your configuration to a given tool, then you stick with the > tool capabilities to configure stuff.???? The real power is understanding > the Nagios structure and files, leave the GUIs for presentation only. I agree - but when you're trying to serve a large community of sysadmins, a GUI tool is a useful tool for getting the job done. I can't teach 60+ admins how to write clean nagios configs, but I can teach them to use web-based tools. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yuehung.liu at gmail.com Fri Feb 25 03:07:11 2011 From: yuehung.liu at gmail.com (Yueh-Hung Liu) Date: Fri, 25 Feb 2011 10:07:11 +0800 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: References: <1018259033.96431.1298573685204.JavaMail.root@mail.nmcourts.gov> Message-ID: agree +1 at implementation step, admins have to edit (and understand) all config files by hands. but once the whole monitoring system is on its way stable, a config GUI add-on will be helpful for daily maintanence. On Fri, Feb 25, 2011 at 5:15 AM, Breandan Dezendorf wrote: > On Thu, Feb 24, 2011 at 1:54 PM, Ennis Ibarra wrote: >> My two cents: >> >> Once you lock up your configuration to a given tool, then you stick with the >> tool capabilities to configure stuff.???? The real power is understanding >> the Nagios structure and files, leave the GUIs for presentation only. > > I agree - but when you're trying to serve a large community of > sysadmins, a GUI tool is a useful tool for getting the job done. ?I > can't teach 60+ admins how to write clean nagios configs, but I can > teach them to use web-based tools. > > -- > Breandan Dezendorf > breandan at dezendorf.com > bwdezend at gmail.com > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wwanghongrui at cebbank.com Fri Feb 25 03:38:24 2011 From: wwanghongrui at cebbank.com (=?utf-8?B?d3dhbmdob25ncnVp?=) Date: Fri, 25 Feb 2011 10:38:24 +0800 Subject: =?utf-8?q?Which_GUI_to_configure_Nagios_3_=3F?= References: , <1018259033.96431.1298573685204.JavaMail.root@mail.nmcourts.gov>, , Message-ID: <201102251038242180892@cebbank.com> Cetnreon?NagiosQL wwanghongrui 2011-02-25 ???? Yueh-Hung Liu ????? 2011-02-25 10:12:08 ???? Nagios Users List ??? ??? Re: [Nagios-users] Which GUI to configure Nagios 3 ? agree +1 at implementation step, admins have to edit (and understand) all config files by hands. but once the whole monitoring system is on its way stable, a config GUI add-on will be helpful for daily maintanence. On Fri, Feb 25, 2011 at 5:15 AM, Breandan Dezendorf wrote: > On Thu, Feb 24, 2011 at 1:54 PM, Ennis Ibarra wrote: >> My two cents: >> >> Once you lock up your configuration to a given tool, then you stick with the >> tool capabilities to configure stuff. The real power is understanding >> the Nagios structure and files, leave the GUIs for presentation only. > > I agree - but when you're trying to serve a large community of > sysadmins, a GUI tool is a useful tool for getting the job done. I > can't teach 60+ admins how to write clean nagios configs, but I can > teach them to use web-based tools. > > -- > Breandan Dezendorf > breandan at dezendorf.com > bwdezend at gmail.com > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Feb 25 12:38:49 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 25 Feb 2011 11:38:49 +0000 Subject: check_hpasm and check_openmanage over nrpe in windows Message-ID: <4D6794C9.3030808@flatto.net> Hello All I have encountered an issue with wanting to monitor HP and Dell servers running windows OS . The main issue is that due to security issue we can not use the NSClient++ internal functionality , but use the NRPE module option . I have not used the nrpe on windows boxes extensively before and wanted to know if anyone has deployed the check_hpasm and check_openmanage on windows boxes where the nagios server can only access the NPRE port and not have SNMP access direct to the server ? Thanks Assaf ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From infos at opendoc.net Fri Feb 25 13:20:58 2011 From: infos at opendoc.net (Alexandre) Date: Fri, 25 Feb 2011 13:20:58 +0100 Subject: check_hpasm and check_openmanage over nrpe in windows In-Reply-To: <4D6794C9.3030808@flatto.net> References: <4D6794C9.3030808@flatto.net> Message-ID: <4D679EAA.5020007@opendoc.net> hello, I think using nrpe is not a good idea. I use snmp Trap of dell openmanage for alert in Nagios. Alex On 25/02/2011 12:38, Assaf Flatto wrote: > Hello All > > I have encountered an issue with wanting to monitor HP and Dell servers > running windows OS . > The main issue is that due to security issue we can not use the > NSClient++ internal functionality , but use the NRPE module option . > I have not used the nrpe on windows boxes extensively before and wanted > to know if anyone has deployed the check_hpasm and check_openmanage on > windows boxes where the nagios server can only access the NPRE port and > not have SNMP access direct to the server ? > > > Thanks > > Assaf > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michal.lackovic at cz.schneider-electric.com Fri Feb 25 13:38:26 2011 From: michal.lackovic at cz.schneider-electric.com (michal.lackovic at cz.schneider-electric.com) Date: Fri, 25 Feb 2011 13:38:26 +0100 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: <00d401cbd439$e9f9d5c0$bded8140$@borsani@it.net> References: <00d401cbd439$e9f9d5c0$bded8140$@borsani@it.net> Message-ID: NagiosQL Michal "Marco Borsani" 24.02.2011 16:45 Please respond to Nagios Users List To "'Nagios Users List'" cc Subject [Nagios-users] Which GUI to configure Nagios 3 ? Hi all Actually we use an internal interface to configure all the Nagios contacts/hosts/services? I know that there are nice GUI to configure Nagios?which one do you know/use ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. ______________________________________________________________________ ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Fri Feb 25 14:20:23 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Fri, 25 Feb 2011 08:20:23 -0500 Subject: Which GUI to configure Nagios 3 ? In-Reply-To: References: <1018259033.96431.1298573685204.JavaMail.root@mail.nmcourts.gov> Message-ID: We do have 60+ sysadmins using a shared instance of Nagios without a configuration UI - all Nagios configuration files are in SVN, current we monitor around 5300 hosts. We found with a little training the sysadmins were happy to take the hit on learning in order to have the flexibility of the full power of the config language. We avoided implementing or integrating a web-based UI because all of them take away various capabilities of the language - we did not want to treat our audience like dummies, so instead we went the path of providing training and mentoring to them and empowered them to use the language themselves. Was this a lot of work for us, especially when we started? YES. Was it an approach that respected our user base and gave them the ability to do what they needed to do with minimal intervention from us? YES. - Max On 2/24/11, Breandan Dezendorf wrote: > On Thu, Feb 24, 2011 at 1:54 PM, Ennis Ibarra wrote: >> My two cents: >> >> Once you lock up your configuration to a given tool, then you stick with >> the >> tool capabilities to configure stuff.???? The real power is understanding >> the Nagios structure and files, leave the GUIs for presentation only. > > I agree - but when you're trying to serve a large community of > sysadmins, a GUI tool is a useful tool for getting the job done. I > can't teach 60+ admins how to write clean nagios configs, but I can > teach them to use web-based tools. > > -- > Breandan Dezendorf > breandan at dezendorf.com > bwdezend at gmail.com > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Fri Feb 25 15:05:38 2011 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 25 Feb 2011 14:05:38 +0000 Subject: check_hpasm and check_openmanage over nrpe in windows In-Reply-To: <4D679EAA.5020007@opendoc.net> References: <4D6794C9.3030808@flatto.net> <4D679EAA.5020007@opendoc.net> Message-ID: <4D67B732.6050304@flatto.net> the main issue is that SNMP is a clear text protocol and no way to encrypt the date , while you can encrypt the NRPE traffic with SSL . Assaf Alexandre wrote: > hello, > I think using nrpe is not a good idea. I use snmp Trap of dell > openmanage for alert in Nagios. > > Alex > > On 25/02/2011 12:38, Assaf Flatto wrote: > >> Hello All >> >> I have encountered an issue with wanting to monitor HP and Dell servers >> running windows OS . >> The main issue is that due to security issue we can not use the >> NSClient++ internal functionality , but use the NRPE module option . >> I have not used the nrpe on windows boxes extensively before and wanted >> to know if anyone has deployed the check_hpasm and check_openmanage on >> windows boxes where the nagios server can only access the NPRE port and >> not have SNMP access direct to the server ? >> >> >> Thanks >> >> Assaf >> ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Fri Feb 25 16:06:36 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Fri, 25 Feb 2011 10:06:36 -0500 Subject: check_hpasm and check_openmanage over nrpe in windows In-Reply-To: <4D67B732.6050304@flatto.net> References: <4D6794C9.3030808@flatto.net> <4D679EAA.5020007@opendoc.net> <4D67B732.6050304@flatto.net> Message-ID: you can configure the snmp agent to send snmp v3 traps with encryption. On 2/25/11, Assaf Flatto wrote: > the main issue is that SNMP is a clear text protocol and no way to > encrypt the date , while you can encrypt the NRPE traffic with SSL . > > Assaf > > > Alexandre wrote: >> hello, >> I think using nrpe is not a good idea. I use snmp Trap of dell >> openmanage for alert in Nagios. >> >> Alex >> >> On 25/02/2011 12:38, Assaf Flatto wrote: >> >>> Hello All >>> >>> I have encountered an issue with wanting to monitor HP and Dell servers >>> running windows OS . >>> The main issue is that due to security issue we can not use the >>> NSClient++ internal functionality , but use the NRPE module option . >>> I have not used the nrpe on windows boxes extensively before and wanted >>> to know if anyone has deployed the check_hpasm and check_openmanage on >>> windows boxes where the nagios server can only access the NPRE port and >>> not have SNMP access direct to the server ? >>> >>> >>> Thanks >>> >>> Assaf >>> > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT > data > generated by your applications, servers and devices whether physical, > virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From infos at opendoc.net Fri Feb 25 16:36:57 2011 From: infos at opendoc.net (Alexandre) Date: Fri, 25 Feb 2011 16:36:57 +0100 Subject: check_hpasm and check_openmanage over nrpe in windows In-Reply-To: References: <4D6794C9.3030808@flatto.net> <4D679EAA.5020007@opendoc.net> <4D67B732.6050304@flatto.net> Message-ID: <4D67CC99.6010803@opendoc.net> Thank you Max. On 25/02/2011 16:06, Max Schubert wrote: > you can configure the snmp agent to send snmp v3 traps with encryption. > > On 2/25/11, Assaf Flatto wrote: >> the main issue is that SNMP is a clear text protocol and no way to >> encrypt the date , while you can encrypt the NRPE traffic with SSL . >> >> Assaf >> >> >> Alexandre wrote: >>> hello, >>> I think using nrpe is not a good idea. I use snmp Trap of dell >>> openmanage for alert in Nagios. >>> >>> Alex >>> >>> On 25/02/2011 12:38, Assaf Flatto wrote: >>> >>>> Hello All >>>> >>>> I have encountered an issue with wanting to monitor HP and Dell servers >>>> running windows OS . >>>> The main issue is that due to security issue we can not use the >>>> NSClient++ internal functionality , but use the NRPE module option . >>>> I have not used the nrpe on windows boxes extensively before and wanted >>>> to know if anyone has deployed the check_hpasm and check_openmanage on >>>> windows boxes where the nagios server can only access the NPRE port and >>>> not have SNMP access direct to the server ? >>>> >>>> >>>> Thanks >>>> >>>> Assaf >>>> >> >> >> ------------------------------------------------------------------------------ >> Free Software Download: Index, Search& Analyze Logs and other IT data in >> Real-Time with Splunk. Collect, index and harness all the fast moving IT >> data >> generated by your applications, servers and devices whether physical, >> virtual >> or in the cloud. Deliver compliance at lower cost and gain new business >> insights. http://p.sf.net/sfu/splunk-dev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From infos at opendoc.net Fri Feb 25 16:40:51 2011 From: infos at opendoc.net (Alexandre) Date: Fri, 25 Feb 2011 16:40:51 +0100 Subject: check_hpasm and check_openmanage over nrpe in windows In-Reply-To: <4D67B732.6050304@flatto.net> References: <4D6794C9.3030808@flatto.net> <4D679EAA.5020007@opendoc.net> <4D67B732.6050304@flatto.net> Message-ID: <4D67CD83.4090906@opendoc.net> SNMP is a generic protocol. You can monitor server and switch with the same method. Alex On 25/02/2011 15:05, Assaf Flatto wrote: > the main issue is that SNMP is a clear text protocol and no way to > encrypt the date , while you can encrypt the NRPE traffic with SSL . > > Assaf > > > Alexandre wrote: >> hello, >> I think using nrpe is not a good idea. I use snmp Trap of dell >> openmanage for alert in Nagios. >> >> Alex >> >> On 25/02/2011 12:38, Assaf Flatto wrote: >> >>> Hello All >>> >>> I have encountered an issue with wanting to monitor HP and Dell servers >>> running windows OS . >>> The main issue is that due to security issue we can not use the >>> NSClient++ internal functionality , but use the NRPE module option . >>> I have not used the nrpe on windows boxes extensively before and wanted >>> to know if anyone has deployed the check_hpasm and check_openmanage on >>> windows boxes where the nagios server can only access the NPRE port and >>> not have SNMP access direct to the server ? >>> >>> >>> Thanks >>> >>> Assaf >>> > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sgreen at dotomi.com Fri Feb 25 17:02:47 2011 From: sgreen at dotomi.com (Shawn Green) Date: Fri, 25 Feb 2011 10:02:47 -0600 Subject: Multi-site frontend options Message-ID: I have multiple data centers around the US with 100+ nodes and roughly 1500 service checks per location. Rather than utilize nsca to report to one Nagios instance, I have setup separate "native" Nagios instances in each data center. Now the fun part.... I'd love to have one centralized interface for all locations. Ideally this is something that I can run from an apache instance that is located in my main data center (and separate from the monitoring host in that DC). I've been checking out check_mk Multisite and utilizing the livestatus plugin. There's a lot to like in it... interface layout, the ability to submit commands to any location from one interface, and the nagvis integration. There are also some things that are missing that may be deal breakers for me. Native LDAP (not using mod_ldap in apache), cacti integration on some level, and more granular user groups would be some. Regardless of the fact that we like check_mk Multisite, I'd like to see what other options are out there. What have you folks used & experienced? Thanks Shawn Shawn M. Green | Manager, Technical Operations -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 170 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Feb 25 17:13:29 2011 From: benny at bennyvision.com (C. Bensend) Date: Fri, 25 Feb 2011 10:13:29 -0600 Subject: check_hpasm and check_openmanage over nrpe in windows In-Reply-To: <4D6794C9.3030808@flatto.net> References: <4D6794C9.3030808@flatto.net> Message-ID: <7c5e4305be22da6926bbb93e57e8675e.squirrel@webmail.stinkweasel.net> > I have encountered an issue with wanting to monitor HP and Dell servers > running windows OS . > The main issue is that due to security issue we can not use the > NSClient++ internal functionality , but use the NRPE module option . > I have not used the nrpe on windows boxes extensively before and wanted > to know if anyone has deployed the check_hpasm and check_openmanage on > windows boxes where the nagios server can only access the NPRE port and > not have SNMP access direct to the server ? Sure, that's the only way I monitor my Windows systems. I don't use check_hpasm, but I use the hell out of check_openmanage (thank you, Trond!): [NRPE handlers] command[check_openmanage]=check_openmanage.exe -e -p -b bat_charge=ALL/ctrl_fw=ALL/ctrl_driver=ALL --omreport=F:\dellopenmanage\oma\bin\omreport.exe (sorry about line wrap) OMSA is prone to timeouts as its an "expensive" test to run, but it's saved our bacon many times. Benny -- "Hairy ape nads." -- Colleen, playing Neverwinter Nights ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Fri Feb 25 17:28:03 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Fri, 25 Feb 2011 11:28:03 -0500 Subject: Multi-site frontend options In-Reply-To: References: Message-ID: Definitely check out Merlin - through configuration you can have Nagios instances communicate events with each other using a few types of relationships and you can then serialize the data from an instance to a database for either using their custom UI or making one of your own. http://www.op5.org/community/plugin-inventory/op5-projects/merlin When we used it back in early 2010 it was not quite ready with regards to event distribution but I would think it is more mature by now - definitely worth spending some proof of concept time on to explore as an option. We have been using the database serialization portion of Merlin for the last 1.5 years, we have made mods for it to meet our purposes (hope to share some of that code soon on our github account - one cool thing we added was threaded MySQL connections from Merlind to the database which increased throughput tremendously). - Max -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From infos at opendoc.net Fri Feb 25 17:34:35 2011 From: infos at opendoc.net (Alexandre) Date: Fri, 25 Feb 2011 17:34:35 +0100 Subject: check_hpasm and check_openmanage over nrpe in windows In-Reply-To: <7c5e4305be22da6926bbb93e57e8675e.squirrel@webmail.stinkweasel.net> References: <4D6794C9.3030808@flatto.net> <7c5e4305be22da6926bbb93e57e8675e.squirrel@webmail.stinkweasel.net> Message-ID: <4D67DA1B.2070308@opendoc.net> You can also compile mib for trapHandler and user trap directly with nagios. snmpttconvertmib --in= --out=/etc/snmp/snmptt.conf. \ --exec='/usr/local/nagios/libexec/traps/trapHandler $aA $A $o' Alex On 25/02/2011 17:13, C. Bensend wrote: > >> I have encountered an issue with wanting to monitor HP and Dell servers >> running windows OS . >> The main issue is that due to security issue we can not use the >> NSClient++ internal functionality , but use the NRPE module option . >> I have not used the nrpe on windows boxes extensively before and wanted >> to know if anyone has deployed the check_hpasm and check_openmanage on >> windows boxes where the nagios server can only access the NPRE port and >> not have SNMP access direct to the server ? > > Sure, that's the only way I monitor my Windows systems. > > I don't use check_hpasm, but I use the hell out of check_openmanage > (thank you, Trond!): > > [NRPE handlers] > command[check_openmanage]=check_openmanage.exe -e -p -b > bat_charge=ALL/ctrl_fw=ALL/ctrl_driver=ALL > --omreport=F:\dellopenmanage\oma\bin\omreport.exe > > (sorry about line wrap) > > OMSA is prone to timeouts as its an "expensive" test to run, but it's > saved our bacon many times. > > Benny > > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rutger at blokje.net Fri Feb 25 17:46:22 2011 From: rutger at blokje.net (Rutger Blom) Date: Fri, 25 Feb 2011 17:46:22 +0100 Subject: Multi-site frontend options In-Reply-To: References: Message-ID: You should check out check_mk and its multisite: http://mathias-kettner.de/check_mk.html Rutger Den fredagen den 25:e februari 2011 skrev Shawn Green: > I have multiple data centers around the US with 100+ nodes and roughly 1500 service checks per location.? Rather than utilize nsca to report to one Nagios instance, I have setup separate ?native? Nagios instances in each data center.? ?Now the fun part?.? I?d love to have one centralized interface for all locations.? Ideally this is something that I can run from an apache instance that is located in my main data center (and separate from the monitoring host in that DC).? I?ve been checking out check_mk Multisite and utilizing the livestatus plugin.? There?s a lot to like in it? interface layout, the ability to submit commands to any location from one interface, and the nagvis integration.? There are also some things that are missing that may be deal breakers for me.? Native LDAP (not using mod_ldap in apache), cacti integration on some level, and more granular user groups would be some.?Regardless of the fact that we like check_mk Multisite, I?d like to see what other options are out there.? What have you folks used & experienced? ?ThanksShawn??Shawn M. Green | Manager, Technical Operations -- Rutger Blom Luzernv?gen 14 227 38 LUND Sweden Tel. +46 763 46 99 44 www.rutgerblom.com about.me/rutgerblom ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cwaters at jeld-wen.com Fri Feb 25 18:31:37 2011 From: cwaters at jeld-wen.com (Chris Waters) Date: Fri, 25 Feb 2011 09:31:37 -0800 Subject: Multi-site frontend options In-Reply-To: References: Message-ID: <4D67E779.6080403@jeld-wen.com> You should check really check out centreon. http://www.centreon.com/ On 02/25/2011 08:02 AM, Shawn Green wrote: > > I have multiple data centers around the US with 100+ nodes and roughly > 1500 service checks per location. Rather than utilize nsca to report > to one Nagios instance, I have setup separate "native" Nagios > instances in each data center. > > Now the fun part.... I'd love to have one centralized interface for > all locations. Ideally this is something that I can run from an > apache instance that is located in my main data center (and separate > from the monitoring host in that DC). I've been checking out check_mk > Multisite and utilizing the livestatus plugin. There's a lot to like > in it... interface layout, the ability to submit commands to any > location from one interface, and the nagvis integration. There are > also some things that are missing that may be deal breakers for me. > Native LDAP (not using mod_ldap in apache), cacti integration on some > level, and more granular user groups would be some. > > Regardless of the fact that we like check_mk Multisite, I'd like to > see what other options are out there. What have you folks used & > experienced? > > Thanks > > Shawn > > Shawn M. Green| Manager, Technical Operations > > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search& Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Thanks, Chris Waters WAN/LAN Technician Information Systems - Networks JELD-WEN, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 170 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 4280 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From challenger_joseph at yahoo.com.mx Sat Feb 26 11:46:26 2011 From: challenger_joseph at yahoo.com.mx (Christian Iñiguez) Date: Sat, 26 Feb 2011 02:46:26 -0800 (PST) Subject: 9 Message-ID: <959719.34381.qm@web36504.mail.mud.yahoo.com> Hello, baby! This is especially for you! I think you?ll enjoy!... http://soleholiday.com/links.php?eGIS=13um7 ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Markus.Schillo at inlis.de Sat Feb 26 12:01:14 2011 From: Markus.Schillo at inlis.de (Markus Schillo) Date: Sat, 26 Feb 2011 12:01:14 +0100 Subject: =?iso-8859-1?q?Markus_Schillo_ist_au=DFer_Haus=2E?= Message-ID: Ich werde ab 26.02.2011 nicht im B?ro sein. Ich kehre zur?ck am 13.03.2011. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. InLIS GmbH Innovative L?sungen Informationssysteme Service Gesch?ftsf?hrer Dipl.-Ing.(FH) Klaus Zehnder Sitz der Gesellschaft 78628 Rottweil Amtsgericht Stuttgart Registergericht HRB 470782 ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chiel at gmx.net Sun Feb 27 21:04:10 2011 From: chiel at gmx.net (chiel) Date: Sun, 27 Feb 2011 21:04:10 +0100 Subject: NOC display screen Message-ID: <4D6AAE3A.4000108@gmx.net> Hi all, I was wondering what everybody is using for there noc display screen. We have a display screen where I want to display both the host and service problems (if any). Using the normal nagios webpages we still have to click on either the "service" or "host" to display a particular problem. I see there is something called Naglite(v1,v2 and v3) which seems to do the trick. With a bit of tweaking this should work. Before I start configure I would like to know what you are all using. Regards, chiel ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at flatto.net Sun Feb 27 21:49:11 2011 From: nagios at flatto.net (Assaf Flatto) Date: Sun, 27 Feb 2011 20:49:11 +0000 Subject: NOC display screen In-Reply-To: <4D6AAE3A.4000108@gmx.net> References: <4D6AAE3A.4000108@gmx.net> Message-ID: <4D6AB8C7.1030907@flatto.net> chiel wrote: > Hi all, > > I was wondering what everybody is using for there noc display screen. We > have a display screen where I want to display both the host and service > problems (if any). Using the normal nagios webpages we still have to > click on either the "service" or "host" to display a particular problem. > I see there is something called Naglite(v1,v2 and v3) which seems to do > the trick. With a bit of tweaking this should work. Before I start > configure I would like to know what you are all using. > > Regards, > chiel > > If memory serves me right one option on the side bar is called "problems" which will show all problems , both hosts and services , and that will give you what you need. Also you can customize the status.cgi display URI to show the details you want. Assaf ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim at jimavery.me.uk Sun Feb 27 22:33:35 2011 From: jim at jimavery.me.uk (Jim Avery) Date: Sun, 27 Feb 2011 21:33:35 +0000 Subject: NOC display screen In-Reply-To: <4D6AAE3A.4000108@gmx.net> References: <4D6AAE3A.4000108@gmx.net> Message-ID: On 27 February 2011 20:04, chiel wrote: > Hi all, > > I was wondering what everybody is using for there noc display screen. We > have a display screen where I want to display both the host and service > problems (if any). Using the normal nagios webpages we still have to > click on either the "service" or "host" to display a particular problem. > I see there is something called Naglite(v1,v2 and v3) which seems to do > the trick. With a bit of tweaking this should work. Before I start > configure I would like to know what you are all using. A similar question came up here only a couple of weeks ago. This was my advice.. If it's any help to you, the URL I now use is: http://webserver/nagios/cgi-bin/status.cgi?host=all&hostprops=10&servicestatustypes=29&serviceprops=10&sorttype=2&sortoption=6&noheader Even though this doesn't explictly show hosts, if a host is down you will still see it on this page because its services will also be down (or unknown or whatever). According to the Display Filters panel which appears if you remove the "&noheader", this one shows: Host Status Types: All Host Properties: Not In Scheduled Downtime & Has Not Been Acknowledged Service Status Types: Pending | Unknown | Warning | Critical Service Properties: Not In Scheduled Downtime & Has Not Been Acknowledged and the sort is by state duration descending. Of course it won't show downed hosts if they have no services. I make sure all hosts have at least one service (even if that's just ping) so they can be seen on this service page. hth, Jim ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rochak41 at hotmail.com Sun Feb 27 22:32:42 2011 From: rochak41 at hotmail.com (Roch Akanor) Date: Sun, 27 Feb 2011 21:32:42 +0000 Subject: NOC display screen In-Reply-To: <4D6AAE3A.4000108@gmx.net> References: <4D6AAE3A.4000108@gmx.net> Message-ID: Hi chief, Did you try ngrt4n (ngrt4n.com). It may suit your need, though it is at a beta stage. Personnaly, I'm using it and I enjoy it. Regards, -- Roch A. > Date: Sun, 27 Feb 2011 21:04:10 +0100 > From: chiel at gmx.net > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NOC display screen > > Hi all, > > I was wondering what everybody is using for there noc display screen. We > have a display screen where I want to display both the host and service > problems (if any). Using the normal nagios webpages we still have to > click on either the "service" or "host" to display a particular problem. > I see there is something called Naglite(v1,v2 and v3) which seems to do > the trick. With a bit of tweaking this should work. Before I start > configure I would like to know what you are all using. > > Regards, > chiel > > ------------------------------------------------------------------------------ > Free Software Download: Index, Search & Analyze Logs and other IT data in > Real-Time with Splunk. Collect, index and harness all the fast moving IT data > generated by your applications, servers and devices whether physical, virtual > or in the cloud. Deliver compliance at lower cost and gain new business > insights. http://p.sf.net/sfu/splunk-dev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Jones at health.wa.gov.au Mon Feb 28 07:20:02 2011 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Mon, 28 Feb 2011 14:20:02 +0800 Subject: snmp OID on Packetshaper In-Reply-To: <002601cbd33e$737435e0$5a5ca1a0$@borsani@it.net> References: <002601cbd33e$737435e0$5a5ca1a0$@borsani@it.net> Message-ID: Hello Marco, Are you considering QOS on links subject to high utilization? Rgds, Stuart From: Marco Borsani [mailto:m.borsani at it.net] Sent: Wednesday, 23 February 2011 5:46 PM To: 'Nagios Users List' Subject: [Nagios-users] snmp OID on Packetshaper Importance: High Hi all Do you control via SNMP any packetshaper ? Do you know what I have to do to control it via Nagios and check_snmp command ? Regards Marco Borsani Unix and Monitoring Sysadmin Technical Operations Dpt. tel: +39 010 4310115 fax: +39 02 30130311 cell: +39 329 5953944 ITnet Srl Societ? con socio unico Direzione e Coordinamento di WIND TELECOM S.p.A. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Jones at health.wa.gov.au Mon Feb 28 07:24:18 2011 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Mon, 28 Feb 2011 14:24:18 +0800 Subject: snmp mib's and nsclient 3.8 In-Reply-To: <4D1C2CCEC6C4E448B52CE2BBCC201EC815B6C1420D@althamex1.micro-p.com> References: <4D1C2CCEC6C4E448B52CE2BBCC201EC815B6C1420D@althamex1.micro-p.com> Message-ID: Hello Tristan, Re. Netgear WiFi AP: Of the information you've nominated as being "of interest", what statistics are made available via either a web interface or telnet/ssh? Rgds, Stuart From: Tristan Drinkwater [mailto:tristand at micro-p.com] Sent: Wednesday, 23 February 2011 8:13 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] snmp mib's and nsclient 3.8 Hey guys and gals, I have two questions I hope someone can answer. The first is to do with nsclient 3.8. I currently have 3.3 installed on all my windows servers and I need to be able to use the newer client (3.8) with the older style commands. I've noticed the alias part of the ini file but could someone explain how to use them please? My next question is snmp mib related. I have a netgear wc7520 wireless management controller and I'd like to do some checks against it. Ideally I'd like to know how many clients are connected to the 3 different wireless networks on it (1 on separate VLAN) and the traffic rate it's pumping back out on to my network. I'll also check a ping and system uptime but I can handle those myself. I haven't been able to find ANY documentation from netgear on the mibs so I did a snmpwalk -v 2c -c public 172.xx.xx.xx > mibs, saved it to the /usr/share/snmp/mibs directory and got the data attached. I've tried running ./check_snmp -H 172.xx.xx.xx -o DISMAN-EVENT-MIB::mteEventComment."_snmpd".'_linkUp' -C public -P 2c But all I get is External command error: DISMAN-EVENT-MIB::mteEventComment._snmpd._linkUp: Unknown Object Identifier (Index out of range: _snmpd (mteOwner)) Any ideas?? Thanks in advance J Tristan ________________________________ Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sa185043 at ncr.com Mon Feb 28 13:51:02 2011 From: sa185043 at ncr.com (Anand, Sakshi) Date: Mon, 28 Feb 2011 07:51:02 -0500 Subject: Issue configuring MRTG Message-ID: <0270B60DC8448C4EA47D54E8CA8C554789DD3B5435@susday218.corp.ncr.com> All, I am getting following error when configuring MRTG. I want to use it to measure bandwidth using Nagios. checking for gdImageGif in -lgd... no checking for gdImagePng in -lgd... no checking for gdImagePng_jpg in -lgd... no checking for gdImagePng_jpg_ft in -lgd... no checking gd.h usability... yes checking gd.h presence... yes checking for gd.h... yes ** Ooops, one of many bad things happened: a) You don't have the GD library installed. Get it from http://www.boutell.com, compile it and use either --with-gd-lib=DIR and --with-gd-inc=DIR to specify its location. You might also have to use --with-z-inc, --with-z-lib and --with-png-inc, --with-png-lib for gd versions 1.6 and higher. Check config.log for more information on the problem. b) You have the GD library installed, but not the gd.h header file. Download the source (see above) and use --with-gd-inc=DIR to specify where the file can be found. c) You have the library and the header file installed, but you also have a shared GD library in the same directory. Remove the shared library files and/or links (e.g. libgd.so.2.0.0, libgd.so and libgd.so.2). This is especially likely if you're using a recent (post 1.8.4) version of GD and didn't configure it with --disable-shared. d) You have gd library installed and also it's headers, but you are missing libpng (and headers) or freetype (and headers) (mrtg does not use freetype, but if your copy of gd is precompiled against it, you have to install it ... Please help. Thanks & Regards, Sakshi Anand -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From giles at coochey.net Mon Feb 28 14:00:01 2011 From: giles at coochey.net (Giles Coochey) Date: Mon, 28 Feb 2011 14:00:01 +0100 Subject: Issue configuring MRTG In-Reply-To: <0270B60DC8448C4EA47D54E8CA8C554789DD3B5435@susday218.corp.ncr.com> References: <0270B60DC8448C4EA47D54E8CA8C554789DD3B5435@susday218.corp.ncr.com> Message-ID: <4D6B9C51.2090500@coochey.net> On 28/02/2011 13:51, Anand, Sakshi wrote: > All, > I am getting following error when configuring MRTG. I want to use it > to measure bandwidth using Nagios. > This seems like a MRTG problem, have you tried asking the MRTG Mailing list, or posting on the MRTG Web Forums? -- Best Regards, Giles Coochey NetSecSpec Ltd NL T-Systems Mobile: +31 681 265 086 NL Mobile: +31 626 508 131 GIB Mobile: +350 5401 6693 Email/MSN/Live Messenger: giles at coochey.net Skype: gilescoochey -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5137 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dirk.Lichterfeld at enercity.de Mon Feb 28 14:05:28 2011 From: Dirk.Lichterfeld at enercity.de (Lichterfeld, Dirk) Date: Mon, 28 Feb 2011 14:05:28 +0100 Subject: Error in performance-data-output Message-ID: <4B3D6EF9711E134BBC08DE28E31126E50A739F85@SRV-232.master.stadtwerke-hannover.de> > Hallo at all, > > I want to use "check_openmanage" to monitor some Dell servers with > Nagios. At the most of them we use as OS Windows Server 2003. > > I have a problem to get the performance results from the machines. > With the command "check_openmanage -p" I get a failure in Nagios like > "CHECK_NRPE: Socket Time Out" > > I checked the result of the Check an see what is happend. In the > return of the performance-data fails some signs. I highlight the > missing signs: > > > OUTPUT with NSClient++ in TestMode (where the highlighted signs are > not in the output): > > d NSClient++.cpp(1106) Injecting: Check_OpenManage: > d NSClient++.cpp(1142) Injected Result: OK 'OK - System: 'PowerEdge > R710 II', SN: 'XXXXXXX', 4 GB ra > m (2 dimms), 1 logical drives, 4 physical drives' > d NSClient++.cpp(1143) Injected Performance Result: > 'fan_0_system_board_fan_1_rpm'=3600;0;0 'fan_1_sys > tem_board_fan_2_rpm'=3600;0;0 'fan_2_system_board_fan_3_rpm'=3600;0;0 > 'fan_3_system_board_fan_4_rpm'=3600 > ;0;0 'fan_4_system_board_fan_5_rpm'=3600;0;0 > 'pwr_mon_0_ps_1_current'=0.4;0;0 'pwr_mon_1_ps_2_current'=0.4 > ;0;0 'pwr_mon_2_system_board_system_level'=175;917;966 > 'temp_0_system_board_ambient'=20;42;47 > ' > > > > OUTPUT with MS-DOS-Window (the highlighted signs are not in the > output): > > C:\Programme\check_openmanage-3.6.5>check_openmanage.exe -p > OK - System: 'PowerEdge R710 II', SN: 'XXXXXXX', 4 GB ram (2 dimms), 1 > logical drives, 4 physical > drives|'fan_0_system_board_fan_1_rpm'=3600;0;0 > 'fan_1_system_board_fan_2_rpm'=3600;0;0 > 'fan_2_system_board_fan_3_rpm'=3600;0;0 > 'fan_3_system_board_fan_4_rpm'=3600;0;0 > 'fan_4_system_board_fan_5_rpm'=3600;0;0 > 'pwr_mon_0_ps_1_current'=0.4;0;0 'pwr_mon_1_ps_2_current'=0.4;0;0 > 'pwr_mon_2_system_board_system_level'=175;917;966 > 'temp_0_system_board_ambient'=20;42;47 > > C:\Programme\check_openmanage-3.6.5> > > > > I hope you can fix this issue. > > With best regards > > Dirk Lichterfeld Stadtwerke Hannover AG Vorsitzender des Aufsichtsrates: Walter Meinhold Vorstand: Michael G. Feist (Vorsitzender), Harald Noske, Jochen Westerholz Sitz der Gesellschaft ist Hannover, Amtsgericht Hannover, HRB 6766 Nutzungshinweis: Wenn Sie nicht der vorgesehene Empfaenger dieser E-Mail sind oder diese irrtuemlich erhalten haben, so informieren Sie bitte den Absender. Beachten Sie bitte, dass eine unerlaubte inhaltliche Nutzung, Veroeffentlichung, Vervielfaeltigung oder Weitergabe an Dritte unzulaessig ist. Weitergehende Fragen richten Sie bitte an: it-sicherheit at enercity.de. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chesterman86 at gmail.com Mon Feb 28 19:41:09 2011 From: chesterman86 at gmail.com (Leonardo Carneiro) Date: Mon, 28 Feb 2011 15:41:09 -0300 Subject: Binary data on check_tcp/udp Message-ID: Hi everyone, Is there a way to send/receive binary data in the check_tcp/udp plugins, instead of strings, as used in the -s and -e parameters? The binary data could be readed from/checked against a serialized binary-data file. Tks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crhyner at box.net Mon Feb 28 19:45:14 2011 From: crhyner at box.net (Chad Rhyner) Date: Mon, 28 Feb 2011 10:45:14 -0800 Subject: WARNING: Unknown contact keyword: serviceescalation Message-ID: I have a problem with my nagios configuration, and I am unsure of what the cause is. I am a nagios n00b, so you will have to go easy on me! :-) Currently, I am seeing errors related to serviceescalation & hostescalations definitions, and they seem to give the identical error, Unknown contact. *WARNING: Unknown contact keyword: serviceescalation *I have looked at the nagios documentation, and verified that the serviceescalation definition has all of the required fields. In the serviceescalations that are defined, I have the following fields defined: - hostgroup_name - service_description - first_notification - last_notification - notification_interval - contact_groups All of the required fields are present, and I read in the documentation that you can define either host_name or hostgroup_name and contacts or contact_groups, and so this looks OK to me. I also tried to do a verification of the syntax of the nagios configuration by running a nagios -v *config_filename* And this output produced zero errors on the configuration. Another thought I had: Since it says unknown contact, I drilled down into the contacts. I see that the hostgroup_name is defined only with a *hostgroup_name* and *alias *set. According to the documentation, this is also valid syntax. I went and looked back at the host definition, and it does associate hosts with hostgroups that have been defined. So, the hosts have been associated with the hostgroups, and the serviceescalations (& the hostescalations for that matter) have been associated with the escalations. Does anybody have any other ideas what I should be looking for in tracking down the reason for this warning message? ~Chad -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Mon Feb 28 21:27:40 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Mon, 28 Feb 2011 15:27:40 -0500 Subject: WARNING: Unknown contact keyword: serviceescalation In-Reply-To: References: Message-ID: Please respond to the list with the version of Nagios you are using and an example contact and/or serviceescalation definition that you are using. - Max ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crhyner at box.net Mon Feb 28 22:47:46 2011 From: crhyner at box.net (Chad Rhyner) Date: Mon, 28 Feb 2011 13:47:46 -0800 Subject: WARNING: Unknown contact keyword: serviceescalation In-Reply-To: References: Message-ID: On Mon, Feb 28, 2011 at 12:27 PM, Max Schubert wrote: > Please respond to the list with the version of Nagios you are using > and an example contact and/or serviceescalation definition that you > are using. > > - Max > Certainly. The version I am using is 3.0.6. Here is a copy of the output: Nagios 3.0.6 Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) Last Modified: 12-01-2008 License: GPL This is being run on a 64-bit Linux machine. Here is an example of the serviceescalation definition: *define serviceescalation{ hostgroup_name sms service_description HTTP first_notification 1 last_notification 2 notification_interval 10 contact_groups oncall,email } * Here are the contactgroups related to that serviceescalation: *define contactgroup{ contactgroup_name oncall alias Oncall members user1,user2, } * *define contactgroup{ contactgroup_name email alias Email members user1_email,user2_email,user3_email,...usern_email, } * For both contactgroups oncall and email, there is a contact defined for each user that is named. I have changed the usernames for privacy reasons. ~Chad -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxs at webwizarddesign.com Mon Feb 28 23:37:37 2011 From: maxs at webwizarddesign.com (Max Schubert) Date: Mon, 28 Feb 2011 17:37:37 -0500 Subject: WARNING: Unknown contact keyword: serviceescalation In-Reply-To: References: Message-ID: Have you tried removing the trailing commas from the contact attribute 'members' for the two contactgroup defintions? - Max On Mon, Feb 28, 2011 at 4:47 PM, Chad Rhyner wrote: > On Mon, Feb 28, 2011 at 12:27 PM, Max Schubert > wrote: >> >> Please respond to the list with the version of Nagios you are using >> and an example contact and/or serviceescalation definition that you >> are using. >> >> - Max > > Certainly.? The version I am using is 3.0.6.? Here is a copy of the output: > > Nagios 3.0.6 > Copyright (c) 1999-2008 Ethan Galstad (http://www.nagios.org) > Last Modified: 12-01-2008 > License: GPL > > This is being run on a 64-bit Linux machine.? Here is an example of the > serviceescalation definition: > > define serviceescalation{ > ??????? hostgroup_name????????? sms > ??????? service_description???? HTTP > ??????? first_notification????? 1 > ??????? last_notification?????? 2 > ??????? notification_interval?? 10 > ??????? contact_groups????????? oncall,email > } > > Here are the contactgroups related to that serviceescalation: > > define contactgroup{ > ??????? contactgroup_name?????? oncall > ??????? alias?????????????????? Oncall > ??????? members???????????????? user1,user2, > } > > define contactgroup{ > ??????? contactgroup_name?????? email > ??????? alias?????????????????? Email > ??????? members > user1_email,user2_email,user3_email,...usern_email, > } > > For both contactgroups oncall and email, there is a contact defined for each > user that is named.? I have changed the usernames for privacy reasons. > > ~Chad > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null