From yu.watanabe at jp.fujitsu.com Wed Sep 1 09:01:05 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 01 Sep 2010 16:01:05 +0900 Subject: [Help] Behaviour of on-demand function for host check Message-ID: <201009010701.AA02359@S2007337.jp.fujitsu.com> Hello all. I would like to get some help with the on-demand ability for host check. In the manual it says , "Regularly scheduled host checks are optional. If you set the check_interval option in your host definition to zero (0), Nagios will not perform checks of the hosts on a regular basis. It will, however, still perform on-demand checks of the host as needed for other parts of the monitoring logic. " I thought if the 'check_interval' parameter was not specified , the host check would become as on-demand check. However, I have a following definition on a certain host but the check interval is '5 min'. * I have the time unit as the defualt value. # host object definition define host { host_name elangen alias elangen address 192.168.1.154 parents localhost hostgroups linux-servers check_command check-host-alive use generic-host register 1 } # host template object definition define host { name generic-host check_command check-host-alive max_check_attempts 3 retry_interval 1 check_period 24x7 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contacts nagiosadmin contact_groups admins notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_ failure_prediction_enabled 1 register 0 } Do I have to set the actual 'check_interval' as 0 in order to use the on-demand ability? Thank you Yu Watanabe ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b2 at playtime.bg Wed Sep 1 08:43:11 2010 From: b2 at playtime.bg (b2) Date: Wed, 01 Sep 2010 09:43:11 +0300 Subject: nagios reload from crontab on 5 mins ? Message-ID: <1283323391.2500.11.camel@valio> Hi all , I have to do rebuild my nagios2 configuration. The idea is to get hosts.cfg and hostgroups.cfg dynamically from MySQL DB , the 'get_config.pl' script first connects to db , retrieve hosts and then print values to hosts.cfg. , then reload nagios. Everything is fine with the hosts.cfg but if I put the 'get_config.pl' to crontab in 5 mins the nagios proccess terminates maybe because nagios own step is 5 minutes and two reloads at same time conflicts with each other ? Any suggestions when to reload nagios to work with the new config , or not to reload the nagios proccess an rely on its own 5 mins step reload ? Am i missing soemthing here ? Thanks in advance. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Wed Sep 1 09:00:03 2010 From: it.toonz at gmail.com (IT Toonz) Date: Wed, 1 Sep 2010 12:30:03 +0530 Subject: Centreon nagiosadmin login says invalid user!!! In-Reply-To: References: <4C6E5610.7010205@dsag.jazztel.es> <83be76c5-353a-48c2-9300-d7d413a615d6@email.android.com> <4c6e689d.0d308e0a.58f2.ffffb93b@mx.google.com> Message-ID: <4c7dfc01.01988e0a.27e9.ffff8472@mx.google.com> Hi Romain, Sorry for the late reply, we had some unexpected holidays!! Can you please explain in detail, we can't make head or tail from your advice, sorry, we are just starting on Nagios! Thanks for the help. Regards Ananth. From: Romain Le Merlus [mailto:rlemerlus at merethis.com] Sent: 20 August 2010 17:42 To: Nagios Users List Subject: Re: [Nagios-users] Centreon nagiosadmin login says invalid user!!! Hi Ananth, Let's init the "centreonadmin" password. Please launch the following command: #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u DATABASE-USER-NAME -p DATABASE-NAME -h DATABASE-IP Replace DATABASE-USER-NAME, DATABASE-NAME, DATABASE-IP with the correct values. The password for "centreonadmin" user will be "centreon". -- Romain LE MERLUS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 Sep 1 09:23:37 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 01 Sep 2010 16:23:37 +0900 Subject: [Help] Behaviour of on-demand function for host check In-Reply-To: <201009010701.AA02359@S2007337.jp.fujitsu.com> References: <201009010701.AA02359@S2007337.jp.fujitsu.com> Message-ID: <201009010723.AA02360@S2007337.jp.fujitsu.com> Hello all. I have attached the actual view that I am talking about. Nagios I am using is v3.0.6. Thank you! Yu Watanabe Yu Watanabe ????????: >Hello all. > >I would like to get some help with the on-demand ability for host check. >In the manual it says , > >"Regularly scheduled host checks are optional. If you set the check_interval option in your host definition to zero (0), Nagios will not perform checks >of the hosts on a regular basis. It will, however, still perform on-demand checks of the host as needed for other parts of the monitoring logic. " > >I thought if the 'check_interval' parameter was not specified , >the host check would become as on-demand check. > >However, I have a following definition on a certain host >but the check interval is '5 min'. > >* I have the time unit as the defualt value. > ># host object definition >define host { > host_name elangen > alias elangen > address 192.168.1.154 > parents localhost > hostgroups linux-servers > check_command check-host-alive > use generic-host > register 1 > } > ># host template object definition >define host { > name generic-host > check_command check-host-alive > max_check_attempts 3 > retry_interval 1 > check_period 24x7 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > contacts nagiosadmin > contact_groups admins > notification_period 24x7 > notification_options d,u,r,f > notifications_enabled 1 > action_url /pnp4nagios/index.php/graph?host=$HOSTNAME$&srv=_HOST_ > failure_prediction_enabled 1 > register 0 > >} > >Do I have to set the actual 'check_interval' as 0 in order to use the on-demand ability? > >Thank you >Yu Watanabe > > >------------------------------------------------------------------------------ >This SF.net Dev2Dev email is sponsored by: > >Show off your parallel programming skills. >Enter the Intel(R) Threading Challenge 2010. >http://p.sf.net/sfu/intel-thread-sfd >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 -------------- A non-text attachment was scrubbed... Name: nagiosconfig.JPG Type: image/jpeg Size: 31046 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 tonvoon at gmail.com Wed Sep 1 10:01:53 2010 From: tonvoon at gmail.com (Ton Voon) Date: Wed, 1 Sep 2010 09:01:53 +0100 Subject: nagios reload from crontab on 5 mins ? In-Reply-To: <1283323391.2500.11.camel@valio> References: <1283323391.2500.11.camel@valio> Message-ID: <8C82AFD7-1F53-476C-9277-17390DC76B82@gmail.com> On 1 Sep 2010, at 07:43, b2 wrote: > I have to do rebuild my nagios2 configuration. The idea is to get > hosts.cfg and hostgroups.cfg dynamically from MySQL DB , the > 'get_config.pl' script first connects to db , retrieve hosts and then > print values to hosts.cfg. , then reload nagios. Everything is fine > with > the hosts.cfg but if I put the 'get_config.pl' to crontab in 5 mins > the > nagios proccess terminates maybe because nagios own step is 5 minutes > and two reloads at same time conflicts with each other ? Any > suggestions > when to reload nagios to work with the new config , or not to reload > the nagios proccess an rely on its own 5 mins step reload ? Am i > missing > soemthing here ? Reloading every 5 minutes is not advised. You only want to reload when you've made changes to the DB. However, you've basically described Opsview (http://opsview.com): do configuration changes in the database, then generate Nagios configuration by kicking off a reload. Bonus points: Opsview will also generate the configurations on any distributed slave systems at the same time! Ton ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Wed Sep 1 10:37:08 2010 From: jm+nagios-users at roth.lu (J.M.) Date: Wed, 1 Sep 2010 08:37:08 +0000 (UTC) Subject: Overriding notification contacts Message-ID: Hey there, In case one has many services checked via wildcard templates: define service { name std use normal register 0 ;;; template host_name * ;;; ALL hosts check_period 24x7 ; contact_groups are inherited from host definitions } define service { name std_ping use std service_description PING .... check_command check_ping } Now suppose there are services for a few hosts that would need to have a different check_period (they have, in hosts.cfg). What would be the most elegant way to accomplish that without adding too many new services? Would/could the check_period maybe be inherited from the host? Don't think so. As far as I can see, just adding the concerned services with a specific host will only result in duplicate service definition warnings. Unless one would have to remember removing those specific hosts from the wildcard service while defining the more specific service. In that scenario some kind of override would be cool. Any thoughts that didn't cross my mind yet? Regards, JM ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 12:36:09 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 01 Sep 2010 19:36:09 +0900 Subject: On-demand ability for host check Message-ID: <201009011036.AA02363@S2007337.jp.fujitsu.com> Hello all. I apologize for asking questions consecutively. In the nagios manual it says that in on demand check host check occurs whenever the service state changes. Is the host check immediately scheduled whenever service state changes into first Soft State or Hard State? Thank you Yu Watanabe ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 1 12:44:15 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 01 Sep 2010 11:44:15 +0100 Subject: Overriding notification contacts In-Reply-To: References: Message-ID: <4C7E2E7F.2000603@flatto.net> On 01/09/10 09:37, J.M. wrote: > Hey there, > > In case one has many services checked via wildcard templates: > > define service { > name std > use normal > register 0 ;;; template > > host_name * ;;; ALL hosts > > check_period 24x7 > ; contact_groups are inherited from host definitions > } > > define service { > name std_ping > use std > > service_description PING > .... > check_command check_ping > } > > Now suppose there are services for a few hosts that would need to have a > different check_period (they have, in hosts.cfg). > > What would be the most elegant way to accomplish that without adding too many > new services? > > Would/could the check_period maybe be inherited from the host? Don't think so. > > As far as I can see, just adding the concerned services with a specific host > will only result in duplicate service definition warnings. Unless one would have > to remember removing those specific hosts from the wildcard service while > defining the more specific service. In that scenario some kind of override would > be cool. > > Any thoughts that didn't cross my mind yet? > > Regards, > JM > > > An alternate template with the changed parameter could do the trick . this will mean you build another template with another time period for the check and use that template for the services you need. Since the service in your example is a template and not and active one - there should be no conflicts . -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Wed Sep 1 13:39:34 2010 From: it.toonz at gmail.com (IT Toonz) Date: Wed, 1 Sep 2010 17:09:34 +0530 Subject: can't login to centreon In-Reply-To: <4C7E2E7F.2000603@flatto.net> References: <4C7E2E7F.2000603@flatto.net> Message-ID: <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> We are using Fully Automated Nagios 2.0. We used to login to Centreon using user name nagiosadmin and password nagiosadmin But recently we can't login to Centreon using the above credentials, we get error, invalid user. We believe we haven't changed anything, and we can login to Nagios web interface using the above credentials!! Please advice. We cannot monitor any devices without adding them in Centreon!! Kindly let us know if there are any workarounds. Regards Ananth. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 Sep 1 13:54:42 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 01 Sep 2010 20:54:42 +0900 Subject: Details about relation of host and service notifivation Message-ID: <201009011154.AA02364@S2007337.jp.fujitsu.com> Hello all. Would there be a detailed documentaion or link to mail archive explains about the relation of host notification and service notification , like service notification would be cancled whenever host status changes into HARD status? Thank you Yu Watanabe ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Wed Sep 1 14:31:03 2010 From: jm+nagios-users at roth.lu (J.M.) Date: Wed, 1 Sep 2010 12:31:03 +0000 (UTC) Subject: Overriding notification contacts References: <4C7E2E7F.2000603@flatto.net> Message-ID: Assaf Flatto flatto.net> writes: > > [ wildcard def here ] >> > > Now suppose there are services for a few hosts that would need to have a > > different check_period (they have, in hosts.cfg). > > > > What would be the most elegant way to accomplish that without adding too > >many new services? >> >> Would/could the check_period maybe be inherited from the host? >> Don't think so. >> >> As far as I can see, just adding the concerned services with a specific host >> will only result in duplicate service definition warnings. Unless one would >> have to remember removing those specific hosts from the wildcard service >> while >> defining the more specific service. In that scenario some kind of override >> would >> be cool. >> >> > An alternate template with the changed parameter could do the trick . > > this will mean you build another template with another time period for > the check and use that template for the services you need. > > Since the service in your example is a template and not and active one - > there should be no conflicts . > Hi, Can you elaborate or maybe show an example taking the above as a basis? The problem I have is that I can't leave the "host_name *" definition which is nice to have (no hosts are ever forgotten). Since in the example above, I inherit the wildcard in "std_ping" from "std", I'm not sure what easy way there would be to define exceptions.... JM ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.bader at gmail.com Wed Sep 1 15:40:50 2010 From: kyle.bader at gmail.com (Kyle Bader) Date: Wed, 1 Sep 2010 06:40:50 -0700 Subject: can't login to centreon In-Reply-To: <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> Message-ID: Hi Ananth, > we can login to Nagios web interface using the above credentials!! Centreon uses the centreon database for authentication, so that makes sense. > Kindly let us know if there are any workarounds. Romaine did.. ============= Please launch the following command: #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u DATABASE-USER-NAME -p DATABASE-NAME -h DATABASE-IP Replace DATABASE-USER-NAME, DATABASE-NAME, DATABASE-IP with the correct values. The password for "centreonadmin" user will be "centreon". ============= This resets the password hash in the centreon database back to the default, if your unsure of the db user/name/ip then you need to locate your centreon.conf.php and refresh your memory :) -- Kyle ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roets.marius at gmail.com Wed Sep 1 15:53:35 2010 From: roets.marius at gmail.com (Marius Roets) Date: Wed, 1 Sep 2010 15:53:35 +0200 Subject: Reporting Message-ID: Good day, What are popular applications used for reporting with Nagios. I have installed NDOUtils, and data is being capture in a MySQL database. I could process this data myself, but it would be nice if there was an application that already did this. Regards Marius -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 it.toonz at gmail.com Wed Sep 1 16:02:57 2010 From: it.toonz at gmail.com (IT Toonz) Date: Wed, 1 Sep 2010 19:32:57 +0530 Subject: can't login to centreon In-Reply-To: References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> Message-ID: <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> Thanks for the help Kyle. We gave the command by changing to our values, but still we can't login! Can you tell us the path to the file centreon.conf.php L centreon.JPG -----Original Message----- From: Kyle Bader [mailto:kyle.bader at gmail.com] Sent: 01 September 2010 19:11 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon Hi Ananth, > we can login to Nagios web interface using the above credentials!! Centreon uses the centreon database for authentication, so that makes sense. > Kindly let us know if there are any workarounds. Romaine did.. ============= Please launch the following command: #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u DATABASE-USER-NAME -p DATABASE-NAME -h DATABASE-IP Replace DATABASE-USER-NAME, DATABASE-NAME, DATABASE-IP with the correct values. The password for "centreonadmin" user will be "centreon". ============= This resets the password hash in the centreon database back to the default, if your unsure of the db user/name/ip then you need to locate your centreon.conf.php and refresh your memory :) -- Kyle ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 20342 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 diego.roccia at gmail.com Wed Sep 1 16:15:59 2010 From: diego.roccia at gmail.com (diego.roccia at gmail.com) Date: Wed, 1 Sep 2010 14:15:59 +0000 Subject: Reporting In-Reply-To: References: Message-ID: <2004049555-1283350552-cardhu_decombobulator_blackberry.rim.net-974094708-@bda204.bisx.produk.on.blackberry> I'm thinking to use jasper reports for this, but I haven't tried it yet. Sent from my BlackBerry? wireless device -----Original Message----- From: Marius Roets Date: Wed, 1 Sep 2010 15:53:35 To: Reply-To: Nagios Users List Subject: [Nagios-users] Reporting ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GJFRATER at bechtel.com Wed Sep 1 18:26:36 2010 From: GJFRATER at bechtel.com (Frater, Greg J) Date: Wed, 1 Sep 2010 09:26:36 -0700 Subject: Nagios did not send notification to some contacts --again In-Reply-To: References: <872CB0AEB377C240A112DD7C10B2592909A0C840@wtps0171.amers.ibechtel.com> Message-ID: <872CB0AEB377C240A112DD7C10B2592909A0C8D5@wtps0171.amers.ibechtel.com> Hi All, We had an event several weeks ago, it has happened again, I'm posted after the first time and reposting to the same thread because they are related. Sorry if this makes the it confusing. Marc thanks for the reply to the first event, see below for my responses. In the second event a host went down due to a power outage but only a portion of the contacts were sent notifications (which is the same problem as the first event). This is the second time, that I know of, that Nagios has failed to send to some of the contacts. The problem has now occurred on two different hosts. I can't explain why it's happening which does not instill confidence in our customers. Any help or suggestions in fixing this are greatly appreciated. This next part is from/for the first event -------------------- first event -------------------------------------- >> There was a routing issue on our WAN that caused this event, the SMTP server we use is across the WAN. Could the routing issue have prevented some of the SMTP notifications from being sent, wouldn't they just queue up and go once the problem was resolved? >They would be queued by the SMTP server running on your nagios machine. Redelivery attempts would occur based on the configuration there. Okay, makes sense. >> I have seen messages that did not arrive at the recipients phone but I've never seen Nagios not generate notifications for contacts that are configured for that host or service. Has anyone else seen this, any suggestions on a cause or how to troubleshoot? >- Check nagios.log for a HOST NOTIFICATION event for that group. Make sure there were no errors logged. nagios.log only shows notifications sent to some of the contacts, these notifications were received. >- Check your local SMTP server logs to see if the messages were received there and no errors were reported. Not necessary, nagios did not send the notifications >- Make sure that nagios has been restarted since adding this group and contacts. Done. The contact groups in question have been in place for many months. >- Make sure you don't have multiple nagios daemons running at the same time. Done. Only a single instance is running. ----------------------- end of first event --------------------------------- ------------------------ Second event with logs and configs ----------------- Below are the configs for the host from the second event. If you look the log at the bottom you'll see that 11 of 16 contacts were sent notifications, some but not all from each of the contact groups configured. I'm trying to figure out why. Does anyone see a problem with my configs? Host in question: CONFIGS: define host { host_name Host_A alias Host_A parents Host_B use upshost contact_groups +network-email,onguard register 1 } define contactgroup { contactgroup_name network-email alias Users who monitor the network - email only members netuser1,netuser2,netuser3 } define contactgroup { contactgroup_name onguard alias On Guard Admins members og_user1-phone,og_user2-phone,og_user3,og_user3-home,og_user3-phone,og_u ser4,og_user4-phone,og_user5-phone,og_user6,og_user6-phone,og_user7,og_u ser7-phone,og_user8 } define host { name upshost alias NetInfra UPS' template check_command check-host-alive use generic-pnp,generic-host max_check_attempts 5 check_interval 60 retry_interval 3 active_checks_enabled 1 passive_checks_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups network notification_interval 60 notification_period 24x7 notification_options d,u,r notifications_enabled 1 register 0 } Excerpt from nagios.log [1283265540] HOST NOTIFICATION: netuser2-cell;Host_A;UNREACHABLE;alert-host-by-sms;PING CRITICAL - Packet loss = 100% [1283265540] HOST NOTIFICATION: netuser2-pager;Host_A;UNREACHABLE;alert-host-by-modem;PING CRITICAL - Packet loss = 100% [1283265540] HOST NOTIFICATION: netuser2;Host_A;UNREACHABLE;alert-host-by-email-long;PING CRITICAL - Packet loss = 100% [1283265540] HOST NOTIFICATION: og_user8;Host_A;UNREACHABLE;alert-host-by-email-long;PING CRITICAL - Packet loss = 100% [1283265540] HOST NOTIFICATION: og_user7-phone;Host_A;UNREACHABLE;alert-host-by-sms;PING CRITICAL - Packet loss = 100% [1283265540] HOST NOTIFICATION: og_user7;Host_A;UNREACHABLE;alert-host-by-email-long;PING CRITICAL - Packet loss = 100% [1283265541] HOST NOTIFICATION: og_user6-phone;Host_A;UNREACHABLE;alert-host-by-email-short;PING CRITICAL - Packet loss = 100% [1283265541] HOST NOTIFICATION: og_user6;Host_A;UNREACHABLE;alert-host-by-email-long;PING CRITICAL - Packet loss = 100% [1283265541] HOST NOTIFICATION: og_user4;Host_A;UNREACHABLE;alert-host-by-email-long;PING CRITICAL - Packet loss = 100% [1283265541] HOST NOTIFICATION: og_user3-home;Host_A;UNREACHABLE;alert-host-by-email-short;PING CRITICAL - Packet loss = 100% [1283265541] HOST NOTIFICATION: og_user3;Host_A;UNREACHABLE;alert-host-by-email-long;PING CRITICAL - Packet loss = 100% [1283266180] HOST ALERT: Host_A;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266180] HOST NOTIFICATION: netuser2-cell;Host_A;UP;alert-host-by-sms;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266180] HOST NOTIFICATION: netuser2-pager;Host_A;UP;alert-host-by-modem;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266180] HOST NOTIFICATION: netuser2;Host_A;UP;alert-host-by-email-long;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266180] HOST NOTIFICATION: og_user8;Host_A;UP;alert-host-by-email-long;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266181] HOST NOTIFICATION: og_user7-phone;Host_A;UP;alert-host-by-sms;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266181] HOST NOTIFICATION: og_user7;Host_A;UP;alert-host-by-email-long;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266181] HOST NOTIFICATION: og_user6-phone;Host_A;UP;alert-host-by-email-short;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266181] HOST NOTIFICATION: og_user6;Host_A;UP;alert-host-by-email-long;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266181] HOST NOTIFICATION: og_user4;Host_A;UP;alert-host-by-email-long;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266182] HOST NOTIFICATION: og_user3-home;Host_A;UP;alert-host-by-email-short;PING OK - Packet loss = 0%, RTA = 0.50 ms [1283266182] HOST NOTIFICATION: og_user3;Host_A;UP;alert-host-by-email-long;PING OK - Packet loss = 0%, RTA = 0.50 ms --------------------- end of second event ------------------------------------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rswerdlow at emergentdiscovery.com Wed Sep 1 20:41:23 2010 From: rswerdlow at emergentdiscovery.com (Robert Swerdlow) Date: Wed, 1 Sep 2010 14:41:23 -0400 Subject: NRPE check_procs cutting off arguments? Message-ID: We are using Nagios 3.0.5 and one of our services monitors a particular job on a particular server: define service{ ... check_command check_nrpe!check_myown1_job } and in the nrpe.cfg file we define that command: command[check_myown1_job]=/usr/lib/nagios/plugins/check_procs -c 1:1 -a /home/myuser01/src/server/scripts/sync_api/ make_async_xmlrequest_libraries.py We just upgraded NRPE and this check started failing - it reported 0 processes. However, the process was running and the command works fine when run locally on the target machine. After some trial and error, I discovered that the arguments to the target process seem to be cut off. This works: command[check_myown1_job]=/usr/lib/nagios/plugins/check_procs -c 1:1 -a /home/myuser01/src/server/scripts/sync_api/make_as but this fails: command[check_myown1_job]=/usr/lib/nagios/plugins/check_procs -c 1:1 -a /home/myuser01/src/server/scripts/sync_api/make_asy The commands are identical except that the second one has one additional character ('y'). Any command longer than the first one fails. This also works: command[check_myown1_job]=/usr/lib/nagios/plugins/check_procs -c 1:1 -a make_as but this also fails: command[check_myown1_job]=/usr/lib/nagios/plugins/check_procs -c 1:1 -a make_asy So, it does not seem to be a problem in the argument string passed in, but rather in the arguments read from the remote machine. Is there some setting that controls size of the argument on the target machine that will allow me to specify the entire argument? Bob Swerdlow Chief Engineer Emergent Discovery rswerdlow at emergentdiscovery.com 207-774-3100 ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.bader at gmail.com Wed Sep 1 21:04:22 2010 From: kyle.bader at gmail.com (Kyle Bader) Date: Wed, 1 Sep 2010 12:04:22 -0700 Subject: can't login to centreon In-Reply-To: <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> Message-ID: > Can you tell us the path to the file centreon.conf.php I'm going to guess it's under /etc/centreon That's the default installation location for centos, which Fully Automated Nagios is based off of. -- Kyle ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wcooley at nakedape.cc Thu Sep 2 00:34:26 2010 From: wcooley at nakedape.cc (Wil Cooley) Date: Wed, 01 Sep 2010 15:34:26 -0700 Subject: Sane (ab)use of escalations? In-Reply-To: <1281911307.8120.113.camel@wiltop> References: <1281911307.8120.113.camel@wiltop> Message-ID: <1283380466.23125.4.camel@wildebeest.oit.pdx.edu> For the sake of posterity: The problem with the scheme that I have proposed below is that it breaks using contacts as web access-control for hosts, services, etc., so you have to use the 'authorized_for_*' directives in cgi.cfg. Wil On Sun, 2010-08-15 at 15:28 -0700, Wil Cooley wrote: > We are in the process of rebuilding our Nagios setup, which is an > ancient 1.x installation, to 3.2.1. > > We want to re-implement the following policy for notifications: > * During the work day, everyone in contactgroup gets notifications > * Outside of working hours, > * On-call person gets paged immediately > * Everyone in contactgroup gets paged after 5 notifications > > This is currently implemented by having 2 contact objects for every > user, one for work-hours and one for off-hours, each with appropriate > *_notification_periods. Notifications go to all N*2 contacts and the > individual contact's notification periods handles whether or not to > page. > > I believe we can implement the policy using escalations. First, all > hosts & services have a contact that delivers notifications to a shared > IMAP folder, to get around the requirement of these objects having > contacts. > > Next, to implement the work-hours piece, a service escalation such as: > > define serviceescalation { > hostgroup_name unix-hosts > service_description * > contact_groups unix-admins > first_notification 1 > last_notification 0 > escalation_period work-hours > } > > And a corresponding hostescalation. > > To implement the off-hours piece, escalations such as: > > define serviceescalation { > hostgroup_name unix-hosts > contact_groups on-call > service_description * > first_notification 1 > last_notification 0 > escalation_period off-hours > } > > define serviceescalation { > hostgroup_name unix-hosts > contact_groups unix-admins > service_description * > first_notification 5 > last_notification 0 > escalation_options c > escalation_period off-hours > } > > With this setup, all "real" notifications happen through these > escalations, in effect using them as a "servicenotification" object, > which kinda seems better from a data-normalization perspective (but > IANADBA). > > Does this seem like it should work as I expect? Can anyone see any > problems? I have not actually tried this, so I don't know if it works. > > As an aside, does anyone have any ideas of how to test this kind of > thing? Perhaps submitting passive check results and having timeperiods > of "oddminutes" and "evenminutes"? > > Wil > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by > > Make an app they can't live without > Enter the BlackBerry Developer Challenge > http://p.sf.net/sfu/RIM-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 -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 it.toonz at gmail.com Thu Sep 2 06:26:56 2010 From: it.toonz at gmail.com (IT Toonz) Date: Thu, 2 Sep 2010 09:56:56 +0530 Subject: can't login to centreon In-Reply-To: References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> Message-ID: <4c7f29a2.153f970a.20b9.1297@mx.google.com> Hi Kyle, Thanks for the continued support... Please look at the centreon.conf.php file... seems user is "root" we tried root and all passwords which we could think of... Still not able to login. Please advice. Regards Ananth. /* Database */ $conf_centreon['hostCentreon'] = "localhost"; $conf_centreon['hostCentstorage'] = "localhost"; $conf_centreon['user'] = "root"; $conf_centreon['password'] = ""; $conf_centreon['db'] = "centreon2"; $conf_centreon['dbcstg'] = "centreon2_storage"; -----Original Message----- From: Kyle Bader [mailto:kyle.bader at gmail.com] Sent: 02 September 2010 00:34 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon > Can you tell us the path to the file centreon.conf.php I'm going to guess it's under /etc/centreon That's the default installation location for centos, which Fully Automated Nagios is based off of. -- Kyle ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 Eliot.Picken at wenaas.co.uk Thu Sep 2 08:31:23 2010 From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk) Date: Thu, 2 Sep 2010 07:31:23 +0100 Subject: AUTO: Eliot Picken is out of the office (returning 03/09/2010) Message-ID: I am out of the office until 03/09/2010. I am currently out of the office, wihtout access to email. Your email has not been forwarded. For all enquiries, please contact Alex Lawrie on +44 (0) 1224 894 000 Best regards Eliot Note: This is an automated response to your message "Re: [Nagios-users] can't login to centreon" sent on 9/1/2010 8:04:22 PM. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rod at mwave.co.jp Thu Sep 2 09:19:41 2010 From: rod at mwave.co.jp (Roderick Andrew Clemente) Date: Thu, 2 Sep 2010 16:19:41 +0900 Subject: Problem with custom plugin on a remote linux box Message-ID: <000001cb4a6f$42cd57d0$c8680770$@mwave.co.jp> Hi All, Thanks for taking the time to read this. I am currently trying to setup Nagios to monitor a Feed Handler on a remote Linux box. I am so close I can taste it! Sadly, the nagios admin doesn't appear to be reading the command properly. I am new to Nagios so please bear with me, there are a lot of moving pieces so I thought i would provide as much information as possible to make it easy to figure out the issue. If there is something I am missing, please don't hesitate to ask. To start with, the admin is successfully monitoring other services on the box, ping, processes, disk usage, etc. but for the custom plugin I am trying to read, it fails with a status of CRITICAL and status info of NULL. Here is what I believe to be the relevant config info. On the machine being monitored I added the perl script I created to /usr/local/nagios/libexec/custom/ (its a modification of http://www.deimos.fr/gitweb/?p=nagios_plugins.git;a=blob;f=check_file_conten t/check_file_content.pl;h=ecf737389fd5a4360ee864eb55aca92056308445;hb=HEAD I have tested it from the command line and it works as expected) in the file: vi /usr/local/nagios/etc/nrpe.cfg i added command[check_wadmin]=perl /usr/local/nagios/libexec/custom/check_wadmin.pl -f /tmp/nagiosInput.txt -i wait -n 35 On the monitoring machine I already had the machine monitoring the remote linux box's basic stats, I did this by creating a remotelinuxhost.cfg file at /usr/local/nagios/etc/objects (and adding a reference in the main config) To remotelinuxhost.cfg I added: define service{ use generic-service ; Name of service template to use host_name Sun89 service_description Check Feed Handler check_command check_wadmin } I also added commands.cfg (in the same folder) define command{ command_name check_wadmin command_line perl /usr/local/nagios/libexec/custom/check_wadmin.pl -f /tmp/nagiosInput.txt -i wait -n 35 } When I reloaded the service, it accepted the config but the result is as listed above... if anyone has any suggestions it would be greatly appreciated!!! ???????????????????????????? Roderick Andrew Clemente Multi Wave Co., Ltd. 9F Kanda Tsukasa-cho Bldg., 2-2-12 Kanda Tsukasa-cho Chiyoda-ku, Tokyo 101 0048 Japan Tel: +81-3 3258 7080 Fax: +81-3 3258 7085 Email: rod at mwave.co.jp ???????????????????????????? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 dehne at tfd.uni-hannover.de Thu Sep 2 10:04:42 2010 From: dehne at tfd.uni-hannover.de (dehne at tfd.uni-hannover.de) Date: Thu, 02 Sep 2010 10:04:42 +0200 Subject: Webinterface tries to download a file (not 3D-Map!) Message-ID: <20100902100442.12664s5nqcbftuhm@webmail.rrzn.uni-hannover.de> Hello everyone. I just set up a webserver along with Nagios to use for our institute. Everything went fine (I followed the guide at http://www.debianhelp.co.uk/nagiosinstall.htm, using a Debian system) so far. However, if I try to access the webinterface via http://IP-adress/nagios, after logging in with the nagiosadmin account, the browser will download a [random-name].part file, which contains the following HTML code: Nagios <!-- This page requires a web browser which supports frames. --> <h2>Nagios</h2> <p align="center"> <a href="http://www.nagios.org/">www.nagios.org</a><br> Copyright (c) 1999-2009 Ethan Galstad<br> </p> <p> <i>Note: These pages require a browser which supports frames</i> </p> This was tested via Epiphany and Firefox in Debian and Firefox in Windows XP. I have not come across this problem in any documentation or the mailing list archives, so I hope someone can help me here. Best regards, -- Simon Dehne Institut f?r Turbomaschinen und Fluid-Dynamik (TFD) Gottfried Wilhelm Leibniz Universit?t Hannover Appelstr. 9 30167 Hannover Tel.: +49 511/762-17753 web: http://www.tfd.uni-hannover.de eMail: dehne at tfd.uni-hannover.de ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 12:13:28 2010 From: benny at bennyvision.com (C. Bensend) Date: Thu, 2 Sep 2010 05:13:28 -0500 Subject: Problem with custom plugin on a remote linux box In-Reply-To: <000001cb4a6f$42cd57d0$c8680770$@mwave.co.jp> References: <000001cb4a6f$42cd57d0$c8680770$@mwave.co.jp> Message-ID: <81fe8e76cca8c9c618d0ae9a51f942a3.squirrel@webmail.stinkweasel.net> > in the file: vi /usr/local/nagios/etc/nrpe.cfg i added > command[check_wadmin]=perl > /usr/local/nagios/libexec/custom/check_wadmin.pl > -f /tmp/nagiosInput.txt -i wait -n 35 Always use the full path to interpreters, as the Nagios environment is not the same as a normal shell user's. > I also added commands.cfg (in the same folder) > > define command{ > command_name check_wadmin > command_line perl /usr/local/nagios/libexec/custom/check_wadmin.pl -f > /tmp/nagiosInput.txt -i wait -n 35 > } Same with here. > When I reloaded the service, it accepted the config but the result is as > listed above... if anyone has any suggestions it would be greatly > appreciated!!! The command you have created above expects the check command to be on the local (Nagios) server, *not* the remote client. I don't think that's what you intend. Since your custom plugin is on the remote server and is configured within NRPE to be run, you need to use check_nrpe on the Nagios server to test it. Modify the check_wadmin command on the Nagios server to use the check_nrpe command to test it on the remote server, and I think you'll probably be OK. Benny -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org Thu Sep 2 13:00:03 2010 From: trevor_obba-/E1597aS9LT10XsdtD+oqA at public.gmane.org (trevor obba) Date: Thu, 2 Sep 2010 11:00:03 +0000 (GMT) Subject: (unknown) Message-ID: <141624.66415.qm@web29001.mail.ird.yahoo.com> http://tohygufe.00freehost.com/gawuxe.html Aamzing loyve is eaysy to make, ehwn you have our plules! Best brand pliules for men at lewost posvsible prices on-line! Help rouy manhooyd to stya like a mast, ursing our brand solutiions! From rpereyra at lavabit.com Thu Sep 2 13:27:30 2010 From: rpereyra at lavabit.com (rpereyra at lavabit.com) Date: Thu, 2 Sep 2010 07:27:30 -0400 (EDT) Subject: have a user with access to some host web reports only Message-ID: <58126.190.226.55.74.1283426850.squirrel@lavabit.com> Hi all. I'm new in this list. A simple question: It's possible to have user access per host monitoring ? I would like to have a user with access to some host web reports only. Thanks in advance. roberto ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rpereyra at lavabit.com Thu Sep 2 14:38:30 2010 From: rpereyra at lavabit.com (rpereyra at lavabit.com) Date: Thu, 2 Sep 2010 08:38:30 -0400 (EDT) Subject: have a user with access to some host web reports only In-Reply-To: <58126.190.226.55.74.1283426850.squirrel@lavabit.com> References: <58126.190.226.55.74.1283426850.squirrel@lavabit.com> Message-ID: <48308.190.226.55.74.1283431110.squirrel@lavabit.com> > Hi all. I'm new in this list. > > A simple question: > > It's possible to have user access per host monitoring ? > > I would like to have a user with access to some host web reports only. > > Thanks in advance. > > roberto > solved myself :) http://nagios.sourceforge.net/docs/3_0/cgiauth.html roberto ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tonvoon at gmail.com Thu Sep 2 15:46:29 2010 From: tonvoon at gmail.com (Ton Voon) Date: Thu, 2 Sep 2010 14:46:29 +0100 Subject: check_snmp new feature Message-ID: <6DCDEDAC-22C4-4A51-B432-E151A2B06410@gmail.com> Hi! Just want to let you know about a new blog article about the new feature in check_snmp where it measures rate changes in SNMP. http://bit.ly/cdNQlu It was developed for a customer of Opsview (http://opsview.com), but is now in Nagios Plugins for everyone to use. Enjoy! Thanks to Holger for ideas on the C interface to the state change functions. Ton ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 2 15:49:04 2010 From: subscription at kkeane.com (Kevin Keane) Date: Thu, 2 Sep 2010 06:49:04 -0700 Subject: Webinterface tries to download a file (not 3D-Map!) In-Reply-To: <20100902100442.12664s5nqcbftuhm@webmail.rrzn.uni-hannover.de> References: <20100902100442.12664s5nqcbftuhm@webmail.rrzn.uni-hannover.de> Message-ID: Check the MIME type. It should be text/html . Maybe for some reason Apache or the Nagios CGIs instead send application/binary or so. -----Original Message----- From: dehne at tfd.uni-hannover.de [mailto:dehne at tfd.uni-hannover.de] Sent: Thursday, September 02, 2010 1:05 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Webinterface tries to download a file (not 3D-Map!) Hello everyone. I just set up a webserver along with Nagios to use for our institute. Everything went fine (I followed the guide at http://www.debianhelp.co.uk/nagiosinstall.htm, using a Debian system) so far. However, if I try to access the webinterface via http://IP-adress/nagios, after logging in with the nagiosadmin account, the browser will download a [random-name].part file, which contains the following HTML code: Nagios <!-- This page requires a web browser which supports frames. --> <h2>Nagios</h2> <p align="center"> <a href="http://www.nagios.org/">www.nagios.org</a><br> Copyright (c) 1999-2009 Ethan Galstad<br> </p> <p> <i>Note: These pages require a browser which supports frames</i> </p> This was tested via Epiphany and Firefox in Debian and Firefox in Windows XP. I have not come across this problem in any documentation or the mailing list archives, so I hope someone can help me here. Best regards, -- Simon Dehne Institut f?r Turbomaschinen und Fluid-Dynamik (TFD) Gottfried Wilhelm Leibniz Universit?t Hannover Appelstr. 9 30167 Hannover Tel.: +49 511/762-17753 web: http://www.tfd.uni-hannover.de eMail: dehne at tfd.uni-hannover.de ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.bader at gmail.com Thu Sep 2 17:52:25 2010 From: kyle.bader at gmail.com (Kyle Bader) Date: Thu, 2 Sep 2010 08:52:25 -0700 Subject: can't login to centreon In-Reply-To: <4c7f29a2.153f970a.20b9.1297@mx.google.com> References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> <4c7f29a2.153f970a.20b9.1297@mx.google.com> Message-ID: > Thanks for the continued support... > > Please look at the centreon.conf.php file... seems user is ?root? we tried > root and all passwords which we could think of... You use this information combined with the command from earlier to reset the password hash: echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 127.0.0.1 If you didn't censor the password and the value really is "" then you probably only need to press enter when prompted for the password (from the command above). This is terribly insecure and should be changed at some point. -- Kyle ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 19:45:13 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 2 Sep 2010 18:45:13 +0100 Subject: Tuning for Passive Check latency In-Reply-To: <201008311111.AA02344@S2007337.jp.fujitsu.com> References: <201008311111.AA02344@S2007337.jp.fujitsu.com> Message-ID: 2010/8/31 Yu Watanabe : > Hello Jim. > > I apologize for late reply. > > Please see the attached file for the cpu status of the server. > > Thank you > Yu Watanabe MySQL seems to be using a lot of CPU. I'm no expert on MySQL though. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at mahalo.com Thu Sep 2 20:01:28 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Thu, 2 Sep 2010 11:01:28 -0700 Subject: Tuning for Passive Check latency In-Reply-To: References: <201008311111.AA02344@S2007337.jp.fujitsu.com> Message-ID: Yu, This might be up your alley: http://nagios.sourceforge.net/docs/2_0/tuning.html Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Thu, Sep 2, 2010 at 10:45 AM, Jim Avery wrote: > 2010/8/31 Yu Watanabe : > > Hello Jim. > > > > I apologize for late reply. > > > > Please see the attached file for the cpu status of the server. > > > > Thank you > > Yu Watanabe > > > MySQL seems to be using a lot of CPU. I'm no expert on MySQL though. > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 diego.roccia at gmail.com Thu Sep 2 22:48:15 2010 From: diego.roccia at gmail.com (diego.roccia at gmail.com) Date: Thu, 2 Sep 2010 20:48:15 +0000 Subject: Tuning for Passive Check latency In-Reply-To: References: <201008311111.AA02344@S2007337.jp.fujitsu.com> Message-ID: <83556502-1283460496-cardhu_decombobulator_blackberry.rim.net-43427940-@bda204.bisx.produk.on.blackberry> Better to go with the 3.0 version :) http://nagios.sourceforge.net/docs/3_0/tuning.html There is a common problem I experience with google indexing: every time I look for nagios docs, i'm redirected to old, (v2.0) one. Sent from my BlackBerry? wireless device -----Original Message----- From: "Dorfman, Justin" Date: Thu, 2 Sep 2010 11:01:28 To: Nagios Users List Reply-To: Nagios Users List Subject: Re: [Nagios-users] Tuning for Passive Check latency ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at mahalo.com Thu Sep 2 22:55:09 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Thu, 2 Sep 2010 13:55:09 -0700 Subject: Tuning for Passive Check latency In-Reply-To: <83556502-1283460496-cardhu_decombobulator_blackberry.rim.net-43427940-@bda204.bisx.produk.on.blackberry> References: <201008311111.AA02344@S2007337.jp.fujitsu.com> <83556502-1283460496-cardhu_decombobulator_blackberry.rim.net-43427940-@bda204.bisx.produk.on.blackberry> Message-ID: Oh Snap I didn't even realize that. Good call Diego! Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Thu, Sep 2, 2010 at 1:48 PM, wrote: > Better to go with the 3.0 version :) > > http://nagios.sourceforge.net/docs/3_0/tuning.html > > There is a common problem I experience with google indexing: every time I > look for nagios docs, i'm redirected to old, (v2.0) one. > > Sent from my BlackBerry? wireless device > > -----Original Message----- > From: "Dorfman, Justin" > Date: Thu, 2 Sep 2010 11:01:28 > To: Nagios Users List > Reply-To: Nagios Users List > Subject: Re: [Nagios-users] Tuning for Passive Check latency > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 Fri Sep 3 02:36:21 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Fri, 03 Sep 2010 09:36:21 +0900 Subject: Tuning for Passive Check latency In-Reply-To: References: Message-ID: <201009030036.AA02378@S2007337.jp.fujitsu.com> Hello Jim. Thank you for the reply. Yes MySQL seems to be dominating the CPU. But as far as I see the sar and free result , also taking the CPU spec into account, there seems to be space for Nagios to use more resource. So , first I will change the 'check_external_commands' to -1 and see what happens. Thanks! Jim Avery ????????: >2010/8/31 Yu Watanabe : >> Hello Jim. >> >> I apologize for late reply. >> >> Please see the attached file for the cpu status of the server. >> >> Thank you >> Yu Watanabe > > >MySQL seems to be using a lot of CPU. I'm no expert on MySQL though. > >------------------------------------------------------------------------------ >This SF.net Dev2Dev email is sponsored by: > >Show off your parallel programming skills. >Enter the Intel(R) Threading Challenge 2010. >http://p.sf.net/sfu/intel-thread-sfd >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ********************************************************************** ?????????????????????? ???????????? ????????? ?? ? E-Mail : yu.watanabe at jp.fujitsu.com Tel : 044-739-1570 ********************************************************************** ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 3 02:37:45 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Fri, 03 Sep 2010 09:37:45 +0900 Subject: Tuning for Passive Check latency In-Reply-To: References: Message-ID: <201009030037.AA02379@S2007337.jp.fujitsu.com> Hi Justin. Yes. I have seen the page. Had useful information in it. Thanks! Dorfman, Justin ????????: >Yu, > >This might be up your alley: >http://nagios.sourceforge.net/docs/2_0/tuning.html > > >Regards, > >Justin Dorfman >Mahalo.com Inc. > Jr. Systems Engineer >818.485.1458 >@jdorfman | >@MahaloSysops| Blog: >http://bit.ly/aNiWSk > > >On Thu, Sep 2, 2010 at 10:45 AM, Jim Avery wrote: > >> 2010/8/31 Yu Watanabe : >> > Hello Jim. >> > >> > I apologize for late reply. >> > >> > Please see the attached file for the cpu status of the server. >> > >> > Thank you >> > Yu Watanabe >> >> >> MySQL seems to be using a lot of CPU. I'm no expert on MySQL though. >> >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >______________________________________________________________________ > >------------------------------------------------------------------------------ >This SF.net Dev2Dev email is sponsored by: > >Show off your parallel programming skills. >Enter the Intel(R) Threading Challenge 2010. >http://p.sf.net/sfu/intel-thread-sfd >______________________________________________________________________ > >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ********************************************************************** ?????????????????????? ???????????? ????????? ?? ? E-Mail : yu.watanabe at jp.fujitsu.com Tel : 044-739-1570 ********************************************************************** ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Fri Sep 3 05:59:56 2010 From: it.toonz at gmail.com (IT Toonz) Date: Fri, 3 Sep 2010 09:29:56 +0530 Subject: can't login to centreon In-Reply-To: References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> <4c7f29a2.153f970a.20b9.1297@mx.google.com> Message-ID: <4c8074d1.0350e70a.0693.30f8@mx.google.com> Hi Kyle, Still not working L This is how we tried, please let us know if we made any mistakes. >From the prompt. [root at nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 42037 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 192.168.3.241 mysql> and like this.... [root at nagios ~]# #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%'" | mysql -u root -p centreon2 -h 192.168.3.241 Tried with centreonadmin and root, with password centreon, can?t login.... L We might have to reinstall and configure everthing.... Please advice... Regards Ananth. -----Original Message----- From: Kyle Bader [mailto:kyle.bader at gmail.com] Sent: 02 September 2010 21:22 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon > Thanks for the continued support... > > Please look at the centreon.conf.php file... seems user is ?root? we tried > root and all passwords which we could think of... You use this information combined with the command from earlier to reset the password hash: echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 127.0.0.1 If you didn't censor the password and the value really is "" then you probably only need to press enter when prompted for the password (from the command above). This is terribly insecure and should be changed at some point. -- Kyle ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 Gerald.Ortner at gespag.at Fri Sep 3 07:43:56 2010 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Fri, 3 Sep 2010 07:43:56 +0200 Subject: can't login to centreon In-Reply-To: <4c8074d1.0350e70a.0693.30f8@mx.google.com> References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> <4c7f29a2.153f970a.20b9.1297@mx.google.com> <4c8074d1.0350e70a.0693.30f8@mx.google.com> Message-ID: <13579FFE8B208F4DBA327EE25F804AAB9A7294B1@swvbpheaglxmb02.health.local> Hi, AFAIK the first one wont? work because every string after the hash (#) symbol is treated as comment. Correct me if I?m wrong For mysql prompt use: update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '% centreonadmin %; If the update was successful the output should look like this: Query OK, 1 row affected (0.02 sec) Rows matched: 1 Changed: 1 Warnings: 0 The latter one won?t work if there is no contact with an alias like root? For command line use: echo ?update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2? To verify if the update was successful, you can issue following command: Mysql prompt: select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%' CLI: echo ?select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%'? | mysql -u root -p centreon2? You don?t need the ?h option if you are working on locally on the server Gerald Von: IT Toonz [mailto:it.toonz at gmail.com] Gesendet: Freitag, 03. September 2010 06:00 An: 'Nagios Users List' Betreff: Re: [Nagios-users] can't login to centreon Hi Kyle, Still not working ? This is how we tried, please let us know if we made any mistakes. From the prompt. [root at nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 42037 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 192.168.3.241 mysql> and like this.... [root at nagios ~]# #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%'" | mysql -u root -p centreon2 -h 192.168.3.241 Tried with centreonadmin and root, with password centreon, can?t login.... ? We might have to reinstall and configure everthing.... Please advice... Regards Ananth. -----Original Message----- From: Kyle Bader [mailto:kyle.bader at gmail.com] Sent: 02 September 2010 21:22 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon > Thanks for the continued support... > > Please look at the centreon.conf.php file... seems user is ?root? we tried > root and all passwords which we could think of... You use this information combined with the command from earlier to reset the password hash: echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 127.0.0.1 If you didn't censor the password and the value really is "" then you probably only need to press enter when prompted for the password (from the command above). This is terribly insecure and should be changed at some point. -- Kyle ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ________________________________ OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 it.toonz at gmail.com Fri Sep 3 09:34:13 2010 From: it.toonz at gmail.com (IT Toonz) Date: Fri, 3 Sep 2010 13:04:13 +0530 Subject: can't login to centreon In-Reply-To: <13579FFE8B208F4DBA327EE25F804AAB9A7294B1@swvbpheaglxmb02.health.local> References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> <4c7f29a2.153f970a.20b9.1297@mx.google.com> <4c8074d1.0350e70a.0693.30f8@mx.google.com> <13579FFE8B208F4DBA327EE25F804AAB9A7294B1@swvbpheaglxmb02.health.local> Message-ID: <4c80a709.0350e70a.7d1e.39fa@mx.google.com> Hi Gerald, [root at nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 45494 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u centreonadmin -p centreon2 -h 192.168.3.241 -> "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u centreonadmin -p centreon2 -> Nothing happens...we just get the prompt... L Even verification also, it just returns the command. Please advice. Regards Ananth. From: Ortner, Gerald [mailto:Gerald.Ortner at gespag.at] Sent: 03 September 2010 11:14 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon Hi, AFAIK the first one wont? work because every string after the hash (#) symbol is treated as comment. Correct me if I?m wrong For mysql prompt use: update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '% centreonadmin %; If the update was successful the output should look like this: Query OK, 1 row affected (0.02 sec) Rows matched: 1 Changed: 1 Warnings: 0 The latter one won?t work if there is no contact with an alias like root? For command line use: echo ?update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2? To verify if the update was successful, you can issue following command: Mysql prompt: select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%' CLI: echo ?select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%'? | mysql -u root -p centreon2? You don?t need the ?h option if you are working on locally on the server Gerald Von: IT Toonz [mailto:it.toonz at gmail.com] Gesendet: Freitag, 03. September 2010 06:00 An: 'Nagios Users List' Betreff: Re: [Nagios-users] can't login to centreon Hi Kyle, Still not working L This is how we tried, please let us know if we made any mistakes. >From the prompt. [root at nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 42037 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 192.168.3.241 mysql> and like this.... [root at nagios ~]# #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%'" | mysql -u root -p centreon2 -h 192.168.3.241 Tried with centreonadmin and root, with password centreon, can?t login.... L We might have to reinstall and configure everthing.... Please advice... Regards Ananth. -----Original Message----- From: Kyle Bader [mailto:kyle.bader at gmail.com] Sent: 02 September 2010 21:22 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon > Thanks for the continued support... > > Please look at the centreon.conf.php file... seems user is ?root? we tried > root and all passwords which we could think of... You use this information combined with the command from earlier to reset the password hash: echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 127.0.0.1 If you didn't censor the password and the value really is "" then you probably only need to press enter when prompted for the password (from the command above). This is terribly insecure and should be changed at some point. -- Kyle ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____ OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 Gerald.Ortner at gespag.at Fri Sep 3 11:00:39 2010 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Fri, 3 Sep 2010 11:00:39 +0200 Subject: can't login to centreon In-Reply-To: <4c80a709.0350e70a.7d1e.39fa@mx.google.com> References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> <4c7f29a2.153f970a.20b9.1297@mx.google.com> <4c8074d1.0350e70a.0693.30f8@mx.google.com><13579FFE8B208F4DBA327EE25F804AAB9A7294B1@swvbpheaglxmb02.health.local> <4c80a709.0350e70a.7d1e.39fa@mx.google.com> Message-ID: <13579FFE8B208F4DBA327EE25F804AAB9A729527@swvbpheaglxmb02.health.local> Hi Gerald, Try the command I?ve provided! No need for the pipe command nor double quotes! Just execute : update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '% centreonadmin %; at the mysql command prompt!! Every SQL statement ends with a semicolon (;) At least try to read carefully the advices people give you. Maybe your problem would have been solved days ago? Gerald Von: IT Toonz [mailto:it.toonz at gmail.com] Gesendet: Freitag, 03. September 2010 09:34 An: 'Nagios Users List' Betreff: Re: [Nagios-users] can't login to centreon Hi Gerald, [root at nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 45494 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u centreonadmin -p centreon2 -h 192.168.3.241 -> "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u centreonadmin -p centreon2 -> Nothing happens...we just get the prompt... ? Even verification also, it just returns the command. Please advice. Regards Ananth. From: Ortner, Gerald [mailto:Gerald.Ortner at gespag.at] Sent: 03 September 2010 11:14 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon Hi, AFAIK the first one wont? work because every string after the hash (#) symbol is treated as comment. Correct me if I?m wrong For mysql prompt use: update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '% centreonadmin %; If the update was successful the output should look like this: Query OK, 1 row affected (0.02 sec) Rows matched: 1 Changed: 1 Warnings: 0 The latter one won?t work if there is no contact with an alias like root? For command line use: echo ?update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2? To verify if the update was successful, you can issue following command: Mysql prompt: select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%' CLI: echo ?select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%'? | mysql -u root -p centreon2? You don?t need the ?h option if you are working on locally on the server Gerald Von: IT Toonz [mailto:it.toonz at gmail.com] Gesendet: Freitag, 03. September 2010 06:00 An: 'Nagios Users List' Betreff: Re: [Nagios-users] can't login to centreon Hi Kyle, Still not working ? This is how we tried, please let us know if we made any mistakes. From the prompt. [root at nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 42037 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 192.168.3.241 mysql> and like this.... [root at nagios ~]# #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%'" | mysql -u root -p centreon2 -h 192.168.3.241 Tried with centreonadmin and root, with password centreon, can?t login.... ? We might have to reinstall and configure everthing.... Please advice... Regards Ananth. -----Original Message----- From: Kyle Bader [mailto:kyle.bader at gmail.com] Sent: 02 September 2010 21:22 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon > Thanks for the continued support... > > Please look at the centreon.conf.php file... seems user is ?root? we tried > root and all passwords which we could think of... You use this information combined with the command from earlier to reset the password hash: echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 127.0.0.1 If you didn't censor the password and the value really is "" then you probably only need to press enter when prompted for the password (from the command above). This is terribly insecure and should be changed at some point. -- Kyle ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ________________________________ OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p ________________________________ OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 it.toonz at gmail.com Fri Sep 3 11:50:55 2010 From: it.toonz at gmail.com (IT Toonz) Date: Fri, 3 Sep 2010 15:20:55 +0530 Subject: can't login to centreon In-Reply-To: <13579FFE8B208F4DBA327EE25F804AAB9A729527@swvbpheaglxmb02.health.local> References: <4C7E2E7F.2000603@flatto.net> <4c7e3d85.2104720a.4d9b.ffffc19b@mx.google.com> <4c7e5f22.1f968e0a.0b53.71fb@mx.google.com> <4c7f29a2.153f970a.20b9.1297@mx.google.com> <4c8074d1.0350e70a.0693.30f8@mx.google.com><13579FFE8B208F4DBA327EE25F804AAB9A7294B1@swvbpheaglxmb02.health.local> <4c80a709.0350e70a.7d1e.39fa@mx.google.com> <13579FFE8B208F4DBA327EE25F804AAB9A729527@swvbpheaglxmb02.health.local> Message-ID: <4c80c717.17bb720a.4b08.ffff8327@mx.google.com> We reinstalled FAN 2.0 and these are the users available. Can?t find centreonadmin!!! Not sure if we are using a different FAN!! Thanks for all your help, Sure Gerald will do so... I?m trying Nagios inbetween doing other tasks and client support calls, that why couldn?t concentrate more on it. J Copying back the conf files now... will be back with any issues as soon as we face them.... centreon users.JPG From: Ortner, Gerald [mailto:Gerald.Ortner at gespag.at] Sent: 03 September 2010 14:31 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon Hi Gerald, Try the command I?ve provided! No need for the pipe command nor double quotes! Just execute : update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '% centreonadmin %; at the mysql command prompt!! Every SQL statement ends with a semicolon (;) At least try to read carefully the advices people give you. Maybe your problem would have been solved days ago? Gerald Von: IT Toonz [mailto:it.toonz at gmail.com] Gesendet: Freitag, 03. September 2010 09:34 An: 'Nagios Users List' Betreff: Re: [Nagios-users] can't login to centreon Hi Gerald, [root at nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 45494 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u centreonadmin -p centreon2 -h 192.168.3.241 -> "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u centreonadmin -p centreon2 -> Nothing happens...we just get the prompt... L Even verification also, it just returns the command. Please advice. Regards Ananth. From: Ortner, Gerald [mailto:Gerald.Ortner at gespag.at] Sent: 03 September 2010 11:14 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon Hi, AFAIK the first one wont? work because every string after the hash (#) symbol is treated as comment. Correct me if I?m wrong For mysql prompt use: update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '% centreonadmin %; If the update was successful the output should look like this: Query OK, 1 row affected (0.02 sec) Rows matched: 1 Changed: 1 Warnings: 0 The latter one won?t work if there is no contact with an alias like root? For command line use: echo ?update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2? To verify if the update was successful, you can issue following command: Mysql prompt: select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%' CLI: echo ?select contact_passwd, contact_alias from contact where contact_alias like '%centreonadmin%'? | mysql -u root -p centreon2? You don?t need the ?h option if you are working on locally on the server Gerald Von: IT Toonz [mailto:it.toonz at gmail.com] Gesendet: Freitag, 03. September 2010 06:00 An: 'Nagios Users List' Betreff: Re: [Nagios-users] can't login to centreon Hi Kyle, Still not working L This is how we tried, please let us know if we made any mistakes. >From the prompt. [root at nagios ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 42037 Server version: 5.0.77 Source distribution Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use centreon2 Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 192.168.3.241 mysql> and like this.... [root at nagios ~]# #echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%root%'" | mysql -u root -p centreon2 -h 192.168.3.241 Tried with centreonadmin and root, with password centreon, can?t login.... L We might have to reinstall and configure everthing.... Please advice... Regards Ananth. -----Original Message----- From: Kyle Bader [mailto:kyle.bader at gmail.com] Sent: 02 September 2010 21:22 To: Nagios Users List Subject: Re: [Nagios-users] can't login to centreon > Thanks for the continued support... > > Please look at the centreon.conf.php file... seems user is ?root? we tried > root and all passwords which we could think of... You use this information combined with the command from earlier to reset the password hash: echo "update contact set contact_passwd = '2995cb0650c5f107230ed569a8c4d6e5' where contact_alias like '%centreonadmin%'" | mysql -u root -p centreon2 -h 127.0.0.1 If you didn't censor the password and the value really is "" then you probably only need to press enter when prompted for the password (from the command above). This is terribly insecure and should be changed at some point. -- Kyle ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null _____ OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p _____ OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 55906 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 gerard.lancellotti at mpsa.com Fri Sep 3 12:56:35 2010 From: gerard.lancellotti at mpsa.com (gerard.lancellotti at mpsa.com) Date: Fri, 3 Sep 2010 12:56:35 +0200 Subject: Select view on GUI nagios Message-ID: hi all I'm using Nagios 3.2 for monitoring about 500 machines. My users belong to different departments I will give you access services and host for that they contact. they are in the contacts.cfg file, have been added to a contactgroup.cfg entry, and that contactgroup is added to a host/service. But this work fine for the hosts , but for the services they have this message : "It appears as though you do not have permission to view information for any of the hosts you requested" . have somebody a solution ? if necessary i can give the description.cfg Thank"s Cordialement G?rard Lancellotti Psa Peugeot Citro?n DCSI/DSIN/INSI/ETSO/IPSL T?l 01 30 19 93 90 / 06 80 90 45 90 Fax 01 30 19 77 80 E.Mail gerard.lancellotti at mpsa.com PYPY10/106 case 60 Ce message peut contenir des informations confidentielles. S'il ne vous est pas destin?, merci de le d?truire et d'informer imm?diatement son ?metteur. Pour plus d'informations relatives ? la confidentialit? et ? la s?curit? veuillez consulter http://disclaimer.psa-peugeot-citroen.com. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danilo.godec at agenda.si Mon Sep 6 10:38:19 2010 From: danilo.godec at agenda.si (Danilo Godec) Date: Mon, 06 Sep 2010 10:38:19 +0200 Subject: Mixed-mode distributed Nagios setup? Message-ID: <4C84A87B.1030808@agenda.si> Is it possible to setup several Nagios monitoring servers to operate in a 'stand-alone' mode, but also send data to the 'central monitoring server'? We have several networks which are currently monitored by one Nagios server. Because there is an IT team for every network, we'd like to setup monitoring servers into each network to perform checks and notifications... But since there is one 'head' IT team, we'd also like to send all check results to a 'central' monitoring server, which ideally would also monitor it's local network... Is this achievable with Nagios? Danilo ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 6 10:50:23 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 06 Sep 2010 09:50:23 +0100 Subject: Mixed-mode distributed Nagios setup? In-Reply-To: <4C84A87B.1030808@agenda.si> References: <4C84A87B.1030808@agenda.si> Message-ID: <4C84AB4F.3020202@flatto.net> Yes , that easily done . All the "node" nagios server are installed as a stand alone , and the central one have a copy of all the configuration of all the nodes in it's configuration files ( or equivalent to make sure all services and hosts on remote node checks are identified by the central one) , and add to the node servers the nsca submit script - and the nsca daemon on the central one . that will give the main IT team a global view and each local team their own nagios to work with . Just make sure that any change on a remote node is also reflected on the central one. Assaf On 06/09/10 09:38, Danilo Godec wrote: > Is it possible to setup several Nagios monitoring servers to operate in > a 'stand-alone' mode, but also send data to the 'central monitoring server'? > > We have several networks which are currently monitored by one Nagios > server. Because there is an IT team for every network, we'd like to > setup monitoring servers into each network to perform checks and > notifications... > > But since there is one 'head' IT team, we'd also like to send all check > results to a 'central' monitoring server, which ideally would also > monitor it's local network... > > Is this achievable with Nagios? > > Danilo > > > -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 6 13:57:37 2010 From: nagios at smetj.net (Jelle Smet) Date: Mon, 06 Sep 2010 13:57:37 +0200 Subject: Having single or double quotes in a custom variable Message-ID: <9a2d02338efdc156e0b9bb739bd64a10@mail.smetj.net> Hi I have a custom host variable define likes this: _blah "one two three four" a b c d I want to use this custom variable in a command to execute like this: define command{ command_name check_linux_nrpe_all_disks command_line /bin/echo $_HOSTBLAH$ > /tmp/fubar.txt } In /tmp/fubar.txt I have this line of text without the quotes: one two three fou a b c d How can I keep the quotes? They can be single or double quotes it doesn't matter. -- Jelle Smet http://www.smetj.net -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 diego.roccia at gmail.com Mon Sep 6 14:39:51 2010 From: diego.roccia at gmail.com (Diego Roccia) Date: Mon, 6 Sep 2010 14:39:51 +0200 Subject: Having single or double quotes in a custom variable In-Reply-To: <9a2d02338efdc156e0b9bb739bd64a10@mail.smetj.net> References: <9a2d02338efdc156e0b9bb739bd64a10@mail.smetj.net> Message-ID: You must to escape them _blah \"one two three four\" a b c d Diego On Mon, Sep 6, 2010 at 1:57 PM, Jelle Smet wrote: > Hi I have a custom host variable define likes this: > > _blah ? ? ? ? ? "one two three four" a b c d > > I want to use this custom variable in a command to execute like this: > > define command{ > > command_name ? ?check_linux_nrpe_all_disks > > command_line ? ?/bin/echo $_HOSTBLAH$ > /tmp/fubar.txt > > } > > In /tmp/fubar.txt I have this line of text without the quotes: > > one two three fou a b c d > > How can I keep the quotes? They can be single or double quotes it doesn't > matter. > > -- > Jelle Smet > http://www.smetj.net > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Diego Roccia diego.roccia (at) gmail (dot) com ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 6 15:15:11 2010 From: nagios at smetj.net (Jelle Smet) Date: Mon, 6 Sep 2010 13:15:11 +0000 (UTC) Subject: =?utf-8?q?Having_single_or_double_quotes_in_a_cust?= =?utf-8?q?om=09variable?= References: <9a2d02338efdc156e0b9bb739bd64a10@mail.smetj.net> Message-ID: > You must to escape them > > _blah \"one two three four\" a b c d > Thanks for the answer but when I do that, my check goes to critical the Status Information is: (null) The file /tmp/fubar.txt is not created. Any thoughts? ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 xodus.org Mon Sep 6 15:32:12 2010 From: lists at xodus.org (Marc Powell) Date: Mon, 6 Sep 2010 08:32:12 -0500 Subject: Having single or double quotes in a custom variable In-Reply-To: <9a2d02338efdc156e0b9bb739bd64a10@mail.smetj.net> References: <9a2d02338efdc156e0b9bb739bd64a10@mail.smetj.net> Message-ID: <000890F6-E761-49E0-898B-17289B5629EC@xodus.org> On Sep 6, 2010, at 6:57 AM, Jelle Smet wrote: > _blah "one two three four" a b c d > > I want to use this custom variable in a command to execute like this: > > define command{ > > command_name check_linux_nrpe_all_disks > > command_line /bin/echo $_HOSTBLAH$ > /tmp/fubar.txt > > } > > > In /tmp/fubar.txt I have this line of text without the quotes: > one two three fou a b c d That's what 'echo "one two three four" a b c d > /tmp/fubar.txt' does on the command line -- $ echo "one two three four" a b c d > /tmp/fubar.txt $ cat /tmp/fubar.txt one two three four a b c d > How can I keep the quotes? They can be single or double quotes it doesn't matter. command_line /bin/echo '$_HOSTBLAH$' > /tmp/fubar.txt $ echo '"one two three four" a b c d' > /tmp/fubar.txt $ cat /tmp/fubar.txt "one two three four" a b c d -- Marc ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.roccia at gmail.com Mon Sep 6 15:50:48 2010 From: diego.roccia at gmail.com (Diego Roccia) Date: Mon, 6 Sep 2010 15:50:48 +0200 Subject: Having single or double quotes in a custom variable In-Reply-To: <000890F6-E761-49E0-898B-17289B5629EC@xodus.org> References: <9a2d02338efdc156e0b9bb739bd64a10@mail.smetj.net> <000890F6-E761-49E0-898B-17289B5629EC@xodus.org> Message-ID: Single quotes are quite good, but, as Marc said, He needs to preserve them, too. The only simple idea I can give is escaping them. I don't know why it's not working, I'd advice to turn on command logging bye Diego On Mon, Sep 6, 2010 at 3:32 PM, Marc Powell wrote: > > On Sep 6, 2010, at 6:57 AM, Jelle Smet wrote: > >> _blah ? ? ? ? ? "one two three four" a b c d >> >> I want to use this custom variable in a command to execute like this: >> >> define command{ >> >> command_name ? ?check_linux_nrpe_all_disks >> >> command_line ? ?/bin/echo $_HOSTBLAH$ > /tmp/fubar.txt >> >> } >> >> >> In /tmp/fubar.txt I have this line of text without the quotes: >> one two three fou a b c d > > That's what 'echo "one two three four" a b c d > /tmp/fubar.txt' does on the command line -- > > $ echo "one two three four" a b c d > /tmp/fubar.txt > $ cat /tmp/fubar.txt > one two three four a b c d > >> How can I keep the quotes? ?They can be single or double quotes it doesn't matter. > > command_line ? ?/bin/echo '$_HOSTBLAH$' > /tmp/fubar.txt > > $ echo '"one two three four" a b c d' > /tmp/fubar.txt > $ cat /tmp/fubar.txt > "one two three four" a b c d > > -- > Marc > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Diego Roccia diego.roccia (at) gmail (dot) com ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefan at fuhrmann.homedns.org Mon Sep 6 16:59:01 2010 From: stefan at fuhrmann.homedns.org (Stefan Fuhrmann) Date: Mon, 6 Sep 2010 16:59:01 +0200 Subject: monitoring remote windows machines over vpn Message-ID: <201009061659.01979.stefan@fuhrmann.homedns.org> Hello all, Im running nagios 3.2 on ubuntu server 10.04 and want to monitor win 2003/ 2008 over vpn connections. I do a host check: check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 30 -t 60 I get often a host check time out but when I have a look all is running well also I do a check_nt with nsclient++ and having also errors : could not fetch information but service is running. There are hours all is running well, but then I often having notifications with host cehck time out and check_nt the VPN firewalls are also monitored and I have no problems there, so the connections are okay I googled but can not find further information how to solve this. Can someone help? tia stefan ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlo.maesen at maastrichtuniversity.nl Tue Sep 7 11:44:50 2010 From: carlo.maesen at maastrichtuniversity.nl (Maesen Carlo (ICTS)) Date: Tue, 7 Sep 2010 11:44:50 +0200 Subject: unknown status Message-ID: <6ABFFD29FEDBB3478B6986988638E74F01647DA2E5@UM-MAIL4109.unimaas.nl> I have problem with agents (Nsclient++ 0.3.7) on some windows 2003 servers. After a ungraceful shutdown of a windows system I receive from nagios (version 3.2.0 with nagios-plugins-1.4.14) "status unknown" messages (No host down). I still receive these alerts even when the server is back online. I need to restart the agent manually. Sometimes I receive Warning messages with the follwing additional information "could not fetch information from server " . After restarting the agent on the windows server everything is fine. Is there a solution for these unknown status ? Additional info: Nagios is running on SLES11 I use the check_nt for checking the windows services. Thanks in advance, Carlo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 Tue Sep 7 11:51:03 2010 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 07 Sep 2010 10:51:03 +0100 Subject: unknown status In-Reply-To: <6ABFFD29FEDBB3478B6986988638E74F01647DA2E5@UM-MAIL4109.unimaas.nl> References: <6ABFFD29FEDBB3478B6986988638E74F01647DA2E5@UM-MAIL4109.unimaas.nl> Message-ID: <4C860B07.6020401@flatto.net> On 07/09/10 10:44, Maesen Carlo (ICTS) wrote: > I have problem with agents (Nsclient++ 0.3.7) on some windows 2003 > servers. > After a ungraceful shutdown of a windows system I receive from nagios > (version 3.2.0 with nagios-plugins-1.4.14) "status unknown" messages > (No host down). > I still receive these alerts even when the server is back online. I > need to restart the agent manually. > Sometimes I receive Warning messages with the follwing additional > information "could not fetch information from server " . After > restarting the agent on the windows server everything is fine. > Is there a solution for these unknown status ? > Additional info: > Nagios is running on SLES11 > I use the check_nt for checking the windows services. > Thanks in advance, > Carlo > It sounds like your nsclient++ isn't configured to start up on boot time. Check the windows box services setting , and check the time out and load on the box . Assaf -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 carlo.maesen at maastrichtuniversity.nl Tue Sep 7 12:03:32 2010 From: carlo.maesen at maastrichtuniversity.nl (Maesen Carlo (ICTS)) Date: Tue, 7 Sep 2010 12:03:32 +0200 Subject: unknown status In-Reply-To: <4C860B07.6020401@flatto.net> References: <6ABFFD29FEDBB3478B6986988638E74F01647DA2E5@UM-MAIL4109.unimaas.nl> <4C860B07.6020401@flatto.net> Message-ID: <6ABFFD29FEDBB3478B6986988638E74F01647DA2E6@UM-MAIL4109.unimaas.nl> On 07/09/10 10:44, Maesen Carlo (ICTS) wrote: I have problem with agents (Nsclient++ 0.3.7) on some windows 2003 servers. After a ungraceful shutdown of a windows system I receive from nagios (version 3.2.0 with nagios-plugins-1.4.14) "status unknown" messages (No host down). I still receive these alerts even when the server is back online. I need to restart the agent manually. Sometimes I receive Warning messages with the follwing additional information "could not fetch information from server " . After restarting the agent on the windows server everything is fine. Is there a solution for these unknown status ? Additional info: Nagios is running on SLES11 I use the check_nt for checking the windows services. Thanks in advance, Carlo It sounds like your nsclient++ isn't configured to start up on boot time. Check the windows box services setting , and check the time out and load on the box . Assaf The client is configured to start up on boot time. The agent is running, but I need to restart it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 yuris at smtp.com Tue Sep 7 14:03:03 2010 From: yuris at smtp.com (yuris) Date: Tue, 07 Sep 2010 15:03:03 +0300 Subject: Nagios plain files vs database storage Message-ID: <4C8629F7.2060008@smtp.com> Hello, I'm using Nagios for several months with plain files setup, and nagiosgrapher. It works pretty nice and I have no problem monitoring ~50 hosts; ~10 service_checks per host. Now I'm thinking about migration of other hosts from Zabbix to Nagios and totally it is going to be ~350 hosts. Since the number of hosts is significant plain test configs does not seem to be a good option, and keeping hosts/hostgroups in database seems preferable but from experience with Zabbix I know that storing everything in database might be not that good idea but pretty obvious bottleneck :/ Could someone please give me an idea what drawbacks I may face if switch from plain nagios3 to ndoutils-nagios3-mysql with 350 - 400 hosts ? Can I store in mysql db only hosts and hostgroups and manipulate them (add/remove) via web interface while keep everything else in old way (plain test configs) to reduce load on mysql? -- wbr, Yuris Linux System Engineer, SMTP.com ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 xodus.org Tue Sep 7 14:38:50 2010 From: lists at xodus.org (Marc Powell) Date: Tue, 7 Sep 2010 07:38:50 -0500 Subject: Nagios plain files vs database storage In-Reply-To: <4C8629F7.2060008@smtp.com> References: <4C8629F7.2060008@smtp.com> Message-ID: <48C5C02C-CFE9-4DD1-BD8C-F459815E1243@xodus.org> On Sep 7, 2010, at 7:03 AM, yuris wrote: > Hello, > > I'm using Nagios for several months with plain files setup, and > nagiosgrapher. It works pretty nice and I have no problem monitoring ~50 > hosts; ~10 service_checks per host. > > Now I'm thinking about migration of other hosts from Zabbix to Nagios > and totally it is going to be ~350 hosts. Since the number of hosts is > significant plain test configs does not seem to be a good option, and This is not an unreasonable number. Just be sure to look through the Large Installation section of the documentation. I've had distributed nagios systems with the pollers checking 2-3000 services each, all reporting back to a central nagios server totaling about 10,0000 services. No major issues seen and I didn't feel I was approaching a limit on the pollers yet. No matter what you do, nagios will still use plain text config files. nodutils is just for storing the output-ish things in a database for use by other addons or your own reporting. Any front end that you use to edit hosts/services will always dump them out to plain text config files, same as you're using now, for nagios' consumption. -- Marc ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 7 14:53:20 2010 From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk) Date: Tue, 7 Sep 2010 13:53:20 +0100 Subject: AUTO: Eliot Picken is out of the office (returning 09/09/2010) Message-ID: I am out of the office until 09/09/2010. I am currently out of the office, and I will respond to your email upon my return. Your email has not been forwarded. For all enquiries, please contact Alex Lawrie on +44 (0) 1224 894 000 Note: This is an automated response to your message "Re: [Nagios-users] Nagios plain files vs database storage" sent on 9/7/2010 1:38:50 PM. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 7 15:09:54 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Tue, 7 Sep 2010 08:09:54 -0500 Subject: monitoring remote windows machines over vpn In-Reply-To: <201009061659.01979.stefan@fuhrmann.homedns.org> References: <201009061659.01979.stefan@fuhrmann.homedns.org> Message-ID: Is the tunnel always active or are you building the tunnel every time? I am monitoring about 200 hosts all windows using standard tcp and icmp checks (not nsca). If the tunnel gets torn down between checks i often miss the first check as the tunnel is renegotiated. There are two choices, you can change your nagios config so that it requires more checks to fail or turn ISAKMP keepalives on the tunnels. Not all VPNs will support this. I know that Nortel Contivity VPN appliances have a memory leak that if ISAKMP keepalives are on the box will eventually run out of memory. I use three checks before marking the host down. The first check is at 5 min the others at 1 min. This seems to reduce my false positives as the VPNs usually have a lifetime of tens of minutes. Greg Pangrazio On Mon, Sep 6, 2010 at 9:59 AM, Stefan Fuhrmann wrote: > Hello all, > > Im running nagios 3.2 on ubuntu server 10.04 and want to monitor win 2003/ > 2008 over ?vpn connections. I do a host check: > check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 30 -t 60 > > I get often a host check time out but when I have a look all is running well > > also I do a check_nt with nsclient++ and having also errors : > ?could not fetch information > but service is running. > > There are hours all is running well, but then I often having notifications with > host cehck time out and check_nt > the VPN firewalls are also monitored and I have no problems there, so the > connections are okay > > I googled but can not find further information how to solve this. > > Can someone help? > > > tia > stefan > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Tue Sep 7 15:22:54 2010 From: perldork at webwizarddesign.com (Max) Date: Tue, 7 Sep 2010 09:22:54 -0400 Subject: Nagios plain files vs database storage In-Reply-To: <4C8629F7.2060008@smtp.com> References: <4C8629F7.2060008@smtp.com> Message-ID: Fyi - plain text files are less system intensive than a db - with our standalone instances we monitor about 2k hosts per poller (about 10k active checks). A db back end makes management and command / control easier with large deployments but .not needed for just. 400 hosts. If you want a nice UI, check out fruity or lillac for configuration. Max On 9/7/10, yuris wrote: > Hello, > > I'm using Nagios for several months with plain files setup, and > nagiosgrapher. It works pretty nice and I have no problem monitoring ~50 > hosts; ~10 service_checks per host. > > Now I'm thinking about migration of other hosts from Zabbix to Nagios > and totally it is going to be ~350 hosts. Since the number of hosts is > significant plain test configs does not seem to be a good option, and > keeping hosts/hostgroups in database seems preferable but from > experience with Zabbix I know that storing everything in database might > be not that good idea but pretty obvious bottleneck :/ > > Could someone please give me an idea what drawbacks I may face if switch > from plain nagios3 to ndoutils-nagios3-mysql with 350 - 400 hosts ? Can > I store in mysql db only hosts and hostgroups and manipulate them > (add/remove) via web interface while keep everything else in old way > (plain test configs) to reduce load on mysql? > > -- > wbr, > Yuris > > Linux System Engineer, > SMTP.com > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Tue Sep 7 20:27:52 2010 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Tue, 07 Sep 2010 14:27:52 -0400 Subject: Enumerating Interfaces Message-ID: <4C868428.3020403@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi there, I'm looking for "easy" ways to handle devices with multiple interfaces that do not have per-interface IPs. For instance, we have a layer two switch that needs to be monitored. On that switch, we need to monitor a subset of the ports that are used as uplinks to the network. I can enumerate this in the config by using "fake" names for the ports, but this is tedious, at best, and I believe there may be some drawbacks as well since these aren't "real" hosts. So is there a way to add a single device and have the ports enumerated in such a way as to be able to down specific ports? One possibility I was thinking about was to create a service for each port and add the switch to that service. I think I'm going to give that a shot, but I was wondering if anyone else has alternative ideas. Thanks, - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkyGhCgACgkQO80o6DJ8Uvny6gCfYU3l2kq4ktPRWbc2U74tPtLP VB0An3+ICjXMP+INKX9H7CGsCg+Np1B7 =nzRT -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 7 21:17:49 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Tue, 7 Sep 2010 14:17:49 -0500 Subject: Enumerating Interfaces In-Reply-To: <4C868428.3020403@lafayette.edu> References: <4C868428.3020403@lafayette.edu> Message-ID: What kind of switch are we talking about? Greg Pangrazio On Tue, Sep 7, 2010 at 1:27 PM, Jason Frisvold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi there, > > ? ? ? ?I'm looking for "easy" ways to handle devices with multiple interfaces > that do not have per-interface IPs. ?For instance, we have a layer two > switch that needs to be monitored. ?On that switch, we need to monitor a > subset of the ports that are used as uplinks to the network. ?I can > enumerate this in the config by using "fake" names for the ports, but > this is tedious, at best, and I believe there may be some drawbacks as > well since these aren't "real" hosts. > > ? ? ? ?So is there a way to add a single device and have the ports enumerated > in such a way as to be able to down specific ports? > > ? ? ? ?One possibility I was thinking about was to create a service for each > port and add the switch to that service. ?I think I'm going to give that > a shot, but I was wondering if anyone else has alternative ideas. > > Thanks, > > - -- > - --------------------------- > Jason Frisvold > Network Engineer > frisvolj at lafayette.edu > - --------------------------- > "What I cannot create, I do not understand" > ? - Richard Feynman > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.14 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkyGhCgACgkQO80o6DJ8Uvny6gCfYU3l2kq4ktPRWbc2U74tPtLP > VB0An3+ICjXMP+INKX9H7CGsCg+Np1B7 > =nzRT > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Tue Sep 7 22:41:53 2010 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Tue, 07 Sep 2010 16:41:53 -0400 Subject: Enumerating Interfaces In-Reply-To: References: <4C868428.3020403@lafayette.edu> Message-ID: <4C86A391.2080902@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/07/2010 03:17 PM, Greg Pangrazio wrote: > What kind of switch are we talking about? Cisco 3750, Cisco MDS-9100 series, umm... Probably some Catalyst 6500's .. Standard ifTable interfaces. > Greg Pangrazio - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkyGo5EACgkQO80o6DJ8Uvl6sgCfRdkYiCe7Ub9fnpT7XckT3wft wr8AoJIhCvMouh8O9io7oGbMObN73OrL =fFjA -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 7 23:45:11 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Tue, 7 Sep 2010 16:45:11 -0500 Subject: Enumerating Interfaces In-Reply-To: <4C86A391.2080902@lafayette.edu> References: <4C868428.3020403@lafayette.edu> <4C86A391.2080902@lafayette.edu> Message-ID: Well we use similar switches here. what we do is create the host then services for the interfaces and if we have port channels I use the multiple check_service_cluster for all the interfaces in the port channel. I just use check snmp for the interfaces. If you want more specifics i can give you config definitions and command defs etc. Greg Pangrazio On Tue, Sep 7, 2010 at 3:41 PM, Jason Frisvold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 09/07/2010 03:17 PM, Greg Pangrazio wrote: >> What kind of switch are we talking about? > > Cisco 3750, Cisco MDS-9100 series, umm... ?Probably some Catalyst 6500's .. > > Standard ifTable interfaces. > >> Greg Pangrazio > > - -- > - --------------------------- > Jason Frisvold > Network Engineer > frisvolj at lafayette.edu > - --------------------------- > "What I cannot create, I do not understand" > ? - Richard Feynman > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.14 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkyGo5EACgkQO80o6DJ8Uvl6sgCfRdkYiCe7Ub9fnpT7XckT3wft > wr8AoJIhCvMouh8O9io7oGbMObN73OrL > =fFjA > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From B30930 at freescale.com Wed Sep 8 02:18:02 2010 From: B30930 at freescale.com (Tan Kong Jo-B30930) Date: Tue, 7 Sep 2010 17:18:02 -0700 Subject: FW: Nagios - SunOS Message-ID: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> Dear Sir, We are from Freescale Semiconductor. Recently, we have Nagios of SunOS 5.8, and installed successfully. However, we unable to get any version lower than Sun 5.8. SunOS 5.8 - installed and working fine. SunOS 5.6 - got error when install with Nagios of SunOS 5.8. SunOS 5.5.1 SunOS 4.1.4 SunOS 4.1.3_U1 -----Original Message----- From: Ethan Galstad [mailto:sales at nagios.com] Sent: 02 September, 2010 8:59 PM To: Tan Kong Jo-B30930 Cc: Radha Krishnan Hari Krishnan-B22184; Lian C.K.-R18924; Yee MickaelKokChye-RF312C; Li Yi-B07323 Subject: Re: Nagios - SunOS Hi Tan - You can get community support for Nagios on SunOS by using the community mailing lists. See: http://www.nagios.org/support Ethan Galstad ___ Nagios Enterprises, LLC Email: sales at nagios.com Phone: (888)624-4671 Fax: (651)204-9103 Web: www.nagios.com Tan Kong Jo-B30930 wrote: > Hi Sir, > > > > We are from Freescale Semiconductor. > > > > We would like to get some support from your support team. > > Can you provide the support team's e-mail for us to refer? > > > > Recently, we have Nagios of SunOS 5.8, and installed successfully. > > However, we unable to get any version lower than Sun 5.8. > > > > SunOS 5.8 - installed and working fine. > > SunOS 5.6 - got error when install with Nagios of SunOS 5.8. > > SunOS 5.5.1 > > SunOS 4.1.4 > > SunOS 4.1.3_U1 > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From mikec at aggregateknowledge.com Wed Sep 8 02:39:28 2010 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Tue, 07 Sep 2010 17:39:28 -0700 Subject: check_load gone crazy Message-ID: <4C86DB40.5080609@aggregateknowledge.com> I'm wondering if this is a known bug, and/or if anybody else has seen similar behavior... We're using Nagios 3.2.1 on Linux, monitoring several Linux systems. We run the check_load probe against every system. Occasionally (at non-regular intervals), Nagios will freak out and alert on the load average of many (sometimes *all*) systems. When this occurs, it reports the *same* load averages for each system, and the weirdest part is that these load averages are completely bogus. Then, over the course of the next 20 or so minutes, the load averages being reported gradually decrease (they go from CRITICAL to WARNING to OK), always staying in sync across *every* system. Again, when this happens, the load averages being reported are completely unrelated to the actual load averages on any of the systems that are actually being checked. Any ideas for what I can do to get to the bottom of why this happens? Thanks, Mike ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 8 02:24:08 2010 From: BChan at Shawcor.com (Brian Chan) Date: Tue, 7 Sep 2010 20:24:08 -0400 Subject: AUTO: Chan, Brian is out of the office. (returning 09/08/2010) Message-ID: I am out of the office until 09/08/2010. I will respond to your message when I return. Note: This is an automated response to your message "Nagios-users Digest, Vol 52, Issue 5" sent on 9/7/10 20:18:36. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 8 03:27:16 2010 From: allanc at chickenandporn.com (Allan Clark) Date: Tue, 7 Sep 2010 18:27:16 -0700 Subject: FW: Nagios - SunOS In-Reply-To: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: On Tue, Sep 7, 2010 at 17:18, Tan Kong Jo-B30930 wrote: > ?Dear Sir, > > > > We are from Freescale Semiconductor. > > > > Recently, we have Nagios of SunOS 5.8, and installed successfully. > > However, we unable to get any version lower than Sun 5.8. > > > > SunOS 5.8 ? installed and working fine. > > SunOS 5.6 ? got error when install with Nagios of SunOS 5.8. > > SunOS 5.5.1 > > SunOS 4.1.4 > > SunOS 4.1.3_U1 Hi Tan; If there's any detail you can provide (ie what the error message says, a screen shot, any detail at all) then there's a hope of helping you. In many cases, we are "frog in a well" -- it works well for us in our configurations but we cannot see the whole world -- so we'll need your help to show us how it's failing in yours. If you worry it's too much detail, store it at a URL and give us that URL to check. Allan (E6772C at moto BJ) -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From B30930 at freescale.com Wed Sep 8 03:41:06 2010 From: B30930 at freescale.com (Tan Kong Jo-B30930) Date: Tue, 7 Sep 2010 18:41:06 -0700 Subject: FW: Nagios - SunOS In-Reply-To: References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: <57C326BCABEE0842AE585418105A1BABC9AC@039-SN1MPN1-002.039d.mgd.msft.net> Hi Allan, We unable to find the version of Nagios for SunOS, which LOWER than 5.8 Do you know where can we get it? Because we have SunOS 5.6, 5.5.1, 4.1.4, and 4.1.3_U1. -----Original Message----- From: Allan Clark [mailto:allanc at chickenandporn.com] Sent: 08 September, 2010 9:27 AM To: Nagios Users List Subject: Re: [Nagios-users] FW: Nagios - SunOS On Tue, Sep 7, 2010 at 17:18, Tan Kong Jo-B30930 wrote: > Dear Sir, > > > > We are from Freescale Semiconductor. > > > > Recently, we have Nagios of SunOS 5.8, and installed successfully. > > However, we unable to get any version lower than Sun 5.8. > > > > SunOS 5.8 ? installed and working fine. > > SunOS 5.6 ? got error when install with Nagios of SunOS 5.8. > > SunOS 5.5.1 > > SunOS 4.1.4 > > SunOS 4.1.3_U1 Hi Tan; If there's any detail you can provide (ie what the error message says, a screen shot, any detail at all) then there's a hope of helping you. In many cases, we are "frog in a well" -- it works well for us in our configurations but we cannot see the whole world -- so we'll need your help to show us how it's failing in yours. If you worry it's too much detail, store it at a URL and give us that URL to check. Allan (E6772C at moto BJ) -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 larryfindley at yahoo.com Wed Sep 8 03:47:11 2010 From: larryfindley at yahoo.com (Lawrence Findley) Date: Tue, 7 Sep 2010 18:47:11 -0700 (PDT) Subject: FW: Nagios - SunOS In-Reply-To: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: <681806.83081.qm@web58406.mail.re3.yahoo.com> Very interesting, I'm not offering help in this area since I haven't worked with the older versions of solaris for years. I'm just saying that I'm curious on why anyone would be running anything so ancient. -Larry ________________________________ From: Tan Kong Jo-B30930 To: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Sent: Tue, September 7, 2010 5:18:02 PM Subject: [Nagios-devel] FW: Nagios - SunOS Dear Sir, We are from Freescale Semiconductor. Recently, we have Nagios of SunOS 5.8, and installed successfully. However, we unable to get any version lower than Sun 5.8. SunOS 5.8 ? installed and working fine. SunOS 5.6 ? got error when install with Nagios of SunOS 5.8. SunOS 5.5.1 SunOS 4.1.4 SunOS 4.1.3_U1 -----Original Message----- From: Ethan Galstad [mailto:sales at nagios.com] Sent: 02 September, 2010 8:59 PM To: Tan Kong Jo-B30930 Cc: Radha Krishnan Hari Krishnan-B22184; Lian C.K.-R18924; Yee MickaelKokChye-RF312C; Li Yi-B07323 Subject: Re: Nagios - SunOS Hi Tan - You can get community support for Nagios on SunOS by using the community mailing lists. See: http://www.nagios.org/support Ethan Galstad ___ Nagios Enterprises, LLC Email: sales at nagios.com Phone: (888)624-4671 Fax: (651)204-9103 Web: www.nagios.com Tan Kong Jo-B30930 wrote: > Hi Sir, > > > > We are from Freescale Semiconductor. > > > > We would like to get some support from your support team. > > Can you provide the support team?s e-mail for us to refer? > > > > Recently, we have Nagios of SunOS 5.8, and installed successfully. > > However, we unable to get any version lower than Sun 5.8. > > > > SunOS 5.8 ? installed and working fine. > > SunOS 5.6 ? got error when install with Nagios of SunOS 5.8. > > SunOS 5.5.1 > > SunOS 4.1.4 > > SunOS 4.1.3_U1 > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From B30930 at freescale.com Wed Sep 8 03:53:48 2010 From: B30930 at freescale.com (Tan Kong Jo-B30930) Date: Tue, 7 Sep 2010 18:53:48 -0700 Subject: FW: Nagios - SunOS In-Reply-To: <681806.83081.qm@web58406.mail.re3.yahoo.com> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> Message-ID: <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> Hi Larry, This is really a joke, right? The in-charge person in our team feel soooo afraid to upgrade the SunOS to higher versions, just because of lack of technical knowledge. I suggested on the upgrade, but the boss with that in-charge person. From: Lawrence Findley [mailto:larryfindley at yahoo.com] Sent: 08 September, 2010 9:47 AM To: Nagios Developers List; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-devel] FW: Nagios - SunOS Very interesting, I'm not offering help in this area since I haven't worked with the older versions of solaris for years. I'm just saying that I'm curious on why anyone would be running anything so ancient. -Larry ________________________________ From: Tan Kong Jo-B30930 To: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Sent: Tue, September 7, 2010 5:18:02 PM Subject: [Nagios-devel] FW: Nagios - SunOS Dear Sir, We are from Freescale Semiconductor. Recently, we have Nagios of SunOS 5.8, and installed successfully. However, we unable to get any version lower than Sun 5.8. SunOS 5.8 ? installed and working fine. SunOS 5.6 ? got error when install with Nagios of SunOS 5.8. SunOS 5.5.1 SunOS 4.1.4 SunOS 4.1.3_U1 -----Original Message----- From: Ethan Galstad [mailto:sales at nagios.com] Sent: 02 September, 2010 8:59 PM To: Tan Kong Jo-B30930 Cc: Radha Krishnan Hari Krishnan-B22184; Lian C.K.-R18924; Yee MickaelKokChye-RF312C; Li Yi-B07323 Subject: Re: Nagios - SunOS Hi Tan - You can get community support for Nagios on SunOS by using the community mailing lists. See: http://www.nagios.org/support Ethan Galstad ___ Nagios Enterprises, LLC Email: sales at nagios.com Phone: (888)624-4671 Fax: (651)204-9103 Web: www.nagios.com Tan Kong Jo-B30930 wrote: > Hi Sir, > > > > We are from Freescale Semiconductor. > > > > We would like to get some support from your support team. > > Can you provide the support team?s e-mail for us to refer? > > > > Recently, we have Nagios of SunOS 5.8, and installed successfully. > > However, we unable to get any version lower than Sun 5.8. > > > > SunOS 5.8 ? installed and working fine. > > SunOS 5.6 ? got error when install with Nagios of SunOS 5.8. > > SunOS 5.5.1 > > SunOS 4.1.4 > > SunOS 4.1.3_U1 > > > > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From benny at bennyvision.com Wed Sep 8 04:05:03 2010 From: benny at bennyvision.com (C. Bensend) Date: Tue, 7 Sep 2010 21:05:03 -0500 Subject: [Nagios-devel] FW: Nagios - SunOS In-Reply-To: <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: > This is really a joke, right? > > The in-charge person in our team feel soooo afraid to upgrade the SunOS to > higher versions, just because of lack of technical knowledge. > > I suggested on the upgrade, but the boss with that in-charge person. While I think we're getting considerably off-topic for this list, there are real and unfortunate reasons to run old, outdated OS releases. In a previous life, our software development firm simply didn't stop supporting our software packages. Ever. As a result, we had to keep old SunOS, Solaris, IRIX, AIX, and HP-UX systems running, as they were our only method of testing customer issues. Is this ideal? No. Does it follow best practices? Nope. But it was a business requirement, and therefore it happened. Benny -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 8 04:07:02 2010 From: allanc at chickenandporn.com (Allan Clark) Date: Tue, 7 Sep 2010 19:07:02 -0700 Subject: [Nagios-devel] FW: Nagios - SunOS In-Reply-To: <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: On Tue, Sep 7, 2010 at 18:53, Tan Kong Jo-B30930 wrote: > Hi Larry, > > > > This is really a joke, right? > > The in-charge person in our team feel soooo afraid to upgrade the SunOS to > higher versions, just because of lack of technical knowledge. > > I suggested on the upgrade, but the boss with that in-charge person. Hi; I cannot find an older version of Nagios any better than you -- finding it is half the problem, knowing whether it works on older OS releases is the other. You or your boss may have good reasons for keeping the older OS, even if it's merely a test-platform for regression testing or whatnot -- that's tangental, but we're all curious :) In order to get you onto the latest Nagios, and help you get the same release of Nagios across many platforms (making it easier for you to keep it going, and get help from others in the community) let's go back to "why did it fail?" Please give some details about the failure you have experienced, and let's focus on getting that resolved. Screenshots, cut-n-paste of the error message, details of how you're installing (older SunOS uses PKG spools?), etc. The more detail you can offer, the faster we may see the problem and fix it. Getting you onto the latest Nagios is a win for all of us; let's Allan -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 herb-j.com Wed Sep 8 04:23:35 2010 From: nagios at herb-j.com (Herb J.) Date: Tue, 07 Sep 2010 22:23:35 -0400 Subject: [Nagios-devel] FW: Nagios - SunOS In-Reply-To: References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: <4C86F3A7.8090209@herb-j.com> Honestly, your best solution may actually be to install a new machine that is running an OS new enough to run the latest version of Nagios. Keeping old hardware and old OS'es running may be a requirement for specific software systems, but there is no technical reason you have to run Nagios on the same outdated hardware. If, for whatever reason, you are not allowed to install any additional servers in your environment, then you are going to be severely limited in what you will be able to do in regards to running Nagios. On 09/07/2010 10:07 PM, Allan Clark wrote: > On Tue, Sep 7, 2010 at 18:53, Tan Kong Jo-B30930 wrote: > >> Hi Larry, >> >> >> >> This is really a joke, right? >> >> The in-charge person in our team feel soooo afraid to upgrade the SunOS to >> higher versions, just because of lack of technical knowledge. >> >> I suggested on the upgrade, but the boss with that in-charge person. >> > > Hi; > > I cannot find an older version of Nagios any better than you -- > finding it is half the problem, knowing whether it works on older OS > releases is the other. > > You or your boss may have good reasons for keeping the older OS, even > if it's merely a test-platform for regression testing or whatnot -- > that's tangental, but we're all curious :) > > In order to get you onto the latest Nagios, and help you get the same > release of Nagios across many platforms (making it easier for you to > keep it going, and get help from others in the community) let's go > back to "why did it fail?" > > Please give some details about the failure you have experienced, and > let's focus on getting that resolved. Screenshots, cut-n-paste of the > error message, details of how you're installing (older SunOS uses PKG > spools?), etc. The more detail you can offer, the faster we may see > the problem and fix it. > > Getting you onto the latest Nagios is a win for all of us; let's > > Allan > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deep.sea.odyssey at gmail.com Wed Sep 8 05:17:09 2010 From: deep.sea.odyssey at gmail.com (Watanabe, Kazuo) Date: Wed, 8 Sep 2010 12:17:09 +0900 Subject: Digest authentication web page monitoring Message-ID: Hi, Does anyone know how to monitor digest authentication web pages? ./check_http --help doesn't show the option. Regards, Kaz -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 Wed Sep 8 11:24:20 2010 From: mail at catsnest.co.uk (mail at catsnest.co.uk) Date: Wed, 8 Sep 2010 10:24:20 +0100 Subject: [Nagios-devel] FW: Nagios - SunOS In-Reply-To: <4C86F3A7.8090209@herb-j.com> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> Message-ID: Yes is it not NRPE/Plugins you are looking for on the older Sol instances? Why would you need to run a Nagios server on the different versions? (unless of course they are isolated environments.) 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 Wed, Sep 8, 2010 at 3:23 AM, Herb J. wrote: > Honestly, your best solution may actually be to install a new machine > that is running an OS new enough to run the latest version of Nagios. > Keeping old hardware and old OS'es running may be a requirement for > specific software systems, but there is no technical reason you have to > run Nagios on the same outdated hardware. If, for whatever reason, you > are not allowed to install any additional servers in your environment, > then you are going to be severely limited in what you will be able to do > in regards to running Nagios. > > > On 09/07/2010 10:07 PM, Allan Clark wrote: >> On Tue, Sep 7, 2010 at 18:53, Tan Kong Jo-B30930 ?wrote: >> >>> Hi Larry, >>> >>> >>> >>> This is really a joke, right? >>> >>> The in-charge person in our team feel soooo afraid to upgrade the SunOS to >>> higher versions, just because of lack of technical knowledge. >>> >>> I suggested on the upgrade, but the boss with that in-charge person. >>> >> >> Hi; >> >> I cannot find an older version of Nagios any better than you -- >> finding it is half the problem, knowing whether it works on older OS >> releases is the other. >> >> You or your boss may have good reasons for keeping the older OS, even >> if it's merely a test-platform for regression testing or whatnot -- >> that's tangental, but we're all curious :) >> >> In order to get you onto the latest Nagios, and help you get the same >> release of Nagios across many platforms (making it easier for you to >> keep it going, and get help from others in the community) let's go >> back to "why did it fail?" >> >> Please give some details about the failure you have experienced, and >> let's focus on getting that resolved. ?Screenshots, cut-n-paste of the >> error message, details of how you're installing (older SunOS uses PKG >> spools?), etc. ?The more detail you can offer, the faster we may see >> the problem and fix it. >> >> Getting you onto the latest Nagios is a win for all of us; let's >> >> Allan >> > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Wed Sep 8 11:19:29 2010 From: it.toonz at gmail.com (IT Toonz) Date: Wed, 8 Sep 2010 14:49:29 +0530 Subject: SNMP showing Unknown In-Reply-To: <4C86F3A7.8090209@herb-j.com> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> Message-ID: <4c875743.1156730a.7f1e.1d34@mx.google.com> We are using FAN 2.0 One of our Windows Servers shows in Nagios. tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs specified How can we troubleshoot it. This is the snmp entry in commands.cfg file. # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ } We entered the snmp community name give the switch -C after check_snmp, but still no effect. Please advice. Regards Ananth. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 B30930 at freescale.com Wed Sep 8 12:19:04 2010 From: B30930 at freescale.com (Tan Kong Jo-B30930) Date: Wed, 8 Sep 2010 03:19:04 -0700 Subject: [Nagios-devel] FW: Nagios - SunOS In-Reply-To: References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net><681806.83081.qm@web58406.mail.re3.yahoo.com><57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net><4C86F3A7.8090209@herb-j.com> Message-ID: <57C326BCABEE0842AE585418105A1BABCC3A@039-SN1MPN1-002.039d.mgd.msft.net> Yes. Old version of NRPE/Plugins for: - > SunOS 5.6 > SunOS 5.5.1 > SunOS 4.1.4 > SunOS 4.1.3_U1 -----Original Message----- From: mail at catsnest.co.uk [mailto:mail at catsnest.co.uk] Sent: 08 September, 2010 5:24 PM To: Nagios Users List Subject: Re: [Nagios-users] [Nagios-devel] FW: Nagios - SunOS Yes is it not NRPE/Plugins you are looking for on the older Sol instances? Why would you need to run a Nagios server on the different versions? (unless of course they are isolated environments.) 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 Wed, Sep 8, 2010 at 3:23 AM, Herb J. wrote: > Honestly, your best solution may actually be to install a new machine > that is running an OS new enough to run the latest version of Nagios. > Keeping old hardware and old OS'es running may be a requirement for > specific software systems, but there is no technical reason you have > to run Nagios on the same outdated hardware. If, for whatever reason, > you are not allowed to install any additional servers in your > environment, then you are going to be severely limited in what you > will be able to do in regards to running Nagios. > > > On 09/07/2010 10:07 PM, Allan Clark wrote: >> On Tue, Sep 7, 2010 at 18:53, Tan Kong Jo-B30930 wrote: >> >>> Hi Larry, >>> >>> >>> >>> This is really a joke, right? >>> >>> The in-charge person in our team feel soooo afraid to upgrade the >>> SunOS to higher versions, just because of lack of technical knowledge. >>> >>> I suggested on the upgrade, but the boss with that in-charge person. >>> >> >> Hi; >> >> I cannot find an older version of Nagios any better than you -- >> finding it is half the problem, knowing whether it works on older OS >> releases is the other. >> >> You or your boss may have good reasons for keeping the older OS, even >> if it's merely a test-platform for regression testing or whatnot -- >> that's tangental, but we're all curious :) >> >> In order to get you onto the latest Nagios, and help you get the same >> release of Nagios across many platforms (making it easier for you to >> keep it going, and get help from others in the community) let's go >> back to "why did it fail?" >> >> Please give some details about the failure you have experienced, and >> let's focus on getting that resolved. Screenshots, cut-n-paste of >> the error message, details of how you're installing (older SunOS uses >> PKG spools?), etc. The more detail you can offer, the faster we may >> see the problem and fix it. >> >> Getting you onto the latest Nagios is a win for all of us; let's >> >> Allan >> > > > ---------------------------------------------------------------------- > -------- This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 8 12:43:29 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 8 Sep 2010 11:43:29 +0100 Subject: SNMP showing Unknown In-Reply-To: <4c875743.1156730a.7f1e.1d34@mx.google.com> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> Message-ID: On 8 September 2010 10:19, IT Toonz wrote: > We are using FAN 2.0 > > > > One of our Windows Servers shows in Nagios. > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs > specified > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > # 'check_snmp' command definition > > define command{ > > ??????? command_name??? check_snmp > > ??????? command_line??? $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > ??????? } > > > > We entered the snmp community name give the switch ?C after check_snmp, but > still no effect. You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. hth, Jim ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 xodus.org Wed Sep 8 13:53:29 2010 From: lists at xodus.org (Marc Powell) Date: Wed, 8 Sep 2010 06:53:29 -0500 Subject: check_load gone crazy In-Reply-To: <4C86DB40.5080609@aggregateknowledge.com> References: <4C86DB40.5080609@aggregateknowledge.com> Message-ID: On Sep 7, 2010, at 7:39 PM, Mike Chesnut wrote: > I'm wondering if this is a known bug, and/or if anybody else has seen > similar behavior... > > We're using Nagios 3.2.1 on Linux, monitoring several Linux systems. We > run the check_load probe against every system. Occasionally (at > non-regular intervals), Nagios will freak out and alert on the load > average of many (sometimes *all*) systems. When this occurs, it reports > the *same* load averages for each system, and the weirdest part is that > these load averages are completely bogus. > Any ideas for what I can do to get to the bottom of why this happens? What transport mechanism are you using to run check_load on the remote systems? It is not 'network aware' and so the check_load binary must be installed on each remote machine and run on that machine via some transport (check_nrpe, check_by_ssh, etc). It seems to me that you are not running it on the remote machines but are instead monitoring the load of your nagios machine multiple times. Can you show a couple example service{} and corresponding command{} definitions if you are unsure? -- Marc ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From B30930 at freescale.com Wed Sep 8 14:00:04 2010 From: B30930 at freescale.com (Tan Kong Jo-B30930) Date: Wed, 8 Sep 2010 05:00:04 -0700 Subject: FW: Nagios - SunOS In-Reply-To: References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: <57C326BCABEE0842AE585418105A1BABCC8F@039-SN1MPN1-002.039d.mgd.msft.net> Here is one of the error:- # /home/nagios/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ld.so.1: /home/nagios/nagios/libexec/check_load: fatal: libc.so.1: version `SUNW_1.18' not found (required by file /home/nagios/nagios/libexec/check_load) Killed -----Original Message----- From: Allan Clark [mailto:allanc at chickenandporn.com] Sent: 08 September, 2010 9:27 AM To: Nagios Users List Subject: Re: [Nagios-users] FW: Nagios - SunOS On Tue, Sep 7, 2010 at 17:18, Tan Kong Jo-B30930 wrote: > Dear Sir, > > > > We are from Freescale Semiconductor. > > > > Recently, we have Nagios of SunOS 5.8, and installed successfully. > > However, we unable to get any version lower than Sun 5.8. > > > > SunOS 5.8 ? installed and working fine. > > SunOS 5.6 ? got error when install with Nagios of SunOS 5.8. > > SunOS 5.5.1 > > SunOS 4.1.4 > > SunOS 4.1.3_U1 Hi Tan; If there's any detail you can provide (ie what the error message says, a screen shot, any detail at all) then there's a hope of helping you. In many cases, we are "frog in a well" -- it works well for us in our configurations but we cannot see the whole world -- so we'll need your help to show us how it's failing in yours. If you worry it's too much detail, store it at a URL and give us that URL to check. Allan (E6772C at moto BJ) -- allanc at chickenandporn.com "??" http://linkedin.com/in/goldfish please, no proprietary attachments (http://tinyurl.com/cbgq) ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Wed Sep 8 13:54:52 2010 From: it.toonz at gmail.com (IT Toonz) Date: Wed, 8 Sep 2010 17:24:52 +0530 Subject: SNMP showing Unknown In-Reply-To: References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> Message-ID: <4c877bae.22788e0a.410f.60b7@mx.google.com> You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. Which file that will be? The command.cfg file entry was the one we had put in the earlier mail. We are newbies's so if possible kindly explain in detail. Regards Ananth. -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: 08 September 2010 16:13 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown On 8 September 2010 10:19, IT Toonz wrote: > We are using FAN 2.0 > > > > One of our Windows Servers shows in Nagios. > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs > specified > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > # 'check_snmp' command definition > > define command{ > > command_name check_snmp > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > } > > > > We entered the snmp community name give the switch -C after check_snmp, but > still no effect. You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. hth, Jim ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 chakoteystme at gmail.com Wed Sep 8 15:53:38 2010 From: chakoteystme at gmail.com (Chakotey STME) Date: Wed, 8 Sep 2010 15:53:38 +0200 Subject: problems with the webinterface Message-ID: Hello Mailinglist, I used Debian Lenny. i installed nagios3 with apt-get. Because of this apt installed further packages like apache2. It worked fine. Because an other reasen I have to use Debian Squeeze. So I updated to Squeeze and then I had to solve a problem. I fixed it with this solution: http://devplant.net/2010/03/26/linux-upgrading-debian-lenny-to-testing-halts-on-udev-package/ Now I have a problem. When I go to serveraddress/nagios3 in my webbrowser I type in my username (nagiosadmin) and password (nagios). But then I geht the message: Forbidden You don't have permission to access /nagios3/ on this server. The user nagiosadmin has an entry in /etc/nagios3/htpaswd.users. Can you tell me what can I do? Maybe there is a problem between nagios and apache? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 ae at op5.se Wed Sep 8 17:33:43 2010 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Sep 2010 17:33:43 +0200 Subject: FW: Nagios - SunOS In-Reply-To: <57C326BCABEE0842AE585418105A1BABCC8F@039-SN1MPN1-002.039d.mgd.msft.net> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <57C326BCABEE0842AE585418105A1BABCC8F@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: <4C87ACD7.7040409@op5.se> On 09/08/2010 02:00 PM, Tan Kong Jo-B30930 wrote: > > Here is one of the error:- > > # /home/nagios/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 ld.so.1: /home/nagios/nagios/libexec/check_load: fatal: libc.so.1: version `SUNW_1.18' not found (required by file /home/nagios/nagios/libexec/check_load) > Killed > You can't copy binaries from one system version to another, but you should be able to recompile the plugin sources on your older systems and then run the newly created binaries there. Normally, I use nagios-plugins version 1.3.1 when I need to build them on really ancient systems, as it's a minimum of hackery to get it to work, provided one knows how to build without the use of a Makefile. -- 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. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Wed Sep 8 18:22:52 2010 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Wed, 08 Sep 2010 12:22:52 -0400 Subject: Enumerating Interfaces In-Reply-To: References: <4C868428.3020403@lafayette.edu> <4C86A391.2080902@lafayette.edu> Message-ID: <4C87B85C.9030100@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/07/2010 05:45 PM, Greg Pangrazio wrote: > Well we use similar switches here. what we do is create the host then > services for the interfaces and if we have port channels I use the > multiple check_service_cluster for all the interfaces in the port > channel. I just use check snmp for the interfaces. If you want more > specifics i can give you config definitions and command defs etc. Yeah, that's kind of what I settled with so far.. Testing it out on the SAN switches and maybe I'll move that config to other switches too.. I'm using PNP4Nagios, so I wrote a custom script to check the ifOperStatus and get the traffic information on the port as well. So a single check is telling me status, throughput, errors, and discards... I am running into one problem, though, and I'm not sure how to handle it.. How are you handling parent/child for these ports, or are you? In other words, I'd like to pair the device connected to the port with the port itself. However, I'm enumerating each switch for the ports, so I don't have individual services for each device/port combo... My config looks something like this : define service { use service-standard hosts fcswitch1.example.com,fcswitch2.example.com servicegroups fc-switch-standard service_description Switch Port fc1/1 check_command check_snmp_traffic!fc1/1!-C $USER2$ } I think I'm going to have to enumerate each host/port combo, or live without parent/child... *sigh* > Greg Pangrazio - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkyHuFwACgkQO80o6DJ8UvmAsACaAugytCgxrgsePwlNbrw27Cpi rkgAn0e4leboXWricN/+5CtiC07TkUm0 =rEMU -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Wed Sep 8 18:48:52 2010 From: perldork at webwizarddesign.com (Max) Date: Wed, 8 Sep 2010 12:48:52 -0400 Subject: Enumerating Interfaces In-Reply-To: <4C87B85C.9030100@lafayette.edu> References: <4C868428.3020403@lafayette.edu> <4C86A391.2080902@lafayette.edu> <4C87B85C.9030100@lafayette.edu> Message-ID: What I have done in the past and currently do is that each port that is connected to another networking device is modelled as a Nagios host - the host check is then the SNMP port status and the IF stats are collected as services on the host. The parent of the port is the network device itself and that way any child devices can be associated with the port and will be marked as unreachable should the port be administratively or operationally turned down. - Max On Wed, Sep 8, 2010 at 12:22 PM, Jason Frisvold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 09/07/2010 05:45 PM, Greg Pangrazio wrote: >> Well we use similar switches here. ?what we do is create the host then >> services for the interfaces and if we have port channels I use the >> multiple check_service_cluster for all the interfaces in the port >> channel. ?I just use check snmp for the interfaces. ?If you want more >> specifics i can give you config definitions and command defs etc. > > Yeah, that's kind of what I settled with so far.. ?Testing it out on the > SAN switches and maybe I'll move that config to other switches too.. > I'm using PNP4Nagios, so I wrote a custom script to check the > ifOperStatus and get the traffic information on the port as well. ?So a > single check is telling me status, throughput, errors, and discards... > > I am running into one problem, though, and I'm not sure how to handle > it.. ?How are you handling parent/child for these ports, or are you? ?In > other words, I'd like to pair the device connected to the port with the > port itself. ?However, I'm enumerating each switch for the ports, so I > don't have individual services for each device/port combo... ?My config > looks something like this : > > define service { > ? use ? ? ? ? ? ? ? ? ? ? service-standard > ? hosts ? ? ? ? ? ? ? ? ? fcswitch1.example.com,fcswitch2.example.com > ? servicegroups ? ? ? ? ? fc-switch-standard > ? service_description ? ? Switch Port fc1/1 > ? check_command ? ? ? ? ? check_snmp_traffic!fc1/1!-C $USER2$ > } > > I think I'm going to have to enumerate each host/port combo, or live > without parent/child... ?*sigh* > >> Greg Pangrazio > > > - -- > - --------------------------- > Jason Frisvold > Network Engineer > frisvolj at lafayette.edu > - --------------------------- > "What I cannot create, I do not understand" > ? - Richard Feynman > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.14 (GNU/Linux) > Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ > > iEYEARECAAYFAkyHuFwACgkQO80o6DJ8UvmAsACaAugytCgxrgsePwlNbrw27Cpi > rkgAn0e4leboXWricN/+5CtiC07TkUm0 > =rEMU > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at mahalo.com Wed Sep 8 19:26:05 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Wed, 8 Sep 2010 10:26:05 -0700 Subject: problems with the webinterface In-Reply-To: References: Message-ID: Try creating a new user. e.g. First, create a file called .htaccess in the /usr/local/share/nagios/cgi-bin directory. > If you would like to lock up your Nagios Web interface completely, you can > also put a copy of the same file in the /usr/local/share/nagios directory. > > Put the following in this .htaccess file. > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > require valid-user > > When you're adding your first user, the password file that .htaccess refers > to will not be present. You need to run the 'htpasswd' command with the -c option > to create the file. > > > htpasswd -c /usr/local/nagios/etc/htpasswd.users bob > New password: ****** > Re-type new password: ****** > Adding password for user bob > > For the rest of your users, use the 'htpasswd' command without the '-c' > option so as not to overwrite the existing one. After you add all of your > users, you can go back to the Web interface which will now pop up an > authentication dialog. Upon successful authentication, you can start using > the Web interface. Notice that your users will only be able to access > information for servers that they are associated with in the Nagios > configuration files. Also, some sections of the Web interface will be > disabled for everyone by default. If you would like to enable those, take a > look at 'cgi.cfg' file. For instance, in order to allow the user 'bob' to > access the'Process Info' section, uncomment the ' > authorized_for_system_information' line and add 'bob' to the list of names > delimited by commas. > via - http://www.section6.net/wiki/index.php/Setting_up_Nagios_in_FreeBSD Note change the paths if needed. Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Wed, Sep 8, 2010 at 6:53 AM, Chakotey STME wrote: > Hello Mailinglist, > > I used Debian Lenny. > i installed nagios3 with apt-get. > Because of this apt installed further packages like apache2. > It worked fine. > > Because an other reasen I have to use Debian Squeeze. > So I updated to Squeeze and then I had to solve a problem. > I fixed it with this solution: > > http://devplant.net/2010/03/26/linux-upgrading-debian-lenny-to-testing-halts-on-udev-package/ > > Now I have a problem. > When I go to serveraddress/nagios3 in my webbrowser I type in my username > (nagiosadmin) and password (nagios). > But then I geht the message: > Forbidden > > You don't have permission to access /nagios3/ on this server. > > > The user nagiosadmin has an entry in /etc/nagios3/htpaswd.users. > > > Can you tell me what can I do? > > Maybe there is a problem between nagios and apache? > > > thanks > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 justin at mahalo.com Wed Sep 8 19:29:21 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Wed, 8 Sep 2010 10:29:21 -0700 Subject: SNMP showing Unknown In-Reply-To: <4c877bae.22788e0a.410f.60b7@mx.google.com> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> <4c877bae.22788e0a.410f.60b7@mx.google.com> Message-ID: First off do you have NET-SNMP ( http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/) installed on the server you are trying to fetch info from? Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz wrote: > *You need to look at the service definition as well as the command* > > *definition to find out how the command is configured to run for this* > > *particular service check.* > > > > Which file that will be? The command.cfg file entry was the one we had put > in the earlier mail. > > > > We are newbies's so if possible kindly explain in detail. > > > > Regards > > Ananth. > > > > > > > > -----Original Message----- > From: Jim Avery [mailto:jim at jimavery.me.uk] > Sent: 08 September 2010 16:13 > To: Nagios Users List > Subject: Re: [Nagios-users] SNMP showing Unknown > > > > On 8 September 2010 10:19, IT Toonz wrote: > > > We are using FAN 2.0 > > > > > > > > > > > > One of our Windows Servers shows in Nagios. > > > > > > > > > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No > OIDs > > > specified > > > > > > > > > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > > > > > > > > > # 'check_snmp' command definition > > > > > > define command{ > > > > > > command_name check_snmp > > > > > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > > > > > } > > > > > > > > > > > > We entered the snmp community name give the switch ?C after check_snmp, > but > > > still no effect. > > > > You need to look at the service definition as well as the command > > definition to find out how the command is configured to run for this > > particular service check. > > > > hth, > > > > Jim > > > > > ------------------------------------------------------------------------------ > > This SF.net Dev2Dev email is sponsored by: > > > > Show off your parallel programming skills. > > Enter the Intel(R) Threading Challenge 2010. > > http://p.sf.net/sfu/intel-thread-sfd > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 justin at mahalo.com Wed Sep 8 19:31:49 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Wed, 8 Sep 2010 10:31:49 -0700 Subject: check_load gone crazy In-Reply-To: <4C86DB40.5080609@aggregateknowledge.com> References: <4C86DB40.5080609@aggregateknowledge.com> Message-ID: I believe you are running into a flapping issue. Read this: http://nagios.sourceforge.net/docs/2_0/flapping.html Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Tue, Sep 7, 2010 at 5:39 PM, Mike Chesnut wrote: > I'm wondering if this is a known bug, and/or if anybody else has seen > similar behavior... > > We're using Nagios 3.2.1 on Linux, monitoring several Linux systems. We > run the check_load probe against every system. Occasionally (at > non-regular intervals), Nagios will freak out and alert on the load > average of many (sometimes *all*) systems. When this occurs, it reports > the *same* load averages for each system, and the weirdest part is that > these load averages are completely bogus. > > Then, over the course of the next 20 or so minutes, the load averages > being reported gradually decrease (they go from CRITICAL to WARNING to > OK), always staying in sync across *every* system. > > Again, when this happens, the load averages being reported are > completely unrelated to the actual load averages on any of the systems > that are actually being checked. > > Any ideas for what I can do to get to the bottom of why this happens? > > Thanks, > Mike > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 justin at mahalo.com Wed Sep 8 19:41:01 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Wed, 8 Sep 2010 10:41:01 -0700 Subject: Digest authentication web page monitoring In-Reply-To: References: Message-ID: What type of authentication are you referring to? htaccess or your own proprietary authentication system? You might have to use: *check_tcp -H hostname -p port* * * http://nagiosplugins.org/man/check_tcp via: http://www.linuxquestions.org/questions/linux-software-2/nagios-check_http-with-authorization-675343/ Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Tue, Sep 7, 2010 at 8:17 PM, Watanabe, Kazuo wrote: > Hi, > > Does anyone know how to monitor digest authentication web pages? > ./check_http --help doesn't show the option. > > Regards, > Kaz > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 pangrazi at gmail.com Wed Sep 8 19:58:31 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Wed, 8 Sep 2010 12:58:31 -0500 Subject: Enumerating Interfaces In-Reply-To: References: <4C868428.3020403@lafayette.edu> <4C86A391.2080902@lafayette.edu> <4C87B85C.9030100@lafayette.edu> Message-ID: That is the solution we are working towards now as well. we didn't have a good way at the start and just needed to track the states of the ports. Most of ours are redundant wan links anyway so if the host is down we don't need to be alerted on the ports anyway. Greg Pangrazio On Wed, Sep 8, 2010 at 11:48 AM, Max wrote: > What I have done in the past and currently do is that each port that > is connected to another networking device is modelled as a Nagios host > - the host check is then the SNMP port status and the IF stats are > collected as services on the host. ?The parent of the port is the > network device itself and that way any child devices can be associated > with the port and will be marked as unreachable should the port be > administratively or operationally turned down. > > - Max > > On Wed, Sep 8, 2010 at 12:22 PM, Jason Frisvold wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 09/07/2010 05:45 PM, Greg Pangrazio wrote: >>> Well we use similar switches here. ?what we do is create the host then >>> services for the interfaces and if we have port channels I use the >>> multiple check_service_cluster for all the interfaces in the port >>> channel. ?I just use check snmp for the interfaces. ?If you want more >>> specifics i can give you config definitions and command defs etc. >> >> Yeah, that's kind of what I settled with so far.. ?Testing it out on the >> SAN switches and maybe I'll move that config to other switches too.. >> I'm using PNP4Nagios, so I wrote a custom script to check the >> ifOperStatus and get the traffic information on the port as well. ?So a >> single check is telling me status, throughput, errors, and discards... >> >> I am running into one problem, though, and I'm not sure how to handle >> it.. ?How are you handling parent/child for these ports, or are you? ?In >> other words, I'd like to pair the device connected to the port with the >> port itself. ?However, I'm enumerating each switch for the ports, so I >> don't have individual services for each device/port combo... ?My config >> looks something like this : >> >> define service { >> ? use ? ? ? ? ? ? ? ? ? ? service-standard >> ? hosts ? ? ? ? ? ? ? ? ? fcswitch1.example.com,fcswitch2.example.com >> ? servicegroups ? ? ? ? ? fc-switch-standard >> ? service_description ? ? Switch Port fc1/1 >> ? check_command ? ? ? ? ? check_snmp_traffic!fc1/1!-C $USER2$ >> } >> >> I think I'm going to have to enumerate each host/port combo, or live >> without parent/child... ?*sigh* >> >>> Greg Pangrazio >> >> >> - -- >> - --------------------------- >> Jason Frisvold >> Network Engineer >> frisvolj at lafayette.edu >> - --------------------------- >> "What I cannot create, I do not understand" >> ? - Richard Feynman >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v2.0.14 (GNU/Linux) >> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ >> >> iEYEARECAAYFAkyHuFwACgkQO80o6DJ8UvmAsACaAugytCgxrgsePwlNbrw27Cpi >> rkgAn0e4leboXWricN/+5CtiC07TkUm0 >> =rEMU >> -----END PGP SIGNATURE----- >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mikec at aggregateknowledge.com Wed Sep 8 21:03:06 2010 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Wed, 08 Sep 2010 12:03:06 -0700 Subject: check_load gone crazy In-Reply-To: References: <4C86DB40.5080609@aggregateknowledge.com> Message-ID: <4C87DDEA.9050704@aggregateknowledge.com> > What transport mechanism are you using to run check_load on the remote systems? It is not 'network aware' and so the check_load binary must be installed on each remote machine and run on that machine via some transport (check_nrpe, check_by_ssh, etc). It seems to me that you are not running it on the remote machines but are instead monitoring the load of your nagios machine multiple times. Can you show a couple example service{} and corresponding command{} definitions if you are unsure? Wow, good catch. With the standard disclaimers about inheriting this Nagios configuration aside, it was indeed using the local check_load (on the Nagios server) and trying to run it against every single host being monitored, which obviously isn't what I wanted. I'm changing it to run check_load via check_nrpe now. Thanks for the help! Mike ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at mahalo.com Wed Sep 8 21:10:07 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Wed, 8 Sep 2010 12:10:07 -0700 Subject: check_load gone crazy In-Reply-To: <4C87DDEA.9050704@aggregateknowledge.com> References: <4C86DB40.5080609@aggregateknowledge.com> <4C87DDEA.9050704@aggregateknowledge.com> Message-ID: You are welcome. Glad to be of help. Regards, Justin Dorfman 818.485.1458 Sent from my Droid On Sep 8, 2010 12:07 PM, "Mike Chesnut" wrote: > What transport mechanism are you using to run check_load on the remote systems? It is not 'network... Wow, good catch. With the standard disclaimers about inheriting this Nagios configuration aside, it was indeed using the local check_load (on the Nagios server) and trying to run it against every single host being monitored, which obviously isn't what I wanted. I'm changing it to run check_load via check_nrpe now. Thanks for the help! Mike ------------------------------------------------------------------------------ This SF.net Dev2Dev ... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 Sep 8 22:54:29 2010 From: a31modela at hotmail.com (steve f) Date: Wed, 8 Sep 2010 16:54:29 -0400 Subject: Question on Using check_disk for multiple partitions Message-ID: I have a need to check about 10 server partitions on 1200 servers in a distributed Nagios environment. Down the road, I would probably use event handlers to correct known space issues for certain partitions. My question is is it significantly more efficient to check all of the partitions in a single check or seperate checks ? All of the servers being checked are identical in configuration & build and all have the same partitions. If I run this service check : check_command check_space!15%!10%!/opt!/tmp!/VMware!/test!/var!/work!/steve!/partition1 With this in commands.cfg : define command { command_name check_space command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C "/usr/local/nagios /libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ -p $ARG4$ -p $ARG5$ -p $ARG6$ -p $ARG7$ -p $ARG8$" -q } This does work, but I am wondering if I am running the check 1x for each partition listed or is it running 1x and giving me back all partition info. ( kind of like a df -h ) Also, if I run it like this, is there an easy way to configure event handlers to run for the specific partition that has alerted? Since a space issue in /tmp is not due to the same issue that /work fills up. Thanks, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 larryfindley at yahoo.com Thu Sep 9 00:27:44 2010 From: larryfindley at yahoo.com (Lawrence Findley) Date: Wed, 8 Sep 2010 15:27:44 -0700 (PDT) Subject: FW: Nagios - SunOS In-Reply-To: <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: <173668.98530.qm@web58406.mail.re3.yahoo.com> Actually, Sir, my curiosity is genuine. I would be more worried about the vulnerabilites of obsolete, end-of-life products. I think the the newer versions get easier all the time. Especially, ones that include utilites that i used to have to build from source. Also you are less likely to run into incompatiblities with new software going forward as you are experiencing with nagios. Good Luck! ;-) -Larry ? ________________________________ From: Tan Kong Jo-B30930 To: Nagios Developers List ; nagios-users at lists.sourceforge.net Sent: Tue, September 7, 2010 6:53:48 PM Subject: Re: [Nagios-devel] FW: Nagios - SunOS Hi Larry, ? This is really a joke, right? The in-charge person in our team feel soooo afraid to upgrade the SunOS to higher versions, just because of lack of technical knowledge. I suggested on the upgrade, but the boss with that in-charge person. ? ? From:Lawrence Findley [mailto:larryfindley at yahoo.com] Sent: 08 September, 2010 9:47 AM To: Nagios Developers List; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-devel] FW: Nagios - SunOS ? Very interesting, I'm not offering help in this area since I haven't worked with the older versions of solaris for years. I'm just saying that I'm curious on why anyone would be running anything so ancient.? -Larry ? ? ________________________________ From:Tan Kong Jo-B30930 To: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Sent: Tue, September 7, 2010 5:18:02 PM Subject: [Nagios-devel] FW: Nagios - SunOS ?Dear Sir, ? We are from Freescale Semiconductor. ? Recently, we have Nagios of SunOS 5.8, and installed successfully. However, we unable to get any version lower than Sun 5.8. ? SunOS 5.8 ? installed and working fine. SunOS 5.6 ? got error when install with Nagios of SunOS 5.8. SunOS 5.5.1 SunOS 4.1.4 SunOS 4.1.3_U1 ? ? ? -----Original Message----- From: Ethan Galstad [mailto:sales at nagios.com] Sent: 02 September, 2010 8:59 PM To: Tan Kong Jo-B30930 Cc: Radha Krishnan Hari Krishnan-B22184; Lian C.K.-R18924; Yee MickaelKokChye-RF312C; Li Yi-B07323 Subject: Re: Nagios - SunOS ? Hi Tan - ? You can get community support for Nagios on SunOS by using the community mailing lists.? See: ? http://www.nagios.org/support ? ? Ethan Galstad ___ Nagios Enterprises, LLC Email:????? sales at nagios.com Phone:????? (888)624-4671 Fax:??? (651)204-9103 Web:??? www.nagios.com ? ? ? Tan Kong Jo-B30930 wrote: > Hi Sir, > >? > > We are from Freescale Semiconductor. > >? > > We would like to get some support from your support team. > > Can you provide the support team?s e-mail for us to refer? > >? > > Recently, we have Nagios of SunOS 5.8, and installed successfully. > > However, we unable to get any version lower than Sun 5.8. > >? > > SunOS 5.8 ? installed and working fine. > > SunOS 5.6 ? got error when install with Nagios of SunOS 5.8. > > SunOS 5.5.1 > > SunOS 4.1.4 > > SunOS 4.1.3_U1 > >? > >? > >? > >? > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From ae at op5.se Thu Sep 9 02:04:05 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Sep 2010 02:04:05 +0200 Subject: check_load gone crazy In-Reply-To: References: <4C86DB40.5080609@aggregateknowledge.com> <4C87DDEA.9050704@aggregateknowledge.com> Message-ID: <4C882475.5060405@op5.se> On 09/08/2010 09:10 PM, Dorfman, Justin wrote: > You are welcome. Glad to be of help. > Just for the record, it was actually Marc's answer that was correct. I wouldn't want anyone finding this in the archives and believe that this is a symptom of flapping. But thanks for playing anyways. -- 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. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 9 02:09:52 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Sep 2010 02:09:52 +0200 Subject: Question on Using check_disk for multiple partitions In-Reply-To: References: Message-ID: <4C8825D0.2090401@op5.se> On 09/08/2010 10:54 PM, steve f wrote: > > I have a need to check about 10 server partitions on 1200 servers in > a distributed Nagios environment. Down the road, I would probably > use event handlers to correct known space issues for certain > partitions. > > My question is is it significantly more efficient to check all of the > partitions in a single check or seperate checks ? A single check is significantly more efficient. You would save 9*1200 service check executions per interval period. OTOH, some partitions may be unimportant and not in need of checking as often or with the same autoclean / notification setup. I guess you'll be managing services via hostgroup directives anyway, so configuration shouldn't be all that tricksy no matter which route you choose. > All of the servers > being checked are identical in configuration& build and all have the > same partitions. > > If I run this service check : > > check_command > check_space!15%!10%!/opt!/tmp!/VMware!/test!/var!/work!/steve!/partition1 > > With this in commands.cfg : > > define command { > > command_name check_space > > command_line $USER1$/check_by_ssh -H $HOSTNAME$ -C > "/usr/local/nagios /libexec/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ > -p $ARG4$ -p $ARG5$ -p $ARG6$ -p $ARG7$ -p $ARG8$" -q > > } > > This does work, but I am wondering if I am running the check 1x for > each partition listed or is it running 1x and giving me back all > partition info. ( kind of like a df -h ) > You're running the check once and giving you all partition info at once. > Also, if I run it like this, is there an easy way to configure event > handlers to run for the specific partition that has alerted? Since a > space issue in /tmp is not due to the same issue that /work fills > up. > I think eventhandlers can get the plugin output to act on. Otherwise, set up one check for the partitions that can be autocleaned and one for the partitions that can't. The docs should be useful in verifying my assumption, so sneak a peek at them when you have time for it. -- 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. ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Thu Sep 9 11:36:22 2010 From: it.toonz at gmail.com (IT Toonz) Date: Thu, 9 Sep 2010 15:06:22 +0530 Subject: SNMP showing Unknown In-Reply-To: References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> <4c877bae.22788e0a.410f.60b7@mx.google.com> Message-ID: <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> Hi Justin, We have the native SNMP in Windows installed and we wanted to monitor those readings. We downloaded and installed Net-SNMP, but seems there a bit of configuring to do, we are fiddling with Nagios settings, so not sure whether we want to spend time learning Net-SNMP at present. But its definitely something which we want to look at in the future. Thanks for sharing the info. Meanwhile we are still stuck in SNMP!! This is what we get when we run [root at Nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp SNMPv2-MIB::snmpInPkts.0 = Counter32: 1 SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11 SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14 SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25 SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1) So seems client side is fine. Please advice... below is the error we get by mail ***** Nagios ***** Notification Type: PROBLEM Service: SNMP Host: antivirsrv Address: 192.168.3.100 State: UNKNOWN Date/Time: Thu Sept 9 14:42:56 IST 2010 Additional Info: No OIDs specified below is the config settings for windows servers # Create a service for monitoring SNMP define service{ use generic-service host_name taipl-domsrv host_name tai3dserver host_name tai3dstorage-02 host_name tai3d-avsrv service_description SNMP check_command check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000 } Please advice....what else is there to configure, please be specific, we just started in Fully Automated Nagios, with a lot of help we have reached this far.... J Regards Ananth. From: Dorfman, Justin [mailto:justin at mahalo.com] Sent: 08 September 2010 22:59 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown First off do you have NET-SNMP (http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-bina ries/) installed on the server you are trying to fetch info from? Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops | Blog: http://bit.ly/aNiWSk On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz wrote: You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. Which file that will be? The command.cfg file entry was the one we had put in the earlier mail. We are newbies's so if possible kindly explain in detail. Regards Ananth. -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: 08 September 2010 16:13 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown On 8 September 2010 10:19, IT Toonz wrote: > We are using FAN 2.0 > > > > One of our Windows Servers shows in Nagios. > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs > specified > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > # 'check_snmp' command definition > > define command{ > > command_name check_snmp > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > } > > > > We entered the snmp community name give the switch -C after check_snmp, but > still no effect. You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. hth, Jim ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 ravishankar.gundlapali at wipro.com Thu Sep 9 12:11:33 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Thu, 9 Sep 2010 15:41:33 +0530 Subject: SQL-DB Services-Unknown Status References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com> Message-ID: <618F928F9E2D824AAB26DCAA0F25221F0296FA50@HYD-MKD-MBX02.wipro.com> Hi, I am using Nagios Version 3.0.6 on a Linux server to monitor the SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. For the many of the servers the status information is showing following errors. Please see the screenshots below 1) UNKNOWN: No handler for that command 2) Unknown - * query: No row returned. 3) CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. 4) Unknown - No data received from WMI: I am using the following the check commands check_nrpe_mssql_log_used!*!50!90 check_nrpe_mssql_log_growths!*!5000!9000 Please someone let me know how can I resolve this. Thanks & Regards, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3817 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 3787 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 6116 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 3787 bytes Desc: image005.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 chakoteystme at gmail.com Thu Sep 9 13:54:18 2010 From: chakoteystme at gmail.com (Chakotey STME) Date: Thu, 9 Sep 2010 13:54:18 +0200 Subject: problems with the webinterface In-Reply-To: References: Message-ID: Thanks for your answer, I found a solution. the problem was based on udev. chakoteystme 2010/9/8 Dorfman, Justin > Try creating a new user. e.g. > > First, create a file called .htaccess in the >> /usr/local/share/nagios/cgi-bin directory. If you would like to lock up >> your Nagios Web interface completely, you can also put a copy of the same >> file in the /usr/local/share/nagios directory. >> >> Put the following in this .htaccess file. >> >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /usr/local/nagios/etc/htpasswd.users >> require valid-user >> >> When you're adding your first user, the password file that .htaccess >> refers to will not be present. You need to run the 'htpasswd' command >> with the -c option to create the file. >> >> >> htpasswd -c /usr/local/nagios/etc/htpasswd.users bob >> New password: ****** >> Re-type new password: ****** >> Adding password for user bob >> >> For the rest of your users, use the 'htpasswd' command without the '-c' >> option so as not to overwrite the existing one. After you add all of your >> users, you can go back to the Web interface which will now pop up an >> authentication dialog. Upon successful authentication, you can start using >> the Web interface. Notice that your users will only be able to access >> information for servers that they are associated with in the Nagios >> configuration files. Also, some sections of the Web interface will be >> disabled for everyone by default. If you would like to enable those, take a >> look at 'cgi.cfg' file. For instance, in order to allow the user 'bob' to >> access the'Process Info' section, uncomment the ' >> authorized_for_system_information' line and add 'bob' to the list of >> names delimited by commas. >> > > via - http://www.section6.net/wiki/index.php/Setting_up_Nagios_in_FreeBSD > > Note change the paths if needed. > > Regards, > > Justin Dorfman > Mahalo.com Inc. > Jr. Systems Engineer > 818.485.1458 > @jdorfman | @MahaloSysops| Blog: > http://bit.ly/aNiWSk > > > On Wed, Sep 8, 2010 at 6:53 AM, Chakotey STME wrote: > >> Hello Mailinglist, >> >> I used Debian Lenny. >> i installed nagios3 with apt-get. >> Because of this apt installed further packages like apache2. >> It worked fine. >> >> Because an other reasen I have to use Debian Squeeze. >> So I updated to Squeeze and then I had to solve a problem. >> I fixed it with this solution: >> >> http://devplant.net/2010/03/26/linux-upgrading-debian-lenny-to-testing-halts-on-udev-package/ >> >> Now I have a problem. >> When I go to serveraddress/nagios3 in my webbrowser I type in my username >> (nagiosadmin) and password (nagios). >> But then I geht the message: >> Forbidden >> >> You don't have permission to access /nagios3/ on this server. >> >> >> The user nagiosadmin has an entry in /etc/nagios3/htpaswd.users. >> >> >> Can you tell me what can I do? >> >> Maybe there is a problem between nagios and apache? >> >> >> thanks >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 lists at xodus.org Thu Sep 9 14:11:56 2010 From: lists at xodus.org (Marc Powell) Date: Thu, 9 Sep 2010 07:11:56 -0500 Subject: SNMP showing Unknown In-Reply-To: <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> <4c877bae.22788e0a.410f.60b7@mx.google.com> <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> Message-ID: <36E5B82A-F3E2-41AE-8E5F-7C5A959F4224@xodus.org> On Sep 9, 2010, at 4:36 AM, IT Toonz wrote: > below is the config settings for windows servers > > # Create a service for monitoring SNMP > > define service{ > use generic-service > host_name taipl-domsrv > host_name tai3dserver > host_name tai3dstorage-02 > host_name tai3d-avsrv > service_description SNMP > check_command check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000 > } > > Please advice....what else is there to configure, please be specific, we just started in Fully Automated Nagios, with a lot of help we have reached this far.... J > > define command{ > > command_name check_snmp > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > } Based on the check_command that you have above, the command_line you've told nagios to run is -- /check_snmp -H
.1.3.6.1.2.1.25.1.3.1.6.2 As you can see, this is far from complete or formatted properly. I'm not sure what the parameters you are trying to pass are but way you have the command_line set up requires that you pass them as part of the check_command like so -- define service { ... check_command check_snmp!-o .1.3.6.1.2.1.25.2.3.1.6.2 -C -l Cachebuffers -(... whatever other paramenters you are trying to pass to check_snmp) You probably want to read the documentation on using arguments in commands, specifically the $ARGx$ macros and check_snmp documenation (man check_snmp) to fully understand why what you tried didn't work. -- Marc ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at mahalo.com Thu Sep 9 14:39:05 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Thu, 9 Sep 2010 05:39:05 -0700 Subject: problems with the webinterface In-Reply-To: References: Message-ID: Good stuff Regards, Justin Dorfman 818.485.1458 Sent from my Droid On Sep 9, 2010 4:56 AM, "Chakotey STME" wrote: Thanks for your answer, I found a solution. the problem was based on udev. chakoteystme 2010/9/8 Dorfman, Justin > > Try creating a new user. e.g. > >> First, create a file called .htaccess in the /usr/local/shar... ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd -------------- 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 stefan at fuhrmann.homedns.org Thu Sep 9 16:59:09 2010 From: stefan at fuhrmann.homedns.org (Stefan Fuhrmann) Date: Thu, 9 Sep 2010 16:59:09 +0200 Subject: monitoring remote windows machines over vpn In-Reply-To: References: <201009061659.01979.stefan@fuhrmann.homedns.org> Message-ID: <201009091659.09583.stefan@fuhrmann.homedns.org> Hello Greg, Am Dienstag, 7. September 2010, 15:09:54 schrieb Greg Pangrazio: > Is the tunnel always active or are you building the tunnel every time? the connections are ssl vpn via UDP and the connections are always active. > > I use three checks before marking the host down. The first check is > at 5 min the others at 1 min. This seems to reduce my false positives > as the VPNs usually have a lifetime of tens of minutes. hmm, okay, I have also 3 checks configured, I will try it with some more checks. thanks stefan ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Thu Sep 9 19:17:52 2010 From: john.nagios at gmail.com (Nagios User) Date: Thu, 9 Sep 2010 13:17:52 -0400 Subject: Nexus 7000/5000 Message-ID: Anyone monitoring Cisco's Nexus 7000/5000 for load average? The existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please help me with this. root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H 10.31.101.134 -C blabla Status is a WARNING level - SNMP OID does not exist --john ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Thu Sep 9 19:52:07 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Thu, 09 Sep 2010 13:52:07 -0400 Subject: Nexus 7000/5000 In-Reply-To: References: Message-ID: the nexus 5k and 7k dont run IOS. I suspect there's an entirely different set of OIDs to query. On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User wrote: > Anyone monitoring Cisco's Nexus 7000/5000 for load average? The > existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please > help me with this. > > root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H > 10.31.101.134 -C blabla > Status is a WARNING level - SNMP OID does not exist > > > --john > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Thu Sep 9 19:55:29 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Thu, 09 Sep 2010 13:55:29 -0400 Subject: Nexus 7000/5000 In-Reply-To: References: Message-ID: <63da320d15ab82fd3eaa99c420797c5c@localhost> the nexus 5k and 7k dont run IOS. I suspect there's an entirely different set of OIDs to query. ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus5000/Nexus5000MIBSupportList.html On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User wrote: > Anyone monitoring Cisco's Nexus 7000/5000 for load average? The > existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please > help me with this. > > root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H > 10.31.101.134 -C blabla > Status is a WARNING level - SNMP OID does not exist > > > --john > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Thu Sep 9 19:56:00 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Thu, 09 Sep 2010 13:56:00 -0400 Subject: Nexus 7000/5000 In-Reply-To: References: Message-ID: the nexus 5k and 7k don't run IOS. I suspect there's an entirely different set of OIDs to query. ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus5000/Nexus5000MIBSupportList.html On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User wrote: > Anyone monitoring Cisco's Nexus 7000/5000 for load average? The > existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please > help me with this. > > root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H > 10.31.101.134 -C blabla > Status is a WARNING level - SNMP OID does not exist > > > --john > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Thu Sep 9 19:55:37 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Thu, 09 Sep 2010 13:55:37 -0400 Subject: Nexus 7000/5000 In-Reply-To: References: Message-ID: the nexus 5k and 7k dont run IOS. I suspect there's an entirely different set of OIDs to query. ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus5000/Nexus5000MIBSupportList.html On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User wrote: > Anyone monitoring Cisco's Nexus 7000/5000 for load average? The > existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please > help me with this. > > root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H > 10.31.101.134 -C blabla > Status is a WARNING level - SNMP OID does not exist > > > --john > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Thu Sep 9 19:56:51 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Thu, 09 Sep 2010 13:56:51 -0400 Subject: Nexus 7000/5000 In-Reply-To: References: Message-ID: <6c31b4e067c299f4532b721f30cb052d@localhost> the nexus 5k and 7k don't run IOS. I suspect there's an entirely different set of OIDs to query. ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus5000/Nexus5000MIBSupportList.html On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User wrote: > Anyone monitoring Cisco's Nexus 7000/5000 for load average? The > existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please > help me with this. > > root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H > 10.31.101.134 -C blabla > Status is a WARNING level - SNMP OID does not exist > > > --john > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Thu Sep 9 19:56:45 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Thu, 09 Sep 2010 13:56:45 -0400 Subject: Nexus 7000/5000 In-Reply-To: References: Message-ID: the nexus 5k and 7k don't run IOS. I suspect there's an entirely different set of OIDs to query. ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus5000/Nexus5000MIBSupportList.html On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User wrote: > Anyone monitoring Cisco's Nexus 7000/5000 for load average? The > existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please > help me with this. > > root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H > 10.31.101.134 -C blabla > Status is a WARNING level - SNMP OID does not exist > > > --john > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Thu Sep 9 19:58:43 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Thu, 09 Sep 2010 13:58:43 -0400 Subject: Nexus 7000/5000 In-Reply-To: References: Message-ID: <638c15e7dcba8e1ebd3b60560951cece@localhost> the nexus 5k and 7k don't run IOS. I suspect there's an entirely different set of OIDs to query. ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus5000/Nexus5000MIBSupportList.html On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User wrote: > Anyone monitoring Cisco's Nexus 7000/5000 for load average? The > existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please > help me with this. > > root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H > 10.31.101.134 -C blabla > Status is a WARNING level - SNMP OID does not exist > > > --john > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Thu Sep 9 20:49:44 2010 From: john.nagios at gmail.com (Nagios User) Date: Thu, 9 Sep 2010 14:49:44 -0400 Subject: Nexus 7000/5000 In-Reply-To: <63da320d15ab82fd3eaa99c420797c5c@localhost> References: <63da320d15ab82fd3eaa99c420797c5c@localhost> Message-ID: Kyle, Thanks! I was at the same the site checking for an OID. Also tried fiddling with some OIDs with no luck. Will keep messing with different OIDs untill I find a solution. Thanks, --john On Thu, Sep 9, 2010 at 1:55 PM, Kyle O'Donnell wrote: > the nexus 5k and 7k dont run IOS. ?I suspect there's an entirely > different set of OIDs to query. > > ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus5000/Nexus5000MIBSupportList.html > > > > On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User > wrote: >> Anyone monitoring Cisco's Nexus 7000/5000 for load average? The >> existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please >> help me with this. >> >> root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H >> 10.31.101.134 -C blabla >> Status is a WARNING level - SNMP OID does not exist >> >> >> --john >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerald.Ortner at gespag.at Fri Sep 10 08:06:46 2010 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Fri, 10 Sep 2010 08:06:46 +0200 Subject: Nexus 7000/5000 In-Reply-To: References: <63da320d15ab82fd3eaa99c420797c5c@localhost> Message-ID: <13579FFE8B208F4DBA327EE25F804AAB9A729ED7@swvbpheaglxmb02.health.local> Hi, The only working CPU OIDs (CISCO-PROCESS-MIB) I found for Nexus 7000 are. .1.3.6.1.4.1.9.9.109.1.1.1.1.6 The overall CPU busy percentage in the last 5 second period .1.3.6.1.4.1.9.9.109.1.1.1.1.7 The overall CPU busy percentage in the last 1 minute period .1.3.6.1.4.1.9.9.109.1.1.1.1.8 The overall CPU busy percentage in the last 5 minute period And ( CISCO-SYSTEM-EXT-MIB) .1.3.6.1.4.1.9.9.305.1.1.2.0 The average utilization of CPU on the active supervisor. Gerald -----Urspr?ngliche Nachricht----- Von: Nagios User [mailto:john.nagios at gmail.com] Gesendet: Donnerstag, 09. September 2010 20:50 An: Nagios Users List Betreff: Re: [Nagios-users] Nexus 7000/5000 Kyle, Thanks! I was at the same the site checking for an OID. Also tried fiddling with some OIDs with no luck. Will keep messing with different OIDs untill I find a solution. Thanks, --john On Thu, Sep 9, 2010 at 1:55 PM, Kyle O'Donnell wrote: > the nexus 5k and 7k dont run IOS. I suspect there's an entirely > different set of OIDs to query. > > ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus5000/Nexus5000MIBSup > portList.html > > > > On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User > wrote: >> Anyone monitoring Cisco's Nexus 7000/5000 for load average? The >> existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please >> help me with this. >> >> root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H >> 10.31.101.134 -C blabla >> Status is a WARNING level - SNMP OID does not exist >> >> >> --john >> >> --------------------------------------------------------------------- >> --------- This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to >> /dev/null > > > ---------------------------------------------------------------------- > -------- This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Fri Sep 10 09:28:27 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Fri, 10 Sep 2010 12:58:27 +0530 Subject: SQL-DB Services-Unknown Status References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com> Message-ID: <618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com> Hi All, Request you to help me on this. Thanks, Ravi G From: Ravishankar Gundlapali (WT01 - Energy and Utilities) Sent: Thursday, September 09, 2010 3:42 PM To: 'Nagios Users List' Subject: SQL-DB Services-Unknown Status Hi, I am using Nagios Version 3.0.6 on a Linux server to monitor the SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. For the many of the servers the status information is showing following errors. Please see the screenshots below 1) UNKNOWN: No handler for that command 2) Unknown - * query: No row returned. 3) CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. 4) Unknown - No data received from WMI: I am using the following the check commands check_nrpe_mssql_log_used!*!50!90 check_nrpe_mssql_log_growths!*!5000!9000 Please someone let me know how can I resolve this. Thanks & Regards, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3817 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 3787 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 6116 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 3787 bytes Desc: image004.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 TGFurnish at herffjones.com Fri Sep 10 10:04:22 2010 From: TGFurnish at herffjones.com (Furnish, Trever G) Date: Fri, 10 Sep 2010 04:04:22 -0400 Subject: How do you wake up an iPhone user??? Message-ID: Thought I would poll the list on this one to see what everyone else is doing. The iphone won't let a user specify a custom sound for a text message alert (unless it's jailbroken). It won't repeat the notification sound frequently (once every three seconds, for example). The existing notification sounds aren't loud enough or long enough to wake up most people. Most of the folks I serve have started to complain that Nagios can't wake them up -- it's really an iphone problem though. Has anyone else come up with a good solution and actually put it into use? I am considering several options: 1. Write my own iphone app to make the thing go nuts when a text message is ignored for more than a few minutes. 2. Write my own system to cause a simple v.Everything modem to call someone and read them an alert using speex or set up an asterix gateway to allow such a call to be placed. 3. Use an outside service such as pagerduty or alarmtilt. I don't quite have the skill for #1, and I don't want to deal with detecting answering machines for #2, so I'm surprised to find myself leaning towards #3. But what has everyone else done? Is no one else having to deal with this? -- Trever Furnish, tgfurnish at herffjones.com Herff Jones, Inc. Solutions Architect Phone: 317.612.3519 Any sufficiently advanced technology is indistinguishable from Unix. ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Fri Sep 10 10:40:44 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Fri, 10 Sep 2010 14:10:44 +0530 Subject: Oracle Services showing Unknown References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com> Message-ID: <618F928F9E2D824AAB26DCAA0F25221F0296FB7C@HYD-MKD-MBX02.wipro.com> Hi, I am using Nagios Version 3.0.6 on a Linux server to monitor the Oracle Listener, Oracle PMON and Oracle Table spaces for a Unix server using the following commands 1) For Oracle PMON: check_nrpe!check_oracle_db 2) For Oracle Listener: check_nrpe!check_oracle_listner 3) For Oracle Table Space: check_nrpe!check_oracle_ts_tablespace name After I configure these in Nagios I am getting the following status information ' Cannot determine ORACLE_HOME for sid nagios ' Please someone let me know how can I resolve this. Thanks & Regards, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 Sep 10 11:34:05 2010 From: nagios at flatto.net (Assaf Flatto) Date: Fri, 10 Sep 2010 10:34:05 +0100 Subject: How do you wake up an iPhone user??? In-Reply-To: References: Message-ID: <4C89FB8D.8080509@flatto.net> Have them use a decent phone ?? Sorry couldn't resist .. But more to the point .. i encountered a similar issue with nagios texts (alerts) not waking up the receiver of the alert , what we did was switch from alert in text format to nagios contacting our VOIP server and initiate a call to the contact defined and use a Text-To-Speech to generate the "call " . Most people will wake up when a phone cal comes it , and i suspect that the iPhone ring tone is loud enough . On 10/09/10 09:04, Furnish, Trever G wrote: > Thought I would poll the list on this one to see what everyone else is > doing. > > The iphone won't let a user specify a custom sound for a text message > alert (unless it's jailbroken). It won't repeat the notification sound > frequently (once every three seconds, for example). The existing > notification sounds aren't loud enough or long enough to wake up most > people. Most of the folks I serve have started to complain that Nagios > can't wake them up -- it's really an iphone problem though. > > Has anyone else come up with a good solution and actually put it into > use? I am considering several options: > > 1. Write my own iphone app to make the thing go nuts when a text message > is ignored for more than a few minutes. > > 2. Write my own system to cause a simple v.Everything modem to call > someone and read them an alert using speex or set up an asterix gateway > to allow such a call to be placed. > > 3. Use an outside service such as pagerduty or alarmtilt. > > I don't quite have the skill for #1, and I don't want to deal with > detecting answering machines for #2, so I'm surprised to find myself > leaning towards #3. > > But what has everyone else done? Is no one else having to deal with > this? > > -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zarrelli at linux.it Fri Sep 10 11:40:17 2010 From: zarrelli at linux.it (zarrelli at linux.it) Date: Fri, 10 Sep 2010 11:40:17 +0200 (CEST) Subject: How do you wake up an iPhone user??? In-Reply-To: <4C89FB8D.8080509@flatto.net> References: <4C89FB8D.8080509@flatto.net> Message-ID: <0b13a8eb44cbff320bfe61c74c11490e.squirrel@picard.linux.it> http://growl.info/about.php ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bram at openminds.be Fri Sep 10 12:25:26 2010 From: bram at openminds.be (Bram Gillemon) Date: Fri, 10 Sep 2010 12:25:26 +0200 Subject: How do you wake up an iPhone user??? In-Reply-To: References: Message-ID: I use prowl for this, it's free, fast, and you can set the most things you like on the iphone app. Prowl uses the iphone's push notifications, so you have to have this enabled. The only problem you have with prowl is that the user can turn of his notifications and as far as i know there is no way to detect this. http://prowl.weks.net/ Kr, Bram Gillemon On 10 Sep 2010, at 10:04, Furnish, Trever G wrote: > Thought I would poll the list on this one to see what everyone else is > doing. > > The iphone won't let a user specify a custom sound for a text message > alert (unless it's jailbroken). It won't repeat the notification sound > frequently (once every three seconds, for example). The existing > notification sounds aren't loud enough or long enough to wake up most > people. Most of the folks I serve have started to complain that Nagios > can't wake them up -- it's really an iphone problem though. > > Has anyone else come up with a good solution and actually put it into > use? I am considering several options: > > 1. Write my own iphone app to make the thing go nuts when a text message > is ignored for more than a few minutes. > > 2. Write my own system to cause a simple v.Everything modem to call > someone and read them an alert using speex or set up an asterix gateway > to allow such a call to be placed. > > 3. Use an outside service such as pagerduty or alarmtilt. > > I don't quite have the skill for #1, and I don't want to deal with > detecting answering machines for #2, so I'm surprised to find myself > leaning towards #3. > > But what has everyone else done? Is no one else having to deal with > this? > > -- > Trever Furnish, tgfurnish at herffjones.com > Herff Jones, Inc. Solutions Architect > Phone: 317.612.3519 > Any sufficiently advanced technology is indistinguishable from Unix. > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john.nagios at gmail.com Fri Sep 10 13:15:39 2010 From: john.nagios at gmail.com (Nagios User) Date: Fri, 10 Sep 2010 07:15:39 -0400 Subject: Nexus 7000/5000 In-Reply-To: <13579FFE8B208F4DBA327EE25F804AAB9A729ED7@swvbpheaglxmb02.health.local> References: <63da320d15ab82fd3eaa99c420797c5c@localhost> <13579FFE8B208F4DBA327EE25F804AAB9A729ED7@swvbpheaglxmb02.health.local> Message-ID: Gerald, Thank you very much for all the information. --john On Fri, Sep 10, 2010 at 2:06 AM, Ortner, Gerald wrote: > Hi, > > The only working CPU OIDs (CISCO-PROCESS-MIB) I found for Nexus 7000 are. > .1.3.6.1.4.1.9.9.109.1.1.1.1.6 ?The overall CPU busy percentage in the last 5 second period > .1.3.6.1.4.1.9.9.109.1.1.1.1.7 ?The overall CPU busy percentage in the last 1 minute period > .1.3.6.1.4.1.9.9.109.1.1.1.1.8 ?The overall CPU busy percentage in the last 5 minute period > > And ( CISCO-SYSTEM-EXT-MIB) > .1.3.6.1.4.1.9.9.305.1.1.2.0 ? ?The average utilization of CPU on the active supervisor. > > > Gerald > > > -----Urspr?ngliche Nachricht----- > Von: Nagios User [mailto:john.nagios at gmail.com] > Gesendet: Donnerstag, 09. September 2010 20:50 > An: Nagios Users List > Betreff: Re: [Nagios-users] Nexus 7000/5000 > > Kyle, > Thanks! I was at the same the site checking for an OID. Also tried fiddling with some OIDs with no luck. Will keep messing with different OIDs untill I find a solution. > > Thanks, > --john > > On Thu, Sep 9, 2010 at 1:55 PM, Kyle O'Donnell wrote: >> the nexus 5k and 7k dont run IOS. ?I suspect there's an entirely >> different set of OIDs to query. >> >> ftp://ftp-sj.cisco.com/pub/mibs/supportlists/nexus5000/Nexus5000MIBSup >> portList.html >> >> >> >> On Thu, 9 Sep 2010 13:17:52 -0400, Nagios User >> wrote: >>> Anyone monitoring Cisco's Nexus 7000/5000 for load average? The >>> existing plugin (check_snmp_cisco_loadavg) gives an OID error. Please >>> help me with this. >>> >>> root at nagios:/usr/local/nagios/libexec# ./check_snmp_cisco_loadavg -H >>> 10.31.101.134 -C blabla >>> Status is a WARNING level - SNMP OID does not exist >>> >>> >>> --john >>> >>> --------------------------------------------------------------------- >>> --------- This SF.net Dev2Dev email is sponsored by: >>> >>> Show off your parallel programming skills. >>> Enter the Intel(R) Threading Challenge 2010. >>> http://p.sf.net/sfu/intel-thread-sfd >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to >>> /dev/null >> >> >> ---------------------------------------------------------------------- >> -------- This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > OOe. Gesundheits- und Spitals-AG > Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 10 15:10:14 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Fri, 10 Sep 2010 08:10:14 -0500 Subject: SQL-DB Services-Unknown Status In-Reply-To: <618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com> References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com> Message-ID: before anyone can help you we need the parts of the config that are important here. Can you give us the command definition, service definition and any other relevant part of the config? On Fri, Sep 10, 2010 at 2:28 AM, wrote: > Hi All, > > > > Request you to help me on this. > > > > Thanks, > > Ravi G > > > > *From:* Ravishankar Gundlapali (WT01 - Energy and Utilities) > *Sent:* Thursday, September 09, 2010 3:42 PM > *To:* 'Nagios Users List' > *Subject:* SQL-DB Services-Unknown Status > > > > Hi, > > > > I am using Nagios Version 3.0.6 on a Linux server to monitor the > SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. > > > > For the many of the servers the status information is showing following > errors. Please see the screenshots below > > > > 1) UNKNOWN: No handler for that command > > 2) Unknown - * query: No row returned. > > 3) CHECK_NRPE: Received 0 bytes from daemon. Check the remote server > logs for error messages. > > 4) Unknown - No data received from WMI: > > > > I am using the following the check commands > > > > check_nrpe_mssql_log_used!*!50!90 > > check_nrpe_mssql_log_growths!*!5000!9000 > > > > Please someone let me know how can I resolve this. > > > > > > Thanks & Regards, > > *Ravi G* > > > > > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: 3817 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 3787 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 6116 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 3787 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 nccomp at gmail.com Fri Sep 10 15:16:00 2010 From: nccomp at gmail.com (Andrew Davis) Date: Fri, 10 Sep 2010 09:16:00 -0400 Subject: How do you wake up an iPhone user??? In-Reply-To: <0b13a8eb44cbff320bfe61c74c11490e.squirrel@picard.linux.it> References: <4C89FB8D.8080509@flatto.net> <0b13a8eb44cbff320bfe61c74c11490e.squirrel@picard.linux.it> Message-ID: <4C8A2F8F.4060304@gmail.com> We put in our own sms gateway and have it configured so that all alerts go through email unless its related to the network or email (which email alerts are dependent upon), in which case they get sms instead. We then broke up the alerts such that any sms alert would repeat every 5 minutes until acknowledged. That solved the problem for us... A. Davis Email: nccomp at gmail.com "There is no limit to what a man can accomplish if he doesn't care who gets the credit." - Ronald Reagan On 9/10/10 5:40 AM, zarrelli at linux.it wrote: > http://growl.info/about.php > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 ravishankar.gundlapali at wipro.com Fri Sep 10 15:49:06 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Fri, 10 Sep 2010 19:19:06 +0530 Subject: SQL-DB Services-Unknown Status In-Reply-To: References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com><618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com> Message-ID: <618F928F9E2D824AAB26DCAA0F25221F0296FB98@HYD-MKD-MBX02.wipro.com> Hi, Please see the service definition and command definition which I am using for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH. Request you to provide a clue on this. define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-USED is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_used!*!50!90 } define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-GROWTH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_growths!*!5000!9000 ; Log growth scale is 0.01 hence 5000 and 9000 } define command { command_name check_nrpe_mssql_log_used command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } define command { command_name check_nrpe_mssql_log_growths command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_growth -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } Thanks, Ravi G From: Greg Pangrazio [mailto:pangrazi at gmail.com] Sent: Friday, September 10, 2010 6:40 PM To: Nagios Users List Subject: Re: [Nagios-users] SQL-DB Services-Unknown Status before anyone can help you we need the parts of the config that are important here. Can you give us the command definition, service definition and any other relevant part of the config? On Fri, Sep 10, 2010 at 2:28 AM, wrote: Hi All, Request you to help me on this. Thanks, Ravi G From: Ravishankar Gundlapali (WT01 - Energy and Utilities) Sent: Thursday, September 09, 2010 3:42 PM To: 'Nagios Users List' Subject: SQL-DB Services-Unknown Status Hi, I am using Nagios Version 3.0.6 on a Linux server to monitor the SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. For the many of the servers the status information is showing following errors. Please see the screenshots below 1) UNKNOWN: No handler for that command 2) Unknown - * query: No row returned. 3) CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. 4) Unknown - No data received from WMI: I am using the following the check commands check_nrpe_mssql_log_used!*!50!90 check_nrpe_mssql_log_growths!*!5000!9000 Please someone let me know how can I resolve this. Thanks & Regards, Ravi G ------------------------------------------------------------------------ ------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 3817 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 3787 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 6116 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 3787 bytes Desc: image004.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 justin at mahalo.com Fri Sep 10 16:36:06 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Fri, 10 Sep 2010 07:36:06 -0700 Subject: SNMP showing Unknown In-Reply-To: <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> <4c877bae.22788e0a.410f.60b7@mx.google.com> <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> Message-ID: Ananth, This is how we check an SNMP process (in commands.cfg): > # 'check_snmp' command definition define command{ command_name check_snmp_process command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C > $USER3$ } I would recommend you downloading these perl scripts: http://nagios.manubulon.com/index_snmp.html and putting them into your * /usr/local/nagios/libexec* folder. Let me know how it goes. Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz wrote: > Hi Justin, > > > > We have the native SNMP in Windows installed and we wanted to monitor those > readings. We downloaded and installed Net-SNMP, but seems there a bit of > configuring to do, we are fiddling with Nagios settings, so not sure whether > we want to spend time learning Net-SNMP at present. > > > > But its definitely something which we want to look at in the future. Thanks > for sharing the info. > > > > Meanwhile we are still stuck in SNMP!! > > > > This is what we get when we run > > [root at Nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp > > SNMPv2-MIB::snmpInPkts.0 = Counter32: 1 > > SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11 > > SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 > > SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 > > SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 > > SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 > > SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 > > SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 > > SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 > > SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 > > SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 > > SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11 > > SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 > > SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 > > SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14 > > SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 > > SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 > > SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25 > > SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10 > > SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1) > > > > > > So seems client side is fine. Please advice... below is the error we get by > mail > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: SNMP > > Host: antivirsrv > > Address: 192.168.3.100 > > State: UNKNOWN > > > > Date/Time: Thu Sept 9 14:42:56 IST 2010 > > > > Additional Info: > > > > No OIDs specified > > > > below is the config settings for windows servers > > > > # Create a service for monitoring SNMP > > > > define service{ > > use generic-service > > host_name taipl-domsrv > > host_name tai3dserver > > host_name tai3dstorage-02 > > host_name tai3d-avsrv > > service_description SNMP > > check_command > check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000 > > } > > > > Please advice....what else is there to configure, please be specific, we > just started in Fully Automated Nagios, with a lot of help we have reached > this far.... J > > > > Regards > > Ananth. > > > > *From:* Dorfman, Justin [mailto:justin at mahalo.com] > *Sent:* 08 September 2010 22:59 > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] SNMP showing Unknown > > > > First off do you have NET-SNMP ( > http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/) > installed on the server you are trying to fetch info from? > > > > > Regards, > > Justin Dorfman > Mahalo.com Inc. > Jr. Systems Engineer > 818.485.1458 > @jdorfman | @MahaloSysops| Blog: > http://bit.ly/aNiWSk > > On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz wrote: > > *You need to look at the service definition as well as the command* > > *definition to find out how the command is configured to run for this* > > *particular service check.* > > > > Which file that will be? The command.cfg file entry was the one we had put > in the earlier mail. > > > > We are newbies's so if possible kindly explain in detail. > > > > Regards > > Ananth. > > > > > > > > -----Original Message----- > From: Jim Avery [mailto:jim at jimavery.me.uk] > Sent: 08 September 2010 16:13 > To: Nagios Users List > Subject: Re: [Nagios-users] SNMP showing Unknown > > > > On 8 September 2010 10:19, IT Toonz wrote: > > > We are using FAN 2.0 > > > > > > > > > > > > One of our Windows Servers shows in Nagios. > > > > > > > > > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No > OIDs > > > specified > > > > > > > > > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > > > > > > > > > # 'check_snmp' command definition > > > > > > define command{ > > > > > > command_name check_snmp > > > > > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > > > > > } > > > > > > > > > > > > We entered the snmp community name give the switch ?C after check_snmp, > but > > > still no effect. > > > > You need to look at the service definition as well as the command > > definition to find out how the command is configured to run for this > > particular service check. > > > > hth, > > > > Jim > > > > > ------------------------------------------------------------------------------ > > This SF.net Dev2Dev email is sponsored by: > > > > Show off your parallel programming skills. > > Enter the Intel(R) Threading Challenge 2010. > > http://p.sf.net/sfu/intel-thread-sfd > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 justin at mahalo.com Fri Sep 10 16:45:50 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Fri, 10 Sep 2010 07:45:50 -0700 Subject: How do you wake up an iPhone user??? In-Reply-To: References: Message-ID: Have you checked out: iNag? http://idevelop.fullnet.com/iapps/modules/apps/inag.php For Android peeps: I have Nagroid for my Droid ( http://frugalinfotech.com/woot/4-free-must-have-android-apps-for-sysadmins/) Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Fri, Sep 10, 2010 at 1:04 AM, Furnish, Trever G wrote: > Thought I would poll the list on this one to see what everyone else is > doing. > > The iphone won't let a user specify a custom sound for a text message > alert (unless it's jailbroken). It won't repeat the notification sound > frequently (once every three seconds, for example). The existing > notification sounds aren't loud enough or long enough to wake up most > people. Most of the folks I serve have started to complain that Nagios > can't wake them up -- it's really an iphone problem though. > > Has anyone else come up with a good solution and actually put it into > use? I am considering several options: > > 1. Write my own iphone app to make the thing go nuts when a text message > is ignored for more than a few minutes. > > 2. Write my own system to cause a simple v.Everything modem to call > someone and read them an alert using speex or set up an asterix gateway > to allow such a call to be placed. > > 3. Use an outside service such as pagerduty or alarmtilt. > > I don't quite have the skill for #1, and I don't want to deal with > detecting answering machines for #2, so I'm surprised to find myself > leaning towards #3. > > But what has everyone else done? Is no one else having to deal with > this? > > -- > Trever Furnish, tgfurnish at herffjones.com > Herff Jones, Inc. Solutions Architect > Phone: 317.612.3519 > Any sufficiently advanced technology is indistinguishable from Unix. > > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 pangrazi at gmail.com Fri Sep 10 16:51:33 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Fri, 10 Sep 2010 09:51:33 -0500 Subject: SQL-DB Services-Unknown Status In-Reply-To: <618F928F9E2D824AAB26DCAA0F25221F0296FB98@HYD-MKD-MBX02.wipro.com> References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB98@HYD-MKD-MBX02.wipro.com> Message-ID: what does the NRPE config look like on the remote end? Are you allowed to run commands? What result do you get if you run check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ with the proper variables from the command line on your nagios server? Greg Pangrazio On Fri, Sep 10, 2010 at 8:49 AM, wrote: > Hi, > > > > Please see the service definition and command definition which I am using > for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH. > > > > Request you to provide a clue on this. > > > > > > define service{ > > use generic-service ; Name of > service template to use > > host_name abcd > > service_description SQL-DB-LOG-USED > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups sql-admins > > notification_interval 0 > > notification_period 24x7 > > notification_options c,r > > check_command check_nrpe_mssql_log_used!*!50!90 > > } > > > > > > > > define service{ > > use generic-service ; Name of > service template to use > > host_name abcd > > service_description SQL-DB-LOG-GROWTH > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups sql-admins > > notification_interval 0 > > notification_period 24x7 > > notification_options c,r > > check_command > check_nrpe_mssql_log_growths!*!5000!9000 ; Log growth scale is 0.01 hence > 5000 and 9000 > > } > > > > > > define command { > > command_name check_nrpe_mssql_log_used > > command_line $USER1$/check_nrpe -t 60 -H > $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ "$ARG1$" > "$ARG2$" "$ARG3$" > > } > > > > > > define command { > > command_name > check_nrpe_mssql_log_growths > > command_line $USER1$/check_nrpe -t 60 -H > $HOSTADDRESS$ -p 5666 -c get_mssql_log_growth -a $HOSTADDRESS$ "$ARG1$" > "$ARG2$" "$ARG3$" > > } > > > > Thanks, > > Ravi G > > *From:* Greg Pangrazio [mailto:pangrazi at gmail.com] > *Sent:* Friday, September 10, 2010 6:40 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] SQL-DB Services-Unknown Status > > > > before anyone can help you we need the parts of the config that are > important here. Can you give us the command definition, service definition > and any other relevant part of the config? > > > On Fri, Sep 10, 2010 at 2:28 AM, > wrote: > > Hi All, > > > > Request you to help me on this. > > > > Thanks, > > Ravi G > > > > *From:* Ravishankar Gundlapali (WT01 - Energy and Utilities) > *Sent:* Thursday, September 09, 2010 3:42 PM > *To:* 'Nagios Users List' > *Subject:* SQL-DB Services-Unknown Status > > > > Hi, > > > > I am using Nagios Version 3.0.6 on a Linux server to monitor the > SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. > > > > For the many of the servers the status information is showing following > errors. Please see the screenshots below > > > > 1) UNKNOWN: No handler for that command > > 2) Unknown - * query: No row returned. > > 3) CHECK_NRPE: Received 0 bytes from daemon. Check the remote server > logs for error messages. > > 4) Unknown - No data received from WMI: > > > > I am using the following the check commands > > > > check_nrpe_mssql_log_used!*!50!90 > > check_nrpe_mssql_log_growths!*!5000!9000 > > > > Please someone let me know how can I resolve this. > > > > > > Thanks & Regards, > > *Ravi G* > > > > > > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: image004.png Type: image/png Size: 3787 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3817 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 3787 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 6116 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 pangrazi at gmail.com Fri Sep 10 16:56:57 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Fri, 10 Sep 2010 09:56:57 -0500 Subject: How do you wake up an iPhone user??? In-Reply-To: References: Message-ID: The only drawback to the android version is that your nagios server has to be publically accessable. Mine is not and so those do not work. I did set up a test server and was pretty happy with the results. I have not used the iPhone version. Greg Pangrazio On Fri, Sep 10, 2010 at 9:45 AM, Dorfman, Justin wrote: > Have you checked out: > iNag??http://idevelop.fullnet.com/iapps/modules/apps/inag.php > For Android peeps: > I have Nagroid for my Droid > (http://frugalinfotech.com/woot/4-free-must-have-android-apps-for-sysadmins/) > Regards, > > Justin Dorfman > Mahalo.com Inc. > Jr. Systems Engineer > 818.485.1458 > @jdorfman?|?@MahaloSysops | Blog:?http://bit.ly/aNiWSk > > > On Fri, Sep 10, 2010 at 1:04 AM, Furnish, Trever G > wrote: >> >> Thought I would poll the list on this one to see what everyone else is >> doing. >> >> The iphone won't let a user specify a custom sound for a text message >> alert (unless it's jailbroken). ?It won't repeat the notification sound >> frequently (once every three seconds, for example). ?The existing >> notification sounds aren't loud enough or long enough to wake up most >> people. ?Most of the folks I serve have started to complain that Nagios >> can't wake them up -- it's really an iphone problem though. >> >> Has anyone else come up with a good solution and actually put it into >> use? ?I am considering several options: >> >> 1. Write my own iphone app to make the thing go nuts when a text message >> is ignored for more than a few minutes. >> >> 2. Write my own ?system to cause a simple v.Everything modem to call >> someone and read them an alert using speex or set up an asterix gateway >> to allow such a call to be placed. >> >> 3. Use an outside service such as pagerduty or alarmtilt. >> >> I don't quite have the skill for #1, and I don't want to deal with >> detecting answering machines for #2, so I'm surprised to find myself >> leaning towards #3. >> >> But what has everyone else done? ?Is no one else having to deal with >> this? >> >> -- >> Trever Furnish, tgfurnish at herffjones.com >> Herff Jones, Inc. Solutions Architect >> Phone: 317.612.3519 >> Any sufficiently advanced technology is indistinguishable from Unix. >> >> >> >> ------------------------------------------------------------------------------ >> Automate Storage Tiering Simply >> Optimize IT performance and efficiency through flexible, powerful, >> automated storage tiering capabilities. View this brief to learn how >> you can reduce costs and improve performance. >> http://p.sf.net/sfu/dell-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Fri Sep 10 17:04:14 2010 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Fri, 10 Sep 2010 11:04:14 -0400 Subject: Enumerating Interfaces In-Reply-To: References: <4C868428.3020403@lafayette.edu> <4C86A391.2080902@lafayette.edu> <4C87B85C.9030100@lafayette.edu> Message-ID: <4C8A48EE.4040606@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/08/2010 12:48 PM, Max wrote: > What I have done in the past and currently do is that each port that > is connected to another networking device is modelled as a Nagios host > - the host check is then the SNMP port status and the IF stats are > collected as services on the host. The parent of the port is the > network device itself and that way any child devices can be associated > with the port and will be marked as unreachable should the port be > administratively or operationally turned down. I had been doing this previously, but it never felt right, especially considering I had to create "fake" names for the ports in nagios.. It definitely had its benefits, though, so maybe we'll head back around to this method again.. I wish there was a better way to tie a "port" to a host.. Perhaps a tag that marks it as a physical child of a host, inherits the hostname and ip and uses the alias to differentiate it from the main host. Then parent/child would work, you could tie services to it properly, etc. Hrm.. I'll have to submit this as an enhancement request.. :) - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkyKSO4ACgkQO80o6DJ8UvkebACfRA6hnmLmc3MX5EqfsFY20LqE mAYAn2+G1snVNbNSvkweet7C0DlGPzkF =l34P -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gevery at gmail.com Fri Sep 10 17:37:17 2010 From: gevery at gmail.com (Gary Every) Date: Fri, 10 Sep 2010 08:37:17 -0700 Subject: SNMP showing Unknown In-Reply-To: References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> <4c877bae.22788e0a.410f.60b7@mx.google.com> <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> Message-ID: I've had this problem, and it's often related to a Stale NFS mount or other reason snmp can't stat the filesystem. If it's a stale mount, and you can't umount it (often due to the remote nfs server being down, or no longer sharing its exports) try: mount -rf / It may come back with an error, saying it's mounted it ro, and you may need to repeat this command several times, it MAY umount. There is a chance you'l have to bite the bullet and reboot. On Fri, Sep 10, 2010 at 7:36 AM, Dorfman, Justin wrote: > Ananth, > > This is how we check an SNMP process (in commands.cfg): > > >> # 'check_snmp' command definition > > define command{ > > command_name check_snmp_process > > command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C >> $USER3$ > > } > > > I would recommend you downloading these perl scripts: > http://nagios.manubulon.com/index_snmp.html and putting them into your * > /usr/local/nagios/libexec* folder. > > Let me know how it goes. > > Regards, > > Justin Dorfman > Mahalo.com Inc. > Jr. Systems Engineer > 818.485.1458 > @jdorfman | @MahaloSysops| Blog: > http://bit.ly/aNiWSk > > > On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz wrote: > >> Hi Justin, >> >> >> >> We have the native SNMP in Windows installed and we wanted to monitor >> those readings. We downloaded and installed Net-SNMP, but seems there a bit >> of configuring to do, we are fiddling with Nagios settings, so not sure >> whether we want to spend time learning Net-SNMP at present. >> >> >> >> But its definitely something which we want to look at in the future. >> Thanks for sharing the info. >> >> >> >> Meanwhile we are still stuck in SNMP!! >> >> >> >> This is what we get when we run >> >> [root at Nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp >> >> SNMPv2-MIB::snmpInPkts.0 = Counter32: 1 >> >> SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11 >> >> SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11 >> >> SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14 >> >> SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 >> >> SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25 >> >> SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10 >> >> SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1) >> >> >> >> >> >> So seems client side is fine. Please advice... below is the error we get >> by mail >> >> >> >> ***** Nagios ***** >> >> >> >> Notification Type: PROBLEM >> >> >> >> Service: SNMP >> >> Host: antivirsrv >> >> Address: 192.168.3.100 >> >> State: UNKNOWN >> >> >> >> Date/Time: Thu Sept 9 14:42:56 IST 2010 >> >> >> >> Additional Info: >> >> >> >> No OIDs specified >> >> >> >> below is the config settings for windows servers >> >> >> >> # Create a service for monitoring SNMP >> >> >> >> define service{ >> >> use generic-service >> >> host_name taipl-domsrv >> >> host_name tai3dserver >> >> host_name tai3dstorage-02 >> >> host_name tai3d-avsrv >> >> service_description SNMP >> >> check_command >> check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000 >> >> } >> >> >> >> Please advice....what else is there to configure, please be specific, we >> just started in Fully Automated Nagios, with a lot of help we have reached >> this far.... J >> >> >> >> Regards >> >> Ananth. >> >> >> >> *From:* Dorfman, Justin [mailto:justin at mahalo.com] >> *Sent:* 08 September 2010 22:59 >> >> *To:* Nagios Users List >> *Subject:* Re: [Nagios-users] SNMP showing Unknown >> >> >> >> First off do you have NET-SNMP ( >> http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/) >> installed on the server you are trying to fetch info from? >> >> >> >> >> Regards, >> >> Justin Dorfman >> Mahalo.com Inc. > Jr. Systems Engineer >> 818.485.1458 >> @jdorfman | @MahaloSysops| Blog: >> http://bit.ly/aNiWSk >> >> On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz wrote: >> >> *You need to look at the service definition as well as the command* >> >> *definition to find out how the command is configured to run for this* >> >> *particular service check.* >> >> >> >> Which file that will be? The command.cfg file entry was the one we had put >> in the earlier mail. >> >> >> >> We are newbies's so if possible kindly explain in detail. >> >> >> >> Regards >> >> Ananth. >> >> >> >> >> >> >> >> -----Original Message----- >> From: Jim Avery [mailto:jim at jimavery.me.uk] >> Sent: 08 September 2010 16:13 >> To: Nagios Users List >> Subject: Re: [Nagios-users] SNMP showing Unknown >> >> >> >> On 8 September 2010 10:19, IT Toonz wrote: >> >> > We are using FAN 2.0 >> >> > >> >> > >> >> > >> >> > One of our Windows Servers shows in Nagios. >> >> > >> >> > >> >> > >> >> > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No >> OIDs >> >> > specified >> >> > >> >> > >> >> > >> >> > How can we troubleshoot it. This is the snmp entry in commands.cfg file. >> >> > >> >> > >> >> > >> >> > # 'check_snmp' command definition >> >> > >> >> > define command{ >> >> > >> >> > command_name check_snmp >> >> > >> >> > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ >> >> > >> >> > } >> >> > >> >> > >> >> > >> >> > We entered the snmp community name give the switch ?C after check_snmp, >> but >> >> > still no effect. >> >> >> >> You need to look at the service definition as well as the command >> >> definition to find out how the command is configured to run for this >> >> particular service check. >> >> >> >> hth, >> >> >> >> Jim >> >> >> >> >> ------------------------------------------------------------------------------ >> >> This SF.net Dev2Dev email is sponsored by: >> >> >> >> Show off your parallel programming skills. >> >> Enter the Intel(R) Threading Challenge 2010. >> >> http://p.sf.net/sfu/intel-thread-sfd >> >> _______________________________________________ >> >> Nagios-users mailing list >> >> Nagios-users at lists.sourceforge.net >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> ------------------------------------------------------------------------------ >> This SF.net Dev2Dev email is sponsored by: >> >> Show off your parallel programming skills. >> Enter the Intel(R) Threading Challenge 2010. >> http://p.sf.net/sfu/intel-thread-sfd >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Gary Every "Pay it Forward!" -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 mikec at aggregateknowledge.com Fri Sep 10 17:51:39 2010 From: mikec at aggregateknowledge.com (Mike Chesnut) Date: Fri, 10 Sep 2010 08:51:39 -0700 Subject: How do you wake up an iPhone user??? In-Reply-To: References: Message-ID: <4C8A540B.3080309@aggregateknowledge.com> This app solves the problem for me on Android: http://software.roadkill.com/CustomSMS/ I never did get around this issue when I had an iPhone, though. Setting your Nagios alerts to repeat at an interval that's a multiple of the iPhone's alert-repeat was about the best I could do. Mike On 09/10/2010 07:56 AM, Greg Pangrazio wrote: > The only drawback to the android version is that your nagios server > has to be publically accessable. Mine is not and so those do not > work. I did set up a test server and was pretty happy with the > results. > > I have not used the iPhone version. > > Greg Pangrazio > > > > > > On Fri, Sep 10, 2010 at 9:45 AM, Dorfman, Justin wrote: >> Have you checked out: >> iNag? http://idevelop.fullnet.com/iapps/modules/apps/inag.php >> For Android peeps: >> I have Nagroid for my Droid >> (http://frugalinfotech.com/woot/4-free-must-have-android-apps-for-sysadmins/) >> Regards, >> >> Justin Dorfman >> Mahalo.com Inc.> Jr. Systems Engineer >> 818.485.1458 >> @jdorfman | @MahaloSysops | Blog: http://bit.ly/aNiWSk >> >> >> On Fri, Sep 10, 2010 at 1:04 AM, Furnish, Trever G >> wrote: >>> >>> Thought I would poll the list on this one to see what everyone else is >>> doing. >>> >>> The iphone won't let a user specify a custom sound for a text message >>> alert (unless it's jailbroken). It won't repeat the notification sound >>> frequently (once every three seconds, for example). The existing >>> notification sounds aren't loud enough or long enough to wake up most >>> people. Most of the folks I serve have started to complain that Nagios >>> can't wake them up -- it's really an iphone problem though. >>> >>> Has anyone else come up with a good solution and actually put it into >>> use? I am considering several options: >>> >>> 1. Write my own iphone app to make the thing go nuts when a text message >>> is ignored for more than a few minutes. >>> >>> 2. Write my own system to cause a simple v.Everything modem to call >>> someone and read them an alert using speex or set up an asterix gateway >>> to allow such a call to be placed. >>> >>> 3. Use an outside service such as pagerduty or alarmtilt. >>> >>> I don't quite have the skill for #1, and I don't want to deal with >>> detecting answering machines for #2, so I'm surprised to find myself >>> leaning towards #3. >>> >>> But what has everyone else done? Is no one else having to deal with >>> this? >>> >>> -- >>> Trever Furnish, tgfurnish at herffjones.com >>> Herff Jones, Inc. Solutions Architect >>> Phone: 317.612.3519 >>> Any sufficiently advanced technology is indistinguishable from Unix. >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Automate Storage Tiering Simply >>> Optimize IT performance and efficiency through flexible, powerful, >>> automated storage tiering capabilities. View this brief to learn how >>> you can reduce costs and improve performance. >>> http://p.sf.net/sfu/dell-sfdev2dev >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> ------------------------------------------------------------------------------ >> Automate Storage Tiering Simply >> Optimize IT performance and efficiency through flexible, powerful, >> automated storage tiering capabilities. View this brief to learn how >> you can reduce costs and improve performance. >> http://p.sf.net/sfu/dell-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at mahalo.com Fri Sep 10 17:57:19 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Fri, 10 Sep 2010 08:57:19 -0700 Subject: How do you wake up an iPhone user??? In-Reply-To: <4C8A540B.3080309@aggregateknowledge.com> References: <4C8A540B.3080309@aggregateknowledge.com> Message-ID: nice find. Installed =) Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Fri, Sep 10, 2010 at 8:51 AM, Mike Chesnut wrote: > This app solves the problem for me on Android: > http://software.roadkill.com/CustomSMS/ > > I never did get around this issue when I had an iPhone, though. Setting > your Nagios alerts to repeat at an interval that's a multiple of the > iPhone's alert-repeat was about the best I could do. > > Mike > > On 09/10/2010 07:56 AM, Greg Pangrazio wrote: > > The only drawback to the android version is that your nagios server > > has to be publically accessable. Mine is not and so those do not > > work. I did set up a test server and was pretty happy with the > > results. > > > > I have not used the iPhone version. > > > > Greg Pangrazio > > > > > > > > > > > > On Fri, Sep 10, 2010 at 9:45 AM, Dorfman, Justin > wrote: > >> Have you checked out: > >> iNag? http://idevelop.fullnet.com/iapps/modules/apps/inag.php > >> For Android peeps: > >> I have Nagroid for my Droid > >> ( > http://frugalinfotech.com/woot/4-free-must-have-android-apps-for-sysadmins/ > ) > >> Regards, > >> > >> Justin Dorfman > >> Mahalo.com Inc.> Jr. Systems Engineer > >> 818.485.1458 > >> @jdorfman | @MahaloSysops | Blog: http://bit.ly/aNiWSk > >> > >> > >> On Fri, Sep 10, 2010 at 1:04 AM, Furnish, Trever G > >> wrote: > >>> > >>> Thought I would poll the list on this one to see what everyone else is > >>> doing. > >>> > >>> The iphone won't let a user specify a custom sound for a text message > >>> alert (unless it's jailbroken). It won't repeat the notification sound > >>> frequently (once every three seconds, for example). The existing > >>> notification sounds aren't loud enough or long enough to wake up most > >>> people. Most of the folks I serve have started to complain that Nagios > >>> can't wake them up -- it's really an iphone problem though. > >>> > >>> Has anyone else come up with a good solution and actually put it into > >>> use? I am considering several options: > >>> > >>> 1. Write my own iphone app to make the thing go nuts when a text > message > >>> is ignored for more than a few minutes. > >>> > >>> 2. Write my own system to cause a simple v.Everything modem to call > >>> someone and read them an alert using speex or set up an asterix gateway > >>> to allow such a call to be placed. > >>> > >>> 3. Use an outside service such as pagerduty or alarmtilt. > >>> > >>> I don't quite have the skill for #1, and I don't want to deal with > >>> detecting answering machines for #2, so I'm surprised to find myself > >>> leaning towards #3. > >>> > >>> But what has everyone else done? Is no one else having to deal with > >>> this? > >>> > >>> -- > >>> Trever Furnish, tgfurnish at herffjones.com > >>> Herff Jones, Inc. Solutions Architect > >>> Phone: 317.612.3519 > >>> Any sufficiently advanced technology is indistinguishable from Unix. > >>> > >>> > >>> > >>> > ------------------------------------------------------------------------------ > >>> Automate Storage Tiering Simply > >>> Optimize IT performance and efficiency through flexible, powerful, > >>> automated storage tiering capabilities. View this brief to learn how > >>> you can reduce costs and improve performance. > >>> http://p.sf.net/sfu/dell-sfdev2dev > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: Please include Nagios version, plugin version (-v) and OS when > >>> reporting any issue. > >>> ::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > ------------------------------------------------------------------------------ > >> Automate Storage Tiering Simply > >> Optimize IT performance and efficiency through flexible, powerful, > >> automated storage tiering capabilities. View this brief to learn how > >> you can reduce costs and improve performance. > >> http://p.sf.net/sfu/dell-sfdev2dev > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting > >> any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > ------------------------------------------------------------------------------ > > Automate Storage Tiering Simply > > Optimize IT performance and efficiency through flexible, powerful, > > automated storage tiering capabilities. View this brief to learn how > > you can reduce costs and improve performance. > > http://p.sf.net/sfu/dell-sfdev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 ravishankar.gundlapali at wipro.com Fri Sep 10 18:13:19 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Fri, 10 Sep 2010 21:43:19 +0530 Subject: SQL-DB Services-Unknown Status In-Reply-To: References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com><618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com><618F928F9E2D824AAB26DCAA0F25221F0296FB98@HYD-MKD-MBX02.wipro.com> Message-ID: <618F928F9E2D824AAB26DCAA0F25221F0296FBAB@HYD-MKD-MBX02.wipro.com> When I ran the command ./check_nrpe -t 60 -H -p 5666 get_mssql_log_used I got the below output.... I (0.3.5.1 2008-09-24) seem to be doing fine... Please provide any clue... Regards, Ravi G From: Greg Pangrazio [mailto:pangrazi at gmail.com] Sent: Friday, September 10, 2010 8:22 PM To: Nagios Users List Subject: Re: [Nagios-users] SQL-DB Services-Unknown Status what does the NRPE config look like on the remote end? Are you allowed to run commands? What result do you get if you run check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ with the proper variables from the command line on your nagios server? Greg Pangrazio On Fri, Sep 10, 2010 at 8:49 AM, wrote: Hi, Please see the service definition and command definition which I am using for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH. Request you to provide a clue on this. define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-USED is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_used!*!50!90 } define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-GROWTH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_growths!*!5000!9000 ; Log growth scale is 0.01 hence 5000 and 9000 } define command { command_name check_nrpe_mssql_log_used command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } define command { command_name check_nrpe_mssql_log_growths command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_growth -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } Thanks, Ravi G From: Greg Pangrazio [mailto:pangrazi at gmail.com] Sent: Friday, September 10, 2010 6:40 PM To: Nagios Users List Subject: Re: [Nagios-users] SQL-DB Services-Unknown Status before anyone can help you we need the parts of the config that are important here. Can you give us the command definition, service definition and any other relevant part of the config? On Fri, Sep 10, 2010 at 2:28 AM, wrote: Hi All, Request you to help me on this. Thanks, Ravi G From: Ravishankar Gundlapali (WT01 - Energy and Utilities) Sent: Thursday, September 09, 2010 3:42 PM To: 'Nagios Users List' Subject: SQL-DB Services-Unknown Status Hi, I am using Nagios Version 3.0.6 on a Linux server to monitor the SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. For the many of the servers the status information is showing following errors. Please see the screenshots below 1) UNKNOWN: No handler for that command 2) Unknown - * query: No row returned. 3) CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. 4) Unknown - No data received from WMI: I am using the following the check commands check_nrpe_mssql_log_used!*!50!90 check_nrpe_mssql_log_growths!*!5000!9000 Please someone let me know how can I resolve this. Thanks & Regards, Ravi G ------------------------------------------------------------------------ ------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 3817 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 3787 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 6116 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 3787 bytes Desc: image004.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev -------------- 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 lambert at lambertfam.org Fri Sep 10 20:21:32 2010 From: lambert at lambertfam.org (Scott Lambert) Date: Fri, 10 Sep 2010 13:21:32 -0500 Subject: How do you wake up an iPhone user??? In-Reply-To: <4C8A540B.3080309@aggregateknowledge.com> References: <4C8A540B.3080309@aggregateknowledge.com> Message-ID: <20100910182132.GB9363@sysmon.tcworks.net> On Fri, Sep 10, 2010 at 08:51:39AM -0700, Mike Chesnut wrote: > This app solves the problem for me on Android: > http://software.roadkill.com/CustomSMS/ > > I never did get around this issue when I had an iPhone, though. Setting > your Nagios alerts to repeat at an interval that's a multiple of the > iPhone's alert-repeat was about the best I could do. Handcent SMS on the Android. http://www.handcent.com/ So far as I can tell, iPhone users are still limited. The guys I work with who have iPhones are hit and miss as to whether or not they show up during a night time issue. I refused to upgrade from my Centro until I could confirm it was possible to setup a touch phone like the iPhone or Nexus One to wake me. I never found a way to "fix" the iPhone without jailbreaking it. I now have a Nexus One. So far, I like it better than the iPhones I've played with. -- Scott Lambert KC5MLE Unix SysAdmin lambert at lambertfam.org ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.c.ash.lu4w at statefarm.com Fri Sep 10 20:36:39 2010 From: ryan.c.ash.lu4w at statefarm.com (Ryan C Ash) Date: Fri, 10 Sep 2010 11:36:39 -0700 Subject: notification subsystem vs event_handler In-Reply-To: <4C89FB8D.8080509@flatto.net> References: <4C89FB8D.8080509@flatto.net> Message-ID: <0E224CCCAB9A374293F138E39621972C0EBED251@WPSCV6MN.OPR.STATEFARM.ORG> We are in the process of designing a Nagios deployment which is replacing portions of a vendor solution. We have a mature ticketing system which we are integrating with Nagios. Our initial design utilized the event_handler functionality to interface with the ticketing system. This appears to be standard operating procedure for this type of integration according to the documentation. I have been fighting with design issues surrounding the use of a event_handler and I am wondering if using the notification subsystem isn't a better design. Issues with event_handler: 1. The "acknowledgement" of a svc/host check will be important us. While the ticket is open in our ticketing system we will not allow any more events through for that host-svc combination. This can be easily done with the integration but the event_handler would continue to fire. 2. Multiple event_handler needed, one of which may "ack" the event, thus stopping the ticketing integration 3. Limited control of when these fire, leading to wasted cycles 4. No feature like the external command "ACKNOWLEDGE_SVC_PROBLEM" Essentially we would just use a custom service_notification_command (and host) within a custom "contact". That contact is essentially the global ticketing integration and would do nothing else. The "contact would be assigned to everything, or at least everything going to the ticketing system. Am I missing anything or is the notification route as good as it sounds? Ryan Ash ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lylexryan at yahoo.com Sat Sep 11 01:33:25 2010 From: lylexryan at yahoo.com (Lylex Ryan) Date: Fri, 10 Sep 2010 16:33:25 -0700 (PDT) Subject: monitor incoming file for 1hr; go warning->critical at end of hour Message-ID: <97888.68752.qm@web63004.mail.re1.yahoo.com> I want to monitor a service over the course of one hour each day, waiting for the arrival of a critical file on the client. The check command initiates a script on the client via snmp, which looks for the file and returns a found or not-found. The check is now running fine when forced, and correctly indicates the arrival or absence of the file. During that hour, I'd like to see the service in a Warning state if the file hasn't arrived, then change to Critical at the end of the hour if there's still no sign of the file. My first thought was to monitor once every 10min, and go from Warning to Critical after 6 negative results. Here's my first attempt at the service config parameters, but I think I'm off in the deep weeds: check_interval 10 max_check_attempts 6 retry_interval 10 Any advice is appreciated. Thanks....Lyle ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 11 12:52:54 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 11 Sep 2010 11:52:54 +0100 Subject: monitor incoming file for 1hr; go warning->critical at end of hour In-Reply-To: <97888.68752.qm@web63004.mail.re1.yahoo.com> References: <97888.68752.qm@web63004.mail.re1.yahoo.com> Message-ID: On 11 September 2010 00:33, Lylex Ryan wrote: > I want to monitor a service over the course of one hour each day, waiting for the arrival of a critical file on the client. The check command initiates a script on the client via snmp, which looks for the file and returns a found or not-found. The check is now running fine when forced, and correctly indicates the arrival or absence of the file. > > During that hour, I'd like to see the service in a Warning state if the file hasn't arrived, then change to Critical at the end of the hour if there's still no sign of the file. > > My first thought was to monitor once every 10min, and go from Warning to Critical after 6 negative results. Here's my first attempt at the service config parameters, but I think I'm off in the deep weeds: > check_interval 10 > max_check_attempts 6 > retry_interval 10 > > Any advice is appreciated. Thanks....Lyle I would use a passive check for this. Set up a script in cron which starts running at the beginning of the hour in question each day and does something like this: #!/bin/sh count=60 while [ $count -ge 0 ] do if `checkforfile` then (send an ok passive check to Nagios) exit 0 else (send a warning passive check to Nagios) fi count=`expr $count - 1` sleep 60 done (send a critical passive check to Nagios) # script ends You can use freshness checking to alert if no check result at all has been received for more than 25 hours, which will cover the scenario where your cron job has failed to run. If you are running the script on the Nagios server, you can send the check to Nagios using the command interface, alternatively use send_nsca. Personally I always use send_nsca as the script is more portable then. How long does the file exist for on the server? Cheers, Jim ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b2 at playtime.bg Mon Sep 13 09:28:45 2010 From: b2 at playtime.bg (b2) Date: Mon, 13 Sep 2010 10:28:45 +0300 Subject: event hadlers not executed every time ? Message-ID: <1284362925.4021.8.camel@valio> Hi list, i have some problem with my event handlers, they do not execute on HARD CRITICAL , but execute on HARD OK state ? is there an option for this anywhere in configs ? i cant figure it... snip from my log file : [1284361876] HOST ALERT: bulmiks2;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds [1284361886] HOST ALERT: bulmiks2;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [1284361896] HOST ALERT: bulmiks2;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [1284361906] HOST ALERT: bulmiks2;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [1284361916] HOST ALERT: bulmiks2;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds [1284361926] HOST ALERT: bulmiks2;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds [1284361936] HOST ALERT: bulmiks2;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds [1284361946] HOST ALERT: bulmiks2;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds [1284361956] HOST ALERT: bulmiks2;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds [1284361966] HOST ALERT: bulmiks2;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds [1284361966] HOST NOTIFICATION: support;bulmiks2;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [1284361966] SERVICE ALERT: bulmiks2;PING;CRITICAL;HARD;1;CRITICAL - Plugin timed out after 10 seconds - no event handler executed when HARD CRITICAL and even on SOFT CRITICAL... , but when service going to HARD OK state there is event handler executed - [1284362306] SERVICE EVENT HANDLER: bulmiks2;PING;OK;HARD;1;test_event ANY sugestions ?! ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Mon Sep 13 11:21:45 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Mon, 13 Sep 2010 14:51:45 +0530 Subject: SQL-DB Services-Unknown Status References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com><618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com><618F928F9E2D824AAB26DCAA0F25221F0296FB98@HYD-MKD-MBX02.wipro.com> Message-ID: <618F928F9E2D824AAB26DCAA0F25221F0296FCDE@HYD-MKD-MBX02.wipro.com> Hi All, Request you to provide any clue on this. Thanks, Ravi G From: Ravishankar Gundlapali (WT01 - Energy and Utilities) Sent: Friday, September 10, 2010 9:43 PM To: Nagios Users List Cc: 'pangrazi at gmail.com' Subject: RE: [Nagios-users] SQL-DB Services-Unknown Status When I ran the command ./check_nrpe -t 60 -H -p 5666 get_mssql_log_used I got the below output.... I (0.3.5.1 2008-09-24) seem to be doing fine... Please provide any clue... Regards, Ravi G From: Greg Pangrazio [mailto:pangrazi at gmail.com] Sent: Friday, September 10, 2010 8:22 PM To: Nagios Users List Subject: Re: [Nagios-users] SQL-DB Services-Unknown Status what does the NRPE config look like on the remote end? Are you allowed to run commands? What result do you get if you run check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ with the proper variables from the command line on your nagios server? Greg Pangrazio On Fri, Sep 10, 2010 at 8:49 AM, wrote: Hi, Please see the service definition and command definition which I am using for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH. Request you to provide a clue on this. define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-USED is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_used!*!50!90 } define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-GROWTH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_growths!*!5000!9000 ; Log growth scale is 0.01 hence 5000 and 9000 } define command { command_name check_nrpe_mssql_log_used command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } define command { command_name check_nrpe_mssql_log_growths command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_growth -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } Thanks, Ravi G From: Greg Pangrazio [mailto:pangrazi at gmail.com] Sent: Friday, September 10, 2010 6:40 PM To: Nagios Users List Subject: Re: [Nagios-users] SQL-DB Services-Unknown Status before anyone can help you we need the parts of the config that are important here. Can you give us the command definition, service definition and any other relevant part of the config? On Fri, Sep 10, 2010 at 2:28 AM, wrote: Hi All, Request you to help me on this. Thanks, Ravi G From: Ravishankar Gundlapali (WT01 - Energy and Utilities) Sent: Thursday, September 09, 2010 3:42 PM To: 'Nagios Users List' Subject: SQL-DB Services-Unknown Status Hi, I am using Nagios Version 3.0.6 on a Linux server to monitor the SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. For the many of the servers the status information is showing following errors. Please see the screenshots below 1) UNKNOWN: No handler for that command 2) Unknown - * query: No row returned. 3) CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. 4) Unknown - No data received from WMI: I am using the following the check commands check_nrpe_mssql_log_used!*!50!90 check_nrpe_mssql_log_growths!*!5000!9000 Please someone let me know how can I resolve this. Thanks & Regards, Ravi G ------------------------------------------------------------------------ ------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ ------ Automate Storage Tiering Simply Optimize IT performance and efficiency through flexible, powerful, automated storage tiering capabilities. View this brief to learn how you can reduce costs and improve performance. http://p.sf.net/sfu/dell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: 3817 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 3787 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 6116 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 3787 bytes Desc: image004.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Mon Sep 13 11:48:51 2010 From: it.toonz at gmail.com (IT Toonz) Date: Mon, 13 Sep 2010 15:18:51 +0530 Subject: SNMP showing Unknown In-Reply-To: <36E5B82A-F3E2-41AE-8E5F-7C5A959F4224@xodus.org> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> <4c877bae.22788e0a.410f.60b7@mx.google.com> <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> <36E5B82A-F3E2-41AE-8E5F-7C5A959F4224@xodus.org> Message-ID: <4c8df5b3.2a788e0a.2c6a.6512@mx.google.com> Thanks Marc, checking out what your said. -----Original Message----- From: Marc Powell [mailto:lists at xodus.org] Sent: 09 September 2010 17:42 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown On Sep 9, 2010, at 4:36 AM, IT Toonz wrote: > below is the config settings for windows servers > > # Create a service for monitoring SNMP > > define service{ > use generic-service > host_name taipl-domsrv > host_name tai3dserver > host_name tai3dstorage-02 > host_name tai3d-avsrv > service_description SNMP > check_command check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000 > } > > Please advice....what else is there to configure, please be specific, we just started in Fully Automated Nagios, with a lot of help we have reached this far.... J > > define command{ > > command_name check_snmp > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > } Based on the check_command that you have above, the command_line you've told nagios to run is -- /check_snmp -H
.1.3.6.1.2.1.25.1.3.1.6.2 As you can see, this is far from complete or formatted properly. I'm not sure what the parameters you are trying to pass are but way you have the command_line set up requires that you pass them as part of the check_command like so -- define service { ... check_command check_snmp!-o .1.3.6.1.2.1.25.2.3.1.6.2 -C -l Cachebuffers -(... whatever other paramenters you are trying to pass to check_snmp) You probably want to read the documentation on using arguments in commands, specifically the $ARGx$ macros and check_snmp documenation (man check_snmp) to fully understand why what you tried didn't work. -- Marc ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Mon Sep 13 11:54:18 2010 From: it.toonz at gmail.com (IT Toonz) Date: Mon, 13 Sep 2010 15:24:18 +0530 Subject: SNMP showing Unknown In-Reply-To: References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> <4c877bae.22788e0a.410f.60b7@mx.google.com> <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> Message-ID: <4c8df6fb.22418e0a.5c38.7291@mx.google.com> Hi Justin, Thanks for the reply. We downloaded net-snmp.exe and installed in a monitored window server. Didn't modify anything, tried to start net-snmp service from the windows system, stopped at event id 7031! Checking again Downloaded and installed the perl scripts... is there anything to modify... Please advice. Regards Ananth. From: Dorfman, Justin [mailto:justin at mahalo.com] Sent: 10 September 2010 20:06 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown Ananth, This is how we check an SNMP process (in commands.cfg): # 'check_snmp' command definition define command{ command_name check_snmp_process command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C $USER3$ } I would recommend you downloading these perl scripts: http://nagios.manubulon.com/index_snmp.html and putting them into your /usr/local/nagios/libexec folder. Let me know how it goes. Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops | Blog: http://bit.ly/aNiWSk On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz wrote: Hi Justin, We have the native SNMP in Windows installed and we wanted to monitor those readings. We downloaded and installed Net-SNMP, but seems there a bit of configuring to do, we are fiddling with Nagios settings, so not sure whether we want to spend time learning Net-SNMP at present. But its definitely something which we want to look at in the future. Thanks for sharing the info. Meanwhile we are still stuck in SNMP!! This is what we get when we run [root at Nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp SNMPv2-MIB::snmpInPkts.0 = Counter32: 1 SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11 SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14 SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25 SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1) So seems client side is fine. Please advice... below is the error we get by mail ***** Nagios ***** Notification Type: PROBLEM Service: SNMP Host: antivirsrv Address: 192.168.3.100 State: UNKNOWN Date/Time: Thu Sept 9 14:42:56 IST 2010 Additional Info: No OIDs specified below is the config settings for windows servers # Create a service for monitoring SNMP define service{ use generic-service host_name taipl-domsrv host_name tai3dserver host_name tai3dstorage-02 host_name tai3d-avsrv service_description SNMP check_command check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000 } Please advice....what else is there to configure, please be specific, we just started in Fully Automated Nagios, with a lot of help we have reached this far.... J Regards Ananth. From: Dorfman, Justin [mailto:justin at mahalo.com] Sent: 08 September 2010 22:59 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown First off do you have NET-SNMP (http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-bina ries/) installed on the server you are trying to fetch info from? Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops | Blog: http://bit.ly/aNiWSk On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz wrote: You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. Which file that will be? The command.cfg file entry was the one we had put in the earlier mail. We are newbies's so if possible kindly explain in detail. Regards Ananth. -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: 08 September 2010 16:13 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown On 8 September 2010 10:19, IT Toonz wrote: > We are using FAN 2.0 > > > > One of our Windows Servers shows in Nagios. > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs > specified > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > # 'check_snmp' command definition > > define command{ > > command_name check_snmp > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > } > > > > We entered the snmp community name give the switch -C after check_snmp, but > still no effect. You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. hth, Jim ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Mon Sep 13 12:08:01 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 13 Sep 2010 11:08:01 +0100 Subject: event hadlers not executed every time ? In-Reply-To: <1284362925.4021.8.camel@valio> References: <1284362925.4021.8.camel@valio> Message-ID: <4C8DF801.3010500@flatto.net> On 13/09/10 08:28, b2 wrote: > Hi list, > i have some problem with my event handlers, they do not execute on HARD > CRITICAL , but execute on HARD OK state ? is there an option for this > anywhere in configs ? i cant figure it... > snip from my log file : > > [1284361876] HOST ALERT: bulmiks2;DOWN;SOFT;1;CRITICAL - Plugin timed > out after 10 seconds > [1284361886] HOST ALERT: bulmiks2;DOWN;SOFT;2;CRITICAL - Plugin timed > out after 10 seconds > [1284361896] HOST ALERT: bulmiks2;DOWN;SOFT;3;CRITICAL - Plugin timed > out after 10 seconds > [1284361906] HOST ALERT: bulmiks2;DOWN;SOFT;4;CRITICAL - Plugin timed > out after 10 seconds > [1284361916] HOST ALERT: bulmiks2;DOWN;SOFT;5;CRITICAL - Plugin timed > out after 10 seconds > [1284361926] HOST ALERT: bulmiks2;DOWN;SOFT;6;CRITICAL - Plugin timed > out after 10 seconds > [1284361936] HOST ALERT: bulmiks2;DOWN;SOFT;7;CRITICAL - Plugin timed > out after 10 seconds > [1284361946] HOST ALERT: bulmiks2;DOWN;SOFT;8;CRITICAL - Plugin timed > out after 10 seconds > [1284361956] HOST ALERT: bulmiks2;DOWN;SOFT;9;CRITICAL - Plugin timed > out after 10 seconds > [1284361966] HOST ALERT: bulmiks2;DOWN;HARD;10;CRITICAL - Plugin timed > out after 10 seconds > [1284361966] HOST NOTIFICATION: > support;bulmiks2;DOWN;host-notify-by-email;CRITICAL - Plugin timed out > after 10 seconds > [1284361966] SERVICE ALERT: bulmiks2;PING;CRITICAL;HARD;1;CRITICAL - > Plugin timed out after 10 seconds > > - no event handler executed when HARD CRITICAL and even on SOFT > CRITICAL... , but when service going to HARD OK state there is event > handler executed - > > [1284362306] SERVICE EVENT HANDLER: bulmiks2;PING;OK;HARD;1;test_event > > > ANY sugestions ?! > Can yo show us the event handler script ? and the event handler configuration command ? -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jm+nagios-users at roth.lu Mon Sep 13 15:08:20 2010 From: jm+nagios-users at roth.lu (J.M.) Date: Mon, 13 Sep 2010 13:08:20 +0000 (UTC) Subject: contact inheritance Message-ID: Hi all, I have a question concerning http://nagios.sourceforge.net/docs/3_0/objectinheritance.html. I have - a host definition with a certain contact_groups directive - the host is part of a hostgroup - which is part of another hostgroup I also have - a service template referencing that hostgroup - the instantiation of the template using additive inheritance in the contact_groups parameter i.e. the host's contacts as well as another contact group specific to the service should be notified. Now, only the contact group added in the service definition via "contact_groups +bla" gets notified and the host's contacts do not get notified. Why could that be? Thanks JM ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at mahalo.com Mon Sep 13 16:56:39 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Mon, 13 Sep 2010 07:56:39 -0700 Subject: SNMP showing Unknown In-Reply-To: <4c8df6fb.22418e0a.5c38.7291@mx.google.com> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> <4c877bae.22788e0a.410f.60b7@mx.google.com> <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> <4c8df6fb.22418e0a.5c38.7291@mx.google.com> Message-ID: C:\net-snmp\etc\snmp\snmpd.conf has to contain something like this : *Code:*rocommunity public Here is an example of ours: *syslocation LAX* > > >> disk /var 5% > > disk /usr 5% > > disk /tmp 5% > > >> load 30 30 30 > > >> *syscontact email at domain.com* > > *rwcommunity sdjslf8sdf8 192.168.0.0/24* > > *rocommunity public * > > > *You then need to restart NET-SNMP *for the changes to apply. Good little tutorial: http://forums.cacti.net/about26151.html Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Mon, Sep 13, 2010 at 2:54 AM, IT Toonz wrote: > Hi Justin, > > > > Thanks for the reply. > > > > We downloaded net-snmp.exe and installed in a monitored window server. > > > > Didn?t modify anything, tried to start net-snmp service from the windows > system, stopped at event id 7031! Checking again > > > > Downloaded and installed the perl scripts... is there anything to modify... > > > > Please advice. > > > > Regards > > Ananth. > > > > > > > > > > *From:* Dorfman, Justin [mailto:justin at mahalo.com] > *Sent:* 10 September 2010 20:06 > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] SNMP showing Unknown > > > > Ananth, > > > > This is how we check an SNMP process (in commands.cfg): > > > > # 'check_snmp' command definition > > define command{ > > command_name check_snmp_process > > command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C > $USER3$ > > } > > > > I would recommend you downloading these perl scripts: > http://nagios.manubulon.com/index_snmp.html and putting them into your * > /usr/local/nagios/libexec* folder. > > > > Let me know how it goes. > > > > Regards, > > Justin Dorfman > Mahalo.com Inc. > Jr. Systems Engineer > 818.485.1458 > @jdorfman | @MahaloSysops| Blog: > http://bit.ly/aNiWSk > > On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz wrote: > > Hi Justin, > > > > We have the native SNMP in Windows installed and we wanted to monitor those > readings. We downloaded and installed Net-SNMP, but seems there a bit of > configuring to do, we are fiddling with Nagios settings, so not sure whether > we want to spend time learning Net-SNMP at present. > > > > But its definitely something which we want to look at in the future. Thanks > for sharing the info. > > > > Meanwhile we are still stuck in SNMP!! > > > > This is what we get when we run > > [root at Nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp > > SNMPv2-MIB::snmpInPkts.0 = Counter32: 1 > > SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11 > > SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 > > SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 > > SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 > > SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 > > SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 > > SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 > > SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 > > SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 > > SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 > > SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11 > > SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 > > SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 > > SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14 > > SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 > > SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 > > SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 > > SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25 > > SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10 > > SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1) > > > > > > So seems client side is fine. Please advice... below is the error we get by > mail > > > > ***** Nagios ***** > > > > Notification Type: PROBLEM > > > > Service: SNMP > > Host: antivirsrv > > Address: 192.168.3.100 > > State: UNKNOWN > > > > Date/Time: Thu Sept 9 14:42:56 IST 2010 > > > > Additional Info: > > > > No OIDs specified > > > > below is the config settings for windows servers > > > > # Create a service for monitoring SNMP > > > > define service{ > > use generic-service > > host_name taipl-domsrv > > host_name tai3dserver > > host_name tai3dstorage-02 > > host_name tai3d-avsrv > > service_description SNMP > > check_command > check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000 > > } > > > > Please advice....what else is there to configure, please be specific, we > just started in Fully Automated Nagios, with a lot of help we have reached > this far.... J > > > > Regards > > Ananth. > > > > *From:* Dorfman, Justin [mailto:justin at mahalo.com] > *Sent:* 08 September 2010 22:59 > > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] SNMP showing Unknown > > > > First off do you have NET-SNMP ( > http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/) > installed on the server you are trying to fetch info from? > > > > > Regards, > > Justin Dorfman > Mahalo.com Inc. > Jr. Systems Engineer > 818.485.1458 > @jdorfman | @MahaloSysops| Blog: > http://bit.ly/aNiWSk > > On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz wrote: > > *You need to look at the service definition as well as the command* > > *definition to find out how the command is configured to run for this* > > *particular service check.* > > > > Which file that will be? The command.cfg file entry was the one we had put > in the earlier mail. > > > > We are newbies's so if possible kindly explain in detail. > > > > Regards > > Ananth. > > > > > > > > -----Original Message----- > From: Jim Avery [mailto:jim at jimavery.me.uk] > Sent: 08 September 2010 16:13 > To: Nagios Users List > Subject: Re: [Nagios-users] SNMP showing Unknown > > > > On 8 September 2010 10:19, IT Toonz wrote: > > > We are using FAN 2.0 > > > > > > > > > > > > One of our Windows Servers shows in Nagios. > > > > > > > > > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No > OIDs > > > specified > > > > > > > > > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > > > > > > > > > # 'check_snmp' command definition > > > > > > define command{ > > > > > > command_name check_snmp > > > > > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > > > > > } > > > > > > > > > > > > We entered the snmp community name give the switch ?C after check_snmp, > but > > > still no effect. > > > > You need to look at the service definition as well as the command > > definition to find out how the command is configured to run for this > > particular service check. > > > > hth, > > > > Jim > > > > > ------------------------------------------------------------------------------ > > This SF.net Dev2Dev email is sponsored by: > > > > Show off your parallel programming skills. > > Enter the Intel(R) Threading Challenge 2010. > > http://p.sf.net/sfu/intel-thread-sfd > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------------------------------ > This SF.net Dev2Dev email is sponsored by: > > Show off your parallel programming skills. > Enter the Intel(R) Threading Challenge 2010. > http://p.sf.net/sfu/intel-thread-sfd > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing > http://p.sf.net/sfu/novell-sfdev2dev > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Tue Sep 14 10:36:39 2010 From: it.toonz at gmail.com (IT Toonz) Date: Tue, 14 Sep 2010 14:06:39 +0530 Subject: SNMP showing Unknown In-Reply-To: References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <681806.83081.qm@web58406.mail.re3.yahoo.com> <57C326BCABEE0842AE585418105A1BABC9C0@039-SN1MPN1-002.039d.mgd.msft.net> <4C86F3A7.8090209@herb-j.com> <4c875743.1156730a.7f1e.1d34@mx.google.com> <4c877bae.22788e0a.410f.60b7@mx.google.com> <4c88acbb.0b798e0a.1fc9.40a1@mx.google.com> <4c8df6fb.22418e0a.5c38.7291@mx.google.com> Message-ID: <4c8f3644.0626730a.3ed2.ffffcfe1@mx.google.com> Thanks Justin, Will update as soon as we get through! Regards Ananth. From: Dorfman, Justin [mailto:justin at mahalo.com] Sent: 13 September 2010 20:27 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown C:\net-snmp\etc\snmp\snmpd.conf has to contain something like this : Code: rocommunity public Here is an example of ours: syslocation LAX disk /var 5% disk /usr 5% disk /tmp 5% load 30 30 30 syscontact email at domain.com rwcommunity sdjslf8sdf8 192.168.0.0/24 rocommunity public You then need to restart NET-SNMP for the changes to apply. Good little tutorial: http://forums.cacti.net/about26151.html Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops | Blog: http://bit.ly/aNiWSk On Mon, Sep 13, 2010 at 2:54 AM, IT Toonz wrote: Hi Justin, Thanks for the reply. We downloaded net-snmp.exe and installed in a monitored window server. Didn't modify anything, tried to start net-snmp service from the windows system, stopped at event id 7031! Checking again Downloaded and installed the perl scripts... is there anything to modify... Please advice. Regards Ananth. From: Dorfman, Justin [mailto:justin at mahalo.com] Sent: 10 September 2010 20:06 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown Ananth, This is how we check an SNMP process (in commands.cfg): # 'check_snmp' command definition define command{ command_name check_snmp_process command_line $USER1$/check_snmp_process.pl -H $HOSTADDRESS$ -C $USER3$ } I would recommend you downloading these perl scripts: http://nagios.manubulon.com/index_snmp.html and putting them into your /usr/local/nagios/libexec folder. Let me know how it goes. Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops | Blog: http://bit.ly/aNiWSk On Thu, Sep 9, 2010 at 2:36 AM, IT Toonz wrote: Hi Justin, We have the native SNMP in Windows installed and we wanted to monitor those readings. We downloaded and installed Net-SNMP, but seems there a bit of configuring to do, we are fiddling with Nagios settings, so not sure whether we want to spend time learning Net-SNMP at present. But its definitely something which we want to look at in the future. Thanks for sharing the info. Meanwhile we are still stuck in SNMP!! This is what we get when we run [root at Nagios nagios]# snmpwalk -v1 -c taipl 192.168.3.100 snmp SNMPv2-MIB::snmpInPkts.0 = Counter32: 1 SNMPv2-MIB::snmpOutPkts.0 = Counter32: 11 SNMPv2-MIB::snmpInBadVersions.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadCommunityUses.0 = Counter32: 0 SNMPv2-MIB::snmpInASNParseErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpInNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpInBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpInReadOnlys.0 = Counter32: 0 SNMPv2-MIB::snmpInGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpInTotalReqVars.0 = Counter32: 11 SNMPv2-MIB::snmpInTotalSetVars.0 = Counter32: 0 SNMPv2-MIB::snmpInGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetNexts.0 = Counter32: 14 SNMPv2-MIB::snmpInSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpInGetResponses.0 = Counter32: 0 SNMPv2-MIB::snmpInTraps.0 = Counter32: 0 SNMPv2-MIB::snmpOutTooBigs.0 = Counter32: 0 SNMPv2-MIB::snmpOutNoSuchNames.0 = Counter32: 0 SNMPv2-MIB::snmpOutBadValues.0 = Counter32: 0 SNMPv2-MIB::snmpOutGenErrs.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetNexts.0 = Counter32: 0 SNMPv2-MIB::snmpOutSetRequests.0 = Counter32: 0 SNMPv2-MIB::snmpOutGetResponses.0 = Counter32: 25 SNMPv2-MIB::snmpOutTraps.0 = Counter32: 10 SNMPv2-MIB::snmpEnableAuthenTraps.0 = INTEGER: enabled(1) So seems client side is fine. Please advice... below is the error we get by mail ***** Nagios ***** Notification Type: PROBLEM Service: SNMP Host: antivirsrv Address: 192.168.3.100 State: UNKNOWN Date/Time: Thu Sept 9 14:42:56 IST 2010 Additional Info: No OIDs specified below is the config settings for windows servers # Create a service for monitoring SNMP define service{ use generic-service host_name taipl-domsrv host_name tai3dserver host_name tai3dstorage-02 host_name tai3d-avsrv service_description SNMP check_command check_snmp!.1.3.6.1.2.1.25.2.3.1.6.2!1!Cachebuffers!50000!2000 } Please advice....what else is there to configure, please be specific, we just started in Fully Automated Nagios, with a lot of help we have reached this far.... J Regards Ananth. From: Dorfman, Justin [mailto:justin at mahalo.com] Sent: 08 September 2010 22:59 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown First off do you have NET-SNMP (http://sourceforge.net/projects/net-snmp/files/net-snmp%20binaries/5.5-bina ries/) installed on the server you are trying to fetch info from? Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops | Blog: http://bit.ly/aNiWSk On Wed, Sep 8, 2010 at 4:54 AM, IT Toonz wrote: You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. Which file that will be? The command.cfg file entry was the one we had put in the earlier mail. We are newbies's so if possible kindly explain in detail. Regards Ananth. -----Original Message----- From: Jim Avery [mailto:jim at jimavery.me.uk] Sent: 08 September 2010 16:13 To: Nagios Users List Subject: Re: [Nagios-users] SNMP showing Unknown On 8 September 2010 10:19, IT Toonz wrote: > We are using FAN 2.0 > > > > One of our Windows Servers shows in Nagios. > > > > tai3dstorage-02 SNMP UNKNOWN 09-08-2010 15:09:50 1d 21h 46m 25s 3/3 No OIDs > specified > > > > How can we troubleshoot it. This is the snmp entry in commands.cfg file. > > > > # 'check_snmp' command definition > > define command{ > > command_name check_snmp > > command_line $USER1$/check_snmp -H $HOSTADDRESS$ $ARG1$ > > } > > > > We entered the snmp community name give the switch -C after check_snmp, but > still no effect. You need to look at the service definition as well as the command definition to find out how the command is configured to run for this particular service check. hth, Jim ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ocano at corvelis.com Tue Sep 14 23:04:58 2010 From: ocano at corvelis.com (Oscar Cano Rodriguez) Date: Tue, 14 Sep 2010 16:04:58 -0500 Subject: nrpe use Message-ID: When I run any command to monitor a solaris the nrpe server runs fine from console, however in the browser sends me the error: (Return code of 137 is out of bounds) I'm using solaris 10 Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 justin at mahalo.com Wed Sep 15 00:42:09 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Tue, 14 Sep 2010 15:42:09 -0700 Subject: nrpe use In-Reply-To: References: Message-ID: Could you provide a screen shot? Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Tue, Sep 14, 2010 at 2:04 PM, Oscar Cano Rodriguez wrote: > When I run any command to monitor a solaris the nrpe server runs fine from > console, however in the browser sends me the error: > > (Return code of 137 is out of bounds) > > I'm using solaris 10 > > Any ideas? > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ocano at corvelis.com Wed Sep 15 01:10:02 2010 From: ocano at corvelis.com (Oscar Cano Rodriguez) Date: Tue, 14 Sep 2010 18:10:02 -0500 Subject: nrpe use In-Reply-To: References: Message-ID: The command is definidon in NagiosQL as $ USER1 $ / HOSTADDRESS check_nrpe-H $ $-t 15-c $ ARG1 $ Then send console output ls $ Echo $ LD_LIBRARY_PATH / Usr / local / lib: / usr / local / libexec: / usr / sfw / lib: / usr / local / nagios / libexec / Usr / local / nagios / libexec / check_nrpe-H 10.11.3.12 NRPE v2.12 / Usr / local / nagios / libexec / check_nrpe-M 10.11.3.12-t 15-c check_total_procs PROCS OK: 40 procesos The image on the attached web 2010/9/14 Dorfman, Justin > Could you provide a screen shot? > > > Regards, > > Justin Dorfman > Mahalo.com Inc. > Jr. Systems Engineer > 818.485.1458 > @jdorfman | @MahaloSysops| Blog: > http://bit.ly/aNiWSk > > > On Tue, Sep 14, 2010 at 2:04 PM, Oscar Cano Rodriguez wrote: > >> When I run any command to monitor a solaris the nrpe server runs fine from >> console, however in the browser sends me the error: >> >> (Return code of 137 is out of bounds) >> >> I'm using solaris 10 >> >> Any ideas? >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Oscar Cano Rodr?guez www.corvelis.com , www.antilavado.com Av. Revoluci?n No. 1176-3052 Col. San Jos? Insurgentes C.P. 03900, M?xico, D.F., ocano at corvelis.com cel. 044 55 3209 0017 skype: ocanor -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: errorNagios.GIF Type: image/gif Size: 44789 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ocano at corvelis.com Wed Sep 15 01:35:06 2010 From: ocano at corvelis.com (Oscar Cano Rodriguez) Date: Tue, 14 Sep 2010 18:35:06 -0500 Subject: nrpe use In-Reply-To: References: Message-ID: The command is definidon in NagiosQL as $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 justin at mahalo.com Wed Sep 15 01:45:39 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Tue, 14 Sep 2010 16:45:39 -0700 Subject: nrpe use In-Reply-To: References: Message-ID: in resource.cfg where does $USER1$ point to? FreeBSD e.g.: $USER1$=/usr/local/libexec/nagios For your case it believe it should be: *$USER1$=**/Usr/local/nagios/libexec/* Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Tue, Sep 14, 2010 at 4:35 PM, Oscar Cano Rodriguez wrote: > The command is definidon in NagiosQL as > > $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ocano at corvelis.com Wed Sep 15 02:08:48 2010 From: ocano at corvelis.com (Oscar Cano Rodriguez) Date: Tue, 14 Sep 2010 19:08:48 -0500 Subject: nrpe use In-Reply-To: References: Message-ID: thanks, must be something else because the file I have set the variable resource.cfg: $USER1$ = /usr/local/nagios/libexec 2010/9/14 Dorfman, Justin > in resource.cfg where does $USER1$ point to? FreeBSD e.g.: > > $USER1$=/usr/local/libexec/nagios > > For your case it believe it should be: > > *$USER1$=**/Usr/local/nagios/libexec/* > > > Regards, > > Justin Dorfman > Mahalo.com Inc. > Jr. Systems Engineer > 818.485.1458 > @jdorfman | @MahaloSysops| Blog: > http://bit.ly/aNiWSk > > > On Tue, Sep 14, 2010 at 4:35 PM, Oscar Cano Rodriguez wrote: > >> The command is definidon in NagiosQL as >> >> $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ >> >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Oscar Cano Rodr?guez www.corvelis.com , www.antilavado.com Av. Revoluci?n No. 1176-3052 Col. San Jos? Insurgentes C.P. 03900, M?xico, D.F., skype: ocanor -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Wed Sep 15 08:34:43 2010 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 15 Sep 2010 08:34:43 +0200 Subject: Nagios plain files vs database storage In-Reply-To: <4C8629F7.2060008@smtp.com> References: <4C8629F7.2060008@smtp.com> Message-ID: <4C906903.80705@univie.ac.at> yuris wrote: > Could someone please give me an idea what drawbacks I may face if switch > from plain nagios3 to ndoutils-nagios3-mysql with 350 - 400 hosts ? Can > I store in mysql db only hosts and hostgroups and manipulate them > (add/remove) via web interface while keep everything else in old way > (plain test configs) to reduce load on mysql? > ndoutils is only "one way" putting config, status and historical data into a mysql database. the current cgis or even the core do not take those values into account for doing their work. you might use other addons to present the data from mysql then. if you are considering an install of ndoutils, make sure it's either a cvs + patched version of 1.4b9 or the old 1.4b7 which runs smooth. current 1.4b9 contains some severe bugs which haven't been fixed for a while now. kind regards, Michael -- 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 14279 web: http://www.univie.ac.at/zid Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tomas.Trnka at podravka.cz Wed Sep 15 09:10:57 2010 From: Tomas.Trnka at podravka.cz (=?iso-8859-2?Q?Trnka_Tom=E1=B9?=) Date: Wed, 15 Sep 2010 09:10:57 +0200 Subject: execute script on event - wol when UPS status become OK In-Reply-To: References: Message-ID: <3BB2CD58D0221A499D644FB114479E03044FE4E6@MBX2007.podravka.int> Hi, I`m searching best way to execute script on event but only when status become OK, not when HARD or CRITICAL, as described in event handlers http://nagios.sourceforge.net/docs/3_0/eventhandlers.html script should be executed only when status HARD or CRITICAL is reached. I would like to run wake on lan script when UPS status become OK - to wake up servers. Thaks for your freaks Tomas ________________________________ PRIVILEGE AND CONFIDENTIALITY NOTICE This message and all attachments transmitted with it are intended solely for the use of the addressee and may contain legally privileged and confidential information. If you are not the intended recipient, you are hereby notified that any use of this message or its attachments is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to this message and delete it without reading from your computer. OBAVIJEST O POVLA?TENOSTI I POVJERLJIVOSTI PORUKE Ova poruka i svi njezini prilozi mogu sadr?avati pravno povla?tene i/ili povjerljive podatke te su isklju?ivo namijenjeni imenovanom Primatelju. Ukoliko niste imenovani Primatelj, ovime ste obavije?teni da je svaka neovla?tena uporaba ove poruke strogo zabranjena. Ako ste poruku primili gre?kom, molimo da odmah obavijestite Po?iljatelja, te da poruku i sve priloge izbri?ete sa ra?unala bez ?itanja. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 diego.roccia at gmail.com Wed Sep 15 10:04:17 2010 From: diego.roccia at gmail.com (diego.roccia at gmail.com) Date: Wed, 15 Sep 2010 08:04:17 +0000 Subject: execute script on event - wol when UPS status becomeOK In-Reply-To: <3BB2CD58D0221A499D644FB114479E03044FE4E6@MBX2007.podravka.int> References: <3BB2CD58D0221A499D644FB114479E03044FE4E6@MBX2007.podravka.int> Message-ID: <682682050-1284537857-cardhu_decombobulator_blackberry.rim.net-1716327989-@bda204.bisx.produk.on.blackberry> Maybe you can use ocsp: http://nagios.sourceforge.net/docs/3_0/configmain.html But mind that obsessive command is executed after EVERY service check, not only on a state change. Diego Sent from my BlackBerry? wireless device -----Original Message----- From: Trnka Tom?? Tomas.Trnka at podravka.cz Date: Wed, 15 Sep 2010 09:10:57 To: Nagios Users List Reply-To: Nagios Users List Subject: [Nagios-users] execute script on event - wol when UPS status become OK ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 15 12:22:04 2010 From: benny at bennyvision.com (C. Bensend) Date: Wed, 15 Sep 2010 05:22:04 -0500 Subject: Nagios plain files vs database storage In-Reply-To: <4C906903.80705@univie.ac.at> References: <4C8629F7.2060008@smtp.com> <4C906903.80705@univie.ac.at> Message-ID: <7c36ee9d2eece9eed374bfd4614e4058.squirrel@webmail.stinkweasel.net> > if you are considering an install of ndoutils, make sure it's either a > cvs + patched version of 1.4b9 or the old 1.4b7 which runs smooth. > current 1.4b9 contains some severe bugs which haven't been fixed for a > while now. Hmmmmm... I've been running b9 for a year now, and I haven't noticed any issues. What is the nature of these issues that you mention? Just because I haven't noticed doesn't mean something bad isn't happening to my data... Benny -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 15 12:49:04 2010 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Wed, 15 Sep 2010 12:49:04 +0200 Subject: Nagios plain files vs database storage In-Reply-To: <7c36ee9d2eece9eed374bfd4614e4058.squirrel@webmail.stinkweasel.net> References: <4C8629F7.2060008@smtp.com> <4C906903.80705@univie.ac.at> <7c36ee9d2eece9eed374bfd4614e4058.squirrel@webmail.stinkweasel.net> Message-ID: <4C90A4A0.9040305@univie.ac.at> C. Bensend wrote: > Hmmmmm... I've been running b9 for a year now, and I haven't > noticed any issues. What is the nature of these issues that > you mention? Just because I haven't noticed doesn't mean > something bad isn't happening to my data... > depends on your data being processed. duplicate rows bug in servicechecks table e.g. affects historical data processing afterwards. try a mysql> show create table nagios_servicechecks; and check if the unique keys are set correctly. the other way around, try selecting several rows from that table, and check for start_time/end_time being zero. 2 rows having the unique keys (`instance_id`,`service_object_id`,`start_time`,`start_time_usec`) or only one row? another patch regarding customvariables config is in cvs but never got released. basically ndo2db segfaults because of a too small defined array for inserting/updating custom variables configuration (this only happens if you dump config and use custom vars). some other changes which affect performance like binary casting for case sensitive compares are also there. so if you don't need ssl over tcp, reports for 1.4b7 are just more fine then. read further on that thread: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg32793.html Kind regards, Michael PS: The proposed patch for the duplicated rows is rather small. but it can't be applied on existing installations as mysql will complain about unique constraint violation of existing data then. but at least patching that for fresh installs would generate more benefit. -- 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 14279 web: http://www.univie.ac.at/zid Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 15 15:18:52 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Wed, 15 Sep 2010 08:18:52 -0500 Subject: SQL-DB Services-Unknown Status In-Reply-To: <618F928F9E2D824AAB26DCAA0F25221F0296FCDE@HYD-MKD-MBX02.wipro.com> References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB98@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FCDE@HYD-MKD-MBX02.wipro.com> Message-ID: Did you write get_mssql_log_used? It does not seem to be returning according to the standard nagios requirements. see http://nagiosplug.sourceforge.net/developer-guidelines.html Greg Pangrazio On Mon, Sep 13, 2010 at 4:21 AM, wrote: > Hi All, > > > > Request you to provide any clue on this. > > > > Thanks, > > Ravi G > > > > *From:* Ravishankar Gundlapali (WT01 - Energy and Utilities) > *Sent:* Friday, September 10, 2010 9:43 PM > *To:* Nagios Users List > *Cc:* 'pangrazi at gmail.com' > *Subject:* RE: [Nagios-users] SQL-DB Services-Unknown Status > > > > When I ran the command ./check_nrpe -t 60 -H -p 5666 > get_mssql_log_used > > > > I got the below output?. > > I (0.3.5.1 2008-09-24) seem to be doing fine... > > > > Please provide any clue? > > > > Regards, > > Ravi G > > > > > > *From:* Greg Pangrazio [mailto:pangrazi at gmail.com] > *Sent:* Friday, September 10, 2010 8:22 PM > > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] SQL-DB Services-Unknown Status > > > > what does the NRPE config look like on the remote end? Are you allowed to > run commands? What result do you get if you run > > check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a > $HOSTADDRESS$ > > with the proper variables from the command line on your nagios server? > Greg Pangrazio > > > On Fri, Sep 10, 2010 at 8:49 AM, > wrote: > > Hi, > > > > Please see the service definition and command definition which I am using > for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH. > > > > Request you to provide a clue on this. > > > > > > define service{ > > use generic-service ; Name of > service template to use > > host_name abcd > > service_description SQL-DB-LOG-USED > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups sql-admins > > notification_interval 0 > > notification_period 24x7 > > notification_options c,r > > check_command check_nrpe_mssql_log_used!*!50!90 > > } > > > > > > > > define service{ > > use generic-service ; Name of > service template to use > > host_name abcd > > service_description SQL-DB-LOG-GROWTH > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups sql-admins > > notification_interval 0 > > notification_period 24x7 > > notification_options c,r > > check_command > check_nrpe_mssql_log_growths!*!5000!9000 ; Log growth scale is 0.01 hence > 5000 and 9000 > > } > > > > > > define command { > > command_name check_nrpe_mssql_log_used > > command_line $USER1$/check_nrpe -t 60 -H > $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ "$ARG1$" > "$ARG2$" "$ARG3$" > > } > > > > > > define command { > > command_name > check_nrpe_mssql_log_growths > > command_line $USER1$/check_nrpe -t 60 -H > $HOSTADDRESS$ -p 5666 -c get_mssql_log_growth -a $HOSTADDRESS$ "$ARG1$" > "$ARG2$" "$ARG3$" > > } > > > > Thanks, > > Ravi G > > *From:* Greg Pangrazio [mailto:pangrazi at gmail.com] > *Sent:* Friday, September 10, 2010 6:40 PM > *To:* Nagios Users List > *Subject:* Re: [Nagios-users] SQL-DB Services-Unknown Status > > > > before anyone can help you we need the parts of the config that are > important here. Can you give us the command definition, service definition > and any other relevant part of the config? > > On Fri, Sep 10, 2010 at 2:28 AM, wrote: > > Hi All, > > > > Request you to help me on this. > > > > Thanks, > > Ravi G > > > > *From:* Ravishankar Gundlapali (WT01 - Energy and Utilities) > *Sent:* Thursday, September 09, 2010 3:42 PM > *To:* 'Nagios Users List' > *Subject:* SQL-DB Services-Unknown Status > > > > Hi, > > > > I am using Nagios Version 3.0.6 on a Linux server to monitor the > SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. > > > > For the many of the servers the status information is showing following > errors. Please see the screenshots below > > > > 1) UNKNOWN: No handler for that command > > 2) Unknown - * query: No row returned. > > 3) CHECK_NRPE: Received 0 bytes from daemon. Check the remote server > logs for error messages. > > 4) Unknown - No data received from WMI: > > > > I am using the following the check commands > > > > check_nrpe_mssql_log_used!*!50!90 > > check_nrpe_mssql_log_growths!*!5000!9000 > > > > Please someone let me know how can I resolve this. > > > > > > Thanks & Regards, > > *Ravi G* > > > > > > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------------------------------ > Automate Storage Tiering Simply > Optimize IT performance and efficiency through flexible, powerful, > automated storage tiering capabilities. View this brief to learn how > you can reduce costs and improve performance. > http://p.sf.net/sfu/dell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 do not print this email unless it is absolutely necessary. * > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. The > company accepts no liability for any damage caused by any virus transmitted > by this email. > > www.wipro.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 3787 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3817 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 3787 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 6116 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 lists at xodus.org Wed Sep 15 15:28:00 2010 From: lists at xodus.org (Marc Powell) Date: Wed, 15 Sep 2010 08:28:00 -0500 Subject: execute script on event - wol when UPS status become OK In-Reply-To: <3BB2CD58D0221A499D644FB114479E03044FE4E6@MBX2007.podravka.int> References: <3BB2CD58D0221A499D644FB114479E03044FE4E6@MBX2007.podravka.int> Message-ID: <434D0B4F-B1A9-455E-B359-9583ED71A29E@xodus.org> On Sep 15, 2010, at 2:10 AM, Trnka Tom?? wrote: > Hi, > I`m searching best way to execute script on event but only when status become OK, not when HARD or CRITICAL, > as described in event handlers http://nagios.sourceforge.net/docs/3_0/eventhandlers.html > script should be executed only when status HARD or CRITICAL is reached. > I would like to run wake on lan script when UPS status become OK ? to wake up servers. An event handler is exactly what you want. You've misread the documentation. Event handlers run under three different conditions - ? Is in a SOFT problem state i.e. when performing retry checks leading to a WARNING or CRITICAL status. ? Initially goes into a HARD problem state i.e. has reached max_attempts and is in a WARNING or CRITICAL status ? Initially recovers from a SOFT or HARD problem state i.e. returns to an OK state from WARNING or CRITICAL status. This is what you appear to be looking for. Using the example event handler script on that page, you just need to look at the OK state and do something, not the CRITICAL state. -- Marc ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gerard.lancellotti at mpsa.com Wed Sep 15 16:06:17 2010 From: gerard.lancellotti at mpsa.com (gerard.lancellotti at mpsa.com) Date: Wed, 15 Sep 2010 16:06:17 +0200 Subject: bad caracter in view of services groups Message-ID: hello all nagios'men i have this problem on my nagios 3.2 : when I choose "service status details for Service Group" I have characters that are not translated here what i see : Service Status Details For Service Group 'group+%5B%2Fusers+filesystem +partition+usage%5D It seem that the problem is issue when i call the cgi : cgi-bin/status.cgi?service_group=the name of the service group Have someone find the issue of this problem ? Thanks , and scuse for my poor english Cordialement G?rard Lancellotti Psa Peugeot Citro?n DCSI/DSIN/INSI/ETSO/IPSL T?l 01 30 19 93 90 / 06 80 90 45 90 Fax 01 30 19 77 80 E.Mail gerard.lancellotti at mpsa.com PYPY10/106 case 60 Ce message peut contenir des informations confidentielles. S'il ne vous est pas destin?, merci de le d?truire et d'informer imm?diatement son ?metteur. Pour plus d'informations relatives ? la confidentialit? et ? la s?curit? veuillez consulter http://disclaimer.psa-peugeot-citroen.com. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From contactdayo at gmail.com Wed Sep 15 16:38:07 2010 From: contactdayo at gmail.com (Dayo Adewunmi) Date: Wed, 15 Sep 2010 15:38:07 +0100 Subject: Monitoring several ethernet ports with check_mrtgtraf Message-ID: <4C90DA4F.7070007@gmail.com> Hi I'm trying to monitor several ports on a switch with check_mrtgtraf. Unfortunately, it looks as if the check_command allows only one port? check_command check_local_mrtgtraf!/var/www/mrtg/knh-a_50.log!AVG!1000000,1000000!5000000,5 000000!10 I have tried listing the check_command for the other ports after this one, but in the Nagios web interface, it only ever displays the first line in the list and ignores all the other listed ports. How do I get nagios to report mrtgtraf for other ports as well? Thanks Dayo ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 15 16:51:50 2010 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Wed, 15 Sep 2010 10:51:50 -0400 Subject: Monitoring several ethernet ports with check_mrtgtraf In-Reply-To: <4C90DA4F.7070007@gmail.com> References: <4C90DA4F.7070007@gmail.com> Message-ID: How about wrap it. Run a script that calls check_mrtgtraf for each interface, parse and collect the output then spew them all out in a single line. On Wed, Sep 15, 2010 at 10:38 AM, Dayo Adewunmi wrote: > Hi > > I'm trying to monitor several ports on a switch with check_mrtgtraf. > Unfortunately, it looks as if the check_command allows only one port? > > check_command > check_local_mrtgtraf!/var/www/mrtg/knh-a_50.log!AVG!1000000,1000000!5000000,5 > 000000!10 > > I have tried listing the check_command for the other ports after this > one, but in the Nagios web interface, it only ever displays the first > line in the list and ignores all the other listed ports. > > How do I get nagios to report mrtgtraf for other ports as well? > > Thanks > > Dayo > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From contactdayo at gmail.com Wed Sep 15 17:00:15 2010 From: contactdayo at gmail.com (Dayo Adewunmi) Date: Wed, 15 Sep 2010 16:00:15 +0100 Subject: Monitoring several ethernet ports with check_mrtgtraf In-Reply-To: References: <4C90DA4F.7070007@gmail.com> Message-ID: <4C90DF7F.7060206@gmail.com> Good idea, actually. Thanks Dayo On 15/09/2010 15:51, dave stern - e-mail.pluribus.unum wrote: > How about wrap it. Run a script that calls check_mrtgtraf for each interface, > parse and collect the output then spew them all out in a single line. > > On Wed, Sep 15, 2010 at 10:38 AM, Dayo Adewunmi wrote: > >> Hi >> >> I'm trying to monitor several ports on a switch with check_mrtgtraf. >> Unfortunately, it looks as if the check_command allows only one port? >> >> check_command >> check_local_mrtgtraf!/var/www/mrtg/knh-a_50.log!AVG!1000000,1000000!5000000,5 >> 000000!10 >> >> I have tried listing the check_command for the other ports after this >> one, but in the Nagios web interface, it only ever displays the first >> line in the list and ignores all the other listed ports. >> >> How do I get nagios to report mrtgtraf for other ports as well? >> >> Thanks >> >> Dayo >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 15 17:48:50 2010 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Wed, 15 Sep 2010 11:48:50 -0400 Subject: Large NDO Table Message-ID: The NDO tables nagios_host_contactgroups and nagios_service_contactgroups have grown to an incredible size on my nagios servers: SELECT count(*) FROM nagios_host_contactgroups; 1230862 SELECT count(*) FROM nagios_service_contactgroups; 3310190 The indexes are in place - when I run a "SHOW CREATE TABLE nagios_host_contactgroups", I get the following: CREATE TABLE `nagios_host_contactgroups` ( `host_contactgroup_id` int(11) NOT NULL auto_increment, `instance_id` smallint(6) NOT NULL default '0', `host_id` int(11) NOT NULL default '0', `contactgroup_object_id` int(11) NOT NULL default '0', PRIMARY KEY (`host_contactgroup_id`), UNIQUE KEY `instance_id` (`host_id`,`contactgroup_object_id`) ) ENGINE=InnoDB AUTO_INCREMENT=2905453 DEFAULT CHARSET=latin1 COMMENT='Host contact groups'; There are similar UNIQUE KEYs on nagios_service_contactgroups. Should I be worried about the size of the table? I'm trying to do anything I can to speed up the database operations and limit database size. I'm running Nagios 3.0.6 and NDO 1.4b9. We have 109 contacts defined in the system, 1900+ hosts and 5000+ services. I've already tuned the trim option for nagios_externalcommands and nagios_logentries down to 30 minutes, for what it's worth, as we mostly use the NDO data for a front end package we developed in-house. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwiese at beit.de Wed Sep 15 18:03:35 2010 From: mwiese at beit.de (mwiese at beit.de) Date: Wed, 15 Sep 2010 18:03:35 +0200 Subject: =?iso-8859-1?q?Marco_Wiese/BEIT_GmbH_ist_au=DFer_H?= =?iso-8859-1?q?aus=2E?= Message-ID: Ich werde vom 10.09.2010 bis einschlie?lich 27.09.2010 nicht im B?ro sein. Ich werde Ihre Nachricht nach meiner R?ckkehr schnellstm?glich beantworten. ------------------------------------------------------ I will be out of the office starting 10/09/2010 and will not return until 27/09/2010. I will answer your message after my return. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ron at tvnz.co.nz Wed Sep 15 21:38:37 2010 From: ron at tvnz.co.nz (Ron Wilson) Date: Thu, 16 Sep 2010 07:38:37 +1200 Subject: problems with pnp graphine Message-ID: <7D85034F6BBBD540AF52C59CED3AA1E803A12E04@AKVXCH02.tvnzad.tvnz.co.nz> I am running a distributed mode of Nagios with several servers passing data up to a central server. I am using pnp to graph the data on the central server. I have a weird problems that I hope someone can point me to a solution. If I run the distributed servers with obsess turned on Nagios works well and nsca passes the checks to central server where all checks are passive and only active checks come from the distributed server. However pnp gets upset and just stops creating the rrd files so graphing stops. However if I turn off obsessive pnp and graphing works fine b ut then most of the passive checks are considered stale and the central server switches to active mode which sort of does away with the distributed model I cannot see any reason for this it must be related to the way obsessing works but no idea why. Any one have any ideas? ________________________________ -- Ron Wilson Systems Engineer Television New Zealand P.O. Box 3819 Auckland, New Zealand Phone 649-916-7560 "My God! The thought of that evil man, loose in London--with money, from God only knows what source--fomenting riot and rebellion during a public emergency--and in control of an Engine- driven press! It's nightmarish!" (Gibson-Sterling, "The Difference Engine") ________________________________ ========================================================== For more information on the Television New Zealand Group, visit us online at tvnz.co.nz ========================================================== CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Wed Sep 15 23:13:01 2010 From: daniel.wittenberg.r0ko at statefarm.com (Daniel Wittenberg) Date: Wed, 15 Sep 2010 14:13:01 -0700 Subject: problems with pnp graphine In-Reply-To: <7D85034F6BBBD540AF52C59CED3AA1E803A12E04@AKVXCH02.tvnzad.tvnz.co.nz> References: <7D85034F6BBBD540AF52C59CED3AA1E803A12E04@AKVXCH02.tvnzad.tvnz.co.nz> Message-ID: <31B0FE0A1A8166409E9DF35C6DEECB24048DA84A@WPSCV6MM.OPR.STATEFARM.ORG> How is your pnp configured to run? Dan From: Ron Wilson [mailto:ron at tvnz.co.nz] Sent: Wednesday, September 15, 2010 2:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] problems with pnp graphine I am running a distributed mode of Nagios with several servers passing data up to a central server. I am using pnp to graph the data on the central server. I have a weird problems that I hope someone can point me to a solution. If I run the distributed servers with obsess turned on Nagios works well and nsca passes the checks to central server where all checks are passive and only active checks come from the distributed server. However pnp gets upset and just stops creating the rrd files so graphing stops. However if I turn off obsessive pnp and graphing works fine b ut then most of the passive checks are considered stale and the central server switches to active mode which sort of does away with the distributed model I cannot see any reason for this it must be related to the way obsessing works but no idea why. Any one have any ideas? ________________________________ -- Ron Wilson Systems Engineer Television New Zealand P.O. Box 3819 Auckland, New Zealand Phone 649-916-7560 "My God! The thought of that evil man, loose in London--with money, from God only knows what source--fomenting riot and rebellion during a public emergency--and in control of an Engine- driven press! It's nightmarish!" (Gibson-Sterling, "The Difference Engine") ________________________________ ========================================================== For more information on the Television New Zealand Group, visit us online at tvnz.co.nz ========================================================== CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Thu Sep 16 12:14:05 2010 From: it.toonz at gmail.com (IT Toonz) Date: Thu, 16 Sep 2010 15:44:05 +0530 Subject: Define Services In-Reply-To: References: Message-ID: <4c91f026.098d8e0a.3ae3.1dfc@mx.google.com> There is only 4 default service defined in FAN 2.0 PING, Uptime, SNMP and Bandwidth usage. Where can we find details of possible services which can be monitored? Regards Ananth. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Thu Sep 16 12:36:01 2010 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 16 Sep 2010 11:36:01 +0100 Subject: Define Services In-Reply-To: <4c91f026.098d8e0a.3ae3.1dfc@mx.google.com> References: <4c91f026.098d8e0a.3ae3.1dfc@mx.google.com> Message-ID: <4C91F311.4010305@flatto.net> On 16/09/10 11:14, IT Toonz wrote: > > There is only 4 default service defined in FAN 2.0 > > PING, Uptime, SNMP and Bandwidth usage. > > Where can we find details of possible services which can be monitored? > > Regards > > Ananth. > > The beauty of nagios is that you can monitor anything you can think of - and write the plugin for it . but to get you started on some ideas of what can be monitored , check the libexec directory of the nagios installation , that may give you some indication of existing plugins and things to monitor how to implement them .. well . i'd start here http://nagios.sourceforge.net/docs/3_0/quickstart.html -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Thu Sep 16 12:33:30 2010 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 16 Sep 2010 12:33:30 +0200 Subject: Large NDO Table In-Reply-To: References: Message-ID: <4C91F27A.6040104@univie.ac.at> Breandan Dezendorf wrote: > The NDO tables nagios_host_contactgroups and > nagios_service_contactgroups have grown to an incredible size on my > nagios servers: > > SELECT count(*) FROM nagios_host_contactgroups; > 1230862 > > SELECT count(*) FROM nagios_service_contactgroups; > 3310190 > > The indexes are in place - when I run a "SHOW CREATE TABLE > nagios_host_contactgroups", I get the following: > > CREATE TABLE `nagios_host_contactgroups` ( > `host_contactgroup_id` int(11) NOT NULL auto_increment, > `instance_id` smallint(6) NOT NULL default '0', > `host_id` int(11) NOT NULL default '0', > `contactgroup_object_id` int(11) NOT NULL default '0', > PRIMARY KEY (`host_contactgroup_id`), > UNIQUE KEY `instance_id` (`host_id`,`contactgroup_object_id`) > ) ENGINE=InnoDB AUTO_INCREMENT=2905453 DEFAULT CHARSET=latin1 > COMMENT='Host contact groups'; > > There are similar UNIQUE KEYs on nagios_service_contactgroups. > this is not the current 1.4b9 schema. either it's modified for your usage or you still have the old 1.4b7 schema or something else. 1.b8 changed the db engine from innodb to myisam (which is not good, but that's the main difference). > > Should I be worried about the size of the table? I'm trying to do > anything I can to speed up the database operations and limit database > size. I'm running Nagios 3.0.6 and NDO 1.4b9. We have 109 contacts > defined in the system, 1900+ hosts and 5000+ services. I've already > tuned the trim option for nagios_externalcommands and > nagios_logentries down to 30 minutes, for what it's worth, as we > mostly use the NDO data for a front end package we developed in-house. > i don't remember any logentries trimming options for ndoutils. can you post egrep -v "^$|^#" ndo2db.cfg the numbers are a bit odd though. can you check if the unique key columns match any id in objects or hosts? kind regards, michael -- 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 14279 web: http://www.univie.ac.at/zid Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Thu Sep 16 12:40:05 2010 From: it.toonz at gmail.com (IT Toonz) Date: Thu, 16 Sep 2010 16:10:05 +0530 Subject: Define Services In-Reply-To: <4C91F311.4010305@flatto.net> References: <4c91f026.098d8e0a.3ae3.1dfc@mx.google.com> <4C91F311.4010305@flatto.net> Message-ID: <4c91f63e.01958e0a.0ee4.652c@mx.google.com> /usr/local/nagios/libexec/ Folder is empty! Please advice. From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 16 September 2010 16:06 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Define Services On 16/09/10 11:14, IT Toonz wrote: There is only 4 default service defined in FAN 2.0 PING, Uptime, SNMP and Bandwidth usage. Where can we find details of possible services which can be monitored? Regards Ananth. The beauty of nagios is that you can monitor anything you can think of - and write the plugin for it . but to get you started on some ideas of what can be monitored , check the libexec directory of the nagios installation , that may give you some indication of existing plugins and things to monitor how to implement them .. well . i'd start here http://nagios.sourceforge.net/docs/3_0/quickstart.html -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 lolivotto at gmail.com Thu Sep 16 14:41:30 2010 From: lolivotto at gmail.com (Luca Olivotto) Date: Thu, 16 Sep 2010 14:41:30 +0200 Subject: Problem with check_openmanage and Open Manage 6.3 Message-ID: Hello, i have a problem with the plugin check_openmanage . if i use this command: ./check_openmanage -H xx.xx.xx.xx i get this result: OOPS! Something is wrong with this server, but I don't know what. The global system health status is WARNING, but every component check is OK. This may be a bug in the Nagios plugin, please file a bug report. The server that i'm checking is a PowerEdge 2950 and i suppose that the problem is the version of OpenManage installed on the server. The version is 6.3 and the only warning shown via the webinterface are the old version of the firmware/driver/storeDriver of the controller. If i try that command check_openmanage -H 10.10.10.6 -b ctrl_fw=all/ctrl_driver=all/ctrl_stdr=all -s -e the output is: OK - System: 'PowerEdge 2950', SN: 'xxxxxx', 16 GB ram (4 dimms), 0 logical drives, 0 physical drives as you can see the disk are not checked(that server has a broked mirror). the version of check_openmanage is 3.6.0 thanks, Luca -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Sep 16 15:30:17 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 16 Sep 2010 15:30:17 +0200 Subject: Problem with check_openmanage and Open Manage 6.3 In-Reply-To: (Luca Olivotto's message of "Thu, 16 Sep 2010 14:41:30 +0200") References: Message-ID: <15t4odpbyty.fsf@tux.uio.no> Luca Olivotto writes: > Hello, > i have a problem with the plugin check_openmanage . > > if i use this command: > ./check_openmanage -H xx.xx.xx.xx > > i get this result: > OOPS! Something is wrong with this server, but I don't know what. The global > system health status is WARNING, but every component check is OK. This may be > a bug in the Nagios plugin, please file a bug report. > > The server that i'm checking is a PowerEdge 2950 and i suppose that the > problem is the version of OpenManage installed on the server. The version is > 6.3 and the only warning shown via the webinterface are? the old version of > the firmware/driver/storeDriver of the controller. > If i try that command > > check_openmanage -H 10.10.10.6 -b ctrl_fw=all/ctrl_driver=all/ctrl_stdr=all -s > -e > the output is: > OK - System: 'PowerEdge 2950', SN: 'xxxxxx', 16 GB ram (4 dimms), 0 logical > drives, 0 physical drives > > as you can see the disk are not checked(that server has a broked mirror). > > the version of check_openmanage is 3.6.0 Hi Luca, Your analysis is correct. OMSA doesn't display storage info via SNMP, but there is something wrong with a storage component. For some reason, OMSA senses the storage failure and the global health status inherits this failure status, but OMSA doesn't display the storage. This condition will trigger the behaviour you are seeing. The plugin searches for storage controllers. If it doesn't find any controllers, it concludes that there is no storage alltogether and will skip subsequent checks of disk drives etc. Do you see any controlles by running this command on the server: omreport storage controller Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lolivotto at gmail.com Thu Sep 16 16:26:37 2010 From: lolivotto at gmail.com (Luca Olivotto) Date: Thu, 16 Sep 2010 16:26:37 +0200 Subject: Problem with check_openmanage and Open Manage 6.3 In-Reply-To: <15t4odpbyty.fsf@tux.uio.no> References: <15t4odpbyty.fsf@tux.uio.no> Message-ID: thank you for your response. yes, i see the perc 6i controller. That is the output of the command: Controller PERC 6/i Integrated (Embedded) Controllers ID : 0 Status : Non-Critical Name : PERC 6/i Integrate Slot ID : Embedded State : Degraded Firmware Version : 6.0.2-0002 Minimum Required Firmware Version : 6.2.0-0012 Driver Version : 2.14.00.64 Minimum Required Driver Version : 2.23.00.64 Storport Driver Version : 5.2.3790.3959 Minimum Required Storport Driver Version : 5.2.3790.4173 Number of Connectors : 2 Rebuild Rate : 30% BGI Rate : 30% Check Consistency Rate : 30% Reconstruct Rate : 30% Alarm State : Not Applicable Cluster Mode : Not Applicable SCSI Initiator ID : Not Applicable Cache Memory Size : 256 MB Patrol Read Mode : Auto Patrol Read State : Stopped Patrol Read Rate : 30% Patrol Read Iterations : 117 Abort Check Consistency on Error : Not Applicable Allow Revertible Hot Spare and Replace Member : Not Applicable Load Balance : Not Applicable Auto Replace Member on Predictive Failure : Not Applicable Redundant Path view : Not Applicable Persistent Hot Spare : Not Applicable Security Capable : Not Applicable Security Key Present : Not Applicable Spin Down Unconfigured Drives : Not Applicable Spin Down Hot Spares : Not Applicable thanks Luca On Thu, Sep 16, 2010 at 3:30 PM, Trond Hasle Amundsen < t.h.amundsen at usit.uio.no> wrote: > Luca Olivotto writes: > > > Hello, > > i have a problem with the plugin check_openmanage . > > > > if i use this command: > > ./check_openmanage -H xx.xx.xx.xx > > > > i get this result: > > OOPS! Something is wrong with this server, but I don't know what. The > global > > system health status is WARNING, but every component check is OK. This > may be > > a bug in the Nagios plugin, please file a bug report. > > > > The server that i'm checking is a PowerEdge 2950 and i suppose that the > > problem is the version of OpenManage installed on the server. The version > is > > 6.3 and the only warning shown via the webinterface are the old version > of > > the firmware/driver/storeDriver of the controller. > > If i try that command > > > > check_openmanage -H 10.10.10.6 -b > ctrl_fw=all/ctrl_driver=all/ctrl_stdr=all -s > > -e > > the output is: > > OK - System: 'PowerEdge 2950', SN: 'xxxxxx', 16 GB ram (4 dimms), 0 > logical > > drives, 0 physical drives > > > > as you can see the disk are not checked(that server has a broked mirror). > > > > the version of check_openmanage is 3.6.0 > > Hi Luca, > > Your analysis is correct. OMSA doesn't display storage info via SNMP, > but there is something wrong with a storage component. For some reason, > OMSA senses the storage failure and the global health status inherits > this failure status, but OMSA doesn't display the storage. This > condition will trigger the behaviour you are seeing. > > The plugin searches for storage controllers. If it doesn't find any > controllers, it concludes that there is no storage alltogether and will > skip subsequent checks of disk drives etc. > > Do you see any controlles by running this command on the server: > > omreport storage controller > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Sep 16 17:08:32 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 16 Sep 2010 17:08:32 +0200 Subject: Problem with check_openmanage and Open Manage 6.3 In-Reply-To: (Luca Olivotto's message of "Thu, 16 Sep 2010 16:26:37 +0200") References: <15t4odpbyty.fsf@tux.uio.no> Message-ID: <15tvd65afpr.fsf@tux.uio.no> Luca Olivotto writes: > yes, i see the perc 6i controller. Ok, thanks. I then suspect that the problem lies with the SNMP part of OMSA. Kan you run the following command from your Nagios server to confirm: snmpwalk -v2c -c 1.3.6.1.4.1.674.10893.1.20.130.1 The result should look something like this: $ snmpwalk -v2c -c public foobar 1.3.6.1.4.1.674.10893.1.20.130.1 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.1.1 = INTEGER: 1 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.2.1 = STRING: "PERC 6/i Integrated" SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.3.1 = STRING: "DELL" SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.4.1 = INTEGER: 6 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.5.1 = INTEGER: 1 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.7.1 = INTEGER: 30 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.8.1 = STRING: "6.2.0-0013" SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.9.1 = INTEGER: 256 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.10.1 = INTEGER: 0 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.11.1 = INTEGER: 6 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.12.1 = INTEGER: 2 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.37.1 = INTEGER: 3 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.38.1 = INTEGER: 3 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.39.1 = STRING: "\\0" SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.40.1 = INTEGER: 3 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.41.1 = STRING: "00.00.04.17-RH1 " SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.42.1 = STRING: "embedded" SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.43.1 = INTEGER: 99 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.47.1 = INTEGER: 2 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.48.1 = INTEGER: 30 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.49.1 = INTEGER: 30 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.50.1 = INTEGER: 30 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.51.1 = INTEGER: 30 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.52.1 = INTEGER: 1 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.53.1 = INTEGER: 1 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.54.1 = INTEGER: 32 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.57.1 = INTEGER: 99 SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.58.1 = INTEGER: 99 Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lolivotto at gmail.com Thu Sep 16 17:18:19 2010 From: lolivotto at gmail.com (Luca Olivotto) Date: Thu, 16 Sep 2010 17:18:19 +0200 Subject: Problem with check_openmanage and Open Manage 6.3 In-Reply-To: <15tvd65afpr.fsf@tux.uio.no> References: <15t4odpbyty.fsf@tux.uio.no> <15tvd65afpr.fsf@tux.uio.no> Message-ID: that is the output: SNMPv2-SMI::enterprises.674.10893.1.20.130.1 = No Such Object available on this agent at this OID thanks Luca On Thu, Sep 16, 2010 at 5:08 PM, Trond Hasle Amundsen < t.h.amundsen at usit.uio.no> wrote: > Luca Olivotto writes: > > > yes, i see the perc 6i controller. > > Ok, thanks. I then suspect that the problem lies with the SNMP part of > OMSA. Kan you run the following command from your Nagios server to > confirm: > > snmpwalk -v2c -c > 1.3.6.1.4.1.674.10893.1.20.130.1 > > The result should look something like this: > > $ snmpwalk -v2c -c public foobar 1.3.6.1.4.1.674.10893.1.20.130.1 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.1.1 = INTEGER: 1 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.2.1 = STRING: "PERC 6/i > Integrated" > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.3.1 = STRING: "DELL" > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.4.1 = INTEGER: 6 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.5.1 = INTEGER: 1 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.7.1 = INTEGER: 30 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.8.1 = STRING: "6.2.0-0013" > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.9.1 = INTEGER: 256 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.10.1 = INTEGER: 0 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.11.1 = INTEGER: 6 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.12.1 = INTEGER: 2 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.37.1 = INTEGER: 3 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.38.1 = INTEGER: 3 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.39.1 = STRING: "\\0" > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.40.1 = INTEGER: 3 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.41.1 = STRING: > "00.00.04.17-RH1 > " > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.42.1 = STRING: "embedded" > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.43.1 = INTEGER: 99 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.47.1 = INTEGER: 2 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.48.1 = INTEGER: 30 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.49.1 = INTEGER: 30 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.50.1 = INTEGER: 30 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.51.1 = INTEGER: 30 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.52.1 = INTEGER: 1 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.53.1 = INTEGER: 1 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.54.1 = INTEGER: 32 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.57.1 = INTEGER: 99 > SNMPv2-SMI::enterprises.674.10893.1.20.130.1.1.58.1 = INTEGER: 99 > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Sep 16 17:42:41 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 16 Sep 2010 17:42:41 +0200 Subject: Problem with check_openmanage and Open Manage 6.3 In-Reply-To: (Luca Olivotto's message of "Thu, 16 Sep 2010 17:18:19 +0200") References: <15t4odpbyty.fsf@tux.uio.no> <15tvd65afpr.fsf@tux.uio.no> Message-ID: <15tr5gtae4u.fsf@tux.uio.no> Luca Olivotto writes: > that is the output: > SNMPv2-SMI::enterprises.674.10893.1.20.130.1 = No Such Object available on > this agent at this OID Ok, this confirms that the problem lies with OMSA, specifically the SNMP functionality. I'm afraid that I can't offer much clues about how to fix this. I would try restarting the OMSA and SNMP services, and if that doesn't work, reinstall OMSA completely. Best of luck, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lolivotto at gmail.com Thu Sep 16 18:32:33 2010 From: lolivotto at gmail.com (Luca Olivotto) Date: Thu, 16 Sep 2010 18:32:33 +0200 Subject: Problem with check_openmanage and Open Manage 6.3 In-Reply-To: <15tr5gtae4u.fsf@tux.uio.no> References: <15t4odpbyty.fsf@tux.uio.no> <15tvd65afpr.fsf@tux.uio.no> <15tr5gtae4u.fsf@tux.uio.no> Message-ID: thank you very much Trond . i restarted these services and started functioning SNMP DSM SA Connection Service DSM SA Data Manager DSM SA Event Manager DSM SA Shared Services than you bye Luca On Thu, Sep 16, 2010 at 5:42 PM, Trond Hasle Amundsen < t.h.amundsen at usit.uio.no> wrote: > Luca Olivotto writes: > > > that is the output: > > SNMPv2-SMI::enterprises.674.10893.1.20.130.1 = No Such Object available > on > > this agent at this OID > > Ok, this confirms that the problem lies with OMSA, specifically the SNMP > functionality. I'm afraid that I can't offer much clues about how to fix > this. I would try restarting the OMSA and SNMP services, and if that > doesn't work, reinstall OMSA completely. > > Best of luck, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 roman.ricardo at gmail.com Fri Sep 17 00:17:32 2010 From: roman.ricardo at gmail.com (=?ISO-8859-1?Q?Ricardo_Rom=E1n_Brenes?=) Date: Thu, 16 Sep 2010 16:17:32 -0600 Subject: problems with monitoring remote servers Message-ID: So hi guys; i hate nagios =) i got a cluster here and i need to install nagios so i can monitor all the nodes; but i just cant. I've read a fuckzillion guides and NOT ONE works as intended. Please if anyone could help me here i would be very very grateful. I got 4 hosts running fedora 11 PPC. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ron at tvnz.co.nz Fri Sep 17 00:34:42 2010 From: ron at tvnz.co.nz (Ron Wilson) Date: Fri, 17 Sep 2010 10:34:42 +1200 Subject: problems with pnp graphine In-Reply-To: <31B0FE0A1A8166409E9DF35C6DEECB24048DA84A@WPSCV6MM.OPR.STATEFARM.ORG> References: <7D85034F6BBBD540AF52C59CED3AA1E803A12E04@AKVXCH02.tvnzad.tvnz.co.nz> <31B0FE0A1A8166409E9DF35C6DEECB24048DA84A@WPSCV6MM.OPR.STATEFARM.ORG> Message-ID: <7D85034F6BBBD540AF52C59CED3AA1E803A12E0B@AKVXCH02.tvnzad.tvnz.co.nz> As I understand npcd runs continuously and looks for files in the perfdata_spool_Dir and processes anything found there From: Daniel Wittenberg [mailto:daniel.wittenberg.r0ko at statefarm.com] Sent: Thursday, 16 September 2010 9:13 a.m. To: Nagios Users List Subject: Re: [Nagios-users] problems with pnp graphine How is your pnp configured to run? Dan From: Ron Wilson [mailto:ron at tvnz.co.nz] Sent: Wednesday, September 15, 2010 2:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] problems with pnp graphine I am running a distributed mode of Nagios with several servers passing data up to a central server. I am using pnp to graph the data on the central server. I have a weird problems that I hope someone can point me to a solution. If I run the distributed servers with obsess turned on Nagios works well and nsca passes the checks to central server where all checks are passive and only active checks come from the distributed server. However pnp gets upset and just stops creating the rrd files so graphing stops. However if I turn off obsessive pnp and graphing works fine b ut then most of the passive checks are considered stale and the central server switches to active mode which sort of does away with the distributed model I cannot see any reason for this it must be related to the way obsessing works but no idea why. Any one have any ideas? ________________________________ -- Ron Wilson Systems Engineer Television New Zealand P.O. Box 3819 Auckland, New Zealand Phone 649-916-7560 "My God! The thought of that evil man, loose in London--with money, from God only knows what source--fomenting riot and rebellion during a public emergency--and in control of an Engine- driven press! It's nightmarish!" (Gibson-Sterling, "The Difference Engine") ________________________________ ========================================================== For more information on the Television New Zealand Group, visit us online at tvnz.co.nz ========================================================== CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. ========================================================== For more information on the Television New Zealand Group, visit us online at tvnz.co.nz ========================================================== CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 member at linkedin.com Fri Sep 17 01:49:39 2010 From: member at linkedin.com (Saulo Silva via LinkedIn) Date: Thu, 16 Sep 2010 16:49:39 -0700 (PDT) Subject: Invitation to connect on LinkedIn Message-ID: <1014617817.2325587.1284680979819.JavaMail.app@ech3-cdn05.prod> LinkedIn ------------Saulo Silva requested to add you as a connection on LinkedIn: ------------------------------------------ Lei, I'd like to add you to my professional network on LinkedIn. - Saulo Accept invitation from Saulo Silva http://www.linkedin.com/e/-bdl42y-ge69vw4o-e/7aCDeLHzGLmxXEqs56OlWLXvehObD1msS6AcGvXdAD2fsFLVlfh/blk/I856383336_3/pmpxnSRJrSdvj4R5fnhv9ClRsDgZp6lQs6lzoQ5AomZIpn8_cRYScPcPe3cSdjx9bSBiplxRslFmbPwTdj8QejwTdz4LrCBxbOYWrSlI/EML_comm_afe/ View invitation from Saulo Silva http://www.linkedin.com/e/-bdl42y-ge69vw4o-e/7aCDeLHzGLmxXEqs56OlWLXvehObD1msS6AcGvXdAD2fsFLVlfh/blk/I856383336_3/0PnPoPcPcUcPoRe4ALqnpPbOYWrSlI/svi/ ------------------------------------------ DID YOU KNOW LinkedIn can help you find the right service providers using recommendations from your trusted network? Using LinkedIn Services, you can take the risky guesswork out of selecting service providers by reading the recommendations of credible, trustworthy members of your network. http://www.linkedin.com/e/-bdl42y-ge69vw4o-e/svp/inv-25/ -- (c) 2010, LinkedIn Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ae at op5.se Fri Sep 17 02:10:41 2010 From: ae at op5.se (Andreas Ericsson) Date: Fri, 17 Sep 2010 02:10:41 +0200 Subject: problems with monitoring remote servers In-Reply-To: References: Message-ID: <4C92B201.8030107@op5.se> On 09/17/2010 12:17 AM, Ricardo Rom?n Brenes wrote: > So hi guys; i hate nagios =) > > i got a cluster here and i need to install nagios so i can monitor all the > nodes; but i just cant. I've read a fuckzillion guides and NOT ONE works as > intended. > Do you mean you want to install one nagios-instance on every cluster-node, or do you want to install one nagios-instance and from that server monitor all your cluster-nodes? What guides did you read and what did you try? -- 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. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deep.sea.odyssey at gmail.com Fri Sep 17 08:01:40 2010 From: deep.sea.odyssey at gmail.com (Watanabe, Kazuo) Date: Fri, 17 Sep 2010 15:01:40 +0900 Subject: check_procs high frequency "Plugin timed out after 10 seconds" Message-ID: Hi, I am using check_procs for crond processes monitoring via NRPE. The plugin has been reporting "Plugin timed out after 10 senconds" many times. Sometimes OK, Sometimes above. The target system resource: no high load The crond process: working normally Checking ps command manually: showing crond process normally Other monitoring: CPU, MEM, DISK works well Other machines using same plugin: no problem Error log: I could not find any error log The target machine OS: RHEL3 x86 Kernel: 2.4.21-20.ELsmp Nrpe: 1.2.5 Plugin: check_procs v1758 (nagios-plugins 1.4.11) nrpe.cfg: check_procs -c 1:10 -a crond normal check interval: 5min max retry attempt: 3 retry check interval: 5min I would like to know what is the root cause and the solution for this situation. Regards. Kaz -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Patrik.Bat at cypoint.se Fri Sep 17 09:18:09 2010 From: Patrik.Bat at cypoint.se (=?iso-8859-1?Q?Patrik_B=E5t?=) Date: Fri, 17 Sep 2010 09:18:09 +0200 Subject: check_procs high frequency "Plugin timed out after 10 seconds" In-Reply-To: References: Message-ID: <49550341AA321E408F1DCC048349F0A2013E6EAC8DBA@cyexch01.office.local> How is your timeouts, is this nrpe who reports timeout or nagios ? - Sincerely, Patrik B?t UNIX System Administrator _____________________________________________ Cypoint IT Services AB Sehlstedtsgatan 9 SE-100 52 Stockholm http://www.cypoint.se Phone: +46 (0)8 545 87 300 Direct: +46 (0)8 545 87 326 Mobile: +46 (0)73 32 07 326 E-mail: patrik.bat at cypoint.se ________________________________ Fr?n: Watanabe, Kazuo [deep.sea.odyssey at gmail.com] Skickat: den 17 september 2010 08:01 Till: nagios-users at lists.sourceforge.net ?mne: [Nagios-users] check_procs high frequency "Plugin timed out after 10 seconds" Hi, I am using check_procs for crond processes monitoring via NRPE. The plugin has been reporting "Plugin timed out after 10 senconds" many times. Sometimes OK, Sometimes above. The target system resource: no high load The crond process: working normally Checking ps command manually: showing crond process normally Other monitoring: CPU, MEM, DISK works well Other machines using same plugin: no problem Error log: I could not find any error log The target machine OS: RHEL3 x86 Kernel: 2.4.21-20.ELsmp Nrpe: 1.2.5 Plugin: check_procs v1758 (nagios-plugins 1.4.11) nrpe.cfg: check_procs -c 1:10 -a crond normal check interval: 5min max retry attempt: 3 retry check interval: 5min I would like to know what is the root cause and the solution for this situation. Regards. Kaz -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 rod at mwave.co.jp Fri Sep 17 12:28:36 2010 From: rod at mwave.co.jp (Roderick Andrew Clemente) Date: Fri, 17 Sep 2010 19:28:36 +0900 Subject: Problem with custom plugin on a remote linux box In-Reply-To: <81fe8e76cca8c9c618d0ae9a51f942a3.squirrel@webmail.stinkweasel.net> References: <000001cb4a6f$42cd57d0$c8680770$@mwave.co.jp> <81fe8e76cca8c9c618d0ae9a51f942a3.squirrel@webmail.stinkweasel.net> Message-ID: <002401cb5653$236161d0$6a242570$@mwave.co.jp> Hi Benny and Nagios People, Sorry for my delayed response, my boss pulled me off this project and we have been so swamped I didn't get to come back to it until today! Thanks for your help but I still am not quite there, based on what you directed below I now have the following configuration: **On the machine being monitored** I have the perl script I created in /usr/local/nagios/libexec/custom/ (its a modification of http://www.deimos.fr/gitweb/?p=nagios_plugins.git;a=blob;f=check_file_conten t/check_file_content.pl;h=ecf737389fd5a4360ee864eb55aca92056308445;hb=HEAD I have tested it from the command line as the nagios user and it works as expected) in the file: /usr/local/nagios/etc/nrpe.cfg i added command[check_wadmin]=/usr/bin/perl /usr/local/nagios/libexec/custom/check_wadmin.pl -f /tmp/nagiosInput.txt -i wait -n 35 ***On the monitoring machine*** I already had the machine monitoring the remote linux box's basic stats, I did this by creating a remotelinuxhost.cfg file at /usr/local/nagios/etc/objects (and adding a reference in the main config) To remotelinuxhost.cfg I added: define service{ use generic-service ; Name of service template to use host_name Sun89 service_description Check Feed Handler check_command check_wadmin } I also added commands.cfg (in the same folder) #custom - 'check_wadmin' command definition define command{ command_name check_wadmin command_line check_nrpe } *NOTE: I also tried this but when I tried to reload the service it wouldn't accept it: define command{ command_name check_nrpe command_line /usr/bin/perl /usr/local/nagios/libexec/custom/check_wadmin.pl -f /tmp/nagiosInput.txt -i wait -n 35 } The Nagios web interface now has the error message: (Return code of 127 is out of bounds - plugin may be missing) Any ideas on what I am doing wrong here? Thanks again, Roderick -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: Thursday, September 02, 2010 7:13 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with custom plugin on a remote linux box > in the file: vi /usr/local/nagios/etc/nrpe.cfg i added > command[check_wadmin]=perl > /usr/local/nagios/libexec/custom/check_wadmin.pl > -f /tmp/nagiosInput.txt -i wait -n 35 Always use the full path to interpreters, as the Nagios environment is not the same as a normal shell user's. > I also added commands.cfg (in the same folder) > > define command{ > command_name check_wadmin > command_line perl /usr/local/nagios/libexec/custom/check_wadmin.pl -f > /tmp/nagiosInput.txt -i wait -n 35 } Same with here. > When I reloaded the service, it accepted the config but the result is > as listed above... if anyone has any suggestions it would be greatly > appreciated!!! The command you have created above expects the check command to be on the local (Nagios) server, *not* the remote client. I don't think that's what you intend. Since your custom plugin is on the remote server and is configured within NRPE to be run, you need to use check_nrpe on the Nagios server to test it. Modify the check_wadmin command on the Nagios server to use the check_nrpe command to test it on the remote server, and I think you'll probably be OK. Benny -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ---------------------------------------------------------------------------- -- This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 17 14:03:28 2010 From: benny at bennyvision.com (C. Bensend) Date: Fri, 17 Sep 2010 07:03:28 -0500 Subject: Problem with custom plugin on a remote linux box In-Reply-To: <002401cb5653$236161d0$6a242570$@mwave.co.jp> References: <000001cb4a6f$42cd57d0$c8680770$@mwave.co.jp> <81fe8e76cca8c9c618d0ae9a51f942a3.squirrel@webmail.stinkweasel.net> <002401cb5653$236161d0$6a242570$@mwave.co.jp> Message-ID: <0977aa5bddf3e550266ea7efcb5ceb24.squirrel@webmail.stinkweasel.net> > **On the machine being monitored** > I have the perl script I created in /usr/local/nagios/libexec/custom/ (its > a > modification of > http://www.deimos.fr/gitweb/?p=nagios_plugins.git;a=blob;f=check_file_conten > t/check_file_content.pl;h=ecf737389fd5a4360ee864eb55aca92056308445;hb=HEAD > I > have tested it from the command line as the nagios user and it works as > expected) > > in the file: /usr/local/nagios/etc/nrpe.cfg i added > command[check_wadmin]=/usr/bin/perl > /usr/local/nagios/libexec/custom/check_wadmin.pl -f /tmp/nagiosInput.txt > -i > wait -n 35 OK, good. > ***On the monitoring machine*** > I already had the machine monitoring the remote linux box's basic stats, I > did this by creating a remotelinuxhost.cfg file at > /usr/local/nagios/etc/objects (and adding a reference in the main config) > > To remotelinuxhost.cfg I added: > > define service{ > use generic-service ; Name of service template to use > host_name Sun89 > service_description Check Feed Handler > check_command check_wadmin > } > > > I also added commands.cfg (in the same folder) > > #custom - 'check_wadmin' command definition > define command{ > command_name check_wadmin > command_line check_nrpe > } Bzzzt. Here's where it's incorrect. check_nrpe only checks the status of the NRPE daemon on the remote end. You need to use NRPE on the remote end to invoke your check_wadmin test. So, on your Nagios server, you need to set the command_line for the check_wadmin command to something like: $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_wadmin $USER1$ ^^^^^^^ The path to your local plugins (on the Nagios server) check_nrpe ^^^^^^^^^^ Need to use check_nrpe to check the command on the remote host -H $HOSTADDRESS$ ^^^^^^^^^^^^^^^^ What host to check -c check_wadmin ^^^^^^^^^^^^^^^ What command to run *ON THE REMOTE HOST* NRPE only allows you to run plugins designed to be local-only on a remote system. You need to tell it *what* to run, and *how* to run it. Benny -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 17 15:15:47 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Fri, 17 Sep 2010 22:15:47 +0900 Subject: Service rescheduling after the commit Message-ID: <201009171315.AA02472@S2007337.jp.fujitsu.com> Hello all. I would like to get an advice with the service check rescheduling mechanism. I am using nagios 3.0.6 on Linux machine. I have realized that if the next scheduling time specifed in the status file collides with the period of nagios restart, nagios seems to reschedule the time. Specifically, on certain service, next schedule time is set as 2010-09-10 22:46:34 nagios restart occurs on 2010-09-10 22:46:16 * next schedule time is rescheduled to 2010-09-10 23:01:38 Would there be a way to make nagios check immediately rather than rescheduling? Thank you! Yu Watanabe ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 17 18:23:42 2010 From: mirde at oppy.com (Mirza Dedic) Date: Fri, 17 Sep 2010 09:23:42 -0700 Subject: question about check_by_ssh Message-ID: My nagiox box uses check_by_ssh to run a remote check_log script on a box, I have a tricky situation where I need to "generate" the log right before check_log is invoked. This is the setup I have done: On my local Nagios box, created a dummy shell script to invoke check_by_ssh twice, one to run the remote script to generate the log, and another to run check_log to check that log. In my Nagios check commands, I call the dummy script, it first generates the log, waits 10 seconds and runs the check_log, both return: nagios at van-nagios:/usr/local/nagios/libexec$ ./check_test OK - check_by_ssh: Remote command '/home/nagios/plugins/check_appsrv' returned status 0 OK - no errors or warnings|app_production_lines=3 app_production_warnings=0 app_production_criticals=0 app_production_unknowns=0 Will there be issues with Nagios when a check script returns two status? First check will almost always return an OK, it's the 2nd run that I care about. 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 patrick.morris at hp.com Fri Sep 17 18:41:59 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 17 Sep 2010 09:41:59 -0700 Subject: question about check_by_ssh In-Reply-To: References: Message-ID: <4C939A57.7080309@hp.com> A check *cannot* return two status codes; it's just not possible. Nagios will only respect the status code returned by your check plugin, and there will only be one of those. If that plugin happens to run multiple scripts that return other codes, that's irrelevant; the only result code that matters is the one returned by your plugin. In this case, after you run check_test, you can try "echo $?". That will return value of the single result code that will be passed to Nagios. Whether that's correct or not depends on how your plugin was written. On 9/17/2010 9:23 AM, Mirza Dedic wrote: > > My nagiox box uses check_by_ssh to run a remote check_log script on a > box, I have a tricky situation where I need to "generate" the log > right before check_log is invoked. > > This is the setup I have done: > > On my local Nagios box, created a dummy shell script to invoke > check_by_ssh twice, one to run the remote script to generate the log, > and another to run check_log to check that log. > > In my Nagios check commands, I call the dummy script, it first > generates the log, waits 10 seconds and runs the check_log, both return: > > nagios at van-nagios:/usr/local/nagios/libexec$ ./check_test > > OK - check_by_ssh: Remote command '/home/nagios/plugins/check_appsrv' > returned status 0 > > OK - no errors or warnings|app_production_lines=3 > app_production_warnings=0 app_production_criticals=0 > app_production_unknowns=0 > > Will there be issues with Nagios when a check script returns two > status? First check will almost always return an OK, it's the 2^nd run > that I care about. > > 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 diego.roccia at gmail.com Fri Sep 17 19:01:34 2010 From: diego.roccia at gmail.com (diego.roccia at gmail.com) Date: Fri, 17 Sep 2010 17:01:34 +0000 Subject: question about check_by_ssh In-Reply-To: References: Message-ID: <1051719290-1284742893-cardhu_decombobulator_blackberry.rim.net-696614339-@bda204.bisx.produk.on.blackberry> Actually, if nagios command definition is calling the dummy script, it won't receive 2 statuses, but only one. Btw, you could pass more commands to a single check_by_ssh, removing the dummy. Diego Sent from my BlackBerry? wireless device -----Original Message----- From: Mirza Dedic Date: Fri, 17 Sep 2010 09:23:42 To: 'nagios-users at lists.sourceforge.net' Reply-To: Nagios Users List Subject: [Nagios-users] question about check_by_ssh ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at claimlynx.com Fri Sep 17 19:45:29 2010 From: tom at claimlynx.com (Thomas Johnson) Date: Fri, 17 Sep 2010 12:45:29 -0500 Subject: nrpe check times out on one host, works perfectly on another. Message-ID: Hello, I have got a peculiar issue with nagios that I have been trying to track down. I have an nrpe check configured to run a perl script on a pair of firewalls (fwiw, it monitors the state table utilization for pf). Nagios has no problems checking this script on the first firewall, but it always times out on the check for the second firewall. The firewalls are configured [nearly] identically, and if I run the check_nrpe2 command manually on the nagios host (both as root and as the nagios user), both hosts respond as expected. nagios at calvin:~-> /usr/local/libexec/nagios/check_nrpe2 -H foobar-1-dev.claimlynx.com -c check_pf_states 2187 (%1.0935) nagios at calvin:~-> /usr/local/libexec/nagios/check_nrpe2 -H foobar-2-dev.claimlynx.com -c check_pf_states 2383 (%1.1915) I have restarted nagios and nrpe2 numerous times, with no effect. Running nrpe with debugging enabled on foobar-2 (the problem host) never shows any connections from the nagios host for the check_pf_states check. However, other nrpe checks on this host are working without any issue. I have also confirmed with tcpdump that there are no uncompleted connection attempts, or any that request this check. The relevant parts of my nagios config are as follows: define service{ host_name foobar-1, foobar-2 service_description Check pf State tables use generic-service check_command rcheck_pf_states contact_groups clx-admins-email-24x7 } define command{ command_name rcheck_pf_states command_line $USER1$/check_nrpe2 -H $HOSTNAME$ -c check_pf_states } define host { host_name foobar-1 alias Firewall Primary (Dev Interface) address foobar-1-dev.claimlynx.com use new-generic-host parents sw-dev } define host { host_name foobar-2 alias Firewall Secondary (Dev Interface) address foobar-2-dev.claimlynx.com use new-generic-host parents sw-dev } The nrpe2 command definition is as follows. It is worth noting that both firewalls read a shared nrpe config file (to prevent fat fingers from getting in the way). command[check_pf_states]=sudo /usr/local/libexec/nagios/check_pf_states Here is my check script (try not to laugh too hard): #!/usr/local/bin/perl # This script checks the number of firewall states currently in use by pf # and triggers an alert if the number of values exceeds a certain percentage # of the maximum allowed states. use strict; use warnings; use 5.010; use lib "/usr/local/libexec/nagios"; use utils qw(%ERRORS); my $debug; # Define variables that will be used throughout the script my $state_limit; # Will contain the max size of the state table my $current_states; # Will contain the current size of the state table my $adaptive_start; # Will contain the state count that starts adaptive timeouts # Get the current state table limit my @output = `pfctl -s memory 2>/dev/null | grep '^states'`; say "DEBUG: Found " . @output . " lines while grepping for state table size." if $debug; for (@output) { if ( m/^states\s+hard limit\s+(\d+)/ ) { $state_limit = $1; say "DEBUG: State table size: $state_limit" if $debug; last; } say "DEBUG: State table size not found in: $_" if $debug; } unless ( defined $state_limit ) { die "State limit not found. Cannot continue.\n"; } # Get the value of adaptive start to calculate the critical bound @output = `pfctl -s timeouts 2>/dev/null | grep '^adaptive.start'`; say "DEBUG: Found " . @output . " lines while grepping for lower adaptive timeout bound." if $debug; for (@output) { if ( m/^adaptive.start\s+(\d+) states/ ) { $adaptive_start = $1; say "DEBUG: Adaptive timeout lower bound is at $adaptive_start states (" . 100*($adaptive_start/$state_limit) . "%)." if $debug; last; } say "DEBUG: Adaptive timeout lower bound not found in: $_" if $debug; } unless ( defined $adaptive_start ) { die "Adaptive timeout lower bound not found. Cannot continue.\n"; } # Get the current size of the state table @output = `pfctl -s info 2>/dev/null | grep 'current entries'`; say "DEBUG: Found " . @output . " lines while grepping for the number of state table entries." if $debug; for (@output) { if ( m/^\s+current entries\s+(\d+)/ ) { $current_states = $1; say "DEBUG: PF reports $current_states state entries in use." if $debug; last; } say "DEBUG: State entry count not found in : $_" if $debug; } unless ( defined $current_states ) { die "Could not determine the current number of pf states. Cannot continue.\n" } # Calculate some percentages that we may use more than once my $p_current = ($current_states/$state_limit); my $p_warn = ($adaptive_start/$state_limit)-0.1; # Set warning at 10% below the lower bound for adaptive timeouts my $p_crit = ($adaptive_start/$state_limit); say "DEBUG: Utilization stats (States/Warn/Critical): $p_current/$p_warn/$p_crit (x 100%)" if $debug; # Do something intelligent with the information if ( $current_states >= $state_limit*$p_crit ) { # Critical state say "DEBUG: CRITICAL state alarm. $current_states (%" . $p_current*100 . ") states in use." if $debug; say "$current_states (%" . $p_current*100 . ")"; exit $ERRORS{'CRITICAL'} } elsif ( $current_states >= $state_limit*$p_warn ) { # Warn state say "DEBUG: WARN state alarm. $current_states (%" . $p_current*100 . ") states in use." if $debug; say "$current_states (%" . $p_current*100 . ")"; exit $ERRORS{'WARN'} } else { # Normal state say "DEBUG: NORMAL status. $current_states (%" . $p_current*100 . ") states in use." if $debug; say "$current_states (%" . $p_current*100 . ")"; exit $ERRORS{'OK'} } Thank you, -- Thomas Johnson ClaimLynx, Inc. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at mahalo.com Fri Sep 17 20:44:27 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Fri, 17 Sep 2010 11:44:27 -0700 Subject: check_procs high frequency "Plugin timed out after 10 seconds" In-Reply-To: References: Message-ID: Have you tried adjusting your Check Frequency? http://nagios.sourceforge.net/docs/3_0/configmain.html#check_result_reaper_frequency Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Thu, Sep 16, 2010 at 11:01 PM, Watanabe, Kazuo < deep.sea.odyssey at gmail.com> wrote: > > Hi, > I am using check_procs for crond processes monitoring via NRPE. > The plugin has been reporting "Plugin timed out after 10 senconds" many > times. > Sometimes OK, Sometimes above. > > The target system resource: no high load > The crond process: working normally > Checking ps command manually: showing crond process normally > Other monitoring: CPU, MEM, DISK works well > Other machines using same plugin: no problem > Error log: I could not find any error log > > The target machine > OS: RHEL3 x86 > Kernel: 2.4.21-20.ELsmp > Nrpe: 1.2.5 > Plugin: check_procs v1758 (nagios-plugins 1.4.11) > nrpe.cfg: check_procs -c 1:10 -a crond > normal check interval: 5min > max retry attempt: 3 > retry check interval: 5min > > I would like to know what is the root cause and the solution for this > situation. > > Regards. > Kaz > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 kelseysmith at caseyfamilyservices.org Fri Sep 17 22:01:09 2010 From: kelseysmith at caseyfamilyservices.org (kelseysmith at caseyfamilyservices.org) Date: Fri, 17 Sep 2010 16:01:09 -0400 Subject: AUTO: Kelsey Smith/CFS01/CFS is out of the office. (returning 09/20/2010) Message-ID: I will be out of the office starting 09/16/2010 and will not return until 09/20/2010 I'm out of the office, and will return on Monday Sept 20. Thank you. Note: This is an automated response to your message "Nagios-users Digest, Vol 52, Issue 18" sent on 9/17/2010 12:42:12 PM. This is the only notification you will receive while this person is away. ------------------------------------------------------ Confirmed virus-free by mymssp.net see www.anchortechnologies.com for more information. ------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 deep.sea.odyssey at gmail.com Sun Sep 19 12:00:15 2010 From: deep.sea.odyssey at gmail.com (=?utf-8?b?V2F0YW5hYmUs?= Kazuo) Date: Sun, 19 Sep 2010 10:00:15 +0000 (UTC) Subject: =?utf-8?q?check=5Fprocs_high_frequency_=26quot=3BP?= =?utf-8?q?lugin_timed_out_after_10_seconds=26quot=3B?= References: Message-ID: Dorfman, Justin mahalo.com> writes: > > > Have you tried adjusting your Check Frequency? > > http://nagios.sourceforge.net/docs/3_0/configmain.html#check_result_reaper_freq uency > > Regards,Justin DorfmanMahalo.com Inc. > Jr. Systems Engineer818.485.1458 jdorfman?|? MahaloSysops | Blog:?http://bit.ly/aNiWSkOn Thu, Sep 16, 2010 at 11:01 PM, Watanabe, Kazuo gmail.com> wrote: > ? > Hi, > I am using check_procs for crond processes monitoring via NRPE.The plugin has been reporting "Plugin timed out after 10 senconds" many times.Sometimes OK, Sometimes above. > ? > The target system resource: no high loadThe crond process: working normallyChecking ps command manually: showing crond process normallyOther monitoring: CPU, MEM, DISK works wellOther machines using same plugin: no problem > > Error log: I could not find any error log > ? > The target machineOS: RHEL3 x86Kernel: 2.4.21-20.ELsmpNrpe: 1.2.5Plugin: check_procs v1758 (nagios-plugins 1.4.11)nrpe.cfg: check_procs -c 1:10 -a crondnormal check interval: 5minmax retry attempt: 3 > > retry check interval: 5min > ? > I would like to know what is the root cause and the solution for this situation. > ? > Regards.Kaz > ? > ----------------------------------------------------------------------------- - > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing.http://p.sf.net/sfu/novell- sfdev2dev_______________________________________________ > Nagios-users mailing listNagios-users lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ----------------------------------------------------------------------------- - > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > _______________________________________________ > Nagios-users mailing list > Nagios-users lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Thanks for your reply. No, I didn't. Because this symptom occurs only the crond process monitoring of the target machine. Regards, Kaz ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rod at mwave.co.jp Mon Sep 20 04:16:15 2010 From: rod at mwave.co.jp (Roderick Andrew Clemente) Date: Mon, 20 Sep 2010 11:16:15 +0900 Subject: Problem with custom plugin on a remote linux box In-Reply-To: <0977aa5bddf3e550266ea7efcb5ceb24.squirrel@webmail.stinkweasel.net> References: <000001cb4a6f$42cd57d0$c8680770$@mwave.co.jp> <81fe8e76cca8c9c618d0ae9a51f942a3.squirrel@webmail.stinkweasel.net> <002401cb5653$236161d0$6a242570$@mwave.co.jp> <0977aa5bddf3e550266ea7efcb5ceb24.squirrel@webmail.stinkweasel.net> Message-ID: Benny! Thank you so much this solved my issue, I can now monitor custom plugins on a remote linux box!!! Thanks again, Roderick On Fri, Sep 17, 2010 at 9:03 PM, C. Bensend wrote: > >> **On the machine being monitored** >> I have the perl script I created in /usr/local/nagios/libexec/custom/ (its >> a >> modification of >> http://www.deimos.fr/gitweb/?p=nagios_plugins.git;a=blob;f=check_file_conten >> t/check_file_content.pl;h=ecf737389fd5a4360ee864eb55aca92056308445;hb=HEAD >> I >> have tested it from the command line as the nagios user and it works as >> expected) >> >> in the file: /usr/local/nagios/etc/nrpe.cfg i added >> command[check_wadmin]=/usr/bin/perl >> /usr/local/nagios/libexec/custom/check_wadmin.pl -f /tmp/nagiosInput.txt >> -i >> wait -n 35 > > OK, good. > >> ***On the monitoring machine*** >> I already had the machine monitoring the remote linux box's basic stats, I >> did this by creating a remotelinuxhost.cfg file at >> /usr/local/nagios/etc/objects (and adding a reference in the main config) >> >> To remotelinuxhost.cfg I added: >> >> define service{ >> use generic-service ; Name of service template to use >> host_name Sun89 >> service_description Check Feed Handler >> check_command check_wadmin >> } >> >> >> I also added commands.cfg (in the same folder) >> >> #custom - 'check_wadmin' command definition >> define command{ >> ? ? ? ? ?command_name ? check_wadmin >> ? ? ? ? ?command_line ? check_nrpe >> ? ? ? ?} > > Bzzzt. ?Here's where it's incorrect. > > check_nrpe only checks the status of the NRPE daemon on the remote > end. ?You need to use NRPE on the remote end to invoke your > check_wadmin test. > > So, on your Nagios server, you need to set the command_line for the > check_wadmin command to something like: > > $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_wadmin > > > $USER1$ > ^^^^^^^ The path to your local plugins (on the Nagios server) > > ? ? ? ?check_nrpe > ? ? ? ?^^^^^^^^^^ Need to use check_nrpe to check the command on the > ? ? ? ? ? ? ? ? ? remote host > > ? ? ? ? ? ? ? ? ? -H $HOSTADDRESS$ > ? ? ? ? ? ? ? ? ? ^^^^^^^^^^^^^^^^ What host to check > > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -c check_wadmin > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^^^^^^^^^^^^^^^ What command to > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?run *ON THE > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?REMOTE HOST* > > NRPE only allows you to run plugins designed to be local-only on > a remote system. ?You need to tell it *what* to run, and *how* > to run it. > > Benny > > > -- > "Because you have arms like noodles, while I am vigorous and > burly." ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -- Hodgins, "Bones" > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Mon Sep 20 13:44:22 2010 From: it.toonz at gmail.com (IT Toonz) Date: Mon, 20 Sep 2010 17:14:22 +0530 Subject: Monitoring Disk Space in remote linux FTP server In-Reply-To: References: <000001cb4a6f$42cd57d0$c8680770$@mwave.co.jp> <81fe8e76cca8c9c618d0ae9a51f942a3.squirrel@webmail.stinkweasel.net> <002401cb5653$236161d0$6a242570$@mwave.co.jp> <0977aa5bddf3e550266ea7efcb5ceb24.squirrel@webmail.stinkweasel.net> Message-ID: <4c974b5a.14b98e0a.5d0f.ffffca1c@mx.google.com> Hi All, We have a Linux based FTP server at our ISP location, we want to monitor its free space. Server OS is Red Hat Enterprise Linux ES release 4 (Nahant), is it possible without installing anything on the server. We are using FAN 2.0 NagiosR 3.0.6 Regards Ananth. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandman42 at libero.it Mon Sep 20 15:01:39 2010 From: sandman42 at libero.it (sandman42 at libero.it) Date: Mon, 20 Sep 2010 15:01:39 +0200 (CEST) Subject: Acquiring data from a log Message-ID: <16273590.5443141284987699574.JavaMail.defaultUser@defaultHost> Hi, I need to acquire data from a log, parse if and, if a particular condition is met, notify the problem, otherwise just have on nagios the condition. I.e. if number of record (parsed from log) exceeds 1000, trigger an email, otherwise just have on nagios web page "Processed 123 records" I have written a script that extracts and parse the data, so I can do inside it if [ $RESULT = 0 ] then echo "No records processed" exit 0 elif [ $RESULT -gt $THRESOLD ] then echo "CRITICAL: $RESULT records processed" exit 2 else echo "NORMAL: $RESULT records processed" exit 0 fi where RESULT is the result of the computation and $THRESOLD is passed on command line. I have the following questions: 1) How can I see whether the command is run? 2) How can I see which results are passed to nagios? 3) How can I pass both exit values and the string echoed? Thanks for your help ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 20 15:12:58 2010 From: benny at bennyvision.com (C. Bensend) Date: Mon, 20 Sep 2010 08:12:58 -0500 Subject: Acquiring data from a log In-Reply-To: <16273590.5443141284987699574.JavaMail.defaultUser@defaultHost> References: <16273590.5443141284987699574.JavaMail.defaultUser@defaultHost> Message-ID: <4aff775495e1ef2013e2421af841b3cb.squirrel@webmail.stinkweasel.net> > I need to acquire data from a log, parse if and, if a particular condition > is > met, notify the problem, otherwise just have on nagios the condition. I.e. > if > number of record (parsed from log) exceeds 1000, trigger an email, > otherwise > just have on nagios web page "Processed 123 records" > > I have written a script that extracts and parse the data, so I can do > inside > it Wow. Check out Consul Labs' check_logfiles plugin. Don't re-invent the wheel if you can avoid it. > if [ $RESULT = 0 ] > then > echo "No records processed" > exit 0 > elif [ $RESULT -gt $THRESOLD ] > then > echo "CRITICAL: $RESULT records processed" > exit 2 > else > echo "NORMAL: $RESULT records processed" > exit 0 > fi > > where RESULT is the result of the computation and $THRESOLD is passed on > command line. > > I have the following questions: > > 1) How can I see whether the command is run? > 2) How can I see which results are passed to nagios? > 3) How can I pass both exit values and the string echoed? #3: echo "This is output that will show up in the Nagios web UI" exit 3 Benny -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandman42 at libero.it Mon Sep 20 15:42:48 2010 From: sandman42 at libero.it (sandman42 at libero.it) Date: Mon, 20 Sep 2010 15:42:48 +0200 (CEST) Subject: R: Re: Acquiring data from a log Message-ID: <9795707.5454581284990168637.JavaMail.defaultUser@defaultHost> >----Messaggio originale---- >Da: benny at bennyvision.com >Data: 20/09/2010 15.12 >Wow. Check out Consul Labs' check_logfiles plugin. Don't re-invent >the wheel if you can avoid it. Sure, but it's too complicate for me, and I'm not a perl guru. Anyway, the script is ready and works when run from command line. >> 3) How can I pass both exit values and the string echoed? >echo "This is output that will show up in the Nagios web UI" >exit 3 Why returning 3, i.e. STATE_UNKNOWN???? Basically, what I need is to look on the host detail web page and have the number of the processed records. Then, if this value exceeds a limit, that could be passed via command line, the script exits with exit value 2 = STATE_CRITICAL in nagios. Otherwise it exits with 0 = STATE_OK. How can I do this, provided that I have a working script that gives me those values? Ciao ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roman.ricardo at gmail.com Mon Sep 20 16:11:24 2010 From: roman.ricardo at gmail.com (=?ISO-8859-1?Q?Ricardo_Rom=E1n_Brenes?=) Date: Mon, 20 Sep 2010 08:11:24 -0600 Subject: Fwd: problems with monitoring remote servers In-Reply-To: References: <4C92B201.8030107@op5.se> Message-ID: hello andreas: what i would like is to have 1 nagios server and N nagios clients that report to hte server. ive read these guides: http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html http://www.linuxweblog.com/blogs/sandip/20080214/install-setup-nagios-fedora-7 http://debianclusters.org/index.php/Nagios_Installation_and_Configuration http://www.paperblog.fr/1193411/installation-de-nrpe-depuis-les-sources/ Any kind of help would be really appreaciated, thanks for taking the time to answer! On Thu, Sep 16, 2010 at 6:10 PM, Andreas Ericsson wrote: > On 09/17/2010 12:17 AM, Ricardo Rom?n Brenes wrote: > > So hi guys; i hate nagios =) > > > > i got a cluster here and i need to install nagios so i can monitor all > the > > nodes; but i just cant. I've read a fuckzillion guides and NOT ONE works > as > > intended. > > > > Do you mean you want to install one nagios-instance on every cluster-node, > or do you want to install one nagios-instance and from that server monitor > all your cluster-nodes? > > What guides did you read and what did you try? > > -- > 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 gerard.lancellotti at mpsa.com Mon Sep 20 16:11:37 2010 From: gerard.lancellotti at mpsa.com (Lancellotti =?utf-8?b?R8OpcmFyZA==?=) Date: Mon, 20 Sep 2010 14:11:37 +0000 (UTC) Subject: Problem encoding in cgi-bin/status.cgi?servicegroup Message-ID: hi all i am using Nagios 3.2.0 , and i have a problem when i want to view Services/grid/detail : in the title some character are not translate from UTF8 : "Service Status Details For Service Group 'group+%5B%2Fusers+filesystem+partition+usage%5D'" When i choose the same choice for the hosts , this works fine . have somebody this problem resolved ? Thaks for help ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 20 17:02:21 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 20 Sep 2010 16:02:21 +0100 Subject: DNX implementation Message-ID: <4C97777D.4080708@flatto.net> Hello List I am considering implementing DNX in our monitoring environment , but before I dive in , i would like to get some input and learn about it from those who did it before me ( as the site is not very helpful in the documentation and deployment aspects) . So , has anyone implemented a Nagios+ DNX setup ? can you contact me ( on or off list is up to the individual ) and share your experience with this product ? Thanks -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogtrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rikr_ at hotmail.com Mon Sep 20 17:27:22 2010 From: rikr_ at hotmail.com (Ricardo F) Date: Mon, 20 Sep 2010 17:27:22 +0200 Subject: Conditional checks between different hours? In-Reply-To: References: Message-ID: Hello, Is it possible to put different checks values (max_check_attempts, retry_check_interval, normal_check_interval, notification_interval) and check each one if is one hour on another?, for example: These only in working hours: max_check_attempts 5try_check_interval 5normal_check_interval 5notification_interval 5 These only in not working hours: max_check_attempts 15try_check_interval 15normal_check_interval 15notification_interval 15 I have yet the working and not working hours defined in timeperidos.conf Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Mon Sep 20 17:28:24 2010 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Mon, 20 Sep 2010 11:28:24 -0400 Subject: Large NDO Table In-Reply-To: <4C91F27A.6040104@univie.ac.at> References: <4C91F27A.6040104@univie.ac.at> Message-ID: On Thu, Sep 16, 2010 at 6:33 AM, Michael Friedrich wrote: > this is not the current 1.4b9 schema. either it's modified for your > usage or you still have the old 1.4b7 schema or something else. 1.b8 > changed the db engine from innodb to myisam (which is not good, but > that's the main difference). You are right - I thought I was on 1.4b9, but I'm still on 1.4b7. Even better, there is the note in the change log referencing an issue with the tables I'm having problems with. For others who may stumble across the same issue: http://tracker.nagios.org/view.php?id=37 -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 20 18:04:15 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Mon, 20 Sep 2010 11:04:15 -0500 Subject: Large NDO Table In-Reply-To: References: <4C91F27A.6040104@univie.ac.at> Message-ID: Does anyone have a good link for getting version 1.4b7 from cvs? Greg Pangrazio On Mon, Sep 20, 2010 at 10:28 AM, Breandan Dezendorf wrote: > On Thu, Sep 16, 2010 at 6:33 AM, Michael Friedrich > wrote: >> this is not the current 1.4b9 schema. either it's modified for your >> usage or you still have the old 1.4b7 schema or something else. 1.b8 >> changed the db engine from innodb to myisam (which is not good, but >> that's the main difference). > > You are right - I thought I was on 1.4b9, but I'm still on 1.4b7. > Even better, there is the note in the change log referencing an issue > with the tables I'm having problems with. ?For others who may stumble > across the same issue: > > http://tracker.nagios.org/view.php?id=37 > > > -- > Breandan Dezendorf > breandan at dezendorf.com > bwdezend at gmail.com > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ocano at corvelis.com Mon Sep 20 18:14:42 2010 From: ocano at corvelis.com (Oscar Cano Rodriguez) Date: Mon, 20 Sep 2010 11:14:42 -0500 Subject: nrpe use Help Message-ID: > When I run any command to monitor a solaris the nrpe server runs fine from > console, however in the browser sends me the error: > > (Return code of 137 is out of bounds) > > I'm using solaris 10 > The command is definidon in NagiosQL as $USER1$/check_nrpe -H $HOSTADDRESS$ -t 15 -c $ARG1$ $USER1$ = /usr/local/nagios/libexec Then send console output ls $ Echo $ LD_LIBRARY_PATH / Usr / local / lib: / usr / local / libexec: / usr / sfw / lib: / usr / local / nagios / libexec / Usr / local / nagios / libexec / check_nrpe-H 10.11.3.12 NRPE v2.12 / Usr / local / nagios / libexec / check_nrpe-M 10.11.3.12-t 15-c check_total_procs PROCS OK: 40 procesos > > Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 aco1967 at gmail.com Mon Sep 20 21:59:27 2010 From: aco1967 at gmail.com (Alejandro Cabrera Obed) Date: Mon, 20 Sep 2010 16:59:27 -0300 Subject: Send SMS alerts Message-ID: Dear, I have a Nagios monitoring server on e Debian box and I need to send SMS alerts through a GSM Gateway (Portech MV-372). I don't know if it's possible because all the information I saw was about sending SMS alerts via a GSM modem with Serial/USB interface. In this last case it's possible to use a SMS gateway like "smstools", but in my case where I have a GSM gateway with LAN connectivity I don't know. Also I read that the SMS sending is possible using a local GSM modem connection, and not a remote LAN GSM modem connection. Can you add about my scenario ??? Is it possible to send SMS using Nagios, a sms local daemon and a LAN GSM gateway ??? Or do I have to buy a GSM modem with serial or USB connection ??? Really thanks Alejandro -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 justin at mahalo.com Mon Sep 20 22:27:01 2010 From: justin at mahalo.com (Dorfman, Justin) Date: Mon, 20 Sep 2010 13:27:01 -0700 Subject: Send SMS alerts In-Reply-To: References: Message-ID: A quick hack we did was send alerts to phonenumber at carrier.com for example:: *T-Mobile:* *phonenumber*@*tmomail.net * *Virgin Mobile:* *phonenumber*@*vmobl.com * *Cingular:* *phonenumber*@*cingularme.com * *Sprint:* *phonenumber*@*messaging.sprintpcs.com* *Verizon: **phonenumber*@*vtext.com* *Nextel: **phonenumber*@*messaging.nextel.com* where *phonenumber* = *your 10 digit phone number - ie 8185552222* Regards, Justin Dorfman Mahalo.com Inc. > Jr. Systems Engineer 818.485.1458 @jdorfman | @MahaloSysops| Blog: http://bit.ly/aNiWSk On Mon, Sep 20, 2010 at 12:59 PM, Alejandro Cabrera Obed wrote: > Dear, I have a Nagios monitoring server on e Debian box and I need to send > SMS alerts through a GSM Gateway (Portech MV-372). I don't know if it's > possible because all the information I saw was about sending SMS alerts via > a GSM modem with Serial/USB interface. In this last case it's possible to > use a SMS gateway like "smstools", but in my case where I have a GSM gateway > with LAN connectivity I don't know. > > Also I read that the SMS sending is possible using a local GSM modem > connection, and not a remote LAN GSM modem connection. > > Can you add about my scenario ??? Is it possible to send SMS using Nagios, > a sms local daemon and a LAN GSM gateway ??? Or do I have to buy a GSM modem > with serial or USB connection ??? > > Really thanks > > Alejandro > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 darren at brucetelecom.com Mon Sep 20 22:35:48 2010 From: darren at brucetelecom.com (Darren Hill) Date: Mon, 20 Sep 2010 16:35:48 -0400 Subject: Send SMS alerts In-Reply-To: References: Message-ID: <4C97C5A4.8010907@brucetelecom.com> We use both email to the phone/pager, or an analog dialup modem using a custom script I wrote to dial the TAP # of the paging company and send the page that way. Thanks On 9/20/2010 4:27 PM, Dorfman, Justin wrote: > A quick hack we did was send alerts to phonenumber at carrier.com > > > for example:: > > *T-Mobile:* /phonenumber/@*tmomail.net * > *Virgin Mobile:* /phonenumber/@*vmobl.com * > *Cingular:* /phonenumber/@*cingularme.com * > *Sprint:* /phonenumber/@*messaging.sprintpcs.com > * > *Verizon: */phonenumber/@*vtext.com * > *Nextel: */phonenumber/@*messaging.nextel.com > * > > where /phonenumber/ = *your 10 digit phone number - ie 8185552222* > > > Regards, > > Justin Dorfman > Mahalo.com Inc. > Jr. Systems Engineer > 818.485.1458 > @jdorfman | @MahaloSysops > | Blog: http://bit.ly/aNiWSk > > > On Mon, Sep 20, 2010 at 12:59 PM, Alejandro Cabrera Obed > > wrote: > > Dear, I have a Nagios monitoring server on e Debian box and I need > to send SMS alerts through a GSM Gateway (Portech MV-372). I don't > know if it's possible because all the information I saw was about > sending SMS alerts via a GSM modem with Serial/USB interface. In > this last case it's possible to use a SMS gateway like "smstools", > but in my case where I have a GSM gateway with LAN connectivity I > don't know. > > Also I read that the SMS sending is possible using a local GSM > modem connection, and not a remote LAN GSM modem connection. > > Can you add about my scenario ??? Is it possible to send SMS using > Nagios, a sms local daemon and a LAN GSM gateway ??? Or do I have > to buy a GSM modem with serial or USB connection ??? > > Really thanks > > Alejandro > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Darren Hill System Administrator Bruce Telecom e: darren at bmts.com p: 519 368-1267 f: 519 368-1285 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 lylexryan at yahoo.com Tue Sep 21 03:13:02 2010 From: lylexryan at yahoo.com (Lylex Ryan) Date: Mon, 20 Sep 2010 18:13:02 -0700 (PDT) Subject: how to run nsca as a daemon on Solaris 10? Message-ID: <104822.81484.qm@web63002.mail.re1.yahoo.com> I've got nsca running fine as a detached process on Solaris 10, and can manually create passive checks via send_nsca. But when I try to run nsca as a daemon, I need some advice. The nsca install seemed to create /var/svc/manifest/network/nsca-tcp.xml and that looked ok, so I did a "svccfg import" of that file, and now I get this result: #> svcs -l svc:/network/nsca/tcp:default fmri svc:/network/nsca/tcp:default name nsca enabled true state online next_state none state_time September 20, 2010 5:40:07 PM PDT restarter svc:/network/inetd:default contract_id This looks like I'm close. The service seems enabled. Looks to me like inetd should start up the daemon when a request comes in. But nothing happens when I use send_nsca (no logfile activity, no nsca process). Do I need a script in /lib/svc/method ? Thanks for any advice....Lyle ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandman42 at libero.it Tue Sep 21 08:31:03 2010 From: sandman42 at libero.it (sandman42 at libero.it) Date: Tue, 21 Sep 2010 08:31:03 +0200 (CEST) Subject: Handling different states Message-ID: <30335190.379271285050663270.JavaMail.defaultUser@defaultHost> Hi all, I've written a plugin that looks for number of record processed. If they are below the thresold, it writes to stdout 'All OK' and exit with code 0. If thet are above it writes "Too many records" and exits with code 2, and this event triggers a mail notification with Down as problem, and "Too many records" as info. All is working fine. What I'd need is to handle a third situation: no records processed. Assuming I may trigger the condition in the same script: 1) How can I notify Nagios of this event? Using a different exit code? 2) How can I modify Nagios notification, so I don't have a problem Down, but something else, say "Resource hog"? Thanks ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 21 09:30:00 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Tue, 21 Sep 2010 17:30:00 +1000 Subject: Handling different states In-Reply-To: <30335190.379271285050663270.JavaMail.defaultUser@defaultHost> References: <30335190.379271285050663270.JavaMail.defaultUser@defaultHost> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3F59E67C72@off-win2003-01.ausregistrygroup.local> > -----Original Message----- > From: sandman42 at libero.it [mailto:sandman42 at libero.it] > Sent: Tuesday, 21 September 2010 16:31 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Handling different states > > Hi all, > > I've written a plugin that looks for number of record processed. If > they are > below the thresold, it writes to stdout 'All OK' and exit with code 0. > If thet > are above it writes "Too many records" and exits with code 2, and this > event > triggers a mail notification with Down as problem, and "Too many > records" as > info. > > All is working fine. > > What I'd need is to handle a third situation: no records processed. > Assuming I > may trigger the condition in the same script: > > 1) How can I notify Nagios of this event? Using a different exit code? > 2) How can I modify Nagios notification, so I don't have a problem > Down, but > something else, say "Resource hog"? > > Thanks Nagios understands exit codes 0 (OK), 1 (WARNING), 2 (CRITICAL), 3 (UNKNOWN) and 4 (DEPENDANT) for services. You can use these in any way you desire to present your exit information. I'd advise against using DEPENDANT as a regular exit state as it has other implications in availability decisions. More details: http://nagios.sourceforge.net/docs/3_0/pluginapi.html Stuart ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.deppe at gmail.com Tue Sep 21 16:04:49 2010 From: jens.deppe at gmail.com (Jens Deppe) Date: Tue, 21 Sep 2010 07:04:49 -0700 Subject: Batched service check data Message-ID: Hello, I have an environment where I would like to feed Nagios with batched service statistics. The reasons for this are varied: o There is no direct connection between the server and clients. The clients will need to, periodically, push the data to a location which is also accessible by the server. o I don't have a need for realtime service stats although I do want a relatively fine level of granularity for the data - it's predominantly for trending / display via nagiosgraph. Ideally I would have a service check (kind of a virtual check) which pulls the batch data and then creates an entry (in the service perf log) for each data point collected. However, I don't see that as feasible as, from my understanding, a check script will only create a single service log entry for each invocation. (The service perf log is what nagiosgraph then reads to create the graphs). I'm not sure how to approach this. One brute-force approach would be to have an external process simply update the service perf log outside of the Nagios environment. I'm very reluctant to do this as the nagiosgraph script (which runs every 30 seconds) truncates the service perf log after every invocation. If I'm updating this file outside of Nagios I'm sure I'll end up with inconsistent results. Any thoughts on how to approach this? Thanks in advance. --Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ravishankar.gundlapali at wipro.com Tue Sep 21 16:56:57 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Tue, 21 Sep 2010 20:26:57 +0530 Subject: SQL-DB Services-Unknown Status In-Reply-To: References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB98@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FCDE@HYD-MKD-MBX02.wipro.com> Message-ID: <618F928F9E2D824AAB26DCAA0F25221F029EADF3@HYD-MKD-MBX02.wipro.com> Hi, I am using Nagios Version 3.0.6 on a Linux server to monitor the SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. The status information in Nagios is showing following error. Please see the screenshots below 1) UNKNOWN: No handler for that command I am using the following the check commands check_nrpe_mssql_log_used!*!50!90 check_nrpe_mssql_log_growths!*!5000!9000 Please someone let me know how can I resolve this. Please see the service definition and command definition which I am using for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH. define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-USED is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_used!*!50!90 } define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-GROWTH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_growths!*!5000!9000 ; Log growth scale is 0.01 hence 5000 and 9000 } define command { command_name check_nrpe_mssql_log_used command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } define command { command_name check_nrpe_mssql_log_growths command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_growth -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } Thanks & Regards, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3817 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Sep 21 19:53:51 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 21 Sep 2010 18:53:51 +0100 Subject: Conditional checks between different hours? In-Reply-To: References: Message-ID: On 20 September 2010 16:27, Ricardo F wrote: > > Hello, > ?? ?Is it possible to put different checks values > (max_check_attempts,?retry_check_interval,?normal_check_interval,?notification_interval) > and check each one if is one hour on another? I'm pretty sure it isn't (not without a cludge of some sort anyway). I'm intrigued to know what would drive such a requirement as I don't think you're the first to ask this and doubt you'll be the last. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SLofland at slco.org Tue Sep 21 20:14:36 2010 From: SLofland at slco.org (Scott Lofland) Date: Tue, 21 Sep 2010 18:14:36 +0000 Subject: Conditional checks between different hours? In-Reply-To: References: Message-ID: <34775FB9488E23449AD8E4C69D2C4A360815667B@SLCMAIL1.slcounty.org> >-----Original Message----- >From: Jim Avery [mailto:jim at jimavery.me.uk] > >On 20 September 2010 16:27, Ricardo F wrote: >> >> Hello, >> ?? ?Is it possible to put different checks values >> (max_check_attempts,?retry_check_interval,?normal_check_interval,?notification_interval) >> and check each one if is one hour on another? > >I'm pretty sure it isn't (not without a cludge of some sort anyway). > >I'm intrigued to know what would drive such a requirement as I don't >think you're the first to ask this and doubt you'll be the last. > I've been about this type of functionality in my environment to take into account variable network and hardware conditions based on expected high user load at different times of the day as well as differing loads on different network segments during standard backup times or regular maintenance windows. _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 21 21:09:02 2010 From: pangrazi at gmail.com (Greg Pangrazio) Date: Tue, 21 Sep 2010 14:09:02 -0500 Subject: Conditional checks between different hours? In-Reply-To: <34775FB9488E23449AD8E4C69D2C4A360815667B@SLCMAIL1.slcounty.org> References: <34775FB9488E23449AD8E4C69D2C4A360815667B@SLCMAIL1.slcounty.org> Message-ID: I have in the past used a wrapper script that took the different inputs and issued the command differently based on the time of day. The answer is that it looks the same to nagios but the return value from the plugin (my wrapper) is different based on time of day. Basically my script called the original command with different inputs and passed what ever it got back to nagios. I don't have any examples right now but I have done it in the past and it worked fine. Greg Pangrazio On Tue, Sep 21, 2010 at 1:14 PM, Scott Lofland wrote: > >>-----Original Message----- >>From: Jim Avery [mailto:jim at jimavery.me.uk] >> >>On 20 September 2010 16:27, Ricardo F wrote: >>> >>> Hello, >>> ?? ?Is it possible to put different checks values >>> (max_check_attempts,?retry_check_interval,?normal_check_interval,?notification_interval) >>> and check each one if is one hour on another? >> >>I'm pretty sure it isn't (not without a cludge of some sort anyway). >> >>I'm intrigued to know what would drive such a requirement as I don't >>think you're the first to ask this and doubt you'll be the last. >> > > I've been about this type of functionality in my environment to take into account variable network and hardware conditions based on expected high user load at different times of the day as well as differing loads on different network segments during standard backup times or regular maintenance windows. > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 isprime.org Tue Sep 21 21:13:19 2010 From: nagios at isprime.org (Kyle O'Donnell) Date: Tue, 21 Sep 2010 15:13:19 -0400 Subject: =?utf-8?q?Conditional_checks_between_different_hou?= =?utf-8?b?cnM/?= In-Reply-To: <34775FB9488E23449AD8E4C69D2C4A360815667B@SLCMAIL1.slcounty.org> References: <34775FB9488E23449AD8E4C69D2C4A360815667B@SLCMAIL1.slcounty.org> Message-ID: <1a09c54b521c53f0cb617ea667a437b9@localhost> setup 2 services where the check time periods don't overlap, and the different values are checked during their respective times. ie service-check-cpu-day 0800-1800 with command args of say 90% service check-cpu-night 18:01-24:00,00:00-07:59 with command args of say 50% not ideal because you create 2 different services, but its better than the other alternative: write a wrapper for your plugins to check the time if date +'%H%M' something something --kyleo On Tue, 21 Sep 2010 18:14:36 +0000, Scott Lofland wrote: >>-----Original Message----- >>From: Jim Avery [mailto:jim at jimavery.me.uk] >> >>On 20 September 2010 16:27, Ricardo F wrote: >>> >>> Hello, >>> ?? ?Is it possible to put different checks values >>> (max_check_attempts,?retry_check_interval,?normal_check_interval,?notification_interval) >>> and check each one if is one hour on another? >> >>I'm pretty sure it isn't (not without a cludge of some sort anyway). >> >>I'm intrigued to know what would drive such a requirement as I don't >>think you're the first to ask this and doubt you'll be the last. >> > > I've been about this type of functionality in my environment to take > into account variable network and hardware conditions based on > expected high user load at different times of the day as well as > differing loads on different network segments during standard backup > times or regular maintenance windows. > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwiggins at salon.com Tue Sep 21 22:35:59 2010 From: jwiggins at salon.com (Jonathan Wiggins) Date: Tue, 21 Sep 2010 13:35:59 -0700 Subject: can't get host to display in Host Detail panel Message-ID: I have 3 web servers, and although they at one time all showed up successfully, now one of them does not. i have verified on the web server in question that nrpe is running and listening on tcp/5666: netstat -ntlp | grep nrpe tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 13920/nrpe /etc/init.d/nrpe status nrpe (pid 13920) is running... I've checked the nrpe.cfg on another server that is showing up, and compared b/t the two, and they look identical. i've got an IPTables rule that allows connections on the web server: -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 5666 -j ACCEPT One of the things that doesn't test right though is the check_nrpe command: /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load NRPE: Unable to read output but tail /var/log/messages gives me something interesting, perhaps? Sep 21 13:30:08 mywebserver kernel: Removing netfilter NETLINK layer. Sep 21 13:30:09 mywebserver kernel: ip_tables: (C) 2000-2006 Netfilter Core Team Sep 21 13:30:10 mywebserver kernel: Netfilter messages via NETLINK v0.30. Sep 21 13:30:10 mywebserver kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack On the nagios server, i've checked the mywebserver.cfg file and it looks legit and cross-compared with the two others, it seems identical (except for IP of course): # Host definition # Modified 81610 define host{ use linux-server ; Inherit default values from a template host_name mywebserver ; The name we're giving to this server alias mywebserver ; A longer name for the server address 10.0.100.139 ; IP address of the server } define service{ use generic-service host_name mywebserver service_description Home Page check_command check_http!ww2 } Any feedback, suggestions, thoughts, etc.. is much appreciated in advance JW -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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.browne at ausregistry.com.au Wed Sep 22 00:57:29 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Wed, 22 Sep 2010 08:57:29 +1000 Subject: can't get host to display in Host Detail panel In-Reply-To: References: Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> what's the command line that is called from nrpe when it's asked for a 'check_load' ? There should be a line similar to this in there: command[check_load]=/usr/lib64/nagios/plugins/check_load -w 5,4,3 -c 8,6,4 Does this exist in the nrpe.cfg? If you run the command from your configuration as the nrpe_user, does it execute and return a value properly? From: Jonathan Wiggins [mailto:jwiggins at salon.com] Sent: Wednesday, 22 September 2010 06:36 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] can't get host to display in Host Detail panel I have 3 web servers, and although they at one time all showed up successfully, now one of them does not. i have verified on the web server in question that nrpe is running and listening on tcp/5666: netstat -ntlp | grep nrpe tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 13920/nrpe /etc/init.d/nrpe status nrpe (pid 13920) is running... I've checked the nrpe.cfg on another server that is showing up, and compared b/t the two, and they look identical. i've got an IPTables rule that allows connections on the web server: -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 5666 -j ACCEPT One of the things that doesn't test right though is the check_nrpe command: /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load NRPE: Unable to read output but tail /var/log/messages gives me something interesting, perhaps? Sep 21 13:30:08 mywebserver kernel: Removing netfilter NETLINK layer. Sep 21 13:30:09 mywebserver kernel: ip_tables: (C) 2000-2006 Netfilter Core Team Sep 21 13:30:10 mywebserver kernel: Netfilter messages via NETLINK v0.30. Sep 21 13:30:10 mywebserver kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack On the nagios server, i've checked the mywebserver.cfg file and it looks legit and cross-compared with the two others, it seems identical (except for IP of course): # Host definition # Modified 81610 define host{ use linux-server ; Inherit default values from a template host_name mywebserver ; The name we're giving to this server alias mywebserver ; A longer name for the server address 10.0.100.139 ; IP address of the server } define service{ use generic-service host_name mywebserver service_description Home Page check_command check_http!ww2 } Any feedback, suggestions, thoughts, etc.. is much appreciated in advance JW -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 jwiggins at salon.com Wed Sep 22 01:54:53 2010 From: jwiggins at salon.com (Jonathan Wiggins) Date: Tue, 21 Sep 2010 16:54:53 -0700 Subject: can't get host to display in Host Detail panel In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> Message-ID: Hi Stuart That line does exist, along with others, in the nrpe.cfg file I run these, for example, and both give the same output: /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users NRPE: Unable to read output /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load NRPE: Unable to read output do I actually need to supply arguments at the end of the check_nrpe command? e.g., -w 5,4,3 (i've tried doing so, but to no avail) On Sep 21, 2010, at 3:57 PM, Stuart Browne wrote: > what?s the command line that is called from nrpe when it?s asked for a ?check_load? ? There should be a line similar to this in there: > > command[check_load]=/usr/lib64/nagios/plugins/check_load -w 5,4,3 -c 8,6,4 > > Does this exist in the nrpe.cfg? If you run the command from your configuration as the nrpe_user, does it execute and return a value properly? > > From: Jonathan Wiggins [mailto:jwiggins at salon.com] > Sent: Wednesday, 22 September 2010 06:36 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] can't get host to display in Host Detail panel > > I have 3 web servers, and although they at one time all showed up successfully, now one of them does not. > > i have verified on the web server in question that nrpe is running and listening on tcp/5666: > > netstat -ntlp | grep nrpe > tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 13920/nrpe > > /etc/init.d/nrpe status > nrpe (pid 13920) is running... > > I've checked the nrpe.cfg on another server that is showing up, and compared b/t the two, and they look identical. > > i've got an IPTables rule that allows connections on the web server: > > -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 5666 -j ACCEPT > > One of the things that doesn't test right though is the check_nrpe command: > > /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load > NRPE: Unable to read output > > but tail /var/log/messages gives me something interesting, perhaps? > > Sep 21 13:30:08 mywebserver kernel: Removing netfilter NETLINK layer. > Sep 21 13:30:09 mywebserver kernel: ip_tables: (C) 2000-2006 Netfilter Core Team > Sep 21 13:30:10 mywebserver kernel: Netfilter messages via NETLINK v0.30. > Sep 21 13:30:10 mywebserver kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack > > On the nagios server, i've checked the mywebserver.cfg file and it looks legit and cross-compared with the two others, it seems identical (except for IP of course): > > # Host definition > # Modified 81610 > > define host{ > use linux-server ; Inherit default values from a template > host_name mywebserver ; The name we're giving to this server > alias mywebserver ; A longer name for the server > address 10.0.100.139 ; IP address of the server > } > > define service{ > use generic-service > host_name mywebserver > service_description Home Page > check_command check_http!ww2 > } > > > > Any feedback, suggestions, thoughts, etc.. is much appreciated in advance > > JW > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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.browne at ausregistry.com.au Wed Sep 22 02:21:02 2010 From: stuart.browne at ausregistry.com.au (Stuart Browne) Date: Wed, 22 Sep 2010 10:21:02 +1000 Subject: can't get host to display in Host Detail panel In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> Message-ID: <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> Ok, what are those definitions and what output do they give when you run them on the remote machine manually? From: Jonathan Wiggins [mailto:jwiggins at salon.com] Sent: Wednesday, 22 September 2010 09:55 To: Nagios Users List Subject: Re: [Nagios-users] can't get host to display in Host Detail panel Hi Stuart That line does exist, along with others, in the nrpe.cfg file I run these, for example, and both give the same output: /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users NRPE: Unable to read output /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load NRPE: Unable to read output do I actually need to supply arguments at the end of the check_nrpe command? e.g., -w 5,4,3 (i've tried doing so, but to no avail) On Sep 21, 2010, at 3:57 PM, Stuart Browne wrote: what's the command line that is called from nrpe when it's asked for a 'check_load' ? There should be a line similar to this in there: command[check_load]=/usr/lib64/nagios/plugins/check_load -w 5,4,3 -c 8,6,4 Does this exist in the nrpe.cfg? If you run the command from your configuration as the nrpe_user, does it execute and return a value properly? From: Jonathan Wiggins [mailto:jwiggins at salon.com] Sent: Wednesday, 22 September 2010 06:36 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] can't get host to display in Host Detail panel I have 3 web servers, and although they at one time all showed up successfully, now one of them does not. i have verified on the web server in question that nrpe is running and listening on tcp/5666: netstat -ntlp | grep nrpe tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 13920/nrpe /etc/init.d/nrpe status nrpe (pid 13920) is running... I've checked the nrpe.cfg on another server that is showing up, and compared b/t the two, and they look identical. i've got an IPTables rule that allows connections on the web server: -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 5666 -j ACCEPT One of the things that doesn't test right though is the check_nrpe command: /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load NRPE: Unable to read output but tail /var/log/messages gives me something interesting, perhaps? Sep 21 13:30:08 mywebserver kernel: Removing netfilter NETLINK layer. Sep 21 13:30:09 mywebserver kernel: ip_tables: (C) 2000-2006 Netfilter Core Team Sep 21 13:30:10 mywebserver kernel: Netfilter messages via NETLINK v0.30. Sep 21 13:30:10 mywebserver kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack On the nagios server, i've checked the mywebserver.cfg file and it looks legit and cross-compared with the two others, it seems identical (except for IP of course): # Host definition # Modified 81610 define host{ use linux-server ; Inherit default values from a template host_name mywebserver ; The name we're giving to this server alias mywebserver ; A longer name for the server address 10.0.100.139 ; IP address of the server } define service{ use generic-service host_name mywebserver service_description Home Page check_command check_http!ww2 } Any feedback, suggestions, thoughts, etc.. is much appreciated in advance JW ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 jwiggins at salon.com Wed Sep 22 03:09:30 2010 From: jwiggins at salon.com (Jonathan Wiggins) Date: Tue, 21 Sep 2010 18:09:30 -0700 Subject: can't get host to display in Host Detail panel In-Reply-To: <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> Message-ID: <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> # The following examples use hardcoded command arguments... command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1 command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 # The following examples allow user-supplied arguments and can # only be used if the NRPE daemon was compiled with support for # command arguments *AND* the dont_blame_nrpe directive in this # config file is set to '1'. This poses a potential security risk, so # make sure you read the SECURITY file before doing this. #command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ #command[check_load]=/usr/lib64/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ #command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ #command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ that's the entry in the .cfg file, if I run this for example, you can see it does give me output: /usr/lib64/nagios/plugins/check_nrpe -H localhost NRPE v2.12 but other than that, I just run the command as below? /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users (I'm confused on this part - does this particular "check_users" need this at the end? " -w 5 -c 10" when that's done, I get Unable To read output ) i've checked permissions also on the /usr/lib64/nagios/plugins/* directories and only the ../nagios/ directory has nagios.nagios as the owner, the rest have root.root -- i've seen permissions listed in other forums as the possible culprit, but my permissions seem right? I've only got "nagios" listed as the nrpe_user and the nrpe_group in the nrpe.cfg file -- do I need to add "nrpe" and/or "root" to this? On Sep 21, 2010, at 5:21 PM, Stuart Browne wrote: > Ok, what are those definitions and what output do they give when you run them on the remote machine manually? > > From: Jonathan Wiggins [mailto:jwiggins at salon.com] > Sent: Wednesday, 22 September 2010 09:55 > To: Nagios Users List > Subject: Re: [Nagios-users] can't get host to display in Host Detail panel > > Hi Stuart > > That line does exist, along with others, in the nrpe.cfg file > > I run these, for example, and both give the same output: > > /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users > NRPE: Unable to read output > > /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load > NRPE: Unable to read output > > do I actually need to supply arguments at the end of the check_nrpe command? e.g., -w 5,4,3 (i've tried doing so, but to no avail) > On Sep 21, 2010, at 3:57 PM, Stuart Browne wrote: > > > what?s the command line that is called from nrpe when it?s asked for a ?check_load? ? There should be a line similar to this in there: > > command[check_load]=/usr/lib64/nagios/plugins/check_load -w 5,4,3 -c 8,6,4 > > Does this exist in the nrpe.cfg? If you run the command from your configuration as the nrpe_user, does it execute and return a value properly? > > From: Jonathan Wiggins [mailto:jwiggins at salon.com] > Sent: Wednesday, 22 September 2010 06:36 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] can't get host to display in Host Detail panel > > I have 3 web servers, and although they at one time all showed up successfully, now one of them does not. > > i have verified on the web server in question that nrpe is running and listening on tcp/5666: > > netstat -ntlp | grep nrpe > tcp 0 0 0.0.0.0:5666 0.0.0.0:* LISTEN 13920/nrpe > > /etc/init.d/nrpe status > nrpe (pid 13920) is running... > > I've checked the nrpe.cfg on another server that is showing up, and compared b/t the two, and they look identical. > > i've got an IPTables rule that allows connections on the web server: > > -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 5666 -j ACCEPT > > One of the things that doesn't test right though is the check_nrpe command: > > /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_load > NRPE: Unable to read output > > but tail /var/log/messages gives me something interesting, perhaps? > > Sep 21 13:30:08 mywebserver kernel: Removing netfilter NETLINK layer. > Sep 21 13:30:09 mywebserver kernel: ip_tables: (C) 2000-2006 Netfilter Core Team > Sep 21 13:30:10 mywebserver kernel: Netfilter messages via NETLINK v0.30. > Sep 21 13:30:10 mywebserver kernel: ip_conntrack version 2.4 (8192 buckets, 65536 max) - 304 bytes per conntrack > > On the nagios server, i've checked the mywebserver.cfg file and it looks legit and cross-compared with the two others, it seems identical (except for IP of course): > > # Host definition > # Modified 81610 > > define host{ > use linux-server ; Inherit default values from a template > host_name mywebserver ; The name we're giving to this server > alias mywebserver ; A longer name for the server > address 10.0.100.139 ; IP address of the server > } > > define service{ > use generic-service > host_name mywebserver > service_description Home Page > check_command check_http!ww2 > } > > > > Any feedback, suggestions, thoughts, etc.. is much appreciated in advance > > JW > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Wed Sep 22 11:19:02 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 22 Sep 2010 10:19:02 +0100 Subject: can't get host to display in Host Detail panel In-Reply-To: <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> Message-ID: <4C99CA06.9040400@flatto.net> On 22/09/10 02:09, Jonathan Wiggins wrote: > # The following examples use hardcoded command arguments... > > command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 > command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c > 30,25,20 > command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% > -p /dev/hda1 > command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 > -c 10 -s Z > command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w > 150 -c 200 > > # The following examples allow user-supplied arguments and can > # only be used if the NRPE daemon was compiled with support for > # command arguments *AND* the dont_blame_nrpe directive in this > # config file is set to '1'. This poses a potential security risk, so > # make sure you read the SECURITY file before doing this. > > #command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ > -c $ARG2$ > #command[check_load]=/usr/lib64/nagios/plugins/check_load -w $ARG1$ -c > $ARG2$ > #command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w $ARG1$ -c > $ARG2$ -p $ARG3$ > #command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ > -c $ARG2$ -s $ARG3$ > > > > that's the entry in the .cfg file, if I run this for example, you can > see it does give me output: > */usr/lib64/nagios/plugins/check_nrpe -H localhost* > *NRPE v2.12* > * > * > but other than that, I just run the command as below? > */usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users* > (I'm confused on this part - does this particular "check_users" need > this at the end? " -w 5 -c 10" when that's done, I get /Unable To > read output /) > > i've checked permissions also on the /usr/lib64/nagios/plugins/* > directories and only the ../nagios/ directory has nagios.nagios as the > owner, the rest have root.root -- i've seen permissions listed in > other forums as the possible culprit, but my permissions seem right? > I've only got "nagios" listed as the nrpe_user and the nrpe_group in > the nrpe.cfg file -- do I need to add "nrpe" and/or "root" to this? > when you try running one of the command localy on the remote machine what is the output ? "/usr/lib64/nagios/plugins/check_users -w 5 -c 10 " - what does this command return ? Assaf -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 brian.mckee at gmail.com Wed Sep 22 15:17:36 2010 From: brian.mckee at gmail.com (Brian McKee) Date: Wed, 22 Sep 2010 09:17:36 -0400 Subject: Creating multiple force checks quickly Message-ID: Hi All I'm running an old version of Nagios (2.4) Sometimes I end up with the same service warning on multiple machines and I'd like to force a check on all of them. Using the web interface is a lot of clicks when it's more than just a couple machines. I'm thinking I should be able to gin up a for loop in bash with curl or wget to do it for me, or am I wrong? Does this exist already somewhere? Pointers in the right direction appreciated Brian -- Hey, it's your computer.... isn't it? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 perldork at webwizarddesign.com Wed Sep 22 15:34:30 2010 From: perldork at webwizarddesign.com (Max) Date: Wed, 22 Sep 2010 09:34:30 -0400 Subject: Creating multiple force checks quickly In-Reply-To: References: Message-ID: I suggest putting them all in a service group - then you can issue a force check command from the Nagios UI. Scriot is not a bad way to go either though - the Nagios externalcommand API (via the named pipe) is easy to use and well documented. Max On 9/22/10, Brian McKee wrote: > Hi All > > I'm running an old version of Nagios (2.4) > Sometimes I end up with the same service warning on multiple machines and > I'd like to force a check on all of them. > Using the web interface is a lot of clicks when it's more than just a couple > machines. > I'm thinking I should be able to gin up a for loop in bash with curl or wget > to do it for me, or am I wrong? > Does this exist already somewhere? > Pointers in the right direction appreciated > > Brian > -- > Hey, it's your computer.... isn't it? > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 22 15:47:34 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 22 Sep 2010 14:47:34 +0100 Subject: NRPE and ip range in allowed hosts Message-ID: <4C9A08F6.4060900@flatto.net> Hello Has anyone tried placing a range ip entry in the allowedhosts directive of NRPE ? Will putting 10.1.0.0/24 work ? If not ,does anyone know if is it something that is planned to future versions of NRPE ? -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 herb-j.com Wed Sep 22 15:57:14 2010 From: nagios at herb-j.com (Herb J.) Date: Wed, 22 Sep 2010 08:57:14 -0500 Subject: NRPE and ip range in allowed hosts In-Reply-To: <4C9A08F6.4060900@flatto.net> References: <4C9A08F6.4060900@flatto.net> Message-ID: <4C9A0B3A.4090001@herb-j.com> Yes, CIDR-style notation is accepted. On 09/22/2010 08:47 AM, Assaf Flatto wrote: > Hello > > Has anyone tried placing a range ip entry in the allowedhosts directive > of NRPE ? > > Will putting 10.1.0.0/24 work ? > > If not ,does anyone know if is it something that is planned to future > versions of NRPE ? > > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.mckee at gmail.com Wed Sep 22 16:53:28 2010 From: brian.mckee at gmail.com (Brian McKee) Date: Wed, 22 Sep 2010 10:53:28 -0400 Subject: Creating multiple force checks quickly In-Reply-To: References: Message-ID: On Wed, Sep 22, 2010 at 9:34 AM, Max wrote: > I suggest putting them all in a service group - then you can issue a > force check command from the Nagios UI. > > Hmmm, I created a service group, but I don't see a force check command anywhere... Am I missing it? Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 brian.mckee at gmail.com Wed Sep 22 17:58:18 2010 From: brian.mckee at gmail.com (Brian McKee) Date: Wed, 22 Sep 2010 11:58:18 -0400 Subject: Creating multiple force checks quickly In-Reply-To: References: Message-ID: On Wed, Sep 22, 2010 at 9:34 AM, Max wrote: > > Scriot is not a bad way to go either though - the Nagios > externalcommand API (via the named pipe) is easy to use and well > documented. That got me pointed the right direction. Found this page http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=129 and cobbled up a bash script from that. Thanks! Brian PS Still curious about the service group thing though -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 perldork at webwizarddesign.com Wed Sep 22 18:09:48 2010 From: perldork at webwizarddesign.com (Max) Date: Wed, 22 Sep 2010 12:09:48 -0400 Subject: Creating multiple force checks quickly In-Reply-To: References: Message-ID: On Wed, Sep 22, 2010 at 11:58 AM, Brian McKee wrote: > > > On Wed, Sep 22, 2010 at 9:34 AM, Max wrote: > PS Still curious about the service group thing though I looked further into this and the service group control panel does not include an 'schedule the next check of all services in this group' option, so the script sounds like the right way to go. - Max ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwiggins at salon.com Wed Sep 22 18:37:53 2010 From: jwiggins at salon.com (Jonathan Wiggins) Date: Wed, 22 Sep 2010 09:37:53 -0700 Subject: can't get host to display in Host Detail panel In-Reply-To: <4C99CA06.9040400@flatto.net> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> Message-ID: HI Assaf. Thanks for replying to my email this is the output of the command $ ./check_users -w 5 -c 10 USERS OK - 1 users currently logged in |users=1;5;10;0 On Sep 22, 2010, at 2:19 AM, Assaf Flatto wrote: > On 22/09/10 02:09, Jonathan Wiggins wrote: >> >> # The following examples use hardcoded command arguments... >> >> command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 >> command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 >> command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1 >> command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z >> command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 >> >> >> # The following examples allow user-supplied arguments and can >> # only be used if the NRPE daemon was compiled with support for >> # command arguments *AND* the dont_blame_nrpe directive in this >> # config file is set to '1'. This poses a potential security risk, so >> # make sure you read the SECURITY file before doing this. >> >> #command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ >> #command[check_load]=/usr/lib64/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ >> #command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ >> #command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ >> >> >> >> that's the entry in the .cfg file, if I run this for example, you can see it does give me output: >> /usr/lib64/nagios/plugins/check_nrpe -H localhost >> NRPE v2.12 >> >> but other than that, I just run the command as below? >> /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users (I'm confused on this part - does this particular "check_users" need this at the end? " -w 5 -c 10" when that's done, I get Unable To read output ) >> >> i've checked permissions also on the /usr/lib64/nagios/plugins/* directories and only the ../nagios/ directory has nagios.nagios as the owner, the rest have root.root -- i've seen permissions listed in other forums as the possible culprit, but my permissions seem right? I've only got "nagios" listed as the nrpe_user and the nrpe_group in the nrpe.cfg file -- do I need to add "nrpe" and/or "root" to this? >> > > when you try running one of the command localy on the remote machine what is the output ? > > "/usr/lib64/nagios/plugins/check_users -w 5 -c 10 " - what does this command return ? > > Assaf > > > -- > Never,Ever Cut A Deal With a Dragon > > > Next year I will be doing the London to Paris bike ride to > raise money for the DogTrust (www.dogstrust.co.uk) . > Please Sponsor me at http://www.justgiving.com/Assaf-Flatto > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 at summersault.com Wed Sep 22 18:23:15 2010 From: mike at summersault.com (Mike Neimoyer) Date: Wed, 22 Sep 2010 12:23:15 -0400 Subject: Time period definitions In-Reply-To: References: Message-ID: <4C9A2D73.8010102@summersault.com> Good morning, all. This'll be my first post here, and I'm a new Nagios user having inherited a setup, so be gentle ;-) I've been reading books (Barth's, Turnbull's, Kocjan's, and Josephsen's), and am slowly getting an understanding of how things work. One issue that I am having problems with is how to set up the timeperiods for a rotating on-call staff. I've been reading sites (http://nagios.sourceforge.net/docs/3_0/oncallrotation.html) (http://tech.ebusinessjuncture.com/2009/10/nagios-example-of-how-to-make-an-oncall-rotation/) I think I understand it, but since none of the books I have seem to detail this I figured I would ask here. To set up a rotation for three admins to be on-call one week each, I would need to define the timeperiods for each admin as such: <> / 21 00:00-24:00 Then I specify out a full week's worth of entries, with the "/ 21" after it to specify that it repeats every 21 days, correct? I think I then would specify the other two admins' timeperiods to follow this, specifying appropriate start dates and the "/ 21" modifier. I think that's right. I am sure my search terms for this were incorrect, but if someone wouldn't mind pointing me in the direction of some good resources for this, I would greatly appreciate it! And now, back to the books. Thanks! ~~Mike ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 22 19:34:18 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 22 Sep 2010 18:34:18 +0100 Subject: Time period definitions In-Reply-To: <4C9A2D73.8010102@summersault.com> References: <4C9A2D73.8010102@summersault.com> Message-ID: On 22 September 2010 17:23, Mike Neimoyer wrote: > Good morning, all. > > This'll be my first post here, and I'm a new Nagios user having > inherited a setup, so be gentle ;-) I've been reading books (Barth's, > Turnbull's, Kocjan's, and Josephsen's), and am slowly getting an > understanding of how things work. I'm glad you have those - I found Barth's book especially helpful. > One issue that I am having problems with is how to set up the > timeperiods for a rotating on-call staff. I've been reading sites > (http://nagios.sourceforge.net/docs/3_0/oncallrotation.html) > (http://tech.ebusinessjuncture.com/2009/10/nagios-example-of-how-to-make-an-oncall-rotation/) > I think I understand it, but since none of the books I have seem to > detail this I figured I would ask here. > > To set up a rotation for three admins to be on-call one week each, I > would need to define the timeperiods for each admin as such: > <> / 21 ? ? ? ? ? ? ? ?00:00-24:00 > > Then I specify out a full week's worth of entries, with the "/ 21" after > it to specify that it repeats every 21 days, correct? ?I think I then > would specify the other two admins' timeperiods to follow this, > specifying appropriate start dates and the "/ 21" modifier. > > I think that's right. I do too! It's the same as scenario 3 then in: http://nagios.sourceforge.net/docs/3_0/oncallrotation.html but for a 3-week rather than 2-week cycle. I can't say I've tried it myself though. > I am sure my search terms for this were incorrect, but if someone > wouldn't mind pointing me in the direction of some good resources for > this, I would greatly appreciate it! ?And now, back to the books. Not sure about other resources myself - you have twice the number of Nagios books there than I do! One thing I'd recommend is to be sure you are at a reasonable recent version of the Nagios code. There has been some ropiness in the way timeperiods work which is fixed in recent versions. See: http://www.nagios.org/development/history/core-3x Cheers, and I hope you enjoy working with Nagios. Jim ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at summersault.com Wed Sep 22 19:46:38 2010 From: mike at summersault.com (Mike Neimoyer) Date: Wed, 22 Sep 2010 13:46:38 -0400 Subject: Time period definitions In-Reply-To: References: <4C9A2D73.8010102@summersault.com> Message-ID: <4C9A40FE.7040906@summersault.com> On 09/22/2010 01:34 PM, Jim Avery wrote: > > One thing I'd recommend is to be sure you are at a reasonable recent > version of the Nagios code. There has been some ropiness in the way > timeperiods work which is fixed in recent versions. See: We're currently running on 3.2.0. I saw that there were a couple of updates available, but until I feel more comfortable with the way Nagios interacts with the plugins, I don't want to muck about with the core code just yet... > Cheers, and I hope you enjoy working with Nagios. Thanks, Jim. It's been an interesting learning curve, that's for sure! :) ~~Mike ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 22 20:02:12 2010 From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk) Date: Wed, 22 Sep 2010 19:02:12 +0100 Subject: AUTO: Eliot Picken is out of the office (returning 24/09/2010) Message-ID: I am out of the office until 24/09/2010. I am currently out of the office, and I will respond to your email upon my return. Your email has not been forwarded. For all enquiries, please contact Alex Lawrie on +44 (0) 1224 894 000 Note: This is an automated response to your message "Re: [Nagios-users] Time period definitions" sent on 9/22/2010 6:46:38 PM. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mbesser at n-link.net Wed Sep 22 22:08:08 2010 From: mbesser at n-link.net (mbesser at n-link.net) Date: Wed, 22 Sep 2010 13:08:08 -0700 (PDT) Subject: Web HTML and CSS modifications Message-ID: <1285186088.876313933@192.168.2.227> I'm a complete Newbie (both in my job and Nagios) and was asked by my boss to change the Nagios web interface to have a black background and to have the first page shown display something more useful than the General - Home page (perhaps the Monitoring - Tactical Overview). I found some stylesheets and I've managed to guess at some of the values to change, but the results are not ideal. Some of the problems are as follows: - The Home page and some other pages still have white backgrounds. - The Monitoring - Status Map is unreadable with a black background. - I still have the Home page showing as the first page the user sees. Is there any documentation on how to change the webpages using Stylesheets and/or other techniques? Guessing isn't ideal. Thanks ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Wed Sep 22 22:37:46 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 22 Sep 2010 13:37:46 -0700 Subject: Web HTML and CSS modifications In-Reply-To: <1285186088.876313933@192.168.2.227> References: <1285186088.876313933@192.168.2.227> Message-ID: <4C9A691A.5060303@hp.com> Changing the front page is easy: You can edit the frameset in index.php to load anything you want into the main frame. As to editing the CSS, there's no real documentation that I'm aware of outside the HTML and CSS code itself, though I've found it relatively easy to just look at a rendered page to see what styles it's using. On 9/22/2010 1:08 PM, mbesser at n-link.net wrote: > I'm a complete Newbie (both in my job and Nagios) and was asked by my boss to change the Nagios web interface to have a black background and to have the first page shown display something more useful than the General - Home page (perhaps the Monitoring - Tactical Overview). I found some stylesheets and I've managed to guess at some of the values to change, but the results are not ideal. > > Some of the problems are as follows: > > - The Home page and some other pages still have white backgrounds. > - The Monitoring - Status Map is unreadable with a black background. > - I still have the Home page showing as the first page the user sees. > > Is there any documentation on how to change the webpages using Stylesheets and/or other techniques? Guessing isn't ideal. > > Thanks > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at tvnz.co.nz Thu Sep 23 05:38:39 2010 From: ron at tvnz.co.nz (Ron Wilson) Date: Thu, 23 Sep 2010 15:38:39 +1200 Subject: Nagios Change Config via email Message-ID: <7D85034F6BBBD540AF52C59CED3AA1E803A12E32@AKVXCH02.tvnzad.tvnz.co.nz> I would like to be able to disable nagios notifications by using email. Situation is we are investing in automating patching of our servers. The patching software can send an email out at the beginning of each server patch and another at the end of patch I want Nagios to be able to receive the email which would have something like servername and stop en email subject line. If I set up an inwards mail client on the nagios server which would receive the email and drop it into a directory where Nagios would scan it and disable alerting for the server. At the end of patching the patch server will issue another email saying servername start and Nagios would receive email and re-enable alerting Anyone got any good ideas how to avhieve this? ________________________________ -- Ron Wilson Systems Engineer Television New Zealand P.O. Box 3819 Auckland, New Zealand Phone 649-916-7560 If you find yourself in a hole, the first thing to do is stop diggin'. ________________________________ ========================================================== For more information on the Television New Zealand Group, visit us online at tvnz.co.nz ========================================================== CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 diego.roccia at gmail.com Thu Sep 23 09:40:52 2010 From: diego.roccia at gmail.com (Diego Roccia) Date: Thu, 23 Sep 2010 09:40:52 +0200 Subject: Nagios Change Config via email In-Reply-To: <7D85034F6BBBD540AF52C59CED3AA1E803A12E32@AKVXCH02.tvnzad.tvnz.co.nz> References: <7D85034F6BBBD540AF52C59CED3AA1E803A12E32@AKVXCH02.tvnzad.tvnz.co.nz> Message-ID: Using procmail you can pipe emails trough scripts, so you're able to create a script that parse the email subject/body and commit external commands to nagios regards Diego On Thu, Sep 23, 2010 at 5:38 AM, Ron Wilson wrote: > I would like to be able to disable nagios notifications by using email. > > Situation is we are investing in automating patching of our servers. The > patching software can send an email out at the beginning of each server > patch and another at the end of patch > > I want Nagios to be able to receive the email which would have something > like servername and stop en email subject line. > > If I set up an inwards mail client on the nagios server which would receive > the email and drop it into a directory where Nagios would scan it and > disable alerting for the server. At the end of patching the patch server > will issue another email saying servername start and Nagios would receive > email and re-enable alerting > > Anyone got any good ideas how to avhieve this? > > > > ________________________________ > > -- > > Ron Wilson > > Systems Engineer > > Television New Zealand > > P.O. Box 3819 > > Auckland, New Zealand > > Phone 649-916-7560 > > If you find yourself in a hole, the first thing to do is stop diggin'. > > ________________________________ > ========================================================== > For more information on the Television New Zealand Group, visit us > online at tvnz.co.nz > ========================================================== > CAUTION:? This e-mail and any attachment(s) contain information that > is intended to be read only by the named recipient(s).? This information > is not to be used or stored by any other person and/or organisation. > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Diego Roccia diego.roccia (at) gmail (dot) com ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From B30930 at freescale.com Thu Sep 23 10:08:38 2010 From: B30930 at freescale.com (Tan Kong Jo-B30930) Date: Thu, 23 Sep 2010 01:08:38 -0700 Subject: FW: Nagios - SunOS In-Reply-To: <4C87ACD7.7040409@op5.se> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <57C326BCABEE0842AE585418105A1BABCC8F@039-SN1MPN1-002.039d.mgd.msft.net> <4C87ACD7.7040409@op5.se> Message-ID: <57C326BCABEE0842AE585418105A1BAB0B0137@039-SN1MPN1-002.039d.mgd.msft.net> Hi Andreas, We used the nagios-plugins version 1.3.1, that you suggested, to try to install in SunOS 5.6 and SunOS 5.5.1. Both have the same error when key in # ./configure to install. It is something like the SUNOS missing gcc installation or configure is not specified where is gcc installed. # ./configure checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... no checking for a BSD-compatible install... ./install-sh -c checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Any suggestion on this? Any specific steps to make this works for those ancient SunOS 5.6, 5.5.1, 4.1.4, 4.1.3_U1? Really hope for your advice... -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: 08 September, 2010 11:34 PM To: Nagios Users List Cc: Tan Kong Jo-B30930 Subject: Re: [Nagios-users] FW: Nagios - SunOS On 09/08/2010 02:00 PM, Tan Kong Jo-B30930 wrote: > > Here is one of the error:- > > # /home/nagios/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 > ld.so.1: /home/nagios/nagios/libexec/check_load: fatal: libc.so.1: > version `SUNW_1.18' not found (required by file > /home/nagios/nagios/libexec/check_load) > Killed > You can't copy binaries from one system version to another, but you should be able to recompile the plugin sources on your older systems and then run the newly created binaries there. Normally, I use nagios-plugins version 1.3.1 when I need to build them on really ancient systems, as it's a minimum of hackery to get it to work, provided one knows how to build without the use of a Makefile. -- 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 rbn31 at free.fr Thu Sep 23 10:12:08 2010 From: rbn31 at free.fr (rbn31 at free.fr) Date: Thu, 23 Sep 2010 10:12:08 +0200 Subject: Bug in check_openmanage ? Message-ID: <1285229528.4c9b0bd86d85e@imp.free.fr> Hello, I am a newbie ... This is my first post. Following to a DELL firmware update 1.X to 2.3.3, a strange "error" message appears : System: PowerEdge M805 ServiceTag: ??????? OMSA version: 6.3.0 BIOS/date: 2.3.3 04/16/2010 Plugin version: 3.6.0 ----------------------------------------------------------------------------- Storage Components ============================================================================= STATE | ID | MESSAGE TEXT ---------+----------+-------------------------------------------------------- OK | 0 | Controller 0 [CERC 6/i Integrated] is Ready OK | 0:0:0:0 | Physical Disk 0:0:0 [SAS-HDD 146GB] on ctrl 0 is Online OK | 0:0:0:1 | Physical Disk 0:0:1 [SAS-HDD 146GB] on ctrl 0 is Online OK | 0:0 | Logical Drive '/dev/sda' [RAID-1, 136.13 GB] is Ready OK | 0:0 | Connector 0 [SAS Port RAID Mode] on controller 0 is Ready OK | 0:0:0 | Enclosure 0:0:0 [Backplane] on controller 0 is Ready ----------------------------------------------------------------------------- Chassis Components ============================================================================= STATE | ID | MESSAGE TEXT ---------+------+------------------------------------------------------------ OK | 0 | Memory module 0 [DIMM_A1, 2048 MB] is Ok OK | 1 | Memory module 1 [DIMM_A2, 2048 MB] is Ok OK | 2 | Memory module 2 [DIMM_A3, 2048 MB] is Ok OK | 3 | Memory module 3 [DIMM_A4, 2048 MB] is Ok OK | 4 | Memory module 4 [DIMM_B1, 2048 MB] is Ok OK | 5 | Memory module 5 [DIMM_B2, 2048 MB] is Ok OK | 6 | Memory module 6 [DIMM_B3, 2048 MB] is Ok OK | 7 | Memory module 7 [DIMM_B4, 2048 MB] is Ok OK | 0 | Temperature Probe 0 [System Board Ambient Temp] reads 17 C (min=8/3, max=42/47) OK | 0 | Processor 0 [Quad-Core AMD Opteron 2384] is Present OK | 1 | Processor 1 [Quad-Core AMD Opteron 2384] is Present OK | 0 | Voltage sensor 0 [CPU1 VCORE] is Good OK | 1 | Voltage sensor 1 [CPU2 VCORE] is Good OK | 2 | Voltage sensor 2 [CPU1 VTT PG] is Good OK | 3 | Voltage sensor 3 [CPU2 VTT PG] is Good OK | 4 | Voltage sensor 4 [CPU1 2.5V PG] is Good OK | 5 | Voltage sensor 5 [CPU2 2.5V PG] is Good OK | 6 | Voltage sensor 6 [CPU1 1.8V PG] is Good OK | 7 | Voltage sensor 7 [CPU2 1.8V PG] is Good OK | 8 | Voltage sensor 8 [System Board 3.3V PG] is Good OK | 9 | Voltage sensor 9 [System Board 5V PG] is Good OK | 10 | Voltage sensor 10 [System Board 12V PG] is Good OK | 11 | Voltage sensor 11 [System Board 1.2V AUX PG] is Good OK | 12 | Voltage sensor 12 [System Board 1.2V LDT PG] is Good OK | 13 | Voltage sensor 13 [System Board CPU Power Fault] is Good OK | 14 | Voltage sensor 14 [System Board VCORE MCP PG] is Good OK | 15 | Voltage sensor 15 [System Board PVCC PG] is Good OK | 16 | Voltage sensor 16 [System Board 1.0V MGMT PG] is Good OK | 17 | Voltage sensor 17 [MEZZ2_FAB_B PG] is Good OK | 18 | Voltage sensor 18 [MEZZ1_FAB_C PG] is Good OK | 19 | Voltage sensor 19 [Storage PG] is Good OK | 0 | Battery probe 0 [System Board CMOS Battery] is Good OK | 1 | Amperage probe 1 [System Board System Level] reads 140 W ----------------------------------------------------------------------------- Other messages ============================================================================= STATE | MESSAGE TEXT ---------+------------------------------------------------------------------- OK | Alert log content: 0 critical, 0 non-critical, 1 ok OK | ESM log content: 0 critical, 0 non-critical, 1 ok OK | ESM log health is Ok (less than 80% full) OOPS! Something is wrong with this server, but I don't know what. The global system health status is CRITICAL, but every component check is OK. This may be a bug in the Nagios plugin, please file a bug report. The status change from OK to Unknown... Is anybody can help me to debbug ? Thanks for your helps. R?mi -- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Sep 23 10:24:09 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 23 Sep 2010 01:24:09 -0700 Subject: FW: Nagios - SunOS In-Reply-To: <57C326BCABEE0842AE585418105A1BAB0B0137@039-SN1MPN1-002.039d.mgd.msft.net> References: <57C326BCABEE0842AE585418105A1BABC96D@039-SN1MPN1-002.039d.mgd.msft.net> <57C326BCABEE0842AE585418105A1BABCC8F@039-SN1MPN1-002.039d.mgd.msft.net> <4C87ACD7.7040409@op5.se> <57C326BCABEE0842AE585418105A1BAB0B0137@039-SN1MPN1-002.039d.mgd.msft.net> Message-ID: <4C9B0EA9.2040808@hp.com> You apparently either do not have a C compiler installed or you aren't setting your path to point to one that is. Since it sounds like you don't know whether one is installed or not, that's not too surprising. Considering that you're probably going to need to do *much* more complicated things than find your compiler to get this to build, I'd highly recommend trying to find someone with some knowledge of compiling software (such as a consultant) to help you out. There's just far too much involved to try to hash out every detail you'll need to know on a mailing list. On 9/23/2010 1:08 AM, Tan Kong Jo-B30930 wrote: > > Hi Andreas, > > We used the nagios-plugins version 1.3.1, that you suggested, to try > to install in SunOS 5.6 and SunOS 5.5.1. > > Both have the same error when key in # ./configure to install. > > *It is something like the SUNOS missing gcc installation or configure > is not specified where is gcc installed.* > > *# ./configure* > > *checking for a BSD-compatible install... ./install-sh -c* > > *checking whether build environment is sane... yes* > > *checking for gawk... no* > > *checking for mawk... no* > > *checking for nawk... nawk* > > *checking whether make sets $(MAKE)... no* > > *checking for a BSD-compatible install... ./install-sh -c* > > *checking for gcc... no* > > *checking for cc... no* > > *checking for cc... no* > > *checking for cl... no* > > *configure: error: no acceptable C compiler found in $PATH* > > *See `config.log' for more details.* > > Any suggestion on this? > > Any specific steps to make this works for those ancient SunOS 5.6, > 5.5.1, 4.1.4, 4.1.3_U1? > > Really hope for your advice... > > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: 08 September, 2010 11:34 PM > To: Nagios Users List > Cc: Tan Kong Jo-B30930 > Subject: Re: [Nagios-users] FW: Nagios - SunOS > > On 09/08/2010 02:00 PM, Tan Kong Jo-B30930 wrote: > > > > > > Here is one of the error:- > > > > > > # /home/nagios/nagios/libexec/check_load -w 15,10,5 -c 30,25,20 > > > ld.so.1: /home/nagios/nagios/libexec/check_load: fatal: libc.so.1: > > > version `SUNW_1.18' not found (required by file > > > /home/nagios/nagios/libexec/check_load) > > > Killed > > > > > You can't copy binaries from one system version to another, but you > should be able to recompile the plugin sources on your older systems > and then run the newly created binaries there. > > Normally, I use nagios-plugins version 1.3.1 when I need to build them > on really ancient systems, as it's a minimum of hackery to get it to > work, provided one knows how to build without the use of a Makefile. > > -- > > 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. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Sep 23 10:50:18 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 23 Sep 2010 10:50:18 +0200 Subject: Bug in check_openmanage ? In-Reply-To: <1285229528.4c9b0bd86d85e@imp.free.fr> (rbn's message of "Thu, 23 Sep 2010 10:12:08 +0200") References: <1285229528.4c9b0bd86d85e@imp.free.fr> Message-ID: <15t8w2sdet1.fsf@tux.uio.no> rbn31 at free.fr writes: > OOPS! Something is wrong with this server, but I don't know what. The > global system health status is CRITICAL, but every component check is > OK. This may be a bug in the Nagios plugin, please file a bug report. > > The status change from OK to Unknown... > > Is anybody can help me to debbug ? Hi R?mi, Thanks for reporting this. As an extra precaution, check_openmanage will check the global health status in addition to each of the components, providing you don't use blacklisting and/or check control such that the global check can be a false positive. This case seems to be a real issue where a component is bad and the global health status reflects this. The component in question is not checked by the plugin for some reason. I'd like to narrow down the suspect pool. If you have login access to this server, can you send the output from the following command: omreport chassis If this command reports that everything is OK, we're probably dealing with a storage problem. Just to rule out blacklisting bugs etc., what is the command definition for check_openmanage in your Nagios config? Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rbn31 at free.fr Thu Sep 23 12:38:41 2010 From: rbn31 at free.fr (rbn31 at free.fr) Date: Thu, 23 Sep 2010 12:38:41 +0200 Subject: Bug in check_openmanage ? In-Reply-To: <15t8w2sdet1.fsf@tux.uio.no> References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> Message-ID: <1285238321.4c9b2e31dec36@imp.free.fr> Hi Trond, You are right ... ---------------------------------------------- # omreport chassis Health Main System Chassis SEVERITY : COMPONENT Ok : Memory Critical : Power Management Ok : Processors Ok : Temperatures Ok : Voltages Ok : Hardware Log Ok : Batteries For further help, type the command followed by -? ------------------------------------------------ On the IDRAC i have the message "System Board Current Latch" Thanks for your help... Should be closed... R?mi -- Selon Trond Hasle Amundsen : > rbn31 at free.fr writes: > > > OOPS! Something is wrong with this server, but I don't know what. The > > global system health status is CRITICAL, but every component check is > > OK. This may be a bug in the Nagios plugin, please file a bug report. > > > > The status change from OK to Unknown... > > > > Is anybody can help me to debbug ? > > Hi R??mi, > > Thanks for reporting this. > > As an extra precaution, check_openmanage will check the global health > status in addition to each of the components, providing you don't use > blacklisting and/or check control such that the global check can be a > false positive. > > This case seems to be a real issue where a component is bad and the > global health status reflects this. The component in question is not > checked by the plugin for some reason. I'd like to narrow down the > suspect pool. If you have login access to this server, can you send the > output from the following command: > > omreport chassis > > If this command reports that everything is OK, we're probably dealing > with a storage problem. > > Just to rule out blacklisting bugs etc., what is the command definition > for check_openmanage in your Nagios config? > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravishankar.gundlapali at wipro.com Thu Sep 23 12:45:42 2010 From: ravishankar.gundlapali at wipro.com (ravishankar.gundlapali at wipro.com) Date: Thu, 23 Sep 2010 16:15:42 +0530 Subject: SQL-DB Services-Unknown Status References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB98@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FCDE@HYD-MKD-MBX02.wipro.com> Message-ID: <618F928F9E2D824AAB26DCAA0F25221F02A64FCA@HYD-MKD-MBX02.wipro.com> Hi All, Request you to please help me on this. Thanks, Ravi G From: Ravishankar Gundlapali (WT01 - Energy and Utilities) Sent: Tuesday, September 21, 2010 8:27 PM To: 'Nagios Users List' Subject: SQL-DB Services-Unknown Status Hi, I am using Nagios Version 3.0.6 on a Linux server to monitor the SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. The status information in Nagios is showing following error. Please see the screenshots below 1) UNKNOWN: No handler for that command I am using the following the check commands check_nrpe_mssql_log_used!*!50!90 check_nrpe_mssql_log_growths!*!5000!9000 Please someone let me know how can I resolve this. Please see the service definition and command definition which I am using for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH. define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-USED is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_used!*!50!90 } define service{ use generic-service ; Name of service template to use host_name abcd service_description SQL-DB-LOG-GROWTH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sql-admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_nrpe_mssql_log_growths!*!5000!9000 ; Log growth scale is 0.01 hence 5000 and 9000 } define command { command_name check_nrpe_mssql_log_used command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_used -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } define command { command_name check_nrpe_mssql_log_growths command_line $USER1$/check_nrpe -t 60 -H $HOSTADDRESS$ -p 5666 -c get_mssql_log_growth -a $HOSTADDRESS$ "$ARG1$" "$ARG2$" "$ARG3$" } Thanks & Regards, Ravi G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 3817 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ae at op5.se Thu Sep 23 13:40:23 2010 From: ae at op5.se (Andreas Ericsson) Date: Thu, 23 Sep 2010 13:40:23 +0200 Subject: NRPE and ip range in allowed hosts In-Reply-To: <4C9A08F6.4060900@flatto.net> References: <4C9A08F6.4060900@flatto.net> Message-ID: <4C9B3CA7.1000803@op5.se> On 09/22/2010 03:47 PM, Assaf Flatto wrote: > Hello > > Has anyone tried placing a range ip entry in the allowedhosts directive > of NRPE ? > > Will putting 10.1.0.0/24 work ? > No, it won't. > If not ,does anyone know if is it something that is planned to future > versions of NRPE ? > It's not. NRPE isn't maintained very rigorously since it Just Works(tm). -- 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. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 23 13:48:52 2010 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 23 Sep 2010 12:48:52 +0100 Subject: NRPE and ip range in allowed hosts In-Reply-To: <4C9B3CA7.1000803@op5.se> References: <4C9A08F6.4060900@flatto.net> <4C9B3CA7.1000803@op5.se> Message-ID: <4C9B3EA4.5090200@flatto.net> On 23/09/10 12:40, Andreas Ericsson wrote: > On 09/22/2010 03:47 PM, Assaf Flatto wrote: >> Hello >> >> Has anyone tried placing a range ip entry in the allowedhosts directive >> of NRPE ? >> >> Will putting 10.1.0.0/24 work ? >> > No, it won't. > >> If not ,does anyone know if is it something that is planned to future >> versions of NRPE ? > It's not. NRPE isn't maintained very rigorously since it Just Works(tm). > So there is no way to specify a range of servers , one must put all IP's individually ? -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Thu Sep 23 13:58:40 2010 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 23 Sep 2010 13:58:40 +0200 Subject: NRPE and ip range in allowed hosts In-Reply-To: <4C9B3EA4.5090200@flatto.net> References: <4C9A08F6.4060900@flatto.net> <4C9B3CA7.1000803@op5.se> <4C9B3EA4.5090200@flatto.net> Message-ID: <1285243120.10646.8.camel@bofh.dtnet.de> Hi > > So there is no way to specify a range of servers , one must put all IP's > individually ? just as an idea: Can inetd handle the range of IPs? Then you could think about starting the nrpe-server with inetd. Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 23 14:31:16 2010 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Thu, 23 Sep 2010 14:31:16 +0200 Subject: NRPE and ip range in allowed hosts In-Reply-To: <4C9B3EA4.5090200@flatto.net> References: <4C9A08F6.4060900@flatto.net> <4C9B3CA7.1000803@op5.se> <4C9B3EA4.5090200@flatto.net> Message-ID: <4C9B4894.8030506@univie.ac.at> Assaf Flatto wrote: > On 23/09/10 12:40, Andreas Ericsson wrote: > >> On 09/22/2010 03:47 PM, Assaf Flatto wrote: >> >>> Hello >>> >>> Has anyone tried placing a range ip entry in the allowedhosts directive >>> of NRPE ? >>> >>> Will putting 10.1.0.0/24 work ? >>> >>> >> No, it won't. >> >> >>> If not ,does anyone know if is it something that is planned to future >>> versions of NRPE ? >>> >> It's not. NRPE isn't maintained very rigorously since it Just Works(tm). >> >> > > So there is no way to specify a range of servers , one must put all IP's > individually ? > is_an_allowed_host either awaits hostname(s) to do a dns resolve, or checks for an ip list. no ip ranges currently possible from within that code base. possible resolution might be a cidr check, getting lowest and highest ip from allowed_range and compare then the converted unsigned long's. Kind regards, Michael -- 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 14279 web: http://www.univie.ac.at/zid Icinga Core& IDOUtils Developer http://www.icinga.org ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 23 14:38:59 2010 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Thu, 23 Sep 2010 08:38:59 -0400 Subject: Nagios Change Config via email In-Reply-To: References: <7D85034F6BBBD540AF52C59CED3AA1E803A12E32@AKVXCH02.tvnzad.tvnz.co.nz> Message-ID: On Thu, Sep 23, 2010 at 5:38 AM, Ron Wilson wrote: > I would like to be able to disable nagios notifications by using email. > > Situation is we are investing in automating patching of our servers. The > patching software can send an email out at the beginning of each server > patch and another at the end of patch > > I want Nagios to be able to receive the email which would have something > like servername and stop en email subject line. > > If I set up an inwards mail client on the nagios server which would receive > the email and drop it into a directory where Nagios would scan it and > disable alerting for the server. At the end of patching the patch server > will issue another email saying servername start and Nagios would receive > email and re-enable alerting > > Anyone got any good ideas how to avhieve this? Rather than email, it might be a good idea to host a CGI which is locked down to monitored hosts, and let servers call the CGI as needed to disable notifications/monitoring for themselves (only) when needed. I think this would be *slightly* harder to spoof than an email. (Email is really bad that way). For any automated disabling of notifications, the other thing to keep in mind is: what happens if a server fails in the middle of patching? Will it sit for hours, waiting? Depending on your setup, you could setup a cron job to look for a comment associated with the server/service, that contains a timestamp. If the timestamp is longer than [x] [time] ago, go ahead and turn notifications/alerting back on, so administrators are notified that something went wrong. We are doing much of the above with our production systems, and it works well, especially for the Windows hosts that patch at least once a month. Server can call a CGI, and if the server is in the database (DNS and IP resolve exactly to the name in the DB), it can disable notifications for itself. After 45 minutes, if a host is still in this maintenance state, alerts are enabled again, and we get woken up as the server needs handholding while we still have a patch window to do the work in. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From diego.roccia at gmail.com Thu Sep 23 15:59:26 2010 From: diego.roccia at gmail.com (Diego Roccia) Date: Thu, 23 Sep 2010 15:59:26 +0200 Subject: Nagios Change Config via email In-Reply-To: References: <7D85034F6BBBD540AF52C59CED3AA1E803A12E32@AKVXCH02.tvnzad.tvnz.co.nz> Message-ID: If you implement some sort of email signing (like GPG) you can have enough security with email commands. Moreover, via email you can send commands to nagios even if its interface is firewalled to the outside. On Thu, Sep 23, 2010 at 2:38 PM, Breandan Dezendorf wrote: > On Thu, Sep 23, 2010 at 5:38 AM, Ron Wilson wrote: >> I would like to be able to disable nagios notifications by using email. >> >> Situation is we are investing in automating patching of our servers. The >> patching software can send an email out at the beginning of each server >> patch and another at the end of patch >> >> I want Nagios to be able to receive the email which would have something >> like servername and stop en email subject line. >> >> If I set up an inwards mail client on the nagios server which would receive >> the email and drop it into a directory where Nagios would scan it and >> disable alerting for the server. At the end of patching the patch server >> will issue another email saying servername start and Nagios would receive >> email and re-enable alerting >> >> Anyone got any good ideas how to avhieve this? > > Rather than email, it might be a good idea to host a CGI which is > locked down to monitored hosts, and let servers call the CGI as needed > to disable notifications/monitoring for themselves (only) when needed. > ?I think this would be *slightly* harder to spoof than an email. > (Email is really bad that way). > > For any automated disabling of notifications, the other thing to keep > in mind is: what happens if a server fails in the middle of patching? > Will it sit for hours, waiting? ?Depending on your setup, you could > setup a cron job to look for a comment associated with the > server/service, that contains a timestamp. ?If the timestamp is longer > than [x] [time] ago, go ahead and turn notifications/alerting back on, > so administrators are notified that something went wrong. > > We are doing much of the above with our production systems, and it > works well, especially for the Windows hosts that patch at least once > a month. ?Server can call a CGI, and if the server is in the database > (DNS and IP resolve exactly to the name in the DB), it can disable > notifications for itself. ?After 45 minutes, if a host is still in > this maintenance state, alerts are enabled again, and we get woken up > as the server needs handholding while we still have a patch window to > do the work in. > > -- > Breandan Dezendorf > breandan at dezendorf.com > bwdezend at gmail.com > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Diego Roccia diego.roccia (at) gmail (dot) com ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 patrick.morris at hp.com Thu Sep 23 18:26:06 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 23 Sep 2010 09:26:06 -0700 Subject: SQL-DB Services-Unknown Status In-Reply-To: <618F928F9E2D824AAB26DCAA0F25221F02A64FCA@HYD-MKD-MBX02.wipro.com> References: <3FEFD82C77911D45A5465CEEBEAC23CDCC0B0A8E@PNE-HJN-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB7A@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FB98@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F0296FCDE@HYD-MKD-MBX02.wipro.com> <618F928F9E2D824AAB26DCAA0F25221F02A64FCA@HYD-MKD-MBX02.wipro.com> Message-ID: <4C9B7F9E.3010601@hp.com> On 9/23/2010 3:45 AM, ravishankar.gundlapali at wipro.com wrote: > > Hi All, > > Request you to please help me on this. > > Thanks, > > Ravi G > > *From:* Ravishankar Gundlapali (WT01 - Energy and Utilities) > *Sent:* Tuesday, September 21, 2010 8:27 PM > *To:* 'Nagios Users List' > *Subject:* SQL-DB Services-Unknown Status > > Hi, > > I am using Nagios Version 3.0.6 on a Linux server to monitor the > SQL-DB-LOG-GROWTH and SQL-DB-LOG-USED on the Windows servers. > > The status information in Nagios is showing following error. Please > see the screenshots below > > 1) UNKNOWN: No handler for that command > > I am using the following the check commands > > check_nrpe_mssql_log_used!*!50!90 > > check_nrpe_mssql_log_growths!*!5000!9000 > > Please someone let me know how can I resolve this. > > Please see the service definition and command definition which I am > using for SQL-DB-LOG-USED and SQL-DB-LOG-GROWTH. > > You left out the most critical piece of information: How are your commands defined in NRPE? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 rtanner at linfield.edu Thu Sep 23 18:17:51 2010 From: rtanner at linfield.edu (Rob Tanner) Date: Thu, 23 Sep 2010 09:17:51 -0700 Subject: Building MAC OSX binaries Message-ID: Hi, We?ve recycled a handful of Mac Mini 1?s (tiny boxes just large enough to include a single CD drive), and we want to install Nagios on them and put them around in strategic locations on the network so that we can monitor performance. I have the full Apple SDK on my desktop system and so I would like to build Nagios/NRPE and all the various bits and bobs on my machine and then distribute the binaries to the mini?s. The problem is that the mini?s are 32bit and my desktop is 64bit. Can anyone tell me how to compile 32bit on a 64bit machine. Thanks, Rob Rob Tanner UNIX Services Manager Linfield College, McMinnville Oregon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 patrick.morris at hp.com Thu Sep 23 18:53:42 2010 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 23 Sep 2010 09:53:42 -0700 Subject: Building MAC OSX binaries In-Reply-To: References: Message-ID: <4C9B8616.10708@hp.com> On 9/23/2010 9:17 AM, Rob Tanner wrote: > Hi, > > We?ve recycled a handful of Mac Mini 1?s (tiny boxes just large enough > to include a single CD drive), and we want to install Nagios on them > and put them around in strategic locations on the network so that we > can monitor performance. I have the full Apple SDK on my desktop > system and so I would like to build Nagios/NRPE and all the various > bits and bobs on my machine and then distribute the binaries to the > mini?s. The problem is that the mini?s are 32bit and my desktop is > 64bit. Can anyone tell me how to compile 32bit on a 64bit machine. Generally, adding "-m32" to your CFLAGS (and probably CPPFLAGS) environment variables will force 32-bit compilation, assuming you're using gcc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 allanc at chickenandporn.com Thu Sep 23 18:57:02 2010 From: allanc at chickenandporn.com (Allan Clark) Date: Thu, 23 Sep 2010 11:57:02 -0500 Subject: Building MAC OSX binaries In-Reply-To: References: Message-ID: On Thu, Sep 23, 2010 at 11:17, Rob Tanner wrote: > Hi, > > We?ve recycled a handful of Mac Mini 1?s (tiny boxes just large enough to > include a single CD drive), and we want to install Nagios on them and put > them around in strategic locations on the network so that we can monitor > performance. ?I have the full Apple SDK on my desktop system and so I would > like to build Nagios/NRPE and all the various bits and bobs on my machine > and then distribute the binaries to the mini?s. ?The problem is that the > mini?s are 32bit and my desktop is 64bit. ?Can anyone tell me how to compile > 32bit on a 64bit machine. 32-bit: i386 or PPC? You might be able to effect a cross-compile by changing the project properties if you're using Xcode: Project -> Edit Project Settings ... tab called "Build" at the top choose a base SDK and architecture Allan -- allanc at chickenandporn.com? "??" http://linkedin.com/in/goldfish ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 Thu Sep 23 18:58:43 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Thu, 23 Sep 2010 18:58:43 +0200 Subject: Bug in check_openmanage ? In-Reply-To: <1285238321.4c9b2e31dec36@imp.free.fr> (rbn's message of "Thu, 23 Sep 2010 12:38:41 +0200") References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> Message-ID: <15t4odgcs70.fsf@tux.uio.no> rbn31 at free.fr writes: > Hi Trond, > > You are right ... > > ---------------------------------------------- > # omreport chassis > > Health > > Main System Chassis > > SEVERITY : COMPONENT > Ok : Memory > Critical : Power Management > Ok : Processors > Ok : Temperatures > Ok : Voltages > Ok : Hardware Log > Ok : Batteries > > For further help, type the command followed by -? > ------------------------------------------------ > > On the IDRAC i have the message "System Board Current Latch" This is interesting.. Have you configured power budgeting on this server? What does this command say: omreport chassis pwrmanagement On a regular R805 here it just says: Power Budget Information is not available on this system. but we've never configured or used this feature, so I don't know anything about it. I'm thinking that perhaps check_openmanage should support these and similar configurable OMSA features. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 rbn31 at free.fr Fri Sep 24 08:53:51 2010 From: rbn31 at free.fr (rbn31 at free.fr) Date: Fri, 24 Sep 2010 08:53:51 +0200 Subject: Bug in check_openmanage ? In-Reply-To: <15t4odgcs70.fsf@tux.uio.no> References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> Message-ID: <1285311231.4c9c4afff2ab3@imp.free.fr> Hello Trond, Always right ... omreport chassis pwrmanagement Power Budget Information is not available on this system. In fact, i solve the problem by updating/resetting the idrac. But the plugins nagios is always ko and i don't know why ... ./tmp/check_openmanage -H 10.1.19.193 SNMP ERROR [cooling]: Requested entries are empty or do not exist. => KO ./tmp/check_openmanage 10.1.19.193 OK - System: 'PowerEdge M805', SN: 'B8LH74J', hardware working fine, 1 logical drives, 2 physical drives => OK The command use by nagios is check_openmanage -H $HOSTADDRESS$ -C $_HOSTCOMMUNITY$ Be back to the beginning ;-P) R?mi Selon Trond Hasle Amundsen : > rbn31 at free.fr writes: > > > Hi Trond, > > > > You are right ... > > > > ---------------------------------------------- > > # omreport chassis > > > > Health > > > > Main System Chassis > > > > SEVERITY : COMPONENT > > Ok : Memory > > Critical : Power Management > > Ok : Processors > > Ok : Temperatures > > Ok : Voltages > > Ok : Hardware Log > > Ok : Batteries > > > > For further help, type the command followed by -? > > ------------------------------------------------ > > > > On the IDRAC i have the message "System Board Current Latch" > > This is interesting.. Have you configured power budgeting on this > server? What does this command say: > > omreport chassis pwrmanagement > > On a regular R805 here it just says: > > Power Budget Information is not available on this system. > > but we've never configured or used this feature, so I don't know > anything about it. > > I'm thinking that perhaps check_openmanage should support these and > similar configurable OMSA features. > > Regards, > -- > Trond H. Amundsen > Center for Information Technology Services, University of Oslo > ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 Fri Sep 24 12:11:18 2010 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Fri, 24 Sep 2010 12:11:18 +0200 Subject: Bug in check_openmanage ? In-Reply-To: <1285311231.4c9c4afff2ab3@imp.free.fr> (rbn's message of "Fri, 24 Sep 2010 08:53:51 +0200") References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> <1285311231.4c9c4afff2ab3@imp.free.fr> Message-ID: <15tzkv7bge1.fsf@tux.uio.no> rbn31 at free.fr writes: > omreport chassis pwrmanagement > Power Budget Information is not available on this system. > > In fact, i solve the problem by updating/resetting the idrac. Ok, good to know. I'm still a little concerned that there was a hardware problem that check_openmanage didn't identify properly. Please let me know if this happens again. > But the plugins nagios is always ko and i don't know why ... > > ./tmp/check_openmanage -H 10.1.19.193 > SNMP ERROR [cooling]: Requested entries are empty or do not exist. This is a completely different problem. Cooling devices (i.e. fans) should exist in all servers except blades. Which type of server is this, and do you know if it has fans or not? The error above is from the Net::SNMP perl module. If the plugin doesn't get the data it expects when polling via SNMP, it will forward the error message from Net::SNMP. Regards, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 rikr_ at hotmail.com Fri Sep 24 13:04:51 2010 From: rikr_ at hotmail.com (Ricardo F) Date: Fri, 24 Sep 2010 13:04:51 +0200 Subject: Conditional checks between different hours? In-Reply-To: <1a09c54b521c53f0cb617ea667a437b9@localhost> References: , , , <34775FB9488E23449AD8E4C69D2C4A360815667B@SLCMAIL1.slcounty.org>, <1a09c54b521c53f0cb617ea667a437b9@localhost> Message-ID: Yes, i did it. Two timeperiods, two different services, and it works. Thanks > Date: Tue, 21 Sep 2010 15:13:19 -0400 > From: nagios at isprime.org > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Conditional checks between different hours? > > setup 2 services where the check time periods don't overlap, and the > different values are checked during their respective times. > > ie > > service-check-cpu-day 0800-1800 with command args of say 90% > service check-cpu-night 18:01-24:00,00:00-07:59 with command args of > say 50% > > not ideal because you create 2 different services, > > but its better than the other alternative: > > write a wrapper for your plugins to check the time if date +'%H%M' > something something > > --kyleo > > On Tue, 21 Sep 2010 18:14:36 +0000, Scott Lofland > wrote: > >>-----Original Message----- > >>From: Jim Avery [mailto:jim at jimavery.me.uk] > >> > >>On 20 September 2010 16:27, Ricardo F wrote: > >>> > >>> Hello, > >>> Is it possible to put different checks values > >>> (max_check_attempts, retry_check_interval, normal_check_interval, notification_interval) > >>> and check each one if is one hour on another? > >> > >>I'm pretty sure it isn't (not without a cludge of some sort anyway). > >> > >>I'm intrigued to know what would drive such a requirement as I don't > >>think you're the first to ask this and doubt you'll be the last. > >> > > > > I've been about this type of functionality in my environment to take > > into account variable network and hardware conditions based on > > expected high user load at different times of the day as well as > > differing loads on different network segments during standard backup > > times or regular maintenance windows. > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > > Start uncovering the many advantages of virtual appliances > > and start using them to simplify application deployment and > > accelerate your shift to cloud computing. > > http://p.sf.net/sfu/novell-sfdev2dev > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 sandman42 at libero.it Fri Sep 24 15:05:54 2010 From: sandman42 at libero.it (sandman42 at libero.it) Date: Fri, 24 Sep 2010 15:05:54 +0200 (CEST) Subject: Trigger notification mail Message-ID: <5197223.2203821285333554782.JavaMail.defaultUser@defaultHost> Hi, I have written a plugin that counts the number of transaction on a system and sends a notification mail if this number exceeds a thresold. I'd like to trigger an email that on a daily basis sends the number of transaction, whatever the number is, i.e. a scheduled event. Is this possible? I have thought I could use scheduled downtimes, but AFAIK there is no way to say "scheduled downtime is every day". Therefore, how can I achieve this, i.e. how can I trigger a notification every day, regardless of the status? Thanks ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-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 mmelin at gmail.com Fri Sep 24 16:49:11 2010 From: mmelin at gmail.com (Martin Melin) Date: Fri, 24 Sep 2010 16:49:11 +0200 Subject: Trigger notification mail In-Reply-To: <5197223.2203821285333554782.JavaMail.defaultUser@defaultHost> References: <5197223.2203821285333554782.JavaMail.defaultUser@defaultHost> Message-ID: This is not something that you should have Nagios do. Nagios is not a reporting system. Your plugin is a program/script just like any other. Simply schedule a daily run in cron that will send a report every 24 hours. Best regards, Martin Melin On Fri, Sep 24, 2010 at 3:05 PM, sandman42 at libero.it wrote: > Hi, > > I have written a plugin that counts the number of transaction on a system and > sends a notification mail if this number exceeds a thresold. > > I'd like to trigger an email that on a daily basis sends the number of > transaction, whatever the number is, i.e. a scheduled event. > > Is this possible? > > I have thought I could use scheduled downtimes, but AFAIK there is no way to > say "scheduled downtime is every day". > > Therefore, how can I achieve this, i.e. how can I trigger a notification every > day, regardless of the status? > > Thanks > > ------------------------------------------------------------------------------ > Nokia and AT&T present the 2010 Calling All Innovators-North America contest > Create new apps & games for the Nokia N8 for consumers in ?U.S. and Canada > $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing > Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store > http://p.sf.net/sfu/nokia-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 > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Sep 25 14:30:09 2010 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Sat, 25 Sep 2010 08:30:09 -0400 Subject: Alleviating Nagios i/o contention problem Message-ID: Greetings, listers, We've got an on-going issue with i/o contention. There's the obvious problem that we've got a whole lot of things all writing to the same partition. In this case, there's just one big chunk of RAID 5 disk on a single controller so I don't believe that making more partitions is going to help. On this same partition we have: 1) Nagios 3.2.1 running as the central/reporting server for a couple of other Nagios nodes that are sending check results via NSCA. Approximately 6-7K checks. 2) pnp4nagios 0.6.2 (with rrd 1.4.2) writing graph data. There's a 2nd server configured identically to the first that's acting as a "hot spare" so it also receives check data from the 2 distributed nodes and writes its own copy of the graph data locally as well. At the moment I'm concerned about the graphdata, but because I can only see i/o utilization as an aggregate, I can't tell what is the worst component on that filesystem -- status.dat updates? graph data? writes to the var/spool directory? We also look at continued growth so this is only going to get worse. These systems are quite lightly loaded from a CPU (2 dual-core CPUs) and memory (4GB) perspective, but the i/o to the nagios filesystem is queuing now. We're about to order new hardware for these servers and I want to make a reasonable choice. I'd like to make some reasonable changes without requiring too exotic of a setup. I believe these servers are currently Dell 2950s and they're all running Suse Linux 10.3 SP2. My first thought was to potentially move the graphs to a NAS share which would shift that i/o to the network. I don't know how that would work though and it would ultimately be an experiment. What experiences do people out there have handling this kind of i/o and what have you done to ease it? Thanks very much! Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 matthias.flacke at gmx.de Sat Sep 25 15:43:12 2010 From: matthias.flacke at gmx.de (Matthias Flacke) Date: Sat, 25 Sep 2010 15:43:12 +0200 Subject: Alleviating Nagios i/o contention problem In-Reply-To: References: Message-ID: <4C9DFC70.3010902@gmx.de> On 9/25/10 2:30 PM, Frost, Mark {PBC} wrote: > Greetings, listers, > > > > We've got an on-going issue with i/o contention. There's the obvious > problem that we've got a whole lot of things all writing to the same > partition. In this case, there's just one big chunk of RAID 5 disk on a > single controller so I don't believe that making more partitions is > going to help. > > > > On this same partition we have: > > > > 1) Nagios 3.2.1 running as the central/reporting server for a couple of > other Nagios nodes that are sending check results via NSCA. > Approximately 6-7K checks. > > > > 2) pnp4nagios 0.6.2 (with rrd 1.4.2) writing graph data. > > > > There's a 2nd server configured identically to the first that's acting > as a "hot spare" so it also receives check data from the 2 distributed > nodes and writes its own copy of the graph data locally as well. > > > > At the moment I'm concerned about the graphdata, but because I can only > see i/o utilization as an aggregate, I can't tell what is the worst > component on that filesystem -- status.dat updates? graph data? writes > to the var/spool directory? We also look at continued growth so this is > only going to get worse. > > > > These systems are quite lightly loaded from a CPU (2 dual-core CPUs) and > memory (4GB) perspective, but the i/o to the nagios filesystem is > queuing now. > > > > We're about to order new hardware for these servers and I want to make a > reasonable choice. I'd like to make some reasonable changes without > requiring too exotic of a setup. I believe these servers are currently > Dell 2950s and they're all running Suse Linux 10.3 SP2. > > > > My first thought was to potentially move the graphs to a NAS share which > would shift that i/o to the network. I don't know how that would work > though and it would ultimately be an experiment. > > > > What experiences do people out there have handling this kind of i/o and > what have you done to ease it? You didn't say how many of your checks create perfdata - but I assume that most of your disk I/O is related to RRD updates. RRD cached (see http://docs.pnp4nagios.org/pnp-0.6/rrdcached for PNP integration) is a good means to collect multiple RRD updates and burst write the RRD files. status.dat and the checkresults directory are always good candidates to be stored on a ramdisk, especially since they're volatile data. As a side note: status.dat on ramdisk is a pure boost for the CGIs :). I know people which also store nagios.log on a ramdisk and regularily save them via rsync onto a hard disk. My own systems with ~4000 checks and ~20.000 performance relevant data sets went down from 30% to less than 2% wait I/O with rrdcached and ramdisk use. Cheers, -Matthias ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Sat Sep 25 17:53:16 2010 From: perldork at webwizarddesign.com (Max) Date: Sat, 25 Sep 2010 11:53:16 -0400 Subject: Alleviating Nagios i/o contention problem In-Reply-To: <4C9DFC70.3010902@gmx.de> References: <4C9DFC70.3010902@gmx.de> Message-ID: I like the suggestions Matthias makes; those suggestions have worked well for us. RRD updates are very expensive - I am pretty sure without knowing anything more about your system that the RRD writes are causing most of the I/O load. Our current largest Nagios-based system has around 7500 hosts and around 40k active services spread across 4 pollers - the four pollers send perfdata to two report servers that do nothing but host the trap databases for traps from SNMPTT from the pollers, RRD files / PNP web UI, and the server side of our client/server notification system. The snmptt dbs and notification server dbs are replicated master master between the two hosts. Even with rrdcached and raid 10 these hosts regularly have 3 - 10 pct I/O wait. We hope to lower that number a bit by moving the DBs onto separate dedicated DB hosts. - Max On 9/25/10, Matthias Flacke wrote: > On 9/25/10 2:30 PM, Frost, Mark {PBC} wrote: >> Greetings, listers, >> >> >> >> We've got an on-going issue with i/o contention. There's the obvious >> problem that we've got a whole lot of things all writing to the same >> partition. In this case, there's just one big chunk of RAID 5 disk on a >> single controller so I don't believe that making more partitions is >> going to help. >> >> >> >> On this same partition we have: >> >> >> >> 1) Nagios 3.2.1 running as the central/reporting server for a couple of >> other Nagios nodes that are sending check results via NSCA. >> Approximately 6-7K checks. >> >> >> >> 2) pnp4nagios 0.6.2 (with rrd 1.4.2) writing graph data. >> >> >> >> There's a 2nd server configured identically to the first that's acting >> as a "hot spare" so it also receives check data from the 2 distributed >> nodes and writes its own copy of the graph data locally as well. >> >> >> >> At the moment I'm concerned about the graphdata, but because I can only >> see i/o utilization as an aggregate, I can't tell what is the worst >> component on that filesystem -- status.dat updates? graph data? writes >> to the var/spool directory? We also look at continued growth so this is >> only going to get worse. >> >> >> >> These systems are quite lightly loaded from a CPU (2 dual-core CPUs) and >> memory (4GB) perspective, but the i/o to the nagios filesystem is >> queuing now. >> >> >> >> We're about to order new hardware for these servers and I want to make a >> reasonable choice. I'd like to make some reasonable changes without >> requiring too exotic of a setup. I believe these servers are currently >> Dell 2950s and they're all running Suse Linux 10.3 SP2. >> >> >> >> My first thought was to potentially move the graphs to a NAS share which >> would shift that i/o to the network. I don't know how that would work >> though and it would ultimately be an experiment. >> >> >> >> What experiences do people out there have handling this kind of i/o and >> what have you done to ease it? > > You didn't say how many of your checks create perfdata - but I assume > that most of your disk I/O is related to RRD updates. > RRD cached (see http://docs.pnp4nagios.org/pnp-0.6/rrdcached for PNP > integration) is a good means to collect multiple RRD updates and burst > write the RRD files. > > status.dat and the checkresults directory are always good candidates to > be stored on a ramdisk, especially since they're volatile data. As a > side note: status.dat on ramdisk is a pure boost for the CGIs :). > I know people which also store nagios.log on a ramdisk and regularily > save them via rsync onto a hard disk. > > My own systems with ~4000 checks and ~20.000 performance relevant data > sets went down from 30% to less than 2% wait I/O with rrdcached and > ramdisk use. > > Cheers, > -Matthias > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Sep 25 19:35:48 2010 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Sat, 25 Sep 2010 13:35:48 -0400 Subject: Alleviating Nagios i/o contention problem In-Reply-To: References: Message-ID: <140C7625-4EC3-449A-9FB8-317D598EED45@dezendorf.com> On Sep 25, 2010, at 8:30 AM, Frost, Mark {PBC} wrote: > At the moment I'm concerned about the graphdata, but because I can only see i/o utilization as an aggregate, I can't tell what is the worst component on that filesystem -- status.dat updates? graph data? writes to the var/spool directory? We also look at continued growth so this is only going to get worse. > > These systems are quite lightly loaded from a CPU (2 dual-core CPUs) and memory (4GB) perspective, but the i/o to the nagios filesystem is queuing now. I find that one of my biggest issues is writing to logs, so I've turned off as much as I can. Especially the pnp4nagios logging - I turn it on when I'm debugging something, but otherwise it's totally disabled. If you are running your logs through syslog, make sure syslog is setup to write async. You may lose some log data in the case of a crash, but it will be a LOT faster. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 xodus.org Sun Sep 26 17:27:18 2010 From: lists at xodus.org (Marc Powell) Date: Sun, 26 Sep 2010 10:27:18 -0500 Subject: Alleviating Nagios i/o contention problem In-Reply-To: References: <4C9DFC70.3010902@gmx.de> Message-ID: On Sep 25, 2010, at 10:53 AM, Max wrote: > I like the suggestions Matthias makes; those suggestions have worked > well for us. > > RRD updates are very expensive - I am pretty sure without knowing > anything more about your system that the RRD writes are causing most > of the I/O load. I no longer have access to this system but my experience has been otherwise. We were running a nagios install with nearly 10,000 services received by external pollers every 5 minutes, and a cricket install on the same machine polling/updating 100,000+ rrd files during the same interval. This was on a Poweredge 6850, 5 disk RAID-5. RRDtool itself writes very little data to disk. I think it's 8 Bytes per DS per RRA updated. Linux, though, wants to write 4KB chunks at a time so it performs a read-modify-write of 4KB just to update those 8 Bytes. The OP can reduce his IO load particularly for RRD updates and help Linux better organize it's writes to disk by ensuring that he has enough RAM to keep key information for each RRD file in the filesystem cache. The OP will need at least 8K * number of rrd files available to be used as filesystem buffer cache. -- Marc ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Mon Sep 27 11:15:54 2010 From: it.toonz at gmail.com (IT Toonz) Date: Mon, 27 Sep 2010 14:45:54 +0530 Subject: Available Plugins? In-Reply-To: <15tzkv7bge1.fsf@tux.uio.no> References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> <1285311231.4c9c4afff2ab3@imp.free.fr> <15tzkv7bge1.fsf@tux.uio.no> Message-ID: <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> How to see the available plugins? We want to know if check_mailq is installed. Please advice. We are using FAN 2.0 NagiosR 3.0.6 Regards Anth :-) ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 27 11:35:45 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 27 Sep 2010 10:35:45 +0100 Subject: Available Plugins? In-Reply-To: <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> <1285311231.4c9c4afff2ab3@imp.free.fr> <15tzkv7bge1.fsf@tux.uio.no> <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> Message-ID: <4CA06571.7080100@flatto.net> On 27/09/10 10:15, IT Toonz wrote: > How to see the available plugins? > > We want to know if check_mailq is installed. > > Please advice. > > We are using FAN 2.0 NagiosR 3.0.6 > > Regards > Anth :-) > > > usual method is to look in the libexec directory of the nagios installation ( most ofthen installed in /usr/local/nagios/ ) another way is to use the "locate " command - i.e do " locate chack_mailq". -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andrew.McIntyre at uk.enersys.com Mon Sep 27 11:32:10 2010 From: Andrew.McIntyre at uk.enersys.com (Andrew McIntyre) Date: Mon, 27 Sep 2010 10:32:10 +0100 Subject: Available Plugins? In-Reply-To: <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> <1285311231.4c9c4afff2ab3@imp.free.fr> <15tzkv7bge1.fsf@tux.uio.no> <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> Message-ID: Anth Browse to the directory /usr/local/nagios/libexec Assuming you installed nagios in the default directory. Andy "IT Toonz" 27/09/2010 10:27 Please respond to Nagios Users List To , cc Subject [Nagios-users] Available Plugins? How to see the available plugins? We want to know if check_mailq is installed. Please advice. We are using FAN 2.0 NagiosR 3.0.6 Regards Anth :-) ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 email and any attachments are confidential and the property of EnerSys Ltd. If you receive this email in error it must not be disclosed, copied or distributed in any way. In the event of it being sent to you in error please notify us immediately. EnerSys Ltd Registered in England. Company No. 731261 Registered Office: 21 St Thomas Street, Bristol, BS1 6JS. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Mon Sep 27 13:27:40 2010 From: it.toonz at gmail.com (IT Toonz) Date: Mon, 27 Sep 2010 16:57:40 +0530 Subject: Available Plugins? In-Reply-To: <4CA06571.7080100@flatto.net> References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> <1285311231.4c9c4afff2ab3@imp.free.fr> <15tzkv7bge1.fsf@tux.uio.no> <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> <4CA06571.7080100@flatto.net> Message-ID: <4ca081c5.06df8e0a.6cbb.68ed@mx.google.com> Hi Assaf, Thanks for the reply, We tried and we get this... [root at Nagios nagios]# locate check_mailq /usr/lib/nagios/plugins/check_mailq /var/www/dokuwiki/data/pages/plugins/check_mailq.txt And the error is Mailq CRITICAL (Return code of 127 is out of bounds - plugin may be missing) What could be causing this? In the commands.cfg file we have ... # Check mailq in mail server define command { command_name check_mailq command_line check_mailq!-M qmail -w 500 -c 1000 -t 7 } Please advice. Regards Anth. -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 27 September 2010 15:06 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Available Plugins? On 27/09/10 10:15, IT Toonz wrote: > How to see the available plugins? > > We want to know if check_mailq is installed. > > Please advice. > > We are using FAN 2.0 NagiosR 3.0.6 > > Regards > Anth :-) > > > usual method is to look in the libexec directory of the nagios installation ( most ofthen installed in /usr/local/nagios/ ) another way is to use the "locate " command - i.e do " locate chack_mailq". -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 brian.omahony at curamsoftware.com Mon Sep 27 13:09:44 2010 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Mon, 27 Sep 2010 12:09:44 +0100 Subject: Over-riding a check in HOSTGROUP Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF301434C864C52@MAIL06.curamsoftware.com> Im using Centreon 2.19, which uses Nagios 3.2.1 I have set up a hostgroup for all various types of Linux servers. All these checks work fine, with the exception of check_mem on zlinux. For all the other Linux systems (Debian, RH, CentOS) it returns back a value of memory - eg OK - RAM usage is at 97.1500% However the zlinux systems report CRITICAL - 771 MB (11%) Free Memory I want to override the hostgroup check, so I created a check on the actual host. This test works fine, from the cli, however in the webpage, it still does the hostgroup check. The centreon forum was under the impression host checks over-rode hostgroup checks, but it doesn't seem to be working for me... Regards B The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Mon Sep 27 13:36:47 2010 From: it.toonz at gmail.com (IT Toonz) Date: Mon, 27 Sep 2010 17:06:47 +0530 Subject: Available Plugins? In-Reply-To: References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> <1285311231.4c9c4afff2ab3@imp.free.fr> <15tzkv7bge1.fsf@tux.uio.no> <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> Message-ID: <4ca083e8.0a64730a.5405.67c8@mx.google.com> Hi Andrew, Thanks for the reply.. Both the folders are empty, we are trying Fully Automated Nagios 2.0, so we don't the path of many, we are just strting out in Nagios, and very much hooked!!! /usr/local/libexec /usr/local/nagios/libexec We could get the plugin in these paths, by running locate command suggested by Assaf. /usr/lib/nagios/plugins/check_smtp /var/www/dokuwiki/data/pages/plugins/check_smtp.txt But we still getting the error Mailq CRITICAL (Return code of 127 is out of bounds - plugin may be missing) Please advice Anth. From: Andrew McIntyre [mailto:Andrew.McIntyre at uk.enersys.com] Sent: 27 September 2010 15:02 To: Nagios Users List Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Available Plugins? Anth Browse to the directory /usr/local/nagios/libexec Assuming you installed nagios in the default directory. Andy "IT Toonz" 27/09/2010 10:27 Please respond to Nagios Users List To , cc Subject [Nagios-users] Available Plugins? How to see the available plugins? We want to know if check_mailq is installed. Please advice. We are using FAN 2.0 NagiosR 3.0.6 Regards Anth :-) ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 email and any attachments are confidential and the property of EnerSys Ltd. If you receive this email in error it must not be disclosed, copied or distributed in any way. In the event of it being sent to you in error please notify us immediately. EnerSys Ltd Registered in England. Company No. 731261 Registered Office: 21 St Thomas Street, Bristol, BS1 6JS. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Mon Sep 27 14:07:33 2010 From: it.toonz at gmail.com (IT Toonz) Date: Mon, 27 Sep 2010 17:37:33 +0530 Subject: Available Plugins? In-Reply-To: <4CA06571.7080100@flatto.net> References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> <1285311231.4c9c4afff2ab3@imp.free.fr> <15tzkv7bge1.fsf@tux.uio.no> <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> <4CA06571.7080100@flatto.net> Message-ID: <4ca08b21.09048e0a.2fec.63e5@mx.google.com> Got it, command.cfg entry was wrong. Thanks for all the help!! -----Original Message----- From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 27 September 2010 15:06 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Available Plugins? On 27/09/10 10:15, IT Toonz wrote: > How to see the available plugins? > > We want to know if check_mailq is installed. > > Please advice. > > We are using FAN 2.0 NagiosR 3.0.6 > > Regards > Anth :-) > > > usual method is to look in the libexec directory of the nagios installation ( most ofthen installed in /usr/local/nagios/ ) another way is to use the "locate " command - i.e do " locate chack_mailq". -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 27 14:16:56 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 27 Sep 2010 13:16:56 +0100 Subject: Available Plugins? In-Reply-To: <4ca081c5.06df8e0a.6cbb.68ed@mx.google.com> References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> <1285311231.4c9c4afff2ab3@imp.free.fr> <15tzkv7bge1.fsf@tux.uio.no> <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> <4CA06571.7080100@flatto.net> <4ca081c5.06df8e0a.6cbb.68ed@mx.google.com> Message-ID: <4CA08B38.2070908@flatto.net> On 27/09/10 12:27, IT Toonz wrote: > > Hi Assaf, > > Thanks for the reply, > > We tried and we get this... > > [root at Nagios nagios]# locate check_mailq > > /usr/lib/nagios/plugins/check_mailq > > /var/www/dokuwiki/data/pages/plugins/check_mailq.txt > > And the error is > > Mailq CRITICAL (Return code of 127 is out of bounds - plugin may be > missing) > > What could be causing this? > > In the commands.cfg file we have ... > > # Check mailq in mail server > > define command { > > command_name check_mailq > > command_line check_mailq!-M qmail -w 500 -c 1000 -t 7 > > } > > Please advice. > > Regards > > Anth. > > in the nagios installation directory - look at file resource.cfg and see where the alias $USER1$ points to . this alias should proceed and command definition you have in the commands.cfg , co your mailq check command should be as such define command { command_name check_mailq command_line $USER1$/check_mailq!-M qmail -w 500 -c 1000 -t 7 } -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Mon Sep 27 14:07:43 2010 From: it.toonz at gmail.com (IT Toonz) Date: Mon, 27 Sep 2010 17:37:43 +0530 Subject: Available Plugins? In-Reply-To: References: <1285229528.4c9b0bd86d85e@imp.free.fr> <15t8w2sdet1.fsf@tux.uio.no> <1285238321.4c9b2e31dec36@imp.free.fr> <15t4odgcs70.fsf@tux.uio.no> <1285311231.4c9c4afff2ab3@imp.free.fr> <15tzkv7bge1.fsf@tux.uio.no> <4ca062e3.17bb720a.7ad0.5e9e@mx.google.com> Message-ID: <4ca08b28.09048e0a.2fec.63e7@mx.google.com> Got it, command.cfg entry was wrong. Thanks for all the help!! From: Andrew McIntyre [mailto:Andrew.McIntyre at uk.enersys.com] Sent: 27 September 2010 15:02 To: Nagios Users List Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Available Plugins? Anth Browse to the directory /usr/local/nagios/libexec Assuming you installed nagios in the default directory. Andy "IT Toonz" 27/09/2010 10:27 Please respond to Nagios Users List To , cc Subject [Nagios-users] Available Plugins? How to see the available plugins? We want to know if check_mailq is installed. Please advice. We are using FAN 2.0 NagiosR 3.0.6 Regards Anth :-) ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 email and any attachments are confidential and the property of EnerSys Ltd. If you receive this email in error it must not be disclosed, copied or distributed in any way. In the event of it being sent to you in error please notify us immediately. EnerSys Ltd Registered in England. Company No. 731261 Registered Office: 21 St Thomas Street, Bristol, BS1 6JS. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 imunoz6 at xtec.cat Mon Sep 27 13:56:24 2010 From: imunoz6 at xtec.cat (=?ISO-8859-1?Q?Ivan_Mu=F1oz?=) Date: Mon, 27 Sep 2010 13:56:24 +0200 Subject: Check more than 1 port with check_tcp Message-ID: <4CA08668.5080207@xtec.cat> Hello, I'm looking for a plugin that checks more than one port on the same check. A syntax like: check_tcp -H xx.yy.com -p [port1];[port2];...[port_n] Thanks in advance. -- Ivan Mu?oz Fuentes Dept. D'Educaci? de la Generalitat de Catalunya Email: imunoz6 at xtec.cat Telf: 935516926 ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 27 14:45:39 2010 From: mark.frost1 at pepsico.com (Frost, Mark {PBC}) Date: Mon, 27 Sep 2010 08:45:39 -0400 Subject: Alleviating Nagios i/o contention problem In-Reply-To: References: <4C9DFC70.3010902@gmx.de> Message-ID: > -----Original Message----- > From: Marc Powell [mailto:lists at xodus.org] > Sent: Sunday, September 26, 2010 11:27 AM > To: Nagios Users List > Subject: Re: [Nagios-users] Alleviating Nagios i/o contention problem > > > On Sep 25, 2010, at 10:53 AM, Max wrote: > > > I like the suggestions Matthias makes; those suggestions have worked > > well for us. > > > > RRD updates are very expensive - I am pretty sure without knowing > > anything more about your system that the RRD writes are causing most > > of the I/O load. > > I no longer have access to this system but my experience has been > otherwise. We were running a nagios install with nearly 10,000 services > received by external pollers every 5 minutes, and a cricket install on > the same machine polling/updating 100,000+ rrd files during the same > interval. This was on a Poweredge 6850, 5 disk RAID-5. > RRDtool itself writes very little data to disk. I think it's 8 Bytes > per DS per RRA updated. Linux, though, wants to write 4KB chunks at a > time so it performs a read-modify-write of 4KB just to update those 8 > Bytes. > > The OP can reduce his IO load particularly for RRD updates and help > Linux better organize it's writes to disk by ensuring that he has > enough RAM to keep key information for each RRD file in the filesystem > cache. The OP will need at least 8K * number of rrd files available to > be used as filesystem buffer cache. > > -- > Marc Thanks very much to all who replied (Breandan, Marc, Max and Matthias, this means you! :-) ). - I can't say exactly how many checks create perfdata (we have a very heterogeneous set of check types). I can see 9K files in the graph data filesystem, so that would be about 4,500. - I'm not running updates through syslog. I don't have root on these machines so that would not be helpful to me. I will have to double-check, but I don't believe that I have writing to the pnp4nagios turned on, except maybe for the lowest level. I don't recall it logging much of anything at that level, but as I say, I'll check. - According to our performance analysis team, these servers have way more RAM that they're actually using so I wouldn't think I'm limited by the Linux disk cache here. Perhaps it's just the hardware we have (the i/o rates on a 3-year-old Dell 2950 with a single RAID 5 set) that makes this particularly bad for us. Perhaps on faster hardware we'd not even notice. - I would assume that the rrdcached was built for a reason (i.e. this i/o issue was observed at least somewhere) so it's definitely an avenue I want to try out. - The ramdisk idea is also interesting. I'm curious though, about why one would want to rsync it back to the local disk periodically. It's just a run-time status file, right? Unless I misread the docs, it goes away when Nagios is shut down. What would having a local disk copy of status.dat benefit me? Also, nagios.log isn't written to that often in our case (we don't log passive check results, for example). I'm not sure I'd see the benefit for us in putting that on ramdisk. Although... we do have Splunk watch that file so that would be some additional read overhead I guess. Thanks! Mark ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 27 15:01:24 2010 From: rutger at blokje.net (Rutger Blom) Date: Mon, 27 Sep 2010 15:01:24 +0200 Subject: Over-riding a check in HOSTGROUP In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF301434C864C52@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF301434C864C52@MAIL06.curamsoftware.com> Message-ID: In the service definition add a line under "hostgroup_name": "host_name *!**zlinux_hostname*" This will exclude the zlinux host from the service check. Rutger On Mon, Sep 27, 2010 at 1:09 PM, Brian O'Mahony < brian.omahony at curamsoftware.com> wrote: > Im using Centreon 2.19, which uses Nagios 3.2.1 > > > > I have set up a hostgroup for all various types of Linux servers. All these > checks work fine, with the exception of check_mem on zlinux. For all the > other Linux systems (Debian, RH, CentOS) it returns back a value of memory ? > eg OK - RAM usage is at 97.1500% > > > > However the zlinux systems report CRITICAL - 771 MB (11%) Free Memory > > > > I want to override the hostgroup check, so I created a check on the actual > host. This test works fine, from the cli, however in the webpage, it still > does the hostgroup check. > > > > The centreon forum was under the impression host checks over-rode hostgroup > checks, but it doesn?t seem to be working for me? > > > > > > > > Regards > > B > > > The information in this email is confidential and may be legally > privileged. > It is intended solely for the addressee. Access to this email by anyone > else > is unauthorized. If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be taken in > reliance > on it, is prohibited and may be unlawful. If you are not the intended > addressee please contact the sender and dispose of this e-mail. Thank you. > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Matthias.Flacke at gmx.de Mon Sep 27 16:25:24 2010 From: Matthias.Flacke at gmx.de (Matthias.Flacke at gmx.de) Date: Mon, 27 Sep 2010 16:25:24 +0200 (MEST) Subject: Alleviating Nagios i/o contention problem Message-ID: <201009271425.o8REPOIr004992@post.webmailer.de> > - The ramdisk idea is also interesting. I'm curious though, about why one > would want to rsync it back to the local disk periodically. It's just a > run-time status file, right? Unless I misread the docs, it goes away when > Nagios is shut down. What would having a local disk copy of status.dat > benefit me? Also, nagios.log isn't written to that often in our case (we > don't log passive check results, for example). I'm not sure I'd see the > benefit for us in putting that on ramdisk. Although... we do have Splunk > watch that file so that would be some additional read overhead I guess. This is a misunderstanding ;). Only nagios.log needs to be saved for statistics, history etc, but status.dat and the checkresults files do not. status.dat will be recreated soon and losing some checkresults is mostly a matter of the retry interval. nagios.log - as you said - depends on the traffic there. Max as far as I remember syncs it regularily. We normally have less than 5 messages per minute, so no reason to put it on ramdisk. -Matthias ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwiggins at salon.com Mon Sep 27 17:52:41 2010 From: jwiggins at salon.com (Jonathan Wiggins) Date: Mon, 27 Sep 2010 08:52:41 -0700 Subject: can't get host to display in Host Detail panel In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> Message-ID: any thoughts? I'm still struggling to resolve this.. > HI Assaf. > > Thanks for replying to my email > > this is the output of the command > > $ ./check_users -w 5 -c 10 > USERS OK - 1 users currently logged in |users=1;5;10;0 > > On Sep 22, 2010, at 2:19 AM, Assaf Flatto wrote: > >> On 22/09/10 02:09, Jonathan Wiggins wrote: >>> >>> # The following examples use hardcoded command arguments... >>> >>> command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 >>> command[check_load]=/usr/lib64/nagios/plugins/check_load -w 15,10,5 -c 30,25,20 >>> command[check_hda1]=/usr/lib64/nagios/plugins/check_disk -w 20% -c 10% -p /dev/hda1 >>> command[check_zombie_procs]=/usr/lib64/nagios/plugins/check_procs -w 5 -c 10 -s Z >>> command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200 >>> >>> >>> # The following examples allow user-supplied arguments and can >>> # only be used if the NRPE daemon was compiled with support for >>> # command arguments *AND* the dont_blame_nrpe directive in this >>> # config file is set to '1'. This poses a potential security risk, so >>> # make sure you read the SECURITY file before doing this. >>> >>> #command[check_users]=/usr/lib64/nagios/plugins/check_users -w $ARG1$ -c $ARG2$ >>> #command[check_load]=/usr/lib64/nagios/plugins/check_load -w $ARG1$ -c $ARG2$ >>> #command[check_disk]=/usr/lib64/nagios/plugins/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$ >>> #command[check_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$ >>> >>> >>> >>> that's the entry in the .cfg file, if I run this for example, you can see it does give me output: >>> /usr/lib64/nagios/plugins/check_nrpe -H localhost >>> NRPE v2.12 >>> >>> but other than that, I just run the command as below? >>> /usr/lib64/nagios/plugins/check_nrpe -H localhost -c check_users (I'm confused on this part - does this particular "check_users" need this at the end? " -w 5 -c 10" when that's done, I get Unable To read output ) >>> >>> i've checked permissions also on the /usr/lib64/nagios/plugins/* directories and only the ../nagios/ directory has nagios.nagios as the owner, the rest have root.root -- i've seen permissions listed in other forums as the possible culprit, but my permissions seem right? I've only got "nagios" listed as the nrpe_user and the nrpe_group in the nrpe.cfg file -- do I need to add "nrpe" and/or "root" to this? >>> >> >> when you try running one of the command localy on the remote machine what is the output ? >> >> "/usr/lib64/nagios/plugins/check_users -w 5 -c 10 " - what does this command return ? >> >> Assaf >> >> >> -- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Mon Sep 27 18:11:32 2010 From: nagios at flatto.net (Assaf Flatto) Date: Mon, 27 Sep 2010 17:11:32 +0100 Subject: can't get host to display in Host Detail panel In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> Message-ID: <4CA0C234.7050302@flatto.net> On 27/09/10 16:52, Jonathan Wiggins wrote: > any thoughts? I'm still struggling to resolve this.. > > >> HI Assaf. >> >> Thanks for replying to my email >> >> this is the output of the command >> >> $ ./check_users -w 5 -c 10 >> *USERS OK - 1 users currently logged in |users=1;5;10;0* >> >> did you run the check with the FULL path as it is specified in the nrpe definition ? -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 cyruspy at gmail.com Mon Sep 27 17:34:32 2010 From: cyruspy at gmail.com (Ciro Iriarte) Date: Mon, 27 Sep 2010 11:34:32 -0400 Subject: Alleviating Nagios i/o contention problem In-Reply-To: References: Message-ID: 2010/9/25 Frost, Mark {PBC} : > Greetings, listers, > > We've got an on-going issue with i/o contention.? There's the obvious > problem that we've got a whole lot of things all writing to the same > partition.? In this case, there's just one big chunk of RAID 5 disk on a > single controller so I don't believe that making more partitions is going to > help. > > On this same partition we have: > > 1) Nagios 3.2.1 running as the central/reporting server for a couple of > other Nagios nodes that are sending check results via NSCA.? Approximately > 6-7K checks. > > 2) pnp4nagios 0.6.2 (with rrd 1.4.2) writing graph data. > > There's a 2nd server configured identically to the first that's acting as a > "hot spare" so it also receives check data from the 2 distributed nodes and > writes its own copy of the graph data locally as well. > > At the moment I'm concerned about the graphdata, but because I can only see > i/o utilization as an aggregate, I can't tell what is the worst component on > that filesystem -- status.dat updates?? graph data?? writes to the var/spool > directory?? We also look at continued growth so this is only going to get > worse. > > These systems are quite lightly loaded from a CPU (2 dual-core CPUs) and > memory (4GB) perspective, but the i/o to the nagios filesystem is queuing > now. > > We're about to order new hardware for these servers and I want to make a > reasonable choice.? I'd like to make some reasonable changes without > requiring too exotic of a setup.? I believe these servers are currently Dell > 2950s and they're all running Suse Linux 10.3 SP2. > > My first thought was to potentially move the graphs to a NAS share which > would shift that i/o to the network.? I don't know how that would work > though and it would ultimately be an experiment. > > What experiences do people out there have handling this kind of i/o and what > have you done to ease it? > > > Thanks very much! > > Mark > Depending on the kernel version used, you could use iotop to check what processes are the top I/O consumers... Regards, -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwiggins at salon.com Mon Sep 27 19:37:09 2010 From: jwiggins at salon.com (Jonathan Wiggins) Date: Mon, 27 Sep 2010 10:37:09 -0700 Subject: can't get host to display in Host Detail panel In-Reply-To: <4CA0C234.7050302@flatto.net> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> Message-ID: on the Nagios server, I didn't see the event handler, "check_users", I only saw a "check_local_users" in the commands.cfg file. Perhaps that's incorrect. But, on the machine that is missing in the host panel, in nrpe.cfg there is this definition defined: command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10 However, I can only successfully run that above command on the Nagios server: bash-3.1# /usr/local/nagios/libexec/check_users -w 5 -c 10 USERS OK - 1 users currently logged in |users=1;5;10;0 Sorry for my confusion, am I to run that event handler against the missing host, or on the Nagios server. It only works from the Nagios server, as that's where the plugins are located. On Sep 27, 2010, at 9:11 AM, Assaf Flatto wrote: > On 27/09/10 16:52, Jonathan Wiggins wrote: >> >> any thoughts? I'm still struggling to resolve this.. >> >> >>> HI Assaf. >>> >>> Thanks for replying to my email >>> >>> this is the output of the command >>> >>> $ ./check_users -w 5 -c 10 >>> USERS OK - 1 users currently logged in |users=1;5;10;0 >>> >>> > > did you run the check with the FULL path as it is specified in the nrpe definition ? > > > > -- > Never,Ever Cut A Deal With a Dragon > > > Next year I will be doing the London to Paris bike ride to > raise money for the DogTrust (www.dogstrust.co.uk) . > Please Sponsor me at http://www.justgiving.com/Assaf-Flatto > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Tue Sep 28 08:30:39 2010 From: it.toonz at gmail.com (IT Toonz) Date: Tue, 28 Sep 2010 12:00:39 +0530 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <4CA0C234.7050302@flatto.net> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> Message-ID: <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> 2 queries.... Please see the two reports!! How can we rectify this error? FTP server is not down, please see the times of checking.. What is telling Nagios, FTP srv is down? Please advice. Nagios-FTPSrv.JPGNagios-FTPSrv2.JPG # Define a service to check host alive the remote machine define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Check FTP Service check_command check_ftp! } Please see the below config, we want to see the free disk space in home directory. But seems it's not working # Define a service to check the disk space of the home partition define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Home Partition check_command check_local_disk!20%!10%!/home } We are using FAN 2.0 NagiosR 3.0.6 Thanks and regards Anth. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 49775 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 18904 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 bram at openminds.be Tue Sep 28 10:16:24 2010 From: bram at openminds.be (Bram Gillemon) Date: Tue, 28 Sep 2010 10:16:24 +0200 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> Message-ID: <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> Does the server reply to ping checks? As far as i know the server show "up" if the server reply's to pings. Kr, Bram Gillemon On 28 Sep 2010, at 08:30, IT Toonz wrote: > 2 queries.... > > Please see the two reports!! How can we rectify this error? FTP server is not down, please see the times of checking.. > > What is telling Nagios, FTP srv is down? Please advice. > > > > # Define a service to check host alive the remote machine > > define service{ > use local-service ; Name of service template to use > host_name ftpsrv > service_description Check FTP Service > check_command check_ftp! > } > > Please see the below config, we want to see the free disk space in home directory. But seems it?s not working > > > # Define a service to check the disk space of the home partition > > define service{ > use local-service ; Name of service template to use > host_name ftpsrv > service_description Home Partition > check_command check_local_disk!20%!10%!/home > } > > > > We are using FAN 2.0 Nagios? 3.0.6 > > Thanks and regards > Anth. > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Tue Sep 28 10:52:37 2010 From: it.toonz at gmail.com (IT Toonz) Date: Tue, 28 Sep 2010 14:22:37 +0530 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> Message-ID: <4ca1aef0.2104720a.07e3.ffffba9f@mx.google.com> Thanks Bram for the reply. Ping is not working. It should. Will check and post. But Nagios is able to get the other values, as is obvious from the attached images in the previous mail. Regards Anth. From: Bram Gillemon [mailto:bram at openminds.be] Sent: 28 September 2010 13:46 To: Nagios Users List Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! Does the server reply to ping checks? As far as i know the server show "up" if the server reply's to pings. Kr, Bram Gillemon On 28 Sep 2010, at 08:30, IT Toonz wrote: 2 queries.... Please see the two reports!! How can we rectify this error? FTP server is not down, please see the times of checking.. What is telling Nagios, FTP srv is down? Please advice. # Define a service to check host alive the remote machine define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Check FTP Service check_command check_ftp! } Please see the below config, we want to see the free disk space in home directory. But seems it's not working # Define a service to check the disk space of the home partition define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Home Partition check_command check_local_disk!20%!10%!/home } We are using FAN 2.0 NagiosR 3.0.6 Thanks and regards Anth. ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev________________________________________ _______ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 brian.omahony at curamsoftware.com Tue Sep 28 11:17:53 2010 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Tue, 28 Sep 2010 10:17:53 +0100 Subject: Over-riding a check in HOSTGROUP In-Reply-To: References: <86E8DA9E18BC2344BD0218BF23C88DF301434C864C52@MAIL06.curamsoftware.com> Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF301434C8E49D4@MAIL06.curamsoftware.com> Does anyone know if there is any way to do this from inside centreon? From: Rutger Blom [mailto:rutger at blokje.net] Sent: Monday, September 27, 2010 2:01 PM To: Nagios Users List Subject: Re: [Nagios-users] Over-riding a check in HOSTGROUP In the service definition add a line under "hostgroup_name": "host_name !zlinux_hostname" This will exclude the zlinux host from the service check. Rutger On Mon, Sep 27, 2010 at 1:09 PM, Brian O'Mahony > wrote: Im using Centreon 2.19, which uses Nagios 3.2.1 I have set up a hostgroup for all various types of Linux servers. All these checks work fine, with the exception of check_mem on zlinux. For all the other Linux systems (Debian, RH, CentOS) it returns back a value of memory ? eg OK - RAM usage is at 97.1500% However the zlinux systems report CRITICAL - 771 MB (11%) Free Memory I want to override the hostgroup check, so I created a check on the actual host. This test works fine, from the cli, however in the webpage, it still does the hostgroup check. The centreon forum was under the impression host checks over-rode hostgroup checks, but it doesn?t seem to be working for me? Regards B The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Tue Sep 28 11:23:03 2010 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 28 Sep 2010 10:23:03 +0100 Subject: can't get host to display in Host Detail panel In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> Message-ID: <4CA1B3F7.2070606@flatto.net> Jonathan , lets take this from the top . You are trying to test on a remote server the amount of logged in users - that is done via nrpe . To test that is working you need to follow 3 major steps 1) make sure NRPE is installed and running on the remote machine . And accepting connections from the main nagios server * 2) make sure you have the nagios plugins installed on the remote machine .* 3) make sure the nrpe commands definitions point to the correct location of the plugins . once you followed the first 2 steps , you can test to see if the nrpe works by issuing the following command on the nagios server "/usr/local/nagios/libexec/check_nrpe -H -c check_users " If every thing is working - you should get the OK or any other result matching your criteria . If you get an error - about can not execute the command - log on to the remote host and recheck step 3. * read relevant documentation on http://www.nagios.org Assaf On 27/09/10 18:37, Jonathan Wiggins wrote: > on the Nagios server, I didn't see the event handler, "check_users", I > only saw a "check_local_users" in the commands.cfg file. Perhaps > that's incorrect. > > But, on the machine that is missing in the host panel, in nrpe.cfg > there is this definition defined: > *command[check_users]=/usr/lib64/nagios/plugins/check_users -w 5 -c 10* > > However, I can only successfully run that above command on the Nagios > server: > > *bash-3.1# /usr/local/nagios/libexec/check_users -w 5 -c 10* > *USERS OK - 1 users currently logged in |users=1;5;10;0* > > Sorry for my confusion, am I to run that event handler against the > missing host, or on the Nagios server. It only works from the Nagios > server, as that's where the plugins are located. > > On Sep 27, 2010, at 9:11 AM, Assaf Flatto wrote: > -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Tue Sep 28 11:28:27 2010 From: nagios at flatto.net (Assaf Flatto) Date: Tue, 28 Sep 2010 10:28:27 +0100 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <4ca1aef0.2104720a.07e3.ffffba9f@mx.google.com> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> <4ca1aef0.2104720a.07e3.ffffba9f@mx.google.com> Message-ID: <4CA1B53B.6030203@flatto.net> On 28/09/10 09:52, IT Toonz wrote: > > Thanks Bram for the reply. > > Ping is not working. It should. Will check and post. > > But Nagios is able to get the other values, as is obvious from the > attached images in the previous mail. > > Regards > > Anth. > > From the looks of it you are using the default "check_host_alive" check for the host - this is a fancy name for a ping check done for the host . the other checks are using other TCP ports and protocols that your host/firewall allows and hence you get the "UP" for them . If you had set a dependency of check_host_alive -> all services on host , then once the host "failed" all the checks on the server would stop and turn critical too. Assaf -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 pete at stuff-done.co.uk Tue Sep 28 11:19:14 2010 From: pete at stuff-done.co.uk (Pete Dewell) Date: Tue, 28 Sep 2010 10:19:14 +0100 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> Message-ID: <4CA1B312.80102@stuff-done.co.uk> The host up/down status will be defined by the check_command in the host definition. What is this set to ? I would guess that it's been set to check something that the host doesn't repond to. P On 28/09/2010 09:16, Bram Gillemon wrote: > Does the server reply to ping checks? > > As far as i know the server show "up" if the server reply's to pings. > > Kr, > Bram Gillemon > > On 28 Sep 2010, at 08:30, IT Toonz wrote: > >> 2 queries.... >> >> Please see the two reports!! How can we rectify this error? FTP server is not down, please see the times of checking.. >> >> What is telling Nagios, FTP srv is down? Please advice. >> >> >> >> # Define a service to check host alive the remote machine >> >> define service{ >> use local-service ; Name of service template to use >> host_name ftpsrv >> service_description Check FTP Service >> check_command check_ftp! >> } >> >> Please see the below config, we want to see the free disk space in home directory. But seems it?s not working >> >> >> # Define a service to check the disk space of the home partition >> >> define service{ >> use local-service ; Name of service template to use >> host_name ftpsrv >> service_description Home Partition >> check_command check_local_disk!20%!10%!/home >> } >> >> >> >> We are using FAN 2.0 Nagios? 3.0.6 >> >> Thanks and regards >> Anth. >> >> >> ------------------------------------------------------------------------------ >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dehne at tfd.uni-hannover.de Tue Sep 28 11:53:33 2010 From: dehne at tfd.uni-hannover.de (Simon Dehne) Date: Tue, 28 Sep 2010 11:53:33 +0200 Subject: Skip certain hosts in a hostgroup when defining services for hostgroups? Message-ID: <1285667613.10839.3.camel@admins> Hi guys, I have certain services that are checked for hostgroups, for example an HD check. There are 12 PCs in that host group, and I'm checking available space on two HDs for each PC. There is one PC in that group however, that has only ONE HD instead of two. My config looks like this: define service { hostgroup_name linux-pool service_description DISKSPACE home_local check_command check_nrpe!check_home use generic-service } define service { hostgroup_name linux-pool service_description DISKSPACE work_local check_command check_nrpe!check_work use generic-service } Where check_home and check_work are the commands, with which HD space is checked (check_disk .. /sda1 and check_disk .../sda2). Is there a simple way to exclude that one PC from the check instead of having to define these checks for each PC in that group individually? -- Simon Dehne Institut f?r Turbomaschinen und Fluid-Dynamik (TFD) Gottfried Wilhelm Leibniz Universit?t Hannover Appelstr. 9 30167 Hannover Tel.: +49 511/762-2753 web: http://www.tfd.uni-hannover.de eMail: dehne at tfd.uni-hannover.de ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 28 12:02:13 2010 From: rutger at blokje.net (Rutger Blom) Date: Tue, 28 Sep 2010 12:02:13 +0200 Subject: Skip certain hosts in a hostgroup when defining services for hostgroups? In-Reply-To: <1285667613.10839.3.camel@admins> References: <1285667613.10839.3.camel@admins> Message-ID: Just add a line to the service definition: "host_name !*yourhost*" to exclude it from the check. Rutger 2010/9/28 Simon Dehne > Hi guys, > I have certain services that are checked for hostgroups, for example an > HD check. There are 12 PCs in that host group, and I'm checking > available space on two HDs for each PC. > There is one PC in that group however, that has only ONE HD instead of > two. > > My config looks like this: > > define service { > hostgroup_name linux-pool > service_description DISKSPACE home_local > check_command check_nrpe!check_home > use generic-service > } > > define service { > hostgroup_name linux-pool > service_description DISKSPACE work_local > check_command check_nrpe!check_work > use generic-service > } > > Where check_home and check_work are the commands, with which HD space is > checked (check_disk .. /sda1 and check_disk .../sda2). > > Is there a simple way to exclude that one PC from the check instead of > having to define these checks for each PC in that group individually? > -- > Simon Dehne > > Institut f?r Turbomaschinen und Fluid-Dynamik (TFD) > Gottfried Wilhelm Leibniz Universit?t Hannover > Appelstr. 9 > 30167 Hannover > > Tel.: +49 511/762-2753 > web: http://www.tfd.uni-hannover.de > eMail: dehne at tfd.uni-hannover.de > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Mess -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Tue Sep 28 12:00:20 2010 From: it.toonz at gmail.com (IT Toonz) Date: Tue, 28 Sep 2010 15:30:20 +0530 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <4CA1B312.80102@stuff-done.co.uk> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> <4CA1B312.80102@stuff-done.co.uk> Message-ID: <4ca1becf.17bb720a.7ad0.ffffbd71@mx.google.com> Check_command is set to check_ftp and that is shown as UP, can't figure out why Nagios is showing ftp server as DOWN!! Please see the configuration file below. # Define a service to check host alive the remote machine define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Check FTP Service check_command check_ftp! } To which service check can we change to, so that Nagios doesn't show an UP server as DOWN. Regards Anth. -----Original Message----- From: Pete Dewell [mailto:pete at stuff-done.co.uk] Sent: 28 September 2010 14:49 To: Nagios Users List Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! The host up/down status will be defined by the check_command in the host definition. What is this set to ? I would guess that it's been set to check something that the host doesn't repond to. P On 28/09/2010 09:16, Bram Gillemon wrote: > Does the server reply to ping checks? > > As far as i know the server show "up" if the server reply's to pings. > > Kr, > Bram Gillemon > > On 28 Sep 2010, at 08:30, IT Toonz wrote: > >> 2 queries.... >> >> Please see the two reports!! How can we rectify this error? FTP server is not down, please see the times of checking.. >> >> What is telling Nagios, FTP srv is down? Please advice. >> >> >> >> # Define a service to check host alive the remote machine >> >> define service{ >> use local-service ; Name of service template to use >> host_name ftpsrv >> service_description Check FTP Service >> check_command check_ftp! >> } >> >> Please see the below config, we want to see the free disk space in home directory. But seems it's not working >> >> >> # Define a service to check the disk space of the home partition >> >> define service{ >> use local-service ; Name of service template to use >> host_name ftpsrv >> service_description Home Partition >> check_command check_local_disk!20%!10%!/home >> } >> >> >> >> We are using FAN 2.0 NagiosR 3.0.6 >> >> Thanks and regards >> Anth. >> >> >> ---------------------------------------------------------------------------- -- >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev________________________________________ _______ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > > > ---------------------------------------------------------------------------- -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Pete Dewell | Stuff Done pete at stuff-done.co.uk ** The information contained in this message, including any attachment, is confidential and may be privileged or otherwise protected from disclosure. The information is intended only for the person or entity to which it is addressed. If you are not the intended recipient, please contact the sender and delete this message from your system. Any review, re-transmission, distribution or other use of this information by persons or entities other than the intended recipient is prohibited. * ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 28 12:16:56 2010 From: benny at bennyvision.com (C. Bensend) Date: Tue, 28 Sep 2010 05:16:56 -0500 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <4ca1becf.17bb720a.7ad0.ffffbd71@mx.google.com> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> <4CA1B312.80102@stuff-done.co.uk> <4ca1becf.17bb720a.7ad0.ffffbd71@mx.google.com> Message-ID: The check_command in the *host* definition, not the service definition. Is this a Windows 2008 FTP server? If so, Win2008 disables pings out of the box, and a custom rule must be added to the Windows Firewall to allow ICMP ECHOREQ. Or use a check_command that would indeed show the correct status of the host. Do *not* blindly disable the Windows Firewall to "fix" this, if this is what's going on. Benny > Check_command is set to check_ftp and that is shown as UP, can't figure > out > why Nagios is showing ftp server as DOWN!! > > Please see the configuration file below. > > # Define a service to check host alive the remote machine > > define service{ > use local-service ; Name of > service template to use > host_name ftpsrv > service_description Check FTP Service > check_command check_ftp! > } > > To which service check can we change to, so that Nagios doesn't show an UP > server as DOWN. > > Regards > Anth. > > > > -----Original Message----- > From: Pete Dewell [mailto:pete at stuff-done.co.uk] > Sent: 28 September 2010 14:49 > To: Nagios Users List > Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says > DOWN! > > The host up/down status will be defined by the check_command in the host > definition. > > What is this set to ? I would guess that it's been set to check > something that the host doesn't repond to. > > P > > On 28/09/2010 09:16, Bram Gillemon wrote: >> Does the server reply to ping checks? >> >> As far as i know the server show "up" if the server reply's to pings. >> >> Kr, >> Bram Gillemon >> >> On 28 Sep 2010, at 08:30, IT Toonz wrote: >> >>> 2 queries.... >>> >>> Please see the two reports!! How can we rectify this error? FTP server >>> is > not down, please see the times of checking.. >>> >>> What is telling Nagios, FTP srv is down? Please advice. >>> >>> >>> >>> # Define a service to check host alive the remote machine >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Check FTP Service >>> check_command check_ftp! >>> } >>> >>> Please see the below config, we want to see the free disk space in home > directory. But seems it's not working >>> >>> >>> # Define a service to check the disk space of the home partition >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Home Partition >>> check_command check_local_disk!20%!10%!/home >>> } >>> >>> >>> >>> We are using FAN 2.0 NagiosR 3.0.6 >>> >>> Thanks and regards >>> Anth. >>> >>> >>> > ---------------------------------------------------------------------------- > -- >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> > http://p.sf.net/sfu/novell-sfdev2dev________________________________________ > _______ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> > ---------------------------------------------------------------------------- > -- >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > -- > > Pete Dewell | Stuff Done > pete at stuff-done.co.uk > > > ** The information contained in this message, including any > attachment, is confidential and may be privileged or otherwise > protected from disclosure. The information is intended only for the > person or entity to which it is addressed. If you are not the intended > recipient, please contact the sender and delete this message from your > system. Any review, re-transmission, distribution or other use of this > information by persons or entities other than the intended recipient > is prohibited. * > > ---------------------------------------------------------------------------- > -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Tue Sep 28 12:23:31 2010 From: it.toonz at gmail.com (IT Toonz) Date: Tue, 28 Sep 2010 15:53:31 +0530 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <4CA1B53B.6030203@flatto.net> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> <4ca1aef0.2104720a.07e3.ffffba9f@mx.google.com> <4CA1B53B.6030203@flatto.net> Message-ID: <4ca1c43e.14b98e0a.50f7.ffffafb7@mx.google.com> Please see the config file below, for host alive check we are using check_ftp service. # Define a service to check host alive the remote machine define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Check FTP Service check_command check_ftp! } Service check shows UP! But overall Nagios says ftp server is down! Can't figure out why it is so? From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 28 September 2010 14:58 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! On 28/09/10 09:52, IT Toonz wrote: Thanks Bram for the reply. Ping is not working. It should. Will check and post. But Nagios is able to get the other values, as is obvious from the attached images in the previous mail. Regards Anth. >From the looks of it you are using the default "check_host_alive" check for the host - this is a fancy name for a ping check done for the host . the other checks are using other TCP ports and protocols that your host/firewall allows and hence you get the "UP" for them . If you had set a dependency of check_host_alive -> all services on host , then once the host "failed" all the checks on the server would stop and turn critical too. Assaf -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Tue Sep 28 12:57:47 2010 From: it.toonz at gmail.com (IT Toonz) Date: Tue, 28 Sep 2010 16:27:47 +0530 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> <4CA1B312.80102@stuff-done.co.uk> <4ca1becf.17bb720a.7ad0.ffffbd71@mx.google.com> Message-ID: <4ca1cc47.10de8e0a.3cac.ffffacb0@mx.google.com> Its a linux Server. We used check_ftp and it returns up, this value was used to show FTP server as up, instead of ping, but still showing as DOWN!! Is there any other way to show FTP server as UP from some other values status? -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: 28 September 2010 15:47 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! The check_command in the *host* definition, not the service definition. Is this a Windows 2008 FTP server? If so, Win2008 disables pings out of the box, and a custom rule must be added to the Windows Firewall to allow ICMP ECHOREQ. Or use a check_command that would indeed show the correct status of the host. Do *not* blindly disable the Windows Firewall to "fix" this, if this is what's going on. Benny > Check_command is set to check_ftp and that is shown as UP, can't figure > out > why Nagios is showing ftp server as DOWN!! > > Please see the configuration file below. > > # Define a service to check host alive the remote machine > > define service{ > use local-service ; Name of > service template to use > host_name ftpsrv > service_description Check FTP Service > check_command check_ftp! > } > > To which service check can we change to, so that Nagios doesn't show an UP > server as DOWN. > > Regards > Anth. > > > > -----Original Message----- > From: Pete Dewell [mailto:pete at stuff-done.co.uk] > Sent: 28 September 2010 14:49 > To: Nagios Users List > Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says > DOWN! > > The host up/down status will be defined by the check_command in the host > definition. > > What is this set to ? I would guess that it's been set to check > something that the host doesn't repond to. > > P > > On 28/09/2010 09:16, Bram Gillemon wrote: >> Does the server reply to ping checks? >> >> As far as i know the server show "up" if the server reply's to pings. >> >> Kr, >> Bram Gillemon >> >> On 28 Sep 2010, at 08:30, IT Toonz wrote: >> >>> 2 queries.... >>> >>> Please see the two reports!! How can we rectify this error? FTP server >>> is > not down, please see the times of checking.. >>> >>> What is telling Nagios, FTP srv is down? Please advice. >>> >>> >>> >>> # Define a service to check host alive the remote machine >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Check FTP Service >>> check_command check_ftp! >>> } >>> >>> Please see the below config, we want to see the free disk space in home > directory. But seems it's not working >>> >>> >>> # Define a service to check the disk space of the home partition >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Home Partition >>> check_command check_local_disk!20%!10%!/home >>> } >>> >>> >>> >>> We are using FAN 2.0 NagiosR 3.0.6 >>> >>> Thanks and regards >>> Anth. >>> >>> >>> > ---------------------------------------------------------------------------- > -- >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> > http://p.sf.net/sfu/novell-sfdev2dev________________________________________ > _______ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> > ---------------------------------------------------------------------------- > -- >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > -- > > Pete Dewell | Stuff Done > pete at stuff-done.co.uk > > > ** The information contained in this message, including any > attachment, is confidential and may be privileged or otherwise > protected from disclosure. The information is intended only for the > person or entity to which it is addressed. If you are not the intended > recipient, please contact the sender and delete this message from your > system. Any review, re-transmission, distribution or other use of this > information by persons or entities other than the intended recipient > is prohibited. * > > ---------------------------------------------------------------------------- > -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ---------------------------------------------------------------------------- -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bram at openminds.be Tue Sep 28 13:13:46 2010 From: bram at openminds.be (Bram Gillemon) Date: Tue, 28 Sep 2010 13:13:46 +0200 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <4ca1c43e.14b98e0a.50f7.ffffafb7@mx.google.com> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> <4ca1aef0.2104720a.07e3.ffffba9f@mx.google.com> <4CA1B53B.6030203@flatto.net> <4ca1c43e.14b98e0a.50f7.ffffafb7@mx.google.com> Message-ID: <22CC227B-55DA-41B8-9089-442578B3BF71@openminds.be> You'll have to search for something like this define host{ use generic-om-host ; Name of host template to use name generic-server check_command check-host-alive register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } The check command that is defined here is what mathers. On 28 Sep 2010, at 12:23, IT Toonz wrote: > > Please see the config file below, for host alive check we are using check_ftp service. > > > # Define a service to check host alive the remote machine > > define service{ > use local-service ; Name of service template to use > host_name ftpsrv > service_description Check FTP Service > check_command check_ftp! > } > > Service check shows UP! But overall Nagios says ftp server is down! > > Can?t figure out why it is so? > > > > > > > From: Assaf Flatto [mailto:nagios at flatto.net] > Sent: 28 September 2010 14:58 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! > > On 28/09/10 09:52, IT Toonz wrote: > Thanks Bram for the reply. > > Ping is not working. It should. Will check and post. > > But Nagios is able to get the other values, as is obvious from the attached images in the previous mail. > > Regards > Anth. > > > > From the looks of it you are using the default "check_host_alive" check for the host - this is a fancy name for a ping check done for the host . > > the other checks are using other TCP ports and protocols that your host/firewall allows and hence you get the "UP" for them . > > If you had set a dependency of check_host_alive -> all services on host , then once the host "failed" all the checks on the server would stop and turn critical too. > > Assaf > > -- > Never,Ever Cut A Deal With a Dragon > > > Next year I will be doing the London to Paris bike ride to > raise money for the DogTrust (www.dogstrust.co.uk) . > Please Sponsor me at http://www.justgiving.com/Assaf-Flatto > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 dehne at tfd.uni-hannover.de Tue Sep 28 13:28:55 2010 From: dehne at tfd.uni-hannover.de (Simon Dehne) Date: Tue, 28 Sep 2010 13:28:55 +0200 Subject: Skip certain hosts in a hostgroup when defining services for hostgroups? In-Reply-To: References: <1285667613.10839.3.camel@admins> Message-ID: <1285673335.7966.1.camel@linux-a3uv.site> Ah great, thanks a lot! Simon Am Dienstag, den 28.09.2010, 12:02 +0200 schrieb Rutger Blom: > Just add a line to the service definition: > > > "host_name !yourhost" > > > to exclude it from the check. > > > Rutger > > 2010/9/28 Simon Dehne > Hi guys, > I have certain services that are checked for hostgroups, for > example an > HD check. There are 12 PCs in that host group, and I'm > checking > available space on two HDs for each PC. > There is one PC in that group however, that has only ONE HD > instead of > two. > > My config looks like this: > > define service { > hostgroup_name linux-pool > service_description DISKSPACE home_local > check_command check_nrpe!check_home > use generic-service > } > > define service { > hostgroup_name linux-pool > service_description DISKSPACE work_local > check_command check_nrpe!check_work > use generic-service > } > > Where check_home and check_work are the commands, with which > HD space is > checked (check_disk .. /sda1 and check_disk .../sda2). > > Is there a simple way to exclude that one PC from the check > instead of > having to define these checks for each PC in that group > individually? > -- > Simon Dehne > > Institut f?r Turbomaschinen und Fluid-Dynamik (TFD) > Gottfried Wilhelm Leibniz Universit?t Hannover > Appelstr. 9 > 30167 Hannover > > Tel.: +49 511/762-2753 > web: http://www.tfd.uni-hannover.de > eMail: dehne at tfd.uni-hannover.de > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Mess > > ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerald.Ortner at gespag.at Tue Sep 28 13:50:44 2010 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Tue, 28 Sep 2010 13:50:44 +0200 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <4ca1cc47.10de8e0a.3cac.ffffacb0@mx.google.com> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> <4CA1B312.80102@stuff-done.co.uk> <4ca1becf.17bb720a.7ad0.ffffbd71@mx.google.com> <4ca1cc47.10de8e0a.3cac.ffffacb0@mx.google.com> Message-ID: <13579FFE8B208F4DBA327EE25F804AAB9B8C35FB@swvbpheaglxmb02.health.local> You've configured a service check not the host check: http://nagios.sourceforge.net/docs/3_0/hostchecks.html http://nagios.sourceforge.net/docs/3_0/servicechecks.html http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host I would recommend to read the manual first, to get a basic knowledge of how Nagios works. -----Urspr?ngliche Nachricht----- Von: IT Toonz [mailto:it.toonz at gmail.com] Gesendet: Dienstag, 28. September 2010 12:58 An: 'Nagios Users List' Betreff: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! Its a linux Server. We used check_ftp and it returns up, this value was used to show FTP server as up, instead of ping, but still showing as DOWN!! Is there any other way to show FTP server as UP from some other values status? -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: 28 September 2010 15:47 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! The check_command in the *host* definition, not the service definition. Is this a Windows 2008 FTP server? If so, Win2008 disables pings out of the box, and a custom rule must be added to the Windows Firewall to allow ICMP ECHOREQ. Or use a check_command that would indeed show the correct status of the host. Do *not* blindly disable the Windows Firewall to "fix" this, if this is what's going on. Benny > Check_command is set to check_ftp and that is shown as UP, can't figure > out > why Nagios is showing ftp server as DOWN!! > > Please see the configuration file below. > > # Define a service to check host alive the remote machine > > define service{ > use local-service ; Name of > service template to use > host_name ftpsrv > service_description Check FTP Service > check_command check_ftp! > } > > To which service check can we change to, so that Nagios doesn't show an UP > server as DOWN. > > Regards > Anth. > > > > -----Original Message----- > From: Pete Dewell [mailto:pete at stuff-done.co.uk] > Sent: 28 September 2010 14:49 > To: Nagios Users List > Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says > DOWN! > > The host up/down status will be defined by the check_command in the host > definition. > > What is this set to ? I would guess that it's been set to check > something that the host doesn't repond to. > > P > > On 28/09/2010 09:16, Bram Gillemon wrote: >> Does the server reply to ping checks? >> >> As far as i know the server show "up" if the server reply's to pings. >> >> Kr, >> Bram Gillemon >> >> On 28 Sep 2010, at 08:30, IT Toonz wrote: >> >>> 2 queries.... >>> >>> Please see the two reports!! How can we rectify this error? FTP server >>> is > not down, please see the times of checking.. >>> >>> What is telling Nagios, FTP srv is down? Please advice. >>> >>> >>> >>> # Define a service to check host alive the remote machine >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Check FTP Service >>> check_command check_ftp! >>> } >>> >>> Please see the below config, we want to see the free disk space in home > directory. But seems it's not working >>> >>> >>> # Define a service to check the disk space of the home partition >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Home Partition >>> check_command check_local_disk!20%!10%!/home >>> } >>> >>> >>> >>> We are using FAN 2.0 NagiosR 3.0.6 >>> >>> Thanks and regards >>> Anth. >>> >>> >>> > ---------------------------------------------------------------------------- > -- >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> > http://p.sf.net/sfu/novell-sfdev2dev________________________________________ > _______ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> > ---------------------------------------------------------------------------- > -- >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > -- > > Pete Dewell | Stuff Done > pete at stuff-done.co.uk > > > ** The information contained in this message, including any > attachment, is confidential and may be privileged or otherwise > protected from disclosure. The information is intended only for the > person or entity to which it is addressed. If you are not the intended > recipient, please contact the sender and delete this message from your > system. Any review, re-transmission, distribution or other use of this > information by persons or entities other than the intended recipient > is prohibited. * > > ---------------------------------------------------------------------------- > -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ---------------------------------------------------------------------------- -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From it.toonz at gmail.com Tue Sep 28 13:42:47 2010 From: it.toonz at gmail.com (IT Toonz) Date: Tue, 28 Sep 2010 17:12:47 +0530 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <22CC227B-55DA-41B8-9089-442578B3BF71@openminds.be> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> <4ca1aef0.2104720a.07e3.ffffba9f@mx.google.com> <4CA1B53B.6030203@flatto.net> <4ca1c43e.14b98e0a.50f7.ffffafb7@mx.google.com> <22CC227B-55DA-41B8-9089-442578B3BF71@openminds.be> Message-ID: <4ca1d6d3.2a3f8e0a.76d0.ffffbe86@mx.google.com> Thank you Bram... Rectified the mistake.. now it OK. J Thanks to all... J From: Bram Gillemon [mailto:bram at openminds.be] Sent: 28 September 2010 16:44 To: Nagios Users List Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! You'll have to search for something like this define host{ use generic-om-host ; Name of host template to use name generic-server check_command check-host-alive register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } The check command that is defined here is what mathers. On 28 Sep 2010, at 12:23, IT Toonz wrote: Please see the config file below, for host alive check we are using check_ftp service. # Define a service to check host alive the remote machine define service{ use local-service ; Name of service template to use host_name ftpsrv service_description Check FTP Service check_command check_ftp! } Service check shows UP! But overall Nagios says ftp server is down! Can't figure out why it is so? From: Assaf Flatto [mailto:nagios at flatto.net] Sent: 28 September 2010 14:58 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! On 28/09/10 09:52, IT Toonz wrote: Thanks Bram for the reply. Ping is not working. It should. Will check and post. But Nagios is able to get the other values, as is obvious from the attached images in the previous mail. Regards Anth. >From the looks of it you are using the default "check_host_alive" check for the host - this is a fancy name for a ping check done for the host . the other checks are using other TCP ports and protocols that your host/firewall allows and hence you get the "UP" for them . If you had set a dependency of check_host_alive -> all services on host , then once the host "failed" all the checks on the server would stop and turn critical too. Assaf -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev________________________________________ _______ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 it.toonz at gmail.com Tue Sep 28 14:21:26 2010 From: it.toonz at gmail.com (IT Toonz) Date: Tue, 28 Sep 2010 17:51:26 +0530 Subject: FTP Server is shown alive, but Nagios says DOWN! In-Reply-To: <13579FFE8B208F4DBA327EE25F804AAB9B8C35FB@swvbpheaglxmb02.health.local> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4ca18dad.0265730a.278f.ffffa9cd@mx.google.com> <53A4C253-8E69-4C36-88DB-15F4918B80FA@openminds.be> <4CA1B312.80102@stuff-done.co.uk> <4ca1becf.17bb720a.7ad0.ffffbd71@mx.google.com> <4ca1cc47.10de8e0a.3cac.ffffacb0@mx.google.com> <13579FFE8B208F4DBA327EE25F804AAB9B8C35FB@swvbpheaglxmb02.health.local> Message-ID: <4ca1dfe2.03308e0a.07a7.ffffb3d0@mx.google.com> Thanks Gerald, We understand Nagios needs reading... will do as advised. :-) anth. -----Original Message----- From: Ortner, Gerald [mailto:Gerald.Ortner at gespag.at] Sent: 28 September 2010 17:21 To: Nagios Users List Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! You've configured a service check not the host check: http://nagios.sourceforge.net/docs/3_0/hostchecks.html http://nagios.sourceforge.net/docs/3_0/servicechecks.html http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host I would recommend to read the manual first, to get a basic knowledge of how Nagios works. -----Urspr?ngliche Nachricht----- Von: IT Toonz [mailto:it.toonz at gmail.com] Gesendet: Dienstag, 28. September 2010 12:58 An: 'Nagios Users List' Betreff: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! Its a linux Server. We used check_ftp and it returns up, this value was used to show FTP server as up, instead of ping, but still showing as DOWN!! Is there any other way to show FTP server as UP from some other values status? -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: 28 September 2010 15:47 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says DOWN! The check_command in the *host* definition, not the service definition. Is this a Windows 2008 FTP server? If so, Win2008 disables pings out of the box, and a custom rule must be added to the Windows Firewall to allow ICMP ECHOREQ. Or use a check_command that would indeed show the correct status of the host. Do *not* blindly disable the Windows Firewall to "fix" this, if this is what's going on. Benny > Check_command is set to check_ftp and that is shown as UP, can't figure > out > why Nagios is showing ftp server as DOWN!! > > Please see the configuration file below. > > # Define a service to check host alive the remote machine > > define service{ > use local-service ; Name of > service template to use > host_name ftpsrv > service_description Check FTP Service > check_command check_ftp! > } > > To which service check can we change to, so that Nagios doesn't show an UP > server as DOWN. > > Regards > Anth. > > > > -----Original Message----- > From: Pete Dewell [mailto:pete at stuff-done.co.uk] > Sent: 28 September 2010 14:49 > To: Nagios Users List > Subject: Re: [Nagios-users] FTP Server is shown alive, but Nagios says > DOWN! > > The host up/down status will be defined by the check_command in the host > definition. > > What is this set to ? I would guess that it's been set to check > something that the host doesn't repond to. > > P > > On 28/09/2010 09:16, Bram Gillemon wrote: >> Does the server reply to ping checks? >> >> As far as i know the server show "up" if the server reply's to pings. >> >> Kr, >> Bram Gillemon >> >> On 28 Sep 2010, at 08:30, IT Toonz wrote: >> >>> 2 queries.... >>> >>> Please see the two reports!! How can we rectify this error? FTP server >>> is > not down, please see the times of checking.. >>> >>> What is telling Nagios, FTP srv is down? Please advice. >>> >>> >>> >>> # Define a service to check host alive the remote machine >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Check FTP Service >>> check_command check_ftp! >>> } >>> >>> Please see the below config, we want to see the free disk space in home > directory. But seems it's not working >>> >>> >>> # Define a service to check the disk space of the home partition >>> >>> define service{ >>> use local-service ; Name >>> of > service template to use >>> host_name ftpsrv >>> service_description Home Partition >>> check_command check_local_disk!20%!10%!/home >>> } >>> >>> >>> >>> We are using FAN 2.0 NagiosR 3.0.6 >>> >>> Thanks and regards >>> Anth. >>> >>> >>> > ---------------------------------------------------------------------------- > -- >>> Start uncovering the many advantages of virtual appliances >>> and start using them to simplify application deployment and >>> accelerate your shift to cloud computing. >>> > http://p.sf.net/sfu/novell-sfdev2dev________________________________________ > _______ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> >> > ---------------------------------------------------------------------------- > -- >> Start uncovering the many advantages of virtual appliances >> and start using them to simplify application deployment and >> accelerate your shift to cloud computing. >> http://p.sf.net/sfu/novell-sfdev2dev >> >> >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > -- > > Pete Dewell | Stuff Done > pete at stuff-done.co.uk > > > ** The information contained in this message, including any > attachment, is confidential and may be privileged or otherwise > protected from disclosure. The information is intended only for the > person or entity to which it is addressed. If you are not the intended > recipient, please contact the sender and delete this message from your > system. Any review, re-transmission, distribution or other use of this > information by persons or entities other than the intended recipient > is prohibited. * > > ---------------------------------------------------------------------------- > -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ---------------------------------------------------------------------------- -- > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "Because you have arms like noodles, while I am vigorous and burly." -- Hodgins, "Bones" ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null OOe. Gesundheits- und Spitals-AG Techcenter, Hafenstrasse 47-51, 4020 Linz DVR 2107870, ATU 51928204, Firmenbuchgericht: Landesgericht Linz, FN 210146 p ---------------------------------------------------------------------------- -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 28 19:06:00 2010 From: a31modela at hotmail.com (steve f) Date: Tue, 28 Sep 2010 13:06:00 -0400 Subject: Question on Central Server / Hosts Ratio Message-ID: Hello, I am trying to get an idea of a central server to host ratio for a large Nagios 3.2 deployment I am working on. I anticipate having about 600 distributed servers , each responsible for 10-15 hosts ( including itself ) . I figure about 10 - 15 checks per host. All hosts are identical and all will have the same checks. Each central server would probably be a SuSE 11 VM server. Any rules of thumb for determining the number of hosts ? distributed server a central server can accommodate ? Can provide details as needed. Thanks in advance, Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 trm.nagios at gmail.com Tue Sep 28 19:18:25 2010 From: trm.nagios at gmail.com (trm asn) Date: Tue, 28 Sep 2010 22:48:25 +0530 Subject: How to monitor Windows Network Mapped Drive Message-ID: Dear List, I have a windows 2003 server , where I have mapped 5 network drives using a differs user(not as administrator) into that server . Now I wanted to monitor those drives( P,Q,R.......). But I am getting Status=UNKNOWN & Status Information=Free disk space : Invalid drive . But for C & D drive it's working perfectly . Is there any other way to monitor Mapped drive in windows using Nagios & Nsclient++ . /\ dE -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 jwiggins at salon.com Tue Sep 28 21:51:22 2010 From: jwiggins at salon.com (Jonathan Wiggins) Date: Tue, 28 Sep 2010 12:51:22 -0700 Subject: can't get host to display in Host Detail panel In-Reply-To: <4CA1B3F7.2070606@flatto.net> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4CA1B3F7.2070606@flatto.net> Message-ID: <02B80625-B645-4C15-A3CC-9D2679F206C2@salon.com> On Sep 28, 2010, at 2:23 AM, Assaf Flatto wrote: > Jonathan , lets take this from the top . > > You are trying to test on a remote server the amount of logged in users - that is done via nrpe . > To test that is working you need to follow 3 major steps > 1) make sure NRPE is installed and running on the remote machine . And accepting connections from the main nagios server * > 2) make sure you have the nagios plugins installed on the remote machine .* > 3) make sure the nrpe commands definitions point to the correct location of the plugins . > > > once you followed the first 2 steps , you can test to see if the nrpe works by issuing the following command on the nagios server > > "/usr/local/nagios/libexec/check_nrpe -H -c check_users " > > If every thing is working - you should get the OK or any other result matching your criteria . > > If you get an error - about can not execute the command - log on to the remote host and recheck step 3. > > > > > * read relevant documentation on http://www.nagios.org > > Assaf - thanks for your time and patience outlining those steps: I was able to at least get the connectivity between Nagios server and the monitored host to show a valid connection: /usr/local/nagios/libexec/check_nrpe -H 10.0.100.139 -c check_users USERS OK - 1 users currently logged in |users=1;5;10;0 there were a few things wrong on the monitoring server, or at least what I changed: * changed ownership of nrpe.cfg to nagios.nagios * modified xinetd.d/nrpe to show Nagios server IP as allowed connection I struggled with a few other things, and connection attempts, before I realized I hadn't restarted the nrpe service after modifying the xinetd.d/nrpe file. I did notice that the plugin location from another server is different than the one that is missing: /usr/lib64/nagios/plugins vs /usr/local/nagios/libexec/ (guess this has something to do with the way it was compiled) Guess I have to wait now a few mins before the host shows in the panel? as its not showing now even after 10 mins. Restarting xinetd shows this in /var/log/messages: xinetd[22518]: bind failed (Address already in use (errno = 98)). service = nrpe (is this a bug or anything in xinetd? I saw that referenced on a few other forums) nrpe service is running and listening though on 5666 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 andrew2 at one.net Tue Sep 28 21:57:07 2010 From: andrew2 at one.net (andrew2 at one.net) Date: Tue, 28 Sep 2010 15:57:07 -0400 Subject: I/O utilization & Xenserver Message-ID: <149C31C5B1FB4E598711C417D8020388@andrew2> Is anyone monitoring realtime or near-realtime (5 min averages?) i/o utilization in Citrix Xenserver pools using NFS volumes? Ideally I'd love to grab aggregrate data for each pool, but I'd even settle for per-node i/o utilization. I noticed that iostat is installed on Xenserver 5.6, so I would assume that it should be possible to shoehorn NRPE onto each node and whip up a quick little check script to grab some data from 'iostat -n' but surely there's a better way to do this... Andrew ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 28 22:23:15 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Tue, 28 Sep 2010 21:23:15 +0100 Subject: How to monitor Windows Network Mapped Drive In-Reply-To: References: Message-ID: On 28 September 2010 18:18, trm asn wrote: > Dear List, > > I have a windows 2003 server , where I have mapped 5 network drives using a > differs user(not as administrator) into that server . Now I wanted to > monitor those drives( P,Q,R.......).? But I am getting? Status=UNKNOWN & > Status Information=Free disk space : Invalid drive . But for C & D drive > it's working perfectly . > > Is there any other way to monitor Mapped drive in windows using Nagios & > Nsclient++ There are at least two ways to monitor drives using NSClient++ . One uses the check_nt plugin and the other uses check_nrpe. I expect you're using the former but might benefit from using the latter. See: http://nsclient.org/nscp/wiki/CheckDriveSize hth, Jim ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.graybeal at casanueva.com Wed Sep 29 00:38:12 2010 From: andy.graybeal at casanueva.com (Andy Graybeal) Date: Tue, 28 Sep 2010 18:38:12 -0400 Subject: nrpe and check_apcups newb problem Message-ID: <4CA26E54.1070404@casanueva.com> Greetings, I'm sure this is a newb problem, but I'm sorry I haven't been able to figure it out. I'm trying to monitor my APC UPS on a remote computer. My nagios website is saying this: APC CHARGE UNKNOWN 2010-09-28 18:22:02 7d 8h 2m 19s 4/4 (No output returned from plugin) APC LOAD UNKNOWN 2010-09-28 18:23:17 7d 8h 1m 4s 4/4 (No output returned from plugin) APC STATUS UNKNOWN 2010-09-28 18:24:32 7d 7h 59m 49s 4/4 (No output returned from plugin) APC TEMP UNKNOWN 2010-09-28 18:25:47 7d 7h 58m 34s 4/4 (No output returned from plugin) running the check_nrpe from the command line works great though: andy at nagios:/usr/lib/nagios/plugins$ ./check_nrpe -H 192.168.2.200 -c check_apcups_bcharge OK - Battery Charge: 100.0% andy at nagios:/usr/lib/nagios/plugins$ ./check_nrpe -H 192.168.2.200 -c check_apcups_loadpct OK - Load: 57.2% andy at nagios:/usr/lib/nagios/plugins$ ./check_nrpe -H 192.168.2.200 -c check_apcups_status ONLINE - STATUS : ONLINE andy at nagios:/usr/lib/nagios/plugins$ ./check_nrpe -H 192.168.2.200 -c check_apcups_itemp OK - Internal Temperature: 27.0 C andy at nagios:/usr/lib/nagios/plugins$ I think this shows that the NRPE client is configured correctly on the remote computer, and the nagios box is chatting correctly with the remote computer. How do I go about making this work? -Andy ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carl at carltm.com Wed Sep 29 01:03:37 2010 From: carl at carltm.com (Carl T. Miller) Date: Tue, 28 Sep 2010 19:03:37 -0400 Subject: Planning for a large deployment In-Reply-To: References: Message-ID: <9291ed084c675e7a0c0ed92cf42e6ccb.squirrel@www.carltm.com> Hi All, I've used Nagios for several years, and typically created a separate configuration for each host. I then figured out that templates are useful for defining the OS, location, and hours of service for hosts. Then when I added a server I just chose the template for OS, location and hours and just configured the name and IP. Over the weekend I set up a new system using NagiosQL for the configuration, and found that if I defined what I wanted for host groups and set host group membership in the templates, configurations didn't get inherited as I expected. This made me wonder if I'm taking the right approach. Has anyone successfully used templates or host groups (or both) to manage options such as timeperiods, services, locations, projects, etc.? I'd appreciate any links to documents I can read about this. c ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vagabond_king at yahoo.com Wed Sep 29 01:43:02 2010 From: vagabond_king at yahoo.com (Matthew J. Salerno) Date: Tue, 28 Sep 2010 19:43:02 -0400 Subject: I/O utilization & Xenserver In-Reply-To: <149C31C5B1FB4E598711C417D8020388@andrew2> References: <149C31C5B1FB4E598711C417D8020388@andrew2> Message-ID: <5d81fec9-f686-4eae-9f41-c7fb2e50acf4@email.android.com> Are you using a pool? Where are you pulling the stats from? Xen hosts or nfs server? andrew2 at one.net wrote: >Is anyone monitoring realtime or near-realtime (5 min averages?) i/o >utilization in Citrix Xenserver pools using NFS volumes? Ideally I'd love >to grab aggregrate data for each pool, but I'd even settle for per-node i/o >utilization. I noticed that iostat is installed on Xenserver 5.6, so I >would assume that it should be possible to shoehorn NRPE onto each node and >whip up a quick little check script to grab some data from 'iostat -n' but >surely there's a better way to do this... > >Andrew > > >------------------------------------------------------------------------------ >Start uncovering the many advantages of virtual appliances >and start using them to simplify application deployment and >accelerate your shift to cloud computing. >http://p.sf.net/sfu/novell-sfdev2dev >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vagabond_king at yahoo.com Wed Sep 29 02:22:39 2010 From: vagabond_king at yahoo.com (Matthew J. Salerno) Date: Tue, 28 Sep 2010 17:22:39 -0700 (PDT) Subject: I/O utilization & Xenserver In-Reply-To: <149C31C5B1FB4E598711C417D8020388@andrew2> References: <149C31C5B1FB4E598711C417D8020388@andrew2> Message-ID: <415338.10861.qm@web34504.mail.mud.yahoo.com> You can also pull these stats form the Xen servers themselves via the Xen API. I'm working on a perl implementation of the Xen API which will greatly reduce the amount of work required to write Xen nagios plugins. I've got spent lots of time working on Citrix Xen servers and server monitoring. When you are monitoring Xen servers, there are 2 places to collect stats. The first being the host (Dom0) and the second being through the Xen API which will give you lots of easy to collect information from a Xen host or pool. Basically, you could monitor your disk IO from Dom0 as well as through the Xen API via some SR monitors. Using both would be the best approach, but right now it's not very easy. For the iostat details, not sure if that comes installed on the Citrix Xen install, I have never seen a good solution. Most solutions involve a cron job that executes iostat to collect data for x seconds and output the data to a text file which is then parsed and then passed on to a MIB. Let us know if you find a good solution for collecting disk IO (It's been awhile since I checked). I'll keep you posted about the Xen plugins. Matthew J. Salerno ----- Original Message ---- From: "andrew2 at one.net" To: Nagios Users List Sent: Tue, September 28, 2010 3:57:07 PM Subject: [Nagios-users] I/O utilization & Xenserver Is anyone monitoring realtime or near-realtime (5 min averages?) i/o utilization in Citrix Xenserver pools using NFS volumes? Ideally I'd love to grab aggregrate data for each pool, but I'd even settle for per-node i/o utilization. I noticed that iostat is installed on Xenserver 5.6, so I would assume that it should be possible to shoehorn NRPE onto each node and whip up a quick little check script to grab some data from 'iostat -n' but surely there's a better way to do this... Andrew ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From B30930 at freescale.com Wed Sep 29 06:10:43 2010 From: B30930 at freescale.com (Tan Kong Jo-B30930) Date: Tue, 28 Sep 2010 21:10:43 -0700 Subject: Where can get the Nagios Installer for SunOS 5.6, 5.5.1, 4.1.4, 4.1.3_U1? Message-ID: <57C326BCABEE0842AE585418105A1BAB0BAD93@039-SN1MPN1-001.039d.mgd.msft.net> Hi All Nagios Experts, 1. For those ancient SunOS 5.6, 5.5.1, 4.1.4, 4.1.3_U1, I unable to find the Exact Nagios Version for those SunOS systems. Do have any installer for that??? 2. We used the nagios-plugins version 1.3.1, to try to install in SunOS 5.6 and SunOS 5.5.1. Both have the same error when key in # ./configure to install. It is something like the SunOS missing gcc installation or configure is not specified where is gcc installed. # ./configure checking for a BSD-compatible install... ./install-sh -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... no checking for a BSD-compatible install... ./install-sh -c checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Any suggestion on this? Any specific steps to make this works for those ancient SunOS 5.6, 5.5.1, 4.1.4, 4.1.3_U1? Really hope for your advice... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From Jochen.Bern at LINworks.de Wed Sep 29 09:41:17 2010 From: Jochen.Bern at LINworks.de (Jochen Bern) Date: Wed, 29 Sep 2010 09:41:17 +0200 Subject: Where can get the Nagios Installer for SunOS 5.6, 5.5.1, 4.1.4, 4.1.3_U1? In-Reply-To: <57C326BCABEE0842AE585418105A1BAB0BAD93@039-SN1MPN1-001.039d.mgd.msft.net> References: <57C326BCABEE0842AE585418105A1BAB0BAD93@039-SN1MPN1-001.039d.mgd.msft.net> Message-ID: <4CA2ED9D.7020608@LINworks.de> [Beware: Massive crossposting.] On 09/29/2010 06:10 AM, Tan Kong Jo-B30930 wrote: > It is something like the SunOS missing gcc installation Correct, default installations of SunOS/Solaris come *without* any compiler. Please see the SUN-Managers FAQ for further information: ftp://ftp.cs.toronto.edu/pub/jdd/sunmanagers/faq.html#10.2 Regards, J. Bern -- Jochen Bern, Systemingenieur --- LINworks GmbH Postfach 100121, 64201 Darmstadt | Robert-Koch-Str. 9, 64331 Weiterstadt PGP (1024D/4096g) FP = D18B 41B1 16C0 11BA 7F8C DCF7 E1D5 FAF4 444E 1C27 Tel. +49 6151 9067-231, Zentr. -0, Fax -299 - Amtsg. Darmstadt HRB 85202 Unternehmenssitz Weiterstadt, Gesch?ftsf?hrer Metin Dogan, Oliver Michel ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev From nagios at flatto.net Wed Sep 29 14:47:44 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 29 Sep 2010 13:47:44 +0100 Subject: can't get host to display in Host Detail panel In-Reply-To: <02B80625-B645-4C15-A3CC-9D2679F206C2@salon.com> References: <8CEF048B9EC83748B1517DC64EA130FB3F59E67CD7@off-win2003-01.ausregistrygroup.local> <8CEF048B9EC83748B1517DC64EA130FB3F59E67D40@off-win2003-01.ausregistrygroup.local> <1E5D41F3-84F2-4551-AC8F-4FCC26258141@salon.com> <4C99CA06.9040400@flatto.net> <4CA0C234.7050302@flatto.net> <4CA1B3F7.2070606@flatto.net> <02B80625-B645-4C15-A3CC-9D2679F206C2@salon.com> Message-ID: <4CA33570.1090905@flatto.net> > Assaf - thanks for your time and patience outlining those steps: > That is what the list is about . > I was able to at least get the connectivity between Nagios server and > the monitored host to show a valid connection: > > /usr/local/nagios/libexec/check_nrpe -H 10.0.100.139 -c check_users > USERS OK - 1 users currently logged in |users=1;5;10;0 > > there were a few things wrong on the monitoring server, or at least > what I changed: > > * changed ownership of nrpe.cfg to nagios.nagios > * modified xinetd.d/nrpe to show Nagios server IP as allowed connection > > I struggled with a few other things, and connection attempts, before I > realized I hadn't restarted the nrpe service after modifying the > xinetd.d/nrpe file. > > I did notice that the plugin location from another server is different > than the one that is missing: > /*/usr/lib64/nagios/plugins*/ vs //*usr/local/nagios/libexec/*/ > (guess this has something to do with the way it was compiled) NRPE by default is placing the path as the lib64 in the nrpe.cfg sample file , while all other packages use the local path - this is something that you get used to "ignore-modify " with time . > Guess I have to wait now a few mins before the host shows in the > panel? as its not showing now even after 10 mins. Restarting xinetd > shows this in /var/log/messages: > > *xinetd[22518]: bind failed (Address already in use (errno = 98)). > service = nrpe (*is this a bug or anything in xinetd? I saw that > referenced on a few other forums) > > nrpe service is running and listening though on 5666 I have always run nrpe as a stand alone daemon , never with xinetd , to have better control on what is running and how it is run . From what i remember about xinetd , it has an internal "keep-alive" mechanism that waits till all connections are terminated before it releases a port (again , i may be wrong ) you need to stop it and wait till the port is no longer shown as active , and then restart it . Or move to a standalone daemon - that will allow you to control the nrpe separately from any other service and better debug the issue. -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 stefan at fuhrmann.homedns.org Wed Sep 29 18:28:39 2010 From: stefan at fuhrmann.homedns.org (Stefan Fuhrmann) Date: Wed, 29 Sep 2010 18:28:39 +0200 Subject: bad monitoring remote windows Message-ID: <201009291828.40193.stefan@fuhrmann.homedns.org> Hello all, I m having a distributed net with site- to- site sslvpn's. centralfirewall ----> remote Firewall-----> win2003/2008 servers \ service-net Nagios is located in service net and is doing nt and mysql_health checks to that windows machines. Monitoring the Linux firewalls seems no Problem :) but having alot of troule with the win machines: Often I have check_nt: could not fetch information from server check_mysql_health: CRITICAL - unable to get replication info and then all is running well. When I take manually a look then all is running fine. I play around with timeouts with no luck. Ping are most of the time okay.... So im not able to fix it. nagios 3.2.0 on ubuntu-server10.04 Can someone help? tia stefan ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ladams at cloudmark.com Wed Sep 29 19:00:05 2010 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 29 Sep 2010 10:00:05 -0700 Subject: passing a string with spaces to nrpe Message-ID: I'm having a terrible time setting up nrpe to allow me to pass a string with spaces. This is with nagios 3.x and nrpe 2.0. The service config is trying to check a log on a remote server for a string that contains spaces. The service block has the check_command set to: check_command check_log_perl_nofilter_test!/srv/logs/spamnet/log-parser/log-parser.log!/srv/nagios_nrpe/tmp/log-parser.log.out!\"ERROR: Parent: Fatal error\" The check_command is set to: define command { command_name check_log_perl_nofilter_test command_line $USER2$/check_nrpe -u -t 30 -H $HOSTADDRESS$ -c check_log_perl_nofilter -a $ARG1$ $ARG2$ "$ARG3$" } The nrpe config is then: command[check_log_perl_nofilter]= /srv/nagios_nrpe/scripts/check_log.pl --filename=$ARG1$ --oldlog=$ARG2$ --query=$ARG3$ If I change the nrpe config to echo the command, so that it looks like: command[check_log_perl_nofilter]= echo /srv/nagios_nrpe/scripts/check_log.pl --filename=$ARG1$ --oldlog=$ARG2$ --query=$ARG3$ Then, the output of the echo is: /srv/nagios_nrpe/scripts/check_log.pl --filename=/srv/logs/spamnet/log-parser/log-parser.log --oldlog=/srv/nagios_nrpe/tmp/log-parser.log.out --query=ERROR: I've tried quoting the $ARG3$ in the nrpe command, and I get the same thing. I've seed other threads on the list that in order to pass quotes to nrpe, you must escape them. You can see I've tried that. Any guidance would be extremely helpful. Thanks, Lori Adams -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Wed Sep 29 19:07:34 2010 From: nagios at flatto.net (Assaf Flatto) Date: Wed, 29 Sep 2010 18:07:34 +0100 Subject: passing a string with spaces to nrpe In-Reply-To: References: Message-ID: <4CA37256.9000607@flatto.net> On 29/09/10 18:00, Lori Adams wrote: > > I'm having a terrible time setting up nrpe to allow me to pass a > string with spaces. This is with nagios 3.x and nrpe 2.0. > > The service config is trying to check a log on a remote server for a > string that contains spaces. > > The service block has the check_command set to: > check_command > check_log_perl_nofilter_test!/srv/logs/spamnet/log-parser/log-parser.log!/srv/nagios_nrpe/tmp/log-parser.log.out!\"ERROR: > Parent: Fatal error\" > > The check_command is set to: > > define command { > > command_name check_log_perl_nofilter_test > > command_line $USER2$/check_nrpe -u -t 30 -H $HOSTADDRESS$ > -c check_log_perl_nofilter -a $ARG1$ $ARG2$ "$ARG3$" > > } > > The nrpe config is then: > > command[check_log_perl_nofilter]= > /srv/nagios_nrpe/scripts/check_log.pl --filename=$ARG1$ > --oldlog=$ARG2$ --query=$ARG3$ > > If I change the nrpe config to echo the command, so that it looks like: > command[check_log_perl_nofilter]= echo > /srv/nagios_nrpe/scripts/check_log.pl --filename=$ARG1$ > --oldlog=$ARG2$ --query=$ARG3$ > > Then, the output of the echo is: > > /srv/nagios_nrpe/scripts/check_log.pl > --filename=/srv/logs/spamnet/log-parser/log-parser.log > --oldlog=/srv/nagios_nrpe/tmp/log-parser.log.out --query=ERROR: > > I've tried quoting the $ARG3$ in the nrpe command, and I get the same > thing. > > I've seed other threads on the list that in order to pass quotes to > nrpe, you must escape them. You can see I've tried that. Any > guidance would be extremely helpful. > > Thanks, > > Lori Adams > > Have you compiled nrpe with the allow command /arguments ? to get the proper syntax do ./configure --help / -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 diego.roccia at gmail.com Wed Sep 29 19:08:35 2010 From: diego.roccia at gmail.com (diego.roccia at gmail.com) Date: Wed, 29 Sep 2010 17:08:35 +0000 Subject: passing a string with spaces to nrpe In-Reply-To: References: Message-ID: <562395849-1285780117-cardhu_decombobulator_blackberry.rim.net-2005890657-@bda204.bisx.produk.on.blackberry> Have you tried with single quotes in commando line configuration? Sent from my BlackBerry? wireless device -----Original Message----- From: Lori Adams Date: Wed, 29 Sep 2010 10:00:05 To: nagios-users at lists.sourceforge.net Reply-To: Nagios Users List Subject: [Nagios-users] passing a string with spaces to nrpe ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From helderbn at gmail.com Wed Sep 29 19:37:11 2010 From: helderbn at gmail.com (Helder) Date: Wed, 29 Sep 2010 14:37:11 -0300 Subject: Nagios only attempts one time Message-ID: Hi everybody! I configured my Nagios 3 to verify 4 times if a service is really with problem, but it only attempts one time. My configuration if below: define service{ use generic-service; notifications_enabled 1 check_period 24x7 normal_check_interval 300 ; 5 minutes retry_check_interval 60; 1 minute max_check_attempts 4; 4 times with the new retry_check_interval to verify if the problem persists notification_period 24x7 notification_options u,c contact_groups nsi hostgroup_name dns_servers service_description Resolucao Interna check_command check_dns!proxies.trt18.jus.br } I confirm in the log and really only one time was verified and the CRITIC state was alarmed. If someone help me, i would thanks. -- Helder "O destino n?o ? uma quest?o de sorte, ? uma quest?o de escolha; N?o ? algo a se esperar, ? algo a se conquistar" - William Jennings Bryan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ladams at cloudmark.com Wed Sep 29 19:55:08 2010 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 29 Sep 2010 10:55:08 -0700 Subject: passing a string with spaces to nrpe In-Reply-To: <4CA37256.9000607@flatto.net> References: <4CA37256.9000607@flatto.net> Message-ID: Yes, we pass arguments all the time to nrpe. I'm just having an issue with a passing a string that contains spaces. From: Assaf Flatto [mailto:nagios at flatto.net] Sent: Wednesday, September 29, 2010 10:08 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] passing a string with spaces to nrpe On 29/09/10 18:00, Lori Adams wrote: I'm having a terrible time setting up nrpe to allow me to pass a string with spaces. This is with nagios 3.x and nrpe 2.0. The service config is trying to check a log on a remote server for a string that contains spaces. The service block has the check_command set to: check_command check_log_perl_nofilter_test!/srv/logs/spamnet/log-parser/log-parser.log!/srv/nagios_nrpe/tmp/log-parser.log.out!\"ERROR: Parent: Fatal error\" The check_command is set to: define command { command_name check_log_perl_nofilter_test command_line $USER2$/check_nrpe -u -t 30 -H $HOSTADDRESS$ -c check_log_perl_nofilter -a $ARG1$ $ARG2$ "$ARG3$" } The nrpe config is then: command[check_log_perl_nofilter]= /srv/nagios_nrpe/scripts/check_log.pl --filename=$ARG1$ --oldlog=$ARG2$ --query=$ARG3$ If I change the nrpe config to echo the command, so that it looks like: command[check_log_perl_nofilter]= echo /srv/nagios_nrpe/scripts/check_log.pl --filename=$ARG1$ --oldlog=$ARG2$ --query=$ARG3$ Then, the output of the echo is: /srv/nagios_nrpe/scripts/check_log.pl --filename=/srv/logs/spamnet/log-parser/log-parser.log --oldlog=/srv/nagios_nrpe/tmp/log-parser.log.out --query=ERROR: I've tried quoting the $ARG3$ in the nrpe command, and I get the same thing. I've seed other threads on the list that in order to pass quotes to nrpe, you must escape them. You can see I've tried that. Any guidance would be extremely helpful. Thanks, Lori Adams Have you compiled nrpe with the allow command arguments ? to get the proper syntax do ./configure --help -- Never,Ever Cut A Deal With a Dragon Next year I will be doing the London to Paris bike ride to raise money for the DogTrust (www.dogstrust.co.uk) . Please Sponsor me at http://www.justgiving.com/Assaf-Flatto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ladams at cloudmark.com Wed Sep 29 20:08:33 2010 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 29 Sep 2010 11:08:33 -0700 Subject: passing a string with spaces to nrpe In-Reply-To: <562395849-1285780117-cardhu_decombobulator_blackberry.rim.net-2005890657-@bda204.bisx.produk.on.blackberry> References: <562395849-1285780117-cardhu_decombobulator_blackberry.rim.net-2005890657-@bda204.bisx.produk.on.blackberry> Message-ID: I tried single quotes in all three locations, only updating one at a time. For the change to the service config, and the checkcommand, both ended up saying " CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages." Updating the nrpe.cfg gave me the same result as before. -Lori -----Original Message----- From: diego.roccia at gmail.com [mailto:diego.roccia at gmail.com] Sent: Wednesday, September 29, 2010 10:09 AM To: Nagios Users List Subject: Re: [Nagios-users] passing a string with spaces to nrpe Have you tried with single quotes in commando line configuration? Sent from my BlackBerry(r) wireless device -----Original Message----- From: Lori Adams Date: Wed, 29 Sep 2010 10:00:05 To: nagios-users at lists.sourceforge.net Reply-To: Nagios Users List Subject: [Nagios-users] passing a string with spaces to nrpe ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 29 21:32:44 2010 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 29 Sep 2010 20:32:44 +0100 Subject: Nagios only attempts one time In-Reply-To: References: Message-ID: On 29 September 2010 18:37, Helder wrote: > Hi everybody! > > ?I configured my Nagios 3 to verify 4 times if a service is really with > problem, but it only attempts one time. My configuration if below: > > define service{ > ??????? use??????????????????? ? ? ? ? ? generic-service; > ??????? notifications_enabled???? 1 > ??????? check_period??????????????? 24x7 > ??????? normal_check_interval?? 300 ; 5 minutes > ??????? retry_check_interval????? 60; 1 minute > ??????? max_check_attempts??? 4; 4 times with the new retry_check_interval > to verify if the problem persists > ??????? notification_period???????? 24x7 > ??????? notification_options?????? u,c > ??????? contact_groups???????????? nsi > ??????? hostgroup_name?????????? dns_servers > ??????? service_description?????? Resolucao Interna > ??????? check_command????????? check_dns!proxies.trt18.jus.br > } > > I confirm in the log and really only one time was verified and the CRITIC > state was alarmed. If the corresponding host is down or unreachable, the service will go immediately in to a hard state (but the notification sent should be a host notification not a service notification). Nagios will display warning, critical etc, states on screen as soon as a check returns that state. The max_check_attempts only affects when it will send a notification (email usually) or trigger an event handler and so on (when it goes from a soft to a hard state). Note that by default, the numbers for normal_check_interval and retry_check_interval are in minutes, not seconds. This is set by the interval_length directive in your nagios.cfg file. I recommend keeping it that way. So.. in your service definition, you probably need: normal_check_interval 5 ; 5 minutes retry_check_interval 1 ; 1 minute See: http://nagios.sourceforge.net/docs/3_0/configmain.html#interval_length For more information on hard and soft states, see: http://nagios.sourceforge.net/docs/3_0/statetypes.html I hope that helps, Jim ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dehne at tfd.uni-hannover.de Wed Sep 29 21:49:37 2010 From: dehne at tfd.uni-hannover.de (Simon Dehne) Date: Wed, 29 Sep 2010 21:49:37 +0200 Subject: Planning for a large deployment Message-ID: <1285789777.7966.18.camel@linux-a3uv.site> Hello Carl, I am using hostgroups to easily add news hosts to my existing configuration. The basic steps for easily configuring services via hostgroups might interest you. This is how our system is set up: hosts.cfg -> Definitions of the computers to be monitored, e.g.: define host{ use linux-server host_name Gaia alias Licencing Server address 130.xx.xx.x } hostgroups.cfg -> Hostgroups and its members are defined here, e.g.: define hostgroup { hostgroup_name linux-servers members Gaia, ..., ... } Now you can easily define services that should be used for all members of a hostgroup, in our case it's in services.cfg and looks like this: define service { hostgroup_name linux-servers service_description SSH check_command check_ssh use generic-service } If you now add a new host, all you have to do is define his name and IP address and the hostgroup he has to become a member of. Hope this helps you, best regards, Simon ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From liberaled at gmail.com Wed Sep 29 23:45:05 2010 From: liberaled at gmail.com (Ed Donahue) Date: Wed, 29 Sep 2010 17:45:05 -0400 Subject: 3.2.1 - Service check did not exit properly - perl script Message-ID: I was trying the suggestions from this thread: http://markmail.org/message/kkl7gs4iso5pqghk#query:+page:1+mid:fhx5dhz7qm64ij5p+state:results but my check still fails. I can run it as user nagios (su - nagios) on command line (bash) but nagios doesn't like it. ?I had it working on another nagios server 3.2.0 on CentOS release 4.8 (Final) I am now on CentOS release 5.5 (Final) I added this to the script: use lib '/usr/lib64/nagios/plugins'; only change I made. perl -wc check_otm_fti_https check_otm_fti_https syntax OK Here is the line that give back the good result: if($buffer =~ m/$LINK/) { print "FTI is Up \n"; exit(0); On the screen via the command line I get the output of 'FTI is Up' Thanks ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 30 00:36:22 2010 From: tyarusso at nagios.com (Tony Yarusso) Date: Wed, 29 Sep 2010 17:36:22 -0500 Subject: Nagios PPA for Ubuntu Message-ID: <1285799782.7762.12.camel@timmins> Hey all, I wanted to let you know about something I've been fiddling with. As we all know, compiling programs from source has the advantage of always giving you the most up to date version, but isn't as convenient to maintain, whereas using package repositories is easy to administer but sometimes out of date. Launchpad.net provides a service called "Personal Package Archives", where you can build and host packages for Ubuntu, for testing, small-userbase mods, etc. What I've done is take the existing Ubuntu/Debian packages, insert the most recent upstream tarball, and rebuild. Theoretically this should produce an up-to-date package. So, if you like having "the latest and greatest", but also like to have APT manage everything, this might be a solution that could work for you. That said, I do want to make sure nobody gets the wrong idea here, so a few clarifications: 1) The only QA I've done on these is that it builds and installs without errors and gives the default screen properly checking localhost services. 2) This is not actually supported by Nagios, Inc. for support contract customers, nor is it guaranteed to continue to exist - it's a pet project to see if this would work, since many of our staff use Ubuntu. 3) This is only build for Ubuntu 10.04 "Lucid Lynx" at the moment. I haven't made any attempts to build on or backport to older releases. 4) Launchpad doesn't actually support building packages for Debian, although given the close freeze dates of Lucid and Squeeze it's highly likely it will work on both I think. 5) Obviously this is only for Debian-based distros - I'm not going to attempt anything similar for the Red Hat family or anything else at this time. So, if you'd like to pull up a test system to try Nagios 3.2.2 and Nagios Plugins 1.14.15, check it out at https://launchpad.net/~nagiosinc/+archive/ppa , and let me know if it works for you. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From captainbablam at gmail.com Thu Sep 30 01:56:03 2010 From: captainbablam at gmail.com (Wade Blackwell) Date: Wed, 29 Sep 2010 16:56:03 -0700 Subject: Nagios and mrtg Message-ID: Good evening all from the West Coast, I have a nagios 3, new, implementation running in a CentOS 5.4 envrionment. I am having a heck of a time getting the MRTG graphing piece to function for any of the nagios components. mrtg is working quite well polling a host of cisco gear for interface stats. nagios/mrtg was generating images and html files in /var/www/mrtg and updating them. I then moved the directory under apache's docroot, changed the location in in the /etc/mrtg.conf and still no love. I am about to re-read the entire 3.0 nagios manual to see if I missing something basic. What are the basic steps for using mrtg to graph the latency stats that nagios is collecting? I have a feeling this has been discussed at length, a quick hit to some good documentation would be fabulous. Thank you so much. -W -- Wade Blackwell 805.457.8825 X998 www.cupofcompassion.com The Coffee That Makes a Difference! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 ladams at cloudmark.com Thu Sep 30 02:45:07 2010 From: ladams at cloudmark.com (Lori Adams) Date: Wed, 29 Sep 2010 17:45:07 -0700 Subject: passing a string with spaces to nrpe In-Reply-To: References: Message-ID: We figured it out. The service config needs to not have any quotes: The service block has the check_command set to: check_command check_log_perl_nofilter_test!/srv/logs/spamnet/log-parser/log-parser.log!/srv/nagios_nrpe/tmp/log-parser.log.out!ERROR: Parent: Fatal error The check_command definition needs quotes: command_line $USER2$/check_nrpe -u -t 30 -H $HOSTADDRESS$ -c check_log_perl_nofilter -a $ARG1$ $ARG2$ "$ARG3$" and the nrpe.cfg needs quotes: command[check_log_perl_nofilter]=/srv/nagios_nrpe/scripts/check_log.pl --filename=$ARG1$ --oldlog=$ARG2$ --query="$ARG3$" -Lori From: Lori Adams [mailto:ladams at cloudmark.com] Sent: Wednesday, September 29, 2010 10:00 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] passing a string with spaces to nrpe I'm having a terrible time setting up nrpe to allow me to pass a string with spaces. This is with nagios 3.x and nrpe 2.0. The service config is trying to check a log on a remote server for a string that contains spaces. The service block has the check_command set to: check_command check_log_perl_nofilter_test!/srv/logs/spamnet/log-parser/log-parser.log!/srv/nagios_nrpe/tmp/log-parser.log.out!\"ERROR: Parent: Fatal error\" The check_command is set to: define command { command_name check_log_perl_nofilter_test command_line $USER2$/check_nrpe -u -t 30 -H $HOSTADDRESS$ -c check_log_perl_nofilter -a $ARG1$ $ARG2$ "$ARG3$" } The nrpe config is then: command[check_log_perl_nofilter]= /srv/nagios_nrpe/scripts/check_log.pl --filename=$ARG1$ --oldlog=$ARG2$ --query=$ARG3$ If I change the nrpe config to echo the command, so that it looks like: command[check_log_perl_nofilter]= echo /srv/nagios_nrpe/scripts/check_log.pl --filename=$ARG1$ --oldlog=$ARG2$ --query=$ARG3$ Then, the output of the echo is: /srv/nagios_nrpe/scripts/check_log.pl --filename=/srv/logs/spamnet/log-parser/log-parser.log --oldlog=/srv/nagios_nrpe/tmp/log-parser.log.out --query=ERROR: I've tried quoting the $ARG3$ in the nrpe command, and I get the same thing. I've seed other threads on the list that in order to pass quotes to nrpe, you must escape them. You can see I've tried that. Any guidance would be extremely helpful. Thanks, Lori Adams -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 diego.roccia at gmail.com Thu Sep 30 09:27:39 2010 From: diego.roccia at gmail.com (diego.roccia at gmail.com) Date: Thu, 30 Sep 2010 07:27:39 +0000 Subject: Nagios and mrtg In-Reply-To: References: Message-ID: <2140926370-1285831661-cardhu_decombobulator_blackberry.rim.net-1921577348-@bda204.bisx.produk.on.blackberry> Are the old directories still being filled with performance data? Maybe you should check the service perfdata command. Though It's only a spool directory and it could stay in the old position, maybe you moved them. Sent from my BlackBerry? wireless device -----Original Message----- From: Wade Blackwell Date: Wed, 29 Sep 2010 16:56:03 To: Reply-To: Nagios Users List Subject: [Nagios-users] Nagios and mrtg ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Sep 30 14:18:45 2010 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 30 Sep 2010 21:18:45 +0900 Subject: Help! About Service Check rescheduling process Message-ID: <201009301218.AA02504@S2007337.jp.fujitsu.com> Hello all. I would like to get an advice with the service check rescheduling mechanism. I have asked before but didn't get a reply so asking for advice again. I am using nagios 3.0.6 on Linux machine. I have realized that if the next scheduling time specifed in the status file collides with the period of nagios restart, nagios seems to reschedule the time. Specifically, on certain service, next schedule time is set as 2010-09-10 22:46:34 nagios restart occurs on 2010-09-10 22:46:16 * next schedule time is rescheduled to 2010-09-10 23:01:38 Would there be a way to make nagios check immediately rather than rescheduling? Any advice would be helpful! Thank you! Yu Watanabe ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From captainbablam at gmail.com Thu Sep 30 14:44:59 2010 From: captainbablam at gmail.com (Wade Blackwell) Date: Thu, 30 Sep 2010 05:44:59 -0700 Subject: Nagios and mrtg In-Reply-To: <2140926370-1285831661-cardhu_decombobulator_blackberry.rim.net-1921577348-@bda204.bisx.produk.on.blackberry> References: <2140926370-1285831661-cardhu_decombobulator_blackberry.rim.net-1921577348-@bda204.bisx.produk.on.blackberry> Message-ID: Good morning Diego, No the data is no longer being refreshed with the directory in it's new location. Does perfdata have it's own configuration file? Thanks for the reply. -W On Thu, Sep 30, 2010 at 12:27 AM, wrote: > Are the old directories still being filled with performance data? Maybe you > should check the service perfdata command. Though It's only a spool > directory and it could stay in the old position, maybe you moved them. > > Sent from my BlackBerry? wireless device > > -----Original Message----- > From: Wade Blackwell > Date: Wed, 29 Sep 2010 16:56:03 > To: > Reply-To: Nagios Users List > Subject: [Nagios-users] Nagios and mrtg > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Wade Blackwell 805.457.8825 X998 www.cupofcompassion.com The Coffee That Makes a Difference! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 biethb at reno.gov Thu Sep 30 18:52:00 2010 From: biethb at reno.gov (Brad Bieth) Date: Thu, 30 Sep 2010 09:52:00 -0700 Subject: Unknown File Type when browsing to Nagios Message-ID: Hi all, I just finished my installation of Nagios 3.2.2 on Ubuntu version 10. The installation all seemed to go well until I attempted to launch the URL at which I?m prompted for a file to download. I have included an attachment of the file. The URL that Im using is http://localhost/nagios, I have also made sure that Apache is started and if I go to http://localhost then I get a page that tells me Apache is running just fine. I forgot to mention that when I do go to the Nagios URL I am prompted for my username and password which I supply and then that is when the prompt for the file occurs. I have also installed the Nagios Plugins version 1.4.15. Thank you for any help. Brad -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Untitled.jpg Type: image/jpeg Size: 97484 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 carlos at dsag.jazztel.es Thu Sep 30 19:52:38 2010 From: carlos at dsag.jazztel.es (Carlos de Santa-Ana Garcia) Date: Thu, 30 Sep 2010 19:52:38 +0200 Subject: Unknown File Type when browsing to Nagios In-Reply-To: References: Message-ID: <4CA4CE66.2040809@dsag.jazztel.es> It looks like your server don?t have php or is misconfigured. El 30/09/2010 18:52, Brad Bieth escribi?: > > Hi all, > > I just finished my installation of Nagios 3.2.2 on Ubuntu version 10. > The installation all seemed to go well until I attempted to launch the > URL at which I?m prompted for a file to download. I have included an > attachment of the file. The URL that Im using is > http://localhost/nagios, I have also made sure that Apache is started > and if I go to http://localhost then I get a page that tells me Apache > is running just fine. I forgot to mention that when I do go to the > Nagios URL I am prompted for my username and password which I supply > and then that is when the prompt for the file occurs. I have also > installed the Nagios Plugins version 1.4.15. > > Thank you for any help. > > Brad > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 rutger at blokje.net Thu Sep 30 20:12:18 2010 From: rutger at blokje.net (Rutger Blom) Date: Thu, 30 Sep 2010 20:12:18 +0200 Subject: Unknown File Type when browsing to Nagios In-Reply-To: References: Message-ID: Seems like you forgot to install or activate php5 and/or mod_php5 for Apache. Ruter On Thu, Sep 30, 2010 at 6:52 PM, Brad Bieth wrote: > Hi all, > > I just finished my installation of Nagios 3.2.2 on Ubuntu version 10. The > installation all seemed to go well until I attempted to launch the URL at > which I?m prompted for a file to download. I have included an attachment of > the file. The URL that Im using is http://localhost/nagios, I have also > made sure that Apache is started and if I go to http://localhost then I > get a page that tells me Apache is running just fine. I forgot to mention > that when I do go to the Nagios URL I am prompted for my username and > password which I supply and then that is when the prompt for the file > occurs. I have also installed the Nagios Plugins version 1.4.15. > > > > Thank you for any help. > > > > Brad > > > > > ------------------------------------------------------------------------------ > Start uncovering the many advantages of virtual appliances > and start using them to simplify application deployment and > accelerate your shift to cloud computing. > http://p.sf.net/sfu/novell-sfdev2dev > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Rutger Blom Luzernv?gen 14 227 38 LUND Sweden Tel. +46 763 46 99 44 www.rutgerblom.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 Eliot.Picken at wenaas.co.uk Thu Sep 30 20:28:57 2010 From: Eliot.Picken at wenaas.co.uk (Eliot.Picken at wenaas.co.uk) Date: Thu, 30 Sep 2010 19:28:57 +0100 Subject: AUTO: Eliot Picken is out of the office (returning 04/10/2010) Message-ID: I am out of the office until 04/10/2010. I am currently out of the office, and I will respond to your email upon my return. Your email has not been forwarded. For all enquiries, please contact Alex Lawrie on +44 (0) 1224 894 000 Note: This is an automated response to your message "Re: [Nagios-users] Unknown File Type when browsing to Nagios" sent on 9/30/2010 6:52:38 PM. This is the only notification you will receive while this person is away. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 30 20:07:06 2010 From: tyarusso at nagios.com (Tony Yarusso) Date: Thu, 30 Sep 2010 13:07:06 -0500 Subject: Unknown File Type when browsing to Nagios In-Reply-To: References: Message-ID: <1285870026.13411.6.camel@ubuntu-desktop.SSG5-Serial> On Thu, 2010-09-30 at 09:52 -0700, Brad Bieth wrote: > Hi all, > > I just finished my installation of Nagios 3.2.2 on Ubuntu version 10. I assume you mean Ubuntu 10.04, "Lucid Lynx". (There is no such thing as "Ubuntu version 10"). > The installation all seemed to go well until I attempted to launch > the URL at which I?m prompted for a file to download. I have included > an attachment of the file. The URL that Im using is > http://localhost/nagios, I have also made sure that Apache is started > and if I go to http://localhost then I get a page that tells me Apache > is running just fine. I forgot to mention that when I do go to the > Nagios URL I am prompted for my username and password which I supply > and then that is when the prompt for the file occurs. I have also > installed the Nagios Plugins version 1.4.15. Apache hasn't been configured to understand how to serve PHP files it sounds like. The most likely reason for this on Ubuntu is that you haven't yet installed the libapache2-mod-php5 package, or restarted Apache since doing so. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyarusso at nagios.com Web: www.nagios.com ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sschwartz at gracenote.com Thu Sep 30 20:25:35 2010 From: sschwartz at gracenote.com (Steven Schwartz) Date: Thu, 30 Sep 2010 11:25:35 -0700 Subject: An odd problem Message-ID: I've got an old install of Nagios 2 (I'm in the process of upgrading, in fact) with an odd problem - all of the elements in the web GUI come up fine, except for the Service Detail page, which hangs. I can get subsections - services OK, Services Warning, Services Critical - but not the Detail page. The server's under 1 in load average, the process is eating u only 3.7 Mb of RAM, and yet, I can't get the Detail page. Anyone else seen this problem before? I don't think 323 services should be bringing things to a hang. Thank you, Steven Schwartz -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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 MCHRISTI at altera.com Thu Sep 30 23:23:18 2010 From: MCHRISTI at altera.com (Mark Christian) Date: Thu, 30 Sep 2010 14:23:18 -0700 Subject: significant bug in 3.2.2 - nagios.cfg -- execute_service_checks=0 completely ignored Message-ID: I updated nagios from 3.2.0 to 3.2.2 - my distributed "collector" node went from ~7000 services passively checked and near zero actively checked to ~1800 actively checked and counting. There are 4 distributed nodes that handle active service checks. The "collector" node has been configured to not execute service checks: $ grep execute_service_checks nagios.cfg execute_service_checks=0 dnsmichi and keith4 on IRC #nagios graciously pointed out that I need merely remove line 1088 from nagios 3.2.2 source base/events.c and recompile. I removed "run_event=TRUE;" on line 1088 of base/events.c, recompiled and now nagios correctly recognizes "execute_service_checks=0". I believe this to be a significant bug. Mark Christian ________________________________ Confidentiality Notice. This message may contain information that is confidential or otherwise protected from disclosure. If you are not the intended recipient, you are hereby notified that any use, disclosure, dissemination, distribution, or copying of this message, or any attachments, is strictly prohibited. If you have received this message in error, please advise the sender by reply e-mail, and delete the message and any attachments. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev -------------- 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