[Nagios-users] Web administration interface
Hi all, I am going to upgrade the nagios version (1.4.2 to 3.0.x) and i begin to look the administration tools. Actually, i use Nagmin but it seems absolete. I saw centreon and nareto. Is there someone that can tell me what is the best for nagios 3.0.x? Thanks for advance for your responses. Carole Gimenez. - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 ___ 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] Pb with "Retry Check Interval"
Hi, I want to modify the value of "*Retry Check Interval" *to put it at 5 min. So, i modified the nagios.cfg at this:* #*command_check_interval=1 command_check_interval=5 When i restart nagios server, the "*Retry Check Interval" *in services definition don't have modified. If i add a new service, the "*Retry Check Interval" *has always the value '1'. Why? Can someone help me, please? Carole Gimenez. - 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] check_mailq and several mqueue?
Hi, I installed nagios-plugins-1.4.10 on a new server (centos 5). I want to check 2 mqueues (/var/spool/mqueue and /var/spool/mqueue1). With nagios-plugins 1.4.0alpha1, the check_mailq plugin (v1.4) could monitor 2 mqueues thanks to the -f option that allowed to indicate the configuration file. How can i do that now? Thanks for your reponse. Carole Gimenez. - 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] Help with eventhandlers
Hi, For some time, i execute severals evenhandlers to restart services. Now, i would send an email when an eventhandler is executed. So, in commands file, i modified my eventhandler 'restart-httpd-test' like this: usr/local/nagios/libexec/eventhandlers/restart-httpd-test $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ $HOSTNAME$ $CONTACTEMAIL$ 2>> /usr/local/nagios/tmp/httpd-test.log My problem is that i don't arrive to recovered the macro $CONTACTEMAIL$. My script looks at that: #!/bin/sh set -x contenumail=/usr/local/nagios/tmp/contenumail.txt sortie=/usr/local/nagios/tmp/sortie.txt date=`date` echo $date > $contenumail echo 'SERVICESTATE : ' $1 >> $contenumail echo 'STATETYPE: ' $2 >> $contenumail echo 'SERVICEATTEMPT: ' $3 >> $contenumail echo 'HOSTADDRESS: ' $4 >> $contenumail echo 'CONTACTEMAIL: ' $6 echo 'CONTACTEMAIL: ' "$6" # What state is the HTTP service in? case "$1" in CRITICAL) case "$2" in SOFT) case "$3" in 2) echo "Restarting HTTP service (3rd soft critical state)..." >> $contenumail # Call the init script to restart the HTTPD server /usr/local/bin/ssh [EMAIL PROTECTED] /etc/init.d/httpd restart > $sortie cat $sortie >> $contenumail /usr/bin/mailx -s "Redemarrage du service HTTP sur $5" "$6" < $contenumail ;; esac ;; HARD) echo "Restarting HTTP service..." >> $contenumail # Call the init script to restart the HTTPD server /usr/local/bin/ssh [EMAIL PROTECTED] /etc/init.d/httpd-webmail restart > $sortie cat $sortie >> $contenumail /usr/bin/mailx -s "Redemarrage du service HTTP sur $5" "$6" < $contenumail ;; esac ;; esac exit 0 And my log file: date=Thu Dec 6 18:05:40 MET 2007 + echo Thu Dec 6 18:05:40 MET 2007 + echo SERVICESTATE : CRITICAL + echo STATETYPE: SOFT + echo SERVICEATTEMPT: 2 + echo HOSTADDRESS: 130.120.74.17 + echo CONTACTEMAIL: + echo CONTACTEMAIL: + echo Restarting HTTP service (3rd soft critical state)... + /usr/local/bin/ssh [EMAIL PROTECTED] /etc/init.d/httpd-webmail restart + cat /usr/local/nagios/tmp/sortie.txt + /usr/bin/mailx -s Redemarrage du service HTTP sur pc-systeme.cict.fr + exit 0 Thanks for advance for your help. Carole. - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 ___ 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] Output of check_disk
Thanks for your response. In fact, I execute the check_disk (nagios-plugins-1.4.10.tar.gz) via nrpe (v 2.10) on my remote host. But my version of nagios is older: 1.4.1 Is a solution of my problem? Carole. Andreas Ericsson a écrit : > Carole Gimenez wrote: >> Hi all, >> >> As i have no response on nagiosplug-help mailing list, i permit to >> write on this. >> >> The output of my check_disk appears in truncated manner in the nagios >> interface web: >> >> DISK OK - free space: / 14659 MB (59% inode=99%): /dev 1860 MB (99% >> inode=96%): /boot/efi 484 MB (97% inode=-): /usr/local 34678 MB (99% >> inode=99%): /soleil1 40007 MB (32% inode=99%): /soleil3 56847 MB (55% >> inode=99%): /soleil2 58028 MB (56% inode=99%): /soleil4 58048 MB (56% >> inode=99%): /soleil5 25967 MB (25% inode=99%): /soleil6 73645 MB (71% >> ino >> >> Is there a solution to this problem? >> > > Yes, although the complexity of the solution depends on how you're > running this check and how desperate you are to maintain the output > as it is. > > If you aren't rabid about keeping the output, you can specify checks > that check one partition at a time, which will make output a lot > shorter and therefore not susceptible to running into the input limits > in Nagios (or whatever transports might see the plugin along the way). > That's the "doesn't matter how you run it" answer though. > > Is it being run via nrpe? > > If yes, you'll need to extend the NRPE protocol (there are presently > discussions regarding this on nagios-devel@) to be able to send > arbitrarily long output. > > What nagios version are you using? > If 2.x or 2.x, you may have to increase the input limit in the header > files and then re-compile Nagios. > AFAIU, Nagios 3 already supports arbitrarily long input from plugins, > so that shouldn't be a problem. > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Output of check_disk
Hi all, As i have no response on nagiosplug-help mailing list, i permit to write on this. The output of my check_disk appears in truncated manner in the nagios interface web: DISK OK - free space: / 14659 MB (59% inode=99%): /dev 1860 MB (99% inode=96%): /boot/efi 484 MB (97% inode=-): /usr/local 34678 MB (99% inode=99%): /soleil1 40007 MB (32% inode=99%): /soleil3 56847 MB (55% inode=99%): /soleil2 58028 MB (56% inode=99%): /soleil4 58048 MB (56% inode=99%): /soleil5 25967 MB (25% inode=99%): /soleil6 73645 MB (71% ino Is there a solution to this problem? Thanks for advance. Carole Gimenez. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check_nrpe with -n option
Hi, In the command file, i declared one command named 'check_nrpe_nossl' that execute this: $USER1$/check_nrpe_nossl -H $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ $ARG10$ $ARG11$ $ARG12$ $ARG13$ $USER1$ = /usr/local/nagios/libexec and check_nrpe_nossl becomes to compilation of check_nrpe without ssl. Then in the services file, i defined a service check looks at this: check_nrpe_nossl!check_disk!10%!5%!lofs!nfs!iso9660!udf!hsfs!autofs <http://lerins.cict.fr:1/nagmin/command.cgi/nagios/Service/check_nrpe_nossl> I hope that help you. Carole Gimenez. stephen wing a écrit : Hi All I need to use check_nrpe with the "-n" option so that it does not use SSL connection, When I use this from the command line I get the result I expect. My question is what should the services.cfg file look like to include this option. My current services.cfg file looks like this :- define service { host_name HCNTEST1 service_description/ Free Space check_command check_nrpe!5666!check_root usegeneric-service max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period24x7 notification_options w,c,r contact_groups localadmins } Regards Stephen --- Stephen Wing Steria Limited Senior Technical Consultant Telephone 02890393605 Mobile 07966823605 * This email originates from Steria Limited, registered office: Three Cherry Trees Lane, Hemel Hempstead, Hertfordshire HP2 7AH; Registered in England and Wales, number 2706218; www.steria.co.uk. This email and any attachments may contain confidential information and may be subject to copyright or other intellectual property rights. It is only for the use of the addressee(s). You are prohibited from copying, forwarding, disclosing, saving or otherwise using it in any way if you are not the addressee(s) or responsible for delivery. If you receive this email by mistake, please advise the sender and cancel it immediately. Steria may monitor the content of emails within its network to ensure compliance with its policies and procedures. Any email is susceptible to alteration and its integrity cannot be assured. Steria shall not be liable if the message is altered, modified, falsified, or edited. - 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 - 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