Re: [Nagios-users] Unable to send passive check results through NRDP
Hi Friends, Any help for me on this issue? Thanks Regards Ankush On Fri, Jan 28, 2011 at 2:41 PM, ankush grover grover1...@gmail.com wrote: Hi Friends, I have installed Nagios3 and nrdp server on Centos 5 machine. The issue I am facing is that I am able to submit passive results through the Nagios Interface but through NRDP client script that is send_nrdp.php I am not able to send the passive check results. Passive checks configuration in Nagios.cfg file log_passive_checks=1 accept_passive_service_checks=1 accept_passive_host_checks=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 define service{ use generic-service host_name test2-1.test.com service_description MoLog Checks check_command check_dummy!3 No Data from passive check max_check_attempts 1 active_checks_enabled 0 check_freshness 1 freshness_threshold 300 flap_detection_options n contact_groups ankush.grover stalking_options n } generic-service template define service{ name generic-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options c,r } NRDP server/config.inc.php ?php $cfg['authorized_tokens'] = array( testingoftoken, 90dfs7jwn3, ); $cfg[require_https]=false; $cfg[require_basic_auth]=false; $cfg[nagios_command_group]=nagios; $cfg[command_file]=/var/nagios/rw/nagios.cmd; $cfg[check_results_dir]=/var/nagios/spool/checkresults; $cfg[tmp_dir]=/var/nagios/tmp; $cfg['product_name']='nrdp'; $cfg['product_version']='1.0' ? nrdp client script send_nrdp.php /usr/bin/php -e send_nrdp.php --url=http://172.18.40.69/nrdp/; --token=testingoftoken --host=test2-1.test.com --service=MoLog Checks --state=1 --output=testing ls -ld /var/nagios/rw drwxr-sr-x 2 nagios nagios 4096 Jan 28 13:01 /var/nagios/rw ls -l /var/nagios/rw prw-rw 1 nagios nagios 0 Jan 27 17:13 nagios.cmd Nagios Group Information and Apache user is part of Nagios group nagios:x:105:apache nrdp.conf file for Apache Directory /usr/local/nrdp Options None AllowOverride None Order allow,deny Allow from all /Directory Alias /nrdp /usr/local/nrdp/server Nagios.conf file for Apache ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi Directory /usr/lib/nagios/cgi Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user /Directory Alias /nagios /usr/share/nagios Directory /usr/share/nagios Options None AllowOverride None Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user /Directory I am not able to understand what exactly is wrong with the above settings that nrdp is not able to send the information to the Nagios server. Thanks Regards Ankush Grover -- Special Offer-- Download
[Nagios-users] Unable to send passive check results through NRDP
Hi Friends, I have installed Nagios3 and nrdp server on Centos 5 machine. The issue I am facing is that I am able to submit passive results through the Nagios Interface but through NRDP client script that is send_nrdp.php I am not able to send the passive check results. Passive checks configuration in Nagios.cfg file log_passive_checks=1 accept_passive_service_checks=1 accept_passive_host_checks=1 check_service_freshness=1 service_freshness_check_interval=60 check_host_freshness=0 host_freshness_check_interval=60 additional_freshness_latency=15 define service{ usegeneric-service host_name test2-1.test.com service_descriptionMoLog Checks check_command check_dummy!3 No Data from passive check max_check_attempts 1 active_checks_enabled 0 check_freshness1 freshness_threshold300 flap_detection_options n contact_groups ankush.grover stalking_options n } generic-service template define service{ namegeneric-service ; The 'name' of this service template, referenced in other service definitions active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 1 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information1 ; Retain non-status information across program restarts register0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! is_volatile 0 check_period24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval1 notification_interval 120 notification_period 24x7 notification_optionsc,r } NRDP server/config.inc.php ?php $cfg['authorized_tokens'] = array( testingoftoken, 90dfs7jwn3, ); $cfg[require_https]=false; $cfg[require_basic_auth]=false; $cfg[nagios_command_group]=nagios; $cfg[command_file]=/var/nagios/rw/nagios.cmd; $cfg[check_results_dir]=/var/nagios/spool/checkresults; $cfg[tmp_dir]=/var/nagios/tmp; $cfg['product_name']='nrdp'; $cfg['product_version']='1.0' ? nrdp client script send_nrdp.php /usr/bin/php -e send_nrdp.php --url=http://172.18.40.69/nrdp/; --token=testingoftoken --host=test2-1.test.com --service=MoLog Checks --state=1 --output=testing ls -ld /var/nagios/rw drwxr-sr-x 2 nagios nagios 4096 Jan 28 13:01 /var/nagios/rw ls -l /var/nagios/rw prw-rw 1 nagios nagios 0 Jan 27 17:13 nagios.cmd Nagios Group Information and Apache user is part of Nagios group nagios:x:105:apache nrdp.conf file for Apache Directory /usr/local/nrdp Options None AllowOverride None Order allow,deny Allow from all /Directory Alias /nrdp /usr/local/nrdp/server Nagios.conf file for Apache ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi Directory /usr/lib/nagios/cgi Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user /Directory Alias /nagios /usr/share/nagios Directory /usr/share/nagios Options None AllowOverride None Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user /Directory I am not able to understand what exactly is wrong with the above settings that nrdp is not able to send the information to the Nagios server. Thanks Regards Ankush Grover -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free
[Nagios-users] Unable to run check_disk_remote with nrpe
Hi Friends, I am trying to return output of check_disk_remote command through nrpe to the Nagios server but it is returning below error whereas the command is running properly without check_nrpe. The remote server(test.example.com) is not accessible through ssh from the Nagios server so I am running check_disk_remote plugin from a localserver which is already a nrpe client and running some checks like disk,load etc.. Nagios Server: 2.7 on Centos 5.5 Localserver: Ubuntu 8.04 32-bit What could be the reason for this issue? /check_nrpe -H localhost -c check_disk_remoteserver stderr = 65280 : error: | nrpe.cfg command[check_disk_remoteserver]=/usr/lib/nagios/plugins/check_disk_remote -e ssh -H test.example -v -w 70 -c 8 5 Output of /usr/lib/nagios/plugins/check_disk_remote -e ssh -H test.example.com -v -w 70 -c 85 Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sda1 2064208 1166612792740 60% / percent = 60% warn=70 crit=85 tmpfs 873828 0873828 0% /lib/init/rw varrun 87382848873780 1% /var/run varlock 873828 0873828 0% /var/lock udev873828 432873396 1% /dev tmpfs 873828 0873828 0% /dev/shm /dev/sda2153899044192072 145889348 1% /mnt percent = 1% warn=70 crit=85 /dev/sdf 15481840 2528508 12166900 18% /data percent = 18% warn=70 crit=85 OK: All Filesystems are below threshold (70/85%) | /=60%;;;0;100 /mnt=1%;;;0;100 /data=18%;;;0;100 Regards Ankush -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Unable to run check_disk_remote with nrpe
On Sun, Jan 23, 2011 at 4:32 PM, Yueh-Hung Liu yuehung@gmail.com wrote: should it be check_nrpe -H test.example.com -c check_disk_remoteserver on Nagios server? What I am trying to say even I run check_nrpe on the localserver it is giving the below error. Once check_nrpe runs fine from the localserver it should run fine from the Nagios server also. stderr = 65280 : error: | On Sun, Jan 23, 2011 at 4:22 PM, ankush grover grover1...@gmail.com wrote: Hi Friends, I am trying to return output of check_disk_remote command through nrpe to the Nagios server but it is returning below error whereas the command is running properly without check_nrpe. The remote server(test.example.com) is not accessible through ssh from the Nagios server so I am running check_disk_remote plugin from a localserver which is already a nrpe client and running some checks like disk,load etc.. Nagios Server: 2.7 on Centos 5.5 Localserver: Ubuntu 8.04 32-bit What could be the reason for this issue? /check_nrpe -H localhost -c check_disk_remoteserver stderr = 65280 : error: | nrpe.cfg command[check_disk_remoteserver]=/usr/lib/nagios/plugins/check_disk_remote -e ssh -H test.example -v -w 70 -c 8 5 Output of /usr/lib/nagios/plugins/check_disk_remote -e ssh -H test.example.com -v -w 70 -c 85 Filesystem 1024-blocks Used Available Capacity Mounted on /dev/sda1 2064208 1166612 792740 60% / percent = 60% warn=70 crit=85 tmpfs 873828 0 873828 0% /lib/init/rw varrun 873828 48 873780 1% /var/run varlock 873828 0 873828 0% /var/lock udev 873828 432 873396 1% /dev tmpfs 873828 0 873828 0% /dev/shm /dev/sda2 153899044 192072 145889348 1% /mnt percent = 1% warn=70 crit=85 /dev/sdf 15481840 2528508 12166900 18% /data percent = 18% warn=70 crit=85 OK: All Filesystems are below threshold (70/85%) | /=60%;;;0;100 /mnt=1%;;;0;100 /data=18%;;;0;100 Regards Ankush -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] nagios showing warning of system time change
Hi friends, I am running Nagios 2.7-1 on Centos 5.0 32-bit. I have installed Nagios through rpm. The issue I am seeing on the server is sometimes nagios is showing the below messages in /var/log/messages and as the system time gets changed some false alarms gets generated. I searched it on the google but I am not able to find the correct solution. Ntp server is already set and servers are listed in ntp.conf file Nov 21 20:37:12 linuxmonitoring nagios: Warning: A system time change of 4398 seconds (forwards in time) has been detected. Compensating... Nov 21 19:23:54 linuxmonitoring nagios: Warning: A system time change of 4398 seconds (backwards in time) has been detected. Compensating.. ntp.conf file restrict default ignore restrict 127.0.0.1 driftfile /var/lib/ntp/drift broadcastdelay 0.008 #authenticate yes keys /etc/ntp/keys restrict 172.16.6.3 nomodify notrap noquery server 172.16.6.3 restrict 172.16.6.2 nomodify notrap noquery server 172.16.6.2 Please see the output of hwclock and date at the same time. hwclock Sat 21 Nov 2009 08:19:02 PM IST -0.496922 seconds date Sat Nov 21 20:19:55 IST 2009 Please advice what I need to do to fix this error. Regards Ankush -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] HTTP server authentication requirements for accessing this CGI.
Hi Jimmy, You need to enable authentication in cgi.cfg. use_authentication=1 authorized_for_all_host_commands=admin authorized_for_all_hosts=admin authorized_for_all_service_commands=admin authorized_for_all_services=admin authorized_for_configuration_information=admin authorized_for_system_commands=admin authorized_for_system_information=admin Something like this in nagios.conf file for apache (On my linux box that is centos 5.x it is /etc/httpd/conf.d/nagios.conf) Directory /usr/lib/nagios/cgi # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user /Directory Alias /nagios /usr/share/nagios Directory /usr/share/nagios # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user /Directory Now use htpasswd command to generate htpasswd.users file with user admin. htpasswd -c /etc/nagios/htpasswd.users admin Regards Ankush On Fri, Apr 24, 2009 at 3:34 PM, Jimmyboy jimmyjose2...@gmail.com wrote: Hi All, I have installed Apache2.2.9 using the source file 'Apache2_2.2.9.orig.tar.gz'. Nagios 3.0.6 is also installed on Ubuntu Intrepid OS using the Quickstart Guide. I am able to open http://localhost/nagios. However, certain entities on the left pane, such as 'Process Info', 'Network Outages', etc are not getting opened. They error out with the following message. It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I followed http://www.onlamp.com/pub/a/onlamp/2002/09/26/nagios.html?page=3. Configuration of httpd.conf says ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/. But, I do not have a directory 'cgi-bin' under nagios directory. Morever, I do not see the 'sites-available' other directories named similarly under my /usr/local/apache2/conf directory. Will that be a problem? But, still, I am at same stage. Anyone, any idea, how to go about? Thanks, Jim -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty#45;free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] plugin to monitor svn repositories
Hi Friends, I need a nagios plugin for monitoring svn repositories. Lately our company is having issues with svn servers some repositories becomes unavailable to the users. So I want rather than user reporting these issues I will come to know about these issues . Please give me the link for the plugin through which I can monitor svn repositories. Regards Ankush - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Monitor NFS Mounts
Hi friends, We are using Nagios to monitor around 500 Linux Servers. Now we want to monitor nfs mounts on few servers. For ex Server A: NFS server Server B: NFS Client Server C: NFS Client What we want to monitor nfs mounts on Servers B and C that is nfs clients that if Server A mount point is not mounting on Server B or C send an alert. Is there any plugin which can do the same? Regards Ankush - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Removing old comments from extended info page
hi friends, I have configured Nagios 2.6 in a Production Environment. There are about 200 servers and about 1000 services which are being monitored by nagios. I want to Remove old comments from extended info page, is there any command through which I can achieve this. Thanks Regards Ankush Grover - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] help needed .. newbie
On 9/5/06, rahul ramasubramanian [EMAIL PROTECTED] wrote: hi all i am a newbie to nagios and am trying to install it on my server.. i successfully installed the nagios framework and plugins and got a pre flight check -ok.. a nagios -s command gave the following output Max host check spread: 30 min First scheduled check: N/A Last scheduled check:N/A SERVICE SCHEDULING INFORMATION --- Total services: 5 Total scheduled services: 5 Service inter-check delay method: SMART Average service check interval: 300.00 sec Inter-check delay: 60.00 sec Interleave factor method: SMART Average services per host: 5.00 Service interleave factor: 5 Max service check spread: 30 min First scheduled check: Mon Sep 4 02:34:08 2006 Last scheduled check: Mon Sep 4 02:38:08 2006 CHECK PROCESSING INFORMATION Service check reaper interval: 10 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS --- I have no suggestions - things look okay. so i guessed that everything was going on allright... why i tried to use my web interface to access nagios( apache web server ) ... i reach the main nagios screen..( the documentation part ) but on trying to click on any other tab i got the following error. Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. what is happening .. some data which might be useful.. no nagios directory is being created in /var/spool.. can anyone shed some light on this... do i need to do something to the permissions of any dir/files..( all the files in the nagios installation directory have been set to 775 ) Any help will be greatly appriciated. hey, Is the nagios service running If you are using redhat linux do this service nagios start (you need to be root to do this) or /etc/init.d/nagios start if Nagios is already running then check cgi.cfg under /etc/nagios directory make use_authentication=0 this means any user can access nagios through the web interface and if use_authentication=1 then you need to assign users who can access nagios. Thanks Regards Ankush Grover - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Apache rewrites to run only /nagios at SSL?
RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^/webmail(.*)$ https://ipaddress/webmail$1 [L,R] RewriteLog/var/log/httpd/rewrite.log RewriteLogLevel 4You may have noticed the specifics above. It works for a real directory aka: /boss but not for the aliased parts aka: /nagiosSo this post does not add anything new.Hugo.hey, But this is alias(webmail for /usr/share/squirrelmail) and I am using webmail as alias(defined in squirrelmail.conf in /etc/httpd/conf.d/). Regards Ankush Grover
Re: [Nagios-users] Apache rewrites to run only /nagios at SSL?
On RewriteEngine OnRewriteCond %{SERVER_PORT}!^443$ RewriteRule ^/boss(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]Directory /usr/lib/nagios/cgiRewriteEngine OnRewriteBase /nagios/cgi-binRewriteCond %{SERVER_PORT}!^443$ RewriteRule ^/nagios(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]# SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user/DirectoryAlias /nagios /usr/share/nagiosDirectory /usr/share/nagiosRewriteEngine On RewriteBase /nagiosRewriteCond %{SERVER_PORT}!^443$RewriteRule ^/nagios(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R]# SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /etc/nagios/htpasswd.users Require valid-user/Directory hey, I have done rewriting for webmail on my server change the settings are per your need. RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^/webmail(.*)$ https://ipaddress/webmail$1 [L,R] RewriteLog /var/log/httpd/rewrite.log RewriteLogLevel 4 I am using FC3 with Apache 2.0.52. Regards Ankush
Re: [Nagios-users] To monitor hosts in my network.
On 4/5/06, rash [EMAIL PROTECTED] wrote: Imagine this scenario where there are 1000's of m/cs running across different networks..Its going to be quite a tedious task to manually enter the host information eventhough each host could be using different services.. May be hosts across different network need different services to be monitored then there should be a easier way to specify all the hosts under one network right? hey, There is a gui or editor available for adding hosts for nagios http://sourceforge.net/projects/nagedit/ Regards Ankush
[Nagios-users] documentation/tutorial for configuring nrpe or ncsa for monitoring remote servers(windows/linux/unix)
hey friends, I did not find the documentation or tutorial for nrpe or ncsa for monitoring remote servers in Nagios Documentation.I am using Nagios on Centos 4.0 and want to monitor Windows,Linux and Unix servers clients. Any tutorial on nrpe or ncsa will be very useful. Thanks Regards Ankush Grover
[Nagios-users] check_disk: Warning threshold must be integer or percentage!
hey friends, I am using Nagios 2.0b on FC3.I am getting this error while using check_disk . check_disk: Warning threshold must be integer or percentage! Moreover How to do I monitor mysql ? Is it possible to monitor windows 2000/XP/2003 machines with nagios ? Thanks Regards Ankush Grover