Re: [Nagios-users] notifications
have a try on this: http://exchange.nagios.org/directory/Addons/Notifications/*-Notification-Managers/Rule-2DBased-Notifier/details On Tue, May 1, 2012 at 6:04 PM, Nick Price np...@hotmail.com wrote: I am using Nagios 3.3.1 I have got notifications by SMS working now Is there a way of defining what notifications go to email, what go to SMS and what can go to both. I would like this to apply to escalations as well if possible Regards Nick -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] How to limit the amout of SMS notifications?
how about have another definition: define hostescalation{ host_name.Test Switch first_notification.7 last_notification.0 notification_interval...5 contact_groups.admin sms escalation_optionsr } On Tue, Nov 15, 2011 at 10:50 PM, Andrew Thompson and...@fulgent.co.uk wrote: Thanks Assaf I can a quick look at those but I didn’t think it suited my needs. Now I have had a play I have come up with the following (rules have slightly changed) Now I want the following Notification No.Time Host Down...Notification Method .13 min.Email .28 min.Email .3...13 minEmail, SMS.. .4...18 minEmail .5...23 minEmail .6...28 minEmail .RECOVER.?.Email, SMS.. I have managed it with the following escalations define hostescalation{ host_name.Test Switch first_notification.1 last_notification.5 notification_interval...5 contact_groups.admin email escalation_optionsd,r } define hostescalation{ host_name.Test Switch first_notification.3 last_notification.3 notification_interval...5 contact_groups.admin sms escalation_optionsd,r } define hostescalation{ host_name.Test Switch first_notification.6 last_notification.0 notification_interval...0 contact_groups.admin email escalation_optionsd,r } I get 6 emails as I should at N1-6, I get the SMS at N3. I also get the recovery email but I don’t get the recovery SMS. Is this because I told it not to text me again after N3, and this also includes recovery alerts? Thanks Kind Regards Andrew From: Andrew Thompson Sent: 15 November 2011 10:20 To: 'nagios-users@lists.sourceforge.net' Subject: How to limit the amout of SMS notifications? Hi all, I have Nagios 3.3.1 setup on Ubuntu Desktop 11.04. I monitor approx. 70 hosts (mixture of Windows Servers, Switches, Firewalls) by PING only. Down hosts are notified to me via email and SMS at the moment. What I would like to so is limit the amount of SMS messages that are sent from my Nokia phone connected to my Ubuntu box. As it stands I allow 3 checks 1 minute apart before I am alerted via email – after that I am alerted via email every 5 minutes until recovery. I have just implemented the phone to SMS alerts aswell but I want to limit the amount of texts as I don’t want a text every 5 minutes until recovery for sanity reasons and also cost reasons! This is what I would like to happen If a host goes down: Email and SMS to be sent out on the 3rd failed check to the host (So 1st alert is sent out after 3 minutes of the host being down.) Then…… I want to be alerted via email every 5 minutes until the host recovers But…… I only want 2 more SMS after the initial SMS, 5 minutes apart and then no more SMS until the host is recovered. So I want an SMS after 3, 8 and 13 minutes of the host being down, then a recovery SMS. Is this possible? Thanks in advance Kind Regards Andrew T: 01386 834000 F: 01386 834100 and...@fulgent.co.uk www.fulgent.co.uk Fulgent Technologies Limited, Haddonsacre, Station Road, Offenham, Evesham, WR11 8JJ. This communication contains information which is confidential and may also be privileged or protected by copyright. It is for the exclusive use of the addressee. If you are not the addressee please note that any distribution, reproduction, copying, publication or use of this communication or the information is prohibited. If you have received this communication in error, please telephone us immediately and also delete the communication from your computer. -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now
Re: [Nagios-users] object inheritance - overwrite custom variables?
When you use multiple inheritance sources, Nagios will use the variable/value from the first source that is specified in the use directive. On Wed, Nov 16, 2011 at 2:13 AM, Anders Kvist and...@kvistmail.dk wrote: Hey I have tried to use object inheritance in my nagios config, but a few things are bugging me: I have a linux-server which uses generic-server and sets up default settings for all my linux servers. I have some templates for tasks, in this case: storage, kvm and hardware. They only add the hostgroup (and gets services this way) and have some custom variables. Here is an example: define host{ name storage-server hostgroups +storage-servers register 0 __PROCS_WARN 500 __PROCS_CRIT 750 } A kvm host is defined with 'use linux-server,kvm-server,hardware-server' and storage host with 'use linux-server,storage-server,hardware-server'. Here is an example of a storage host: define host{ use linux-server,storage-server,hardware-server host_name storage01.domain.tld alias storage01 address xxx.xxx.xxx.xxx } Hostgroups work fine (even tough the lists of hostgroups on a host in the webinterface isn't in the same order as the use-line), but custom variables doesn't. I have a __PROCS_WARN and __PROCS_CRIT in linux-servers with a default number of max processes before warning and critical - this needs to be overwritten for kvm-server and storage-server, because they have more processes - but the one from linux-server is used in both cases... What do I need to do to make this work as expected? /Anders -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ 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 -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ 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] Override service notification time
maybe you can check this: http://exchange.nagios.org/directory/Addons/Notifications/*-Notification-Managers/Rule-2DBased-Notifier/details and see if it's what you need. On Mon, Aug 8, 2011 at 10:04 PM, David Wilkinson nagios-us...@noroutetohost.net wrote: Hi I am currently using Nagios with host groups to so that I can add the same service check to multiple hosts without having to create the same service multiple times, which is all working fine, the problem is that I don't want non mission critical hosts alerting staff to a service problem in the middle of the night when the problem can wait till the morning. Will I have to duplicate service config so I can change the notification period or can I have it set on a per host basis and have that override what is set in the service template? Thanks David -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ 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 -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ 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] Make Install error on 3.3.1
also got this error message i think it is because the installation of the new interface theme 'Exfoliation'. there are directories that match 'includes/rss/*' and cause the install utility stoped on error, while it expected all to be installed are files. On Tue, Jul 26, 2011 at 4:41 PM, Andrew Morum amo...@brendata.co.uk wrote: We're seeing an error during make install of 3.3.1. I have checked the install upgrade docs for 3.3.1, all prerequisites are already installed. 3.2.3 still installs with no errors. OS: Ubuntu 8.04.4 LTS (fully up-to-date from apt-get repo) Config line: ./configure --with-command-group=nagcmd Output from make install: root@ubuntu-nagios:~/Nagios/nagios-3.3.1/nagios# make install cd ./base make install make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' make install-basic make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin /usr/bin/install -c -m 774 -o nagios -g nagios nagiostats /usr/local/nagios/bin make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/base' make strip-post-install make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/base' /usr/bin/strip /usr/local/nagios/bin/nagios /usr/bin/strip /usr/local/nagios/bin/nagiostats make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/base' make[1]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/base' cd ./cgi make install make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/cgi' make install-basic make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/cgi' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/sbin for file in *.cgi; do /usr/bin/install -c -m 775 -o nagios -g nagios $file /usr/local/nagios/sbin; done make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/cgi' make strip-post-install make[2]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/cgi' for file in *.cgi; do /usr/bin/strip /usr/local/nagios/sbin/$file; done make[2]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/cgi' make[1]: Leaving directory `/root/Nagios/nagios-3.3.1/nagios/cgi' cd ./html make install make[1]: Entering directory `/root/Nagios/nagios-3.3.1/nagios/html' /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/media /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/stylesheets /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/contexthelp /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/docs/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/images/logos /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/includes/rss/extlib /usr/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/share/ssi /usr/bin/install -c -m 664 -o nagios -g nagios robots.txt /usr/local/nagios/share rm -f /usr/local/nagios/share/index.html rm -f /usr/local/nagios/share/main.html rm -f /usr/local/nagios/share/side.html for file in *.php; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share; done for file in stylesheets/*.css; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/stylesheets; done for file in contexthelp/*.html; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/contexthelp; done for file in images/*.gif; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.jpg; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.png; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/*.ico; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images; done for file in images/logos/*.*; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/images/logos; done for file in includes/*.*; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes; done for file in includes/rss/*; do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/local/nagios/share/includes/rss; done /usr/bin/install: omitting directory `includes/rss/extlib' /usr/bin/install: omitting directory `includes/rss/htdocs' /usr/bin/install: omitting directory
Re: [Nagios-users] Service Checks scheduled to next year. Service State Information mangled?
do you enable retention? On Tue, Jul 26, 2011 at 8:33 PM, Jindrich Nemec jindrich.ne...@fsit.cz wrote: I've found a similar thread, linked below. It seems the problem it is still unsolved. - http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24816.html For example a check that runs today will have a next scheduled check date of 05/03/2010 instead of 05/03/2009. There is no real connection between the checks, it's like a random problem. Some checks have it, others don't. a manual reschedule of the check does solve the problem but sometimes only temporary. http://article.gmane.org/gmane.network.nagios.devel/5554/match=next+year -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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 -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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_DIG] PTR record check not working
try this: check_dig -H 8.8.8.8 -l -x 74.203.101.150 -T PTR -v you have to pass the -x option to the dig utility. On Mon, Jul 25, 2011 at 9:37 PM, Chris C mazzy...@gmail.com wrote: Hi guys, I am having trouble getting a PTR record check working with check_dig check_dig fails check_dig -H 8.8.8.8 -l 74.203.101.150 -T PTR -v /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR Looking for: '74.203.101.150' DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION found)|time=0.169224s;;;0.00 dig works correctly dig @8.8.8.8 -x 74.203.101.150 ; DiG 9.3.6-P1-RedHat-9.3.6-16.P1.el5 @8.8.8.8 -x 74.203.101.150 ; (1 server found) ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 27441 ;; flags: qr rd ra; QUERY: 1, ANSWER: 3, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;150.101.203.74.in-addr.arpa. IN PTR ;; ANSWER SECTION: 150.101.203.74.in-addr.arpa. 83707 IN CNAME 150.128-255.101.203.74.in-addr.arpa. 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR akc.org. 150.128-255.101.203.74.in-addr.arpa. 907 IN PTR www.akc.org. ;; Query time: 15 msec ;; SERVER: 8.8.8.8#53(8.8.8.8) ;; WHEN: Mon Jul 25 09:07:21 2011 ;; MSG SIZE rcvd: 110 I can't get check_dig to work with any PTR record using any nameserver. Anyone have any idea what I'm doing wrong? Thanks, /Chris C -- Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/ ___ 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 -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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] CPU performance with Nagios 3.2.3
maybe you can check out the cron table to see what are running periodically. but i think the load is no problem, unless the value remains very high for a long time. 2011/7/20 Javier González jagonza...@gmail.com: Thank you Yueh-Hung Liu, Is it possible to discover what´s the problem with the Load, which processes take all the CPU time periodically ??? Could i do something to improve the CPU usage ? 2011/7/19 Yueh-Hung Liu yuehung@gmail.com load is not the same as cpu usage, load is the number of queued processes in a period. maybe there are processes waiting for some events, such as I/O. 2011/7/19 Javier González jagonza...@gmail.com: Hello, I have seen a lot peaks on the CPU LOAD of my nagios machine (See pnp4nagios graphs on pdf document attached). I don´t know which process/processes are the ones that use too much CPU on that periods because the PC is only used for Nagios (And plugins used with it) and all the plugins defined have a check_period of 1 minute and there is a lot of periods where the load is near to 0 (so what happens every 2 hours more or less that use so much CPU???) I have tried to find the process that causes this behavior with the top command but %Cpu idle is always (also on the peaks of the CPU LOAD) more han 70% and no process uses more than 4% of CPU (See three examples of TOP command where %CPU idle is always high but Load vary a lot on each case) ** top - 11:52:27 up 9:51, 1 user, load average: 0.09, 0.56, 0.62 Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie Cpu(s): 7.9%us, 1.5%sy, 0.0%ni, 88.4%id, 1.0%wa, 0.3%hi, 0.8%si, 0.0%st Mem: 2050176k total, 675704k used, 1374472k free, 132628k buffers Swap: 2096472k total, 0k used, 2096472k free, 84k cached top - 13:30:05 up 11:29, 2 users, load average: 1.53, 1.27, 0.83 Tasks: 110 total, 3 running, 107 sleeping, 0 stopped, 0 zombie Cpu(s): 9.2%us, 1.5%sy, 0.0%ni, 88.6%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st Mem: 2050176k total, 708540k used, 1341636k free, 139020k buffers Swap: 2096472k total, 0k used, 2096472k free, 334668k cached top - 13:16:39 up 1 day, 11:15, 2 users, load average: 2.45, 2.03, 1.96 Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie Cpu(s): 7.8%us, 1.4%sy, 0.0%ni, 89.1%id, 1.0%wa, 0.2%hi, 0.5%si, 0.0%st Mem: 2050176k total, 845668k used, 1204508k free, 167244k buffers Swap: 2096472k total, 0k used, 2096472k free, 351224k cached Is there some way to find wich process cause this high CPU LOAD ? (Which proccess use sometimes a lot of the CPU time so queuing other processes). Why sometimes the CPU Load is near to 0 and other times Load_1_min is near to 4 (On the example 2,45 but there are higher values) if the processes are always the same ??? Thank you very much * Environment Description. Intel Core 2 DUO E7500 / 2,93GHz DDR2 2GB / 667MHz Centos 5.5 Nagios 3.2.3 nagios-plugins-1.4.11 net-snmp-5.6 snmptt-1.3 mklivestatus-1.1.8 nagvis-1.5.6 pnp4nagios-0.6.10 -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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 -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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 -- 10 Tips for Better Web Security Learn 10 ways
Re: [Nagios-users] garbage characters being returned in scripts
run this script on the HP machine manually as the user as nrpe will be. check what will happen. On Thu, Jul 21, 2011 at 7:05 AM, Rick Garland rick.garl...@quantum.com wrote: Hi all: Got a Nagios 3.2.3 server running on RHEL 5.5. Installed plugins include pnp4nagios 0.6.13 rrdtools 1.4.5 I made some custom scripts that include the use of sar. A snippet; WAITIO=`sar -u 1 3 | grep Average | awk '{print $4}'` CRIT=50 echo %waitio = $WAITIO | /=$WAITIO%;;$CRIT;0;100\r exit 0 When executing this script via nrpe to a Linux client, all is OK. When the same check is performed against HPUX 11v2 or HPUX 11v3, there is garbage in the output and it gets placed into the XML file in the NAGIOS_LONGSERVICEOUTPUT, this results in the parsing error when trying to display the graph. Edit the XML file and take out the garbage then the graph displays fine, until next update. Here is the output after piped to cat –etv. [nagios@nagserver ~]$ check_nrpe -H hostname -c 'check_HPwait' | cat -etv %waitio = 2 | /=2%;;50;0;100^M$ $ M-(wM-}M-3M-^XwM-}M-3M-^X@^AM-_M-l@$ [nagios@nagserver ~]$ Anybody know where that garbage is coming from on HPUX? Anybody know how to fix it? Many thanks The information contained in this transmission may be confidential. Any disclosure, copying, or further distribution of confidential information is not permitted unless such privilege is explicitly granted in writing by Quantum. Quantum reserves the right to have electronic communications, including email and attachments, sent across its networks filtered through anti virus and spam software programs and retain such messages in order to comply with applicable data security and retention requirements. Quantum is not responsible for the proper and complete transmission of the substance of this communication or for any delay in its receipt. -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ 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 -- 5 Ways to Improve Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ ___ 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] CPU performance with Nagios 3.2.3
load is not the same as cpu usage, load is the number of queued processes in a period. maybe there are processes waiting for some events, such as I/O. 2011/7/19 Javier González jagonza...@gmail.com: Hello, I have seen a lot peaks on the CPU LOAD of my nagios machine (See pnp4nagios graphs on pdf document attached). I don´t know which process/processes are the ones that use too much CPU on that periods because the PC is only used for Nagios (And plugins used with it) and all the plugins defined have a check_period of 1 minute and there is a lot of periods where the load is near to 0 (so what happens every 2 hours more or less that use so much CPU???) I have tried to find the process that causes this behavior with the top command but %Cpu idle is always (also on the peaks of the CPU LOAD) more han 70% and no process uses more than 4% of CPU (See three examples of TOP command where %CPU idle is always high but Load vary a lot on each case) ** top - 11:52:27 up 9:51, 1 user, load average: 0.09, 0.56, 0.62 Tasks: 102 total, 1 running, 101 sleeping, 0 stopped, 0 zombie Cpu(s): 7.9%us, 1.5%sy, 0.0%ni, 88.4%id, 1.0%wa, 0.3%hi, 0.8%si, 0.0%st Mem: 2050176k total, 675704k used, 1374472k free, 132628k buffers Swap: 2096472k total, 0k used, 2096472k free, 84k cached top - 13:30:05 up 11:29, 2 users, load average: 1.53, 1.27, 0.83 Tasks: 110 total, 3 running, 107 sleeping, 0 stopped, 0 zombie Cpu(s): 9.2%us, 1.5%sy, 0.0%ni, 88.6%id, 0.0%wa, 0.0%hi, 0.7%si, 0.0%st Mem: 2050176k total, 708540k used, 1341636k free, 139020k buffers Swap: 2096472k total, 0k used, 2096472k free, 334668k cached top - 13:16:39 up 1 day, 11:15, 2 users, load average: 2.45, 2.03, 1.96 Tasks: 106 total, 1 running, 105 sleeping, 0 stopped, 0 zombie Cpu(s): 7.8%us, 1.4%sy, 0.0%ni, 89.1%id, 1.0%wa, 0.2%hi, 0.5%si, 0.0%st Mem: 2050176k total, 845668k used, 1204508k free, 167244k buffers Swap: 2096472k total, 0k used, 2096472k free, 351224k cached Is there some way to find wich process cause this high CPU LOAD ? (Which proccess use sometimes a lot of the CPU time so queuing other processes). Why sometimes the CPU Load is near to 0 and other times Load_1_min is near to 4 (On the example 2,45 but there are higher values) if the processes are always the same ??? Thank you very much * Environment Description. Intel Core 2 DUO E7500 / 2,93GHz DDR2 2GB / 667MHz Centos 5.5 Nagios 3.2.3 nagios-plugins-1.4.11 net-snmp-5.6 snmptt-1.3 mklivestatus-1.1.8 nagvis-1.5.6 pnp4nagios-0.6.10 -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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 -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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] Allowing unauthenticated access to Nagios from select hosts
try default_user_name in cgi.cfg On Wed, Jul 20, 2011 at 3:35 AM, u...@3.am wrote: We use Nagios with normal authentication (the nagios apache config file, much like .htaccess combined with Nagios's cgi.cfg) and want to allow a few internal hosts (with RFC1918 addresses) to access nagios withOUT user authentication. These are basically large displays with no keyboard input. Doing the apache config for this was pretty straightforward: AuthType Basic Require valid-user Allow from 192.168.199.99 Satisfy any However, although the main Nagios page come up fine, one cannot access any of the Monitoring links. You get: It appears as though you do not have permission to view information for any of the services you requested Googling for docs on this, I figured the cgi.cfg was the culprit, but there does not seem to be any way in there to define hosts or IP addresses to give them unauthenticated access. We already have this: authorized_for_all_services=* authorized_for_all_hosts=* We obviously need to leave authentication/authorization enabled for all other hosts. Is there a way around this? Thanks in advance! -- Magic Quadrant for Content-Aware Data Loss Prevention Research study explores the data loss prevention market. Includes in-depth analysis on the changes within the DLP market, and the criteria used to evaluate the strengths and weaknesses of these DLP solutions. http://www.accelacomm.com/jaw/sfnl/114/51385063/ ___ 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 -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ 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] compiling for solaris 10
solaris 10 has some utilities from www.sunfreeware.com, include gnu cc (gcc) and gnu make (gmake). check the /usr/sfw/bin folder and try with these gnu stuff again. On Sat, Jul 9, 2011 at 5:45 AM, DA VILA, LUCAS (LUCAS) lucas.da_v...@alcatel-lucent.com wrote: Hi users, I'm trying to compile NPRE and de nagios plugins on a Sun/SPARC Solaris 10 server. I've managed to compile and install NPRE modifying a little de source, and disabling SSL. But when I want to compile de nagios plugins an error occurs with the linker. I'm compiling nrpe-2.12.tar.gz nagios-plugins-1.4.11.tar.gz with cc the default compiler on our system (no GCC) This is the output running a make in 'plugins' folder root@ALUSPARC02$ make /bin/bash ../libtool --tag=CC --mode=link cc -g -L. -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket cc -g -o check_apt check_apt.o utils.o runcmd.o -L/users/adsl/nagios-plugins-1.4.11/plugins ../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket Undefined first referenced symbol in file floor check_apt.o ld: fatal: Symbol referencing errors. No output written to check_apt *** Error code 1 make: Fatal error: Command failed for target `check_apt' I've tried to remove check_apt from the make file, but the error repeats with another check_* (check_cluster, check_disk) Also run the isolated command root@ALUSPARC02$ cc -g -o check_apt check_apt.o utils.o runcmd.o Undefined first referenced symbol in file die check_apt.o floor check_apt.o rpl_getopt_long check_apt.o rpl_optarg check_apt.o rpl_regfree check_apt.o rpl_regexec check_apt.o rpl_regcomp check_apt.o asprintf utils.o rpl_regerror check_apt.o ld: fatal: Symbol referencing errors. No output written to check_apt I've search on google about this and found some pages, but didn't get errors with the compilation of the plugins. Anyone have an idea with this error? Thanks in advance, Best regards Lucas -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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] Re : Re: Re : Re: Whoops! Could not read object configuration data!
what are the permissions and ownerships of nagios' config files? what user is the http server (apache) running on? On Sun, Jul 3, 2011 at 10:06 AM, cris...@videotron.ca wrote: Yes, i tried the default, from my VM installation as well... i thought it was that at one point... because i changed the default nagiosadmin user to another use id, and i had changed my htpasswd too to match them... and then i tested with original htpasswd and original cgi files... things havnt got any better... to my little comprehension... CGI is worlking fine, as well as php... but it some point, seems like a process not able to read a file config of nagios... a process from apache... which i tried to restore all the known config files of both products... apache and nagios to match a new installation... i know or guess that i could easlily probably just remove and reinstall or force a re-install of both products... but i am also the usual type of guy that want to know what brakes... i hate the microsoft solution of ctrl + alt + del ... i'dlove to find what is deffective, im sure its a config... because it works elsewhere... so it related to my machine. config, etc... - Message d'origine - De: Yueh-Hung Liu yuehung@gmail.com Date: Samedi, 2 Juillet 2011, 9:06 pm Objet: Re: [Nagios-users] Re : Re: Whoops! Could not read object configuration data! À: Nagios Users List nagios-users@lists.sourceforge.net did you check your 'cgi.cfg' config file? On Sun, Jul 3, 2011 at 6:08 AM, cris...@videotron.ca wrote: No, not that i know off, selinux and iptables are disabled since i installed linux... first thing i do, i'd wish could be that simple tho ! - Message d'origine - De: Jim Avery j...@jimavery.me.uk Date: Samedi, 2 Juillet 2011, 5:56 pm Objet: Re: [Nagios-users] Whoops! Could not read object configuration data! À: Nagios Users List nagios-users@lists.sourceforge.net On 2 July 2011 21:57, cris...@videotron.ca wrote: Hi Community! i have a little problem here with Nagios (web interface). It's not that old chestnut selinux stopping it from working is it? -- --- - All of the data generated in your IT infrastructure is seriously valuable.Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 - - All of the data generated in your IT infrastructure is seriously valuable.Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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
Re: [Nagios-users] Re : Re: Whoops! Could not read object configuration data!
did you check your 'cgi.cfg' config file? On Sun, Jul 3, 2011 at 6:08 AM, cris...@videotron.ca wrote: No, not that i know off, selinux and iptables are disabled since i installed linux... first thing i do, i'd wish could be that simple tho ! - Message d'origine - De: Jim Avery j...@jimavery.me.uk Date: Samedi, 2 Juillet 2011, 5:56 pm Objet: Re: [Nagios-users] Whoops! Could not read object configuration data! À: Nagios Users List nagios-users@lists.sourceforge.net On 2 July 2011 21:57, cris...@videotron.ca wrote: Hi Community! i have a little problem here with Nagios (web interface). It's not that old chestnut selinux stopping it from working is it? - - All of the data generated in your IT infrastructure is seriously valuable.Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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] Expand service group error in 43 line test config (why?)
try to remove the line 'register 0' from the definition of your servicegroup. On Tue, Jun 28, 2011 at 8:17 AM, Eric B. barnabus.pinkleh...@gmail.com wrote: Hi Brandon, I would normally agree with you, but there are numerous undocumented features w/i nagios, and it actually does recognize the option (the file I posted is completely self-contained); if you misspell the option (like serviceXgroup_name), it reports it as an unknown option. My much larger config uses this parameter for serviceescalation in other parts with no problems.The error says it can't 'expand the servicegroups specified', so I'm leaning towards that the problem you mentioned as a red herring... Hopefully your thought isn't the case, otherwise, I have a big problem rewriting all my configs... :-/ -Eric On Mon, Jun 27, 2011 at 3:43 PM, Brandon Williams bwilli...@zynga.com wrote: Looking at define serviceescalation { servicegroup_name group-1 first_notification 1 last_notification 6 notification_interval 5 contacts primary-oncall } I don’t see an option for : servicegroup_name group-1 In the Nagios documentation. I would try removing that line and trying again. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation From: Eric B. [mailto:barnabus.pinkleh...@gmail.com] Sent: Monday, June 27, 2011 2:46 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Expand service group error in 43 line test config (why?) This has me stumped. I whittled my ugly config down to 35 lines, and was still able to re-create the error. Any ideas what is wrong? I'm running Nagios Core v. 3.2.3. Much thanks in advance! -Eric Error is: Error: Could not expand servicegroups specified in service escalation (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on line 13) Error processing object config files! Here's the config: define servicegroup { servicegroup_name group-1 alias All Services register 0 } define contact { contact_name primary-oncall alias Primary Oncall email f...@bar.com } define serviceescalation { servicegroup_name group-1 first_notification 1 last_notification 6 notification_interval 5 contacts primary-oncall } define service { servicegroups group-1 host_name admin.qa check_command check_foo } define host { host_name admin.qa address 127.0.0.1 } define command { command_name check_foo command_line /bin/true } -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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] Expand service group error in 43 line test config (why?)
ok, then you have no 'service_description' in your service definition. On Tue, Jun 28, 2011 at 10:40 AM, Eric B. barnabus.pinkleh...@gmail.com wrote: Hi Yueh-Hung, Unfortunately, same result (just tried it). -E On Mon, Jun 27, 2011 at 7:05 PM, Yueh-Hung Liu yuehung@gmail.com wrote: try to remove the line 'register 0' from the definition of your servicegroup. On Tue, Jun 28, 2011 at 8:17 AM, Eric B. barnabus.pinkleh...@gmail.com wrote: Hi Brandon, I would normally agree with you, but there are numerous undocumented features w/i nagios, and it actually does recognize the option (the file I posted is completely self-contained); if you misspell the option (like serviceXgroup_name), it reports it as an unknown option. My much larger config uses this parameter for serviceescalation in other parts with no problems.The error says it can't 'expand the servicegroups specified', so I'm leaning towards that the problem you mentioned as a red herring... Hopefully your thought isn't the case, otherwise, I have a big problem rewriting all my configs... :-/ -Eric On Mon, Jun 27, 2011 at 3:43 PM, Brandon Williams bwilli...@zynga.com wrote: Looking at define serviceescalation { servicegroup_name group-1 first_notification 1 last_notification 6 notification_interval 5 contacts primary-oncall } I don’t see an option for : servicegroup_name group-1 In the Nagios documentation. I would try removing that line and trying again. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#serviceescalation From: Eric B. [mailto:barnabus.pinkleh...@gmail.com] Sent: Monday, June 27, 2011 2:46 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Expand service group error in 43 line test config (why?) This has me stumped. I whittled my ugly config down to 35 lines, and was still able to re-create the error. Any ideas what is wrong? I'm running Nagios Core v. 3.2.3. Much thanks in advance! -Eric Error is: Error: Could not expand servicegroups specified in service escalation (config file '/home/opsmon/etc/nagios/objects/qbo/foo.cfg', starting on line 13) Error processing object config files! Here's the config: define servicegroup { servicegroup_name group-1 alias All Services register 0 } define contact { contact_name primary-oncall alias Primary Oncall email f...@bar.com } define serviceescalation { servicegroup_name group-1 first_notification 1 last_notification 6 notification_interval 5 contacts primary-oncall } define service { servicegroups group-1 host_name admin.qa check_command check_foo } define host { host_name admin.qa address 127.0.0.1 } define command { command_name check_foo command_line /bin/true } -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ 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 -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes
Re: [Nagios-users] Return code of 141 is out of bounds Error in Nagios 3.2.3
nagios only accepts integers 0~3 as return codes of plugins. try to manually execute the command of the questioned service (be the user nagios runs as) and check the ouputs. On Mon, Jun 20, 2011 at 9:24 AM, Rai Ricafrente maill...@ricafrente.com wrote: Hi everyone, I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600 services. I just noticed from time to time, hosts are throwing out Return code of 141 is out of bounds status every now and then, then it will eventually go away. I don't know if this has anything to do with the plugin since the status will return to OK state without intervention, which proves that the check_icmp plugin works just fine. I'm confused with this error, and this one did not manifest itself when we were using Nagios v2. Anyone has the same issue? Big thanks, Rai -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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 -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] Referencing resource.cfg variable in SNMP COMMUNITY
i think macros can only be used in command definition. if all remote hosts' snmp strings have been modified, changing of snmp community name for checking is not so difficult since you only have to modify some configuration files on nagios monitor instead of every remote hosts. On Fri, Jun 17, 2011 at 4:01 AM, Bonnie Backstrom bonnie.backst...@neovera.com wrote: Submitted this to NConf forums and they advised this is a Nagios question: Is it possible to reference a variable defined in resource.cfg (ie; $USER5$ = abc) in _SNMP_COMMUNITY? We would like to be able to modify all hosts SNMP strings with a single entry rather than having to do so across all hosts. And of course still be able to use $_HOSTSNMP_COMMUNITY$ in our service checks so that $_HOSTSNMP_COMMUNITY$ = _SNMP_COMMUNITY = $USER5$ = abc, thus having Nagios read 'abc'. Does anyone know of an alternate approach to accomplish same? Our current version is Nagios 3.0.6 and NConf 1.2.5 -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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 -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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] Clarification of perfdata configuration
are you sure your checks will return performance data along with check outputs? BR On Tue, Jun 14, 2011 at 2:37 AM, Craig Stewart craig.stew...@corp.xplornet.com wrote: Good day all! It's me again. Before I get too detailed, I'd just like a sanity check on what is supposed to happen. Let's say we have a nagios.cfg series of entries like this: host_perfdata_file=/tmp/host.perfdata host_perfdata_template=$HOSTNAME$\t$HOSTSTATEID$\t$HOSTOUTPUT$\t$HOSTOUTPUT$ service_perfdata_file=/tmp/service.perfdata service_perfdata_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t'$SERVICEOUTPUT$' host_perfdata_file_mode=a service_perfdata_file_mode=a If I understand this correctly, the Nagios process opens the two files and starts appending the information in the format supplied above, correct? I've checked, and Nagios is opening the files. [root@g-caon-spdtst-tor01 tmp]# lsof | grep perfdata nagios 6941 nagios 6w REG 8,3 0 1983833 /tmp/host.perfdata nagios 6941 nagios 7w REG 8,3 0 1983834 /tmp/service.perfdata [root@g-caon-spdtst-tor01 tmp]# ps awx | grep nagios 6941 ? Ssl 0:12 /usr/sbin/nagios -d /etc/nagios/nagios.cfg [root@g-caon-spdtst-tor01 tmp]# ls -l *.perfdata -rw-rw-r-- 1 nagios nagios 0 2011-06-13 18:01 host.perfdata -rw-rw-r-- 1 nagios nagios 0 2011-06-13 18:01 service.perfdata [root@g-caon-spdtst-tor01 tmp]# If I understand all of the above, this file should be collecting the information dumped to it, and getting larger and larger and larger As it stands, nothing is going into the files. Thoughts? I'm sure it's something simple and I'm overlooking it. System specs: Nagios Core 3.2.0 Copyright (c) 2009 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 08-12-2009 License: GPL [root@g-caon-spdtst-tor01 tmp]# uname -a Linux g-caon-spdtst-tor01 2.6.27.29-170.2.79.fc10.x86_64 #1 SMP Fri Aug 14 20:49:37 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux Cheers! Craig -- Craig Stewart Systems Integration Analyst craig.stew...@corp.xplornet.com Xplornet - Broadband, Everywhere -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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 -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ 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_nt: segmentation fault
use check_nrpe + nsclient++ instead? On Mon, May 23, 2011 at 3:39 PM, Marco Borsani m.bors...@it.net wrote: Hi all I change my HW (Dell PE 2950) and SO (Centos 5.6 - 64bit) , re-compile Nagios and plugins 1.4.15, everything is working fine, but often a read the message: check_nt[25324]: segfault at rip 003aa1837a04 rsp 7fffd309e0a0 error 4 Any idea ? Regards Marco -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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 -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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] Macro Expansion Problem
you can use host groups in service definitions On Sat, May 21, 2011 at 11:11 AM, Terry Carmen te...@cnysupport.com wrote: Quoting Jonathan Angliss j...@netdork.net: That's not to say you won't see it defined in a service, but less likely than a command. What made you think $HOSTNAME$ was valid there? If it was valid, what value should it take? What are you trying to achieve? I would like to define it in the define host section as below, and have it expanded in the define service section right below it (in the same file). It seems inefficient to be required to define an explicit hostname in each section of an object definition. define host{ host_name mymachine hostgroups MyGroup alias mymachine address 10.1.2.100 max_check_attempts 5 contact_groups admins check_command check-host-alive } define service{ use generic-service host_name %HOSTNAME% should expand to mymachine service_description PING check_command check_ping!100.0,20%!500.0,60% } -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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 -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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] Q: Service Escalation Recovery Notifications.
by the examples from nagios documentation, only on-call-support will get the 6th and above notifications. On Thu, May 19, 2011 at 4:33 AM, Paul M. Dubuc w...@paul.dubuc.org wrote: Here is an example from the Nagios 3.2.3 documentation on service escalations. Recovery Notifications Recovery notifications are slightly different than problem notifications when it comes to escalations. Take the following example: define serviceescalation{ host_name webserver service_description HTTP first_notification 3 last_notification 5 notification_interval 20 contact_groups nt-admins,managers } define serviceescalation{ host_name webserver service_description HTTP first_notification 4 last_notification 0 notification_interval 30 contact_groups on-call-support } If, after three problem notifications, a recovery notification is sent out for the service, who gets notified? The recovery is actually the fourth notification that gets sent out. However, the escalation code is smart enough to realize that only those people who were notified about the problem on the third notification should be notified about the recovery. In this case, the nt-admins and managers contact groups would be notified of the recovery. My question is who gets the recovery notification after 6 problem notifications? Only on-call-support (the last one notified), or all three contact groups (since all received notifications of the problem)? If only on-call-support (which seems to be the case), how can I ensure that the others get it too? I tried adding a service escalation for the recovery notification, like so in keeping with the above example: define serviceescalation{ host_name webserver service_description HTTP first_notification 2 last_notification 0 escalation_options r contact_groups on-call-support,nt-admins,managers } but that doesn't seem to work. I had thought this fixed the problem but the recovery notification only seems to go to the last contact(s) that were notified of the problem. -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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 -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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] Notification after Acknowledgment
what's the purpose of acknowledging the service problems? just to suppress the notifications or ? On Fri, May 13, 2011 at 3:34 PM, Andre Kruger andre.kru...@trw.com wrote: Hi Can you guys please give me your input on how you handle the following situation. Lets take monitoring a disk as an example. For arguments sake lets say when the disk reaches 80% capacity I send out a warning and at 90% I send out a critical. There is also a Service Escalation configured to send out notifications when this service reaches critical. So at 80 percent I get my notification all is well. I then go ahead and acknowledge the event and in doing so Nagios will not send out any further notifications. Which according to the Nagios logic is correct. The problem is if the disk in the mean time reaches critical, 90% capacity, I won't get another notification. Not even the Service Escalation helps here, because the event has already been acknowledged. Do you guys have any suggestions on how this problem can be solved? Regards Andre P Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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] Question about check_disk -L option
i think check_disk, if has -L, will expect that at least one local disk is available with any remote one. On Tue, May 10, 2011 at 9:53 PM, Dave Wallis wal...@aps.anl.gov wrote: Yueh-Hung Liu wrote: it's not an error, you specify to check /usr/local only and it's a remote fs, so no local fs will be checked and the -L option just test the access to nfs. I should have included that the check_disk plugin using the -L option returns the value 3, which indicates unknown status. I would expect check_disk -L to return a 0 status if the remote file system is accessible. -- David Wallis Principal Computer Engineer Information Technology Group Advanced Photon Source Argonne National Laboratory -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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] over writing services from templates
exclude host2 from the first service definition, such as: service { name service-check command run-some-check.sh max_check_attempts 1 hostgroup_name host_group1 host _name !host2 } On Mon, May 9, 2011 at 6:57 PM, m...@catsnest.co.uk wrote: Hi all, I seem to have a working solution but an confused as to why it works, could some one please explain or suggest a better way to do this. I apply service to hosts via, host-templates and wanted to change a value for a service but just for one hosts. I didnt want to add a new service / service template hoping i could just over ride the value for just that one host: I am running Nagios 3.2.3 and the simplified config looks like this: service { name service-check command run-some-check.sh max_check_attempts 1 hostgroup_name host_group1 } host { name host-template1 use generic hostgroups +host_group1 register 0 } host { name host1 use host-template1 } host { name host2 use host-template1 } Now I wanted to change the value for max_check_attempts used by the service for host2. What I did was service { name service-check command run-some-check.sh max_check_attempts 3 host host2 } This created duplicate a warning when doing a verbose config check, but no warning on the normal config check and it allowed Nagios to reload and used the values from the host defined service! My questions are, why does this work? Is Nagios actually running both services but only showing one of them in the gui and ill probably have some race condition between them. Is there a better way to do this? Thanks for your help, 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. -- -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ 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 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ 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] Question about check_disk -L option
it's not an error, you specify to check /usr/local only and it's a remote fs, so no local fs will be checked and the -L option just test the access to nfs. On Tue, May 10, 2011 at 1:08 AM, Dave Wallis wal...@aps.anl.gov wrote: On Red Hat 6 clients, I need to monitor some NFS mount points for conditions like stale NFS file handles. The check_disk plugin describes the -L (--stat-remote-fs) option as providing this functionality. However, either I'm not understanding how the option works, or it's not working properly. Here is an example of what I'm seeing: # df -h /usr/local Filesystem Size Used Avail Use% Mounted on oxygennfs48:/usr/local 250G 214G 37G 86% /usr/local # # ./check_disk -w 20% -c 10% -p /usr/local DISK WARNING - free space: /usr/local 37846 MB (14% inode=98%);| /usr/local=218154MB;204800;230400;0;256000 # # ./check_disk -w 20% -c 10% -p /usr/local -L DISK UNKNOWN - free space:| # Does anyone have any experience using this option, or have any guesses why it's generating an error? -- David Wallis Principal Computer Engineer Information Technology Group Advanced Photon Source Argonne National Laboratory -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ 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 -- Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay ___ 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 get daemon to run at boot
what's the run level of your system? On Sun, May 8, 2011 at 12:59 AM, Matty Sarro msa...@gmail.com wrote: On Sat, May 7, 2011 at 3:58 AM, Assaf Flatto nag...@flatto.net wrote: Matty Sarro wrote: Hey everyone, First let me start off that I found another post detailing my issue, but sadly its in French and I can't read it :( I'm trying to get nagios installed on debian squeeze. I have created the symlink from /etc/init.d/nagios to /etc/rcS.d/S99nagios. Upon booting, nothing happens. There's nothing in dmesg, there's nothing in /var/log/messages. Now, if I go to the nagios webpage it gives me the Whoops! error on every page. Upon manually running /etc/init.d/nagios start the service starts just fine, and all of the web pages begin appearing. I've doublechecked that all permissions are correct. I've also tried forcing the script with: update-init.d nagios defaults This spits out a ton of errors: insserv: warning: script 'S99nagios' missing LSB tags and overrides insserv: warning: script 'nagios' missing LSB tags and overrides insserv: warning: current start runlevel(s) (S) of script `nagios' overwrites defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (empty) of script `nagios' overwrites defaults (0 1 6). insserv: There is a loop between service nagios and stop-bootlogd-single if started insserv: loop involving service stop-bootlogd-single at depth 8 insserv: loop involving service nagios at depth 7 insserv: loop involving service mountnfs at depth 6 insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: There is a loop between service nagios and stop-bootlogd-single if started insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all' which can not be true! insserv: Starting nagios depends on stop-bootlogd-single and therefore on system facility `$all'
Re: [Nagios-users] Strange problem using the obsessive/compulsive service processor in Nagios Core 3.2.3
if you use ocsp service/host commands to send results to the secondary server, the primary server will wait the ndo module to update the mysql database for completing the commands. it should be an issue of latency, especially you use the obsessive function on *EVERY* check. On Wed, Apr 27, 2011 at 10:29 PM, Eric Michaelis combin...@gmail.com wrote: Good morning! We're having a strange issue trying to use the obsessive/compulsive processor in Nagios. We're running Nagios Core 3.2.3, with Nagios plugins version 1.4.15. In our previous production environment, we had encountered issues with performance while using the NDO module, so we're trying to set up an architecture like so: Primary server: Runs all active checks, and uses the mklivestatus broker for Nagvis maps and other visualizations. Uses the OCSP to send results of all active checks to the second server. Secondary server: Receives checks from the primary server. Logs service check results to a MySQL database using NDO. The problem comes when we enable the obsessive/compulsive options on the primary. If we enable both the obsess_over_services and obsess_over_hosts options, it takes it very literally: that's ALL Nagios does. All active checks stop, and Nagios spends all of its time running the ocsp service and host commands. If we enable only the obsess_over_services option, active checks DO get performed, but the scheduling queue and check latency starts to grow; with the active checks falling farther and farther behind. The primary Nagios server is a relatively powerful system, with 12 cores and 64 GB of RAM. The load average, even when it's only running the ocsp commands, never rises above about 20 or 21, so it doesn't seem like the server is being overwhelmed. Presumably other folks are using the ocsp options successfully, so I'm curious if anyone has seen anything like this and knows of a fix/workaround? Any assistance is greatly appreciated. -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ 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 -- WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd ___ 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] notification_interval normal_check_interval
if the service remains in a non-ok state and notification_interval have passed since the last notification, another notification will be sent. please post your definition of the service. On Tue, Apr 19, 2011 at 1:44 AM, Mike Chesnut mi...@aggregateknowledge.com wrote: I have a check that I only want to occur once a day, so I do this in the service definition: normal_check_interval 1440 However, when it fails, I want it to retry every 10 minutes, so I do this: retry_check_interval 10 My default notification_interval is set to 15. When I run a pre-flight check, I get this: Warning: Service 'service' on host 'host' has a notification interval less than its check interval! Notifications are only re-sent after checks are made, so the effective notification interval will be that of the check interval. Is that warning telling me that notifications are only sent when a normal check occurs? What I want is for in the event of a failure, notifications to continue to be sent (every 15 minutes) until the service recovers. Will that be the case? Thanks, Mike -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-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 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-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
Re: [Nagios-users] pnp4nagios?
that should be an RRD issue, not pnp4nagios at all. if you would like to include the historical data, you need a process to restore them into the RRD files. after that pnp4nagios can show all honestly and add new data for you from now on. On Fri, Apr 15, 2011 at 6:10 AM, Jeremiah D. Jester jj...@u.washington.edu wrote: I should have been more specific. I just want to include all historical data from nagios into pnp. It’s only showing data from the install date forward. Thanks,JJ Jeremiah Jester Informatics Specialist Microbiology – Katze Lab 206-732-6185 From: Phil K. [mailto:phillip.kenn...@yankeeairmuseum.org] Sent: Thursday, April 14, 2011 12:17 PM To: Nagios Users List Subject: Re: [Nagios-users] pnp4nagios? What 'issues' are you seeing? I've noticed ubuntu and apt can mark some dependancies as unused and safe for removal depending on how you installed nagios in the first place. That led to a bit of hair pulling on my end ~Phil -- Sent from my Android phone with K-9. Jeremiah D. Jester jj...@u.washington.edu wrote: Anyone here using pnp4nagios for graphing? I’m having some configuration issues and wanted to see if there was someone who could assist? Thanks, JJ Jeremiah Jester Informatics Specialist Microbiology – Katze Lab 206-732-6185 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-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 -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-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
Re: [Nagios-users] backup email notifcation consolidator
how about let Nagios monitor the backup logs(if they exist) of every backup application? On Wed, Apr 13, 2011 at 7:41 AM, Matthew Nickerson mnicker...@silcon.com wrote: Hello, I’m looking for an add-on, and hoping someone has made it, that can consolidate backup email reports. We have several clients, running multiple version of backup exec, some with NTbackup, and some with Jungle Disc. I’d like to get all these email reports consolidated into a single report that shows if a backup ran when it was supposed to run, and if the job was successful. Alternatively, if Nagios can monitor an inbox and parse the emails for failure messages and generate a warning, that would work too. Right now the problem is that I get about 60 reports daily, which clutters up the inbox. Matt -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ 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 -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ 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] Configuration Planning
all your questions can be answered within here: http://nagios.sourceforge.net/docs/nagioscore/3/en/ On Tue, Apr 5, 2011 at 8:30 PM, Cory Clouse cclo...@fecon.com wrote: Ok, I am still pretty shallow into the subject so my questions may be a little easy/un-researched. 1. With nagios, are you supposed to define hosts in the cfg files in a folder you have to create called objects? Or is this done through the website through the asset page. 2. Also, I feel like my server is not communicating with my nagios sensor. I was trying to test that by sending a command but I get the “Sorry Dave” error. In regards to that, I had the use_authentication in the cgi.cfg set to 0 just to test if I could send a command and I still got that same error. So how do I set that up securely? What passwords need to match where? This will help me get started with the nagios configuration. If you have any other suggestions or pointers they would be greatly appreciated Thanks a lot, Cory *From:* Greg Pangrazio [mailto:pangr...@gmail.com] *Sent:* Monday, April 04, 2011 5:55 PM *To:* Nagios Users List *Subject:* Re: [Nagios-users] Configuration Planning Cory, If you have specific questions about the nagios install on alienvault we may be able to help you. There is probably a different list that would be better for these questions. Greg Pangrazio On Mon, Apr 4, 2011 at 3:18 PM, Cory Clouse cclo...@fecon.com wrote: Hello, This is my first time using AlienVault and I would really like some directions to take for planning my system. I have tried picking function by function to install but I cannot get anything working. I would really appreciate someone telling me what I need to work on first so that I can correctly walk through each specific task. My plan is to have one central server which is hosted on a VM. This will not have any sensors, just the framework, server, and the database. I will also have two sensors with 2 network cards a piece. I want one of them to do snort and then I want the other sensor dealing with nagios and ntop. Thanks Cory Fecon Inc. [image: mini logo] -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ 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 -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ 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 image001.gif-- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev___ 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_san_switch
does it provide SNMP objects for querying? On Fri, Apr 1, 2011 at 6:43 PM, Tntteam tntt...@free.fr wrote: Hi, I'm looking for a check_san_switch plugin, I found this one : http://exchange.nagios.org/directory/Plugins/Hardware/Storage-Systems/SAN-and-NAS/Check-SAN-Switch-Health/details But only checks the san switch health. Anyone knowns about a plugin that would output performance data of san switch ports ? Thanks -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ 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 -- Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf ___ 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] 'Status Totals' bug?
look at the top left corner, there is a Display Filters box which indicates what will be show out. according to your scenario, should there be a OK service under a Down host? On Fri, Mar 25, 2011 at 1:48 AM, Boyer, Timothy A. timothy.bo...@opm.gov wrote: I’m running 3.2.2 on multiple Linux boxes, so I’ve tested this with RHEL 4, 5, and 6. I hate to yell ‘bug!’, because I know it’s usually user error – but I think this is one. Click on ‘Host Groups’, and select anything under ‘Service Status Totals’ on the top. Say, ‘OK’. It goes to here: http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=allstyle=detailservicestatustypes=2hoststatustypes=15 as it should. Click on something under ‘Host Status Totals’ – say, ‘Down’ – and it goes here: http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=allstyle=detailservicestatustypes=2hoststatustypes=4 Click back over on ‘OK’ on ‘Service’, and it now goes here: http://172.25.17.40/nagios/cgi-bin/status.cgi?hostgroup=allstyle=detailservicestatustypes=2hoststatustypes=4 and shows I’ve got no services. Replicable on Firefox and IE. Resets if you reload ‘Host Groups’. -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ 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 -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ 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] compact definition of multiple hosts or service groups?
http://nagios.sourceforge.net/docs/nagioscore/3/en/objecttricks.html On Thu, Mar 24, 2011 at 6:56 AM, Justin T Pryzby just...@norchemlab.com wrote: Hi Everyone, Is there any way to add multiple hosts or service groups at once? Thanks Justin -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ 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 -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ 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] Create services dynamically for a specific host
no. you have to define the services before Nagios can display them, otherwise Nagios won't know where the passive checks it received should go, this is the rule. but maybe you can do a trick: while a passive check occurs, create a config file dynamically for the subject service, restart Nagios to read the new config file, then issue an external command to set the status of the service. just an idea, no detail now. On Wed, Mar 16, 2011 at 7:09 PM, Anand, Sakshi sa185...@ncr.com wrote: Hi, I have some 150 services that I wish to monitor using passive checks to Nagios. Is it possible for Nagios to dynamically display these services as it received the check without specifying the exact service name in the configuration? Please suggest if there is any way out to get this done. Thanks Regards, Sakshi Anand -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-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 -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-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] Strange timeout discrepancy
in Nagios' main config file, check the value of service_check_timeout On Fri, Mar 4, 2011 at 9:57 PM, Boyer, Timothy A. timothy.bo...@opm.gov wrote: I’m getting the usual nrpe timeout on a slow network here. Error messages says CHECK_NRPE: Socket timeout after 30 seconds. And normally know how to fix it. The really strange thing is that the client has timeouts set to 60 in nrpe.cfg: command_timeout=60 and the nrpe call itself is being done with a timeout of 60: command_line $USER1$/check_nrpe -H cabot -t 60 -c check_local_info with the check_local_info being my own shell script. So is there another place that the ‘30’ timeout could possibly be coming from? Thanks much… -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ 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 -- What You Don't Know About Data Connectivity CAN Hurt You This paper provides an overview of data connectivity, details its effect on application quality, and explores various alternative solutions. http://p.sf.net/sfu/progress-d2d ___ 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] Undeliverable Mail
Host or domain name not found. Name service error for name=monitor22.csaa.local type=A: Host not found is it not the problem? On Wed, Mar 2, 2011 at 9:44 AM, Dei Bertine deibert...@yahoo.com wrote: Dear all - I run Nagios Core 3.2.3 and running postfix as mt mta agent in Ubuntu 10.4. I have setup nagios alerts to send to me and to send to our ticketing system which is tic...@csaa.com. My ticketing system has a auto responder which responds to end users so with that basically whenever Nagios sends alerts to tic...@csaa.com it auto responds to nagios - unfortunately it fails: Your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system nag...@monitor22.csaa.local: Host or domain name not found. Name service error for name=monitor22.csaa.local type=A: Host not found My question is, how can I make Nagios/Postfix receive emails within? Pls kindly advise mates. Cheers, DB -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Check Time Issue
how many attempts do you configure before a non-OK state becomes hard? On Thu, Feb 24, 2011 at 7:24 PM, Rus Hughes russell.hug...@gmail.com wrote: Hi, I've been investigating an issue we have with Nagios Core 3.2.0 that we're running on Redhat 5.4. We're being a bit ruthless and have configured retry_check_interval and normal_check_interval to both be 1 on all hosts and services (20 hosts and 293 services). We're seeing massive delays between checks getting run for services flagged as DOWN, even though the box has little load (0.2) Looking at the extended information page for a service that was DOWN we're seeing events like this occur : At 10:40 a service that was DOWN had a check that was scheduled to run at 10:25 but still hadn't run At 11:02 I refreshed the page for the Nagios check Nagios had run the check and changed the service state to UP The last check time was set to be 10:25 though Even though the check actually ran between 10:40 and 11:02 Does anyone know why 1) Nagios is being 'lazy' when rechecking services marked as DOWN ? We've configured retry_check_interval to 1 for all checks and theres little load on the box and at most only about 4 Nagios processes running at a time, so there are resources free to be used .. 2) Why Nagios is marking the Last Check Time to be the predicted Next Scheduled Check time, even though the real time the check one is way after? (Bug in Nagios?) Thanks, Rus -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Reg: Service_Notification_Event
nowhere to change except modifying source code, i think. this is the way Nagios treats service status. On Thu, Feb 24, 2011 at 10:00 PM, Rajesh Kumar ras.kuma...@gmail.com wrote: Hi Team My request is how to change macro event of service status, we dont like Recovery, Critical also. We need instead of Up , Down alert. On Thu, Feb 24, 2011 at 3:48 PM, m...@catsnest.co.uk wrote: On Wed, Feb 23, 2011 at 11:33 AM, Rajesh Kumar ras.kuma...@gmail.com wrote: Hi team I have installed Nagios Core in CentOS for Monitor Application Server, it’s working fine and getting mail if http server down and up. I need to change to service notification alert of (r-Recovery), (c-Critical). Let me know possible to change the global event in macro address. If it is possible please share to me. It will help for us. I believe you are referring to service_notification_options and host_notification_options http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#contact Ritchie, Require is Instead of UP and Down Recovery = UP Critical = Down Regards B.Rajeshkumar -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Reg: Service_Notification_Event
nowhere to change except modifying source code, i think. this is the way Nagios treats service status. On Thu, Feb 24, 2011 at 10:00 PM, Rajesh Kumar ras.kuma...@gmail.com wrote: Hi Team My request is how to change macro event of service status, we dont like Recovery, Critical also. We need instead of Up , Down alert. On Thu, Feb 24, 2011 at 3:48 PM, m...@catsnest.co.uk wrote: On Wed, Feb 23, 2011 at 11:33 AM, Rajesh Kumar ras.kuma...@gmail.com wrote: Hi team I have installed Nagios Core in CentOS for Monitor Application Server, it’s working fine and getting mail if http server down and up. I need to change to service notification alert of (r-Recovery), (c-Critical). Let me know possible to change the global event in macro address. If it is possible please share to me. It will help for us. I believe you are referring to service_notification_options and host_notification_options http://nagios.sourceforge.net/docs/nagioscore/3/en/objectdefinitions.html#contact Ritchie, Require is Instead of UP and Down Recovery = UP Critical = Down Regards B.Rajeshkumar -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Which GUI to configure Nagios 3 ?
agree +1 at implementation step, admins have to edit (and understand) all config files by hands. but once the whole monitoring system is on its way stable, a config GUI add-on will be helpful for daily maintanence. On Fri, Feb 25, 2011 at 5:15 AM, Breandan Dezendorf brean...@dezendorf.com wrote: On Thu, Feb 24, 2011 at 1:54 PM, Ennis Ibarra en...@nmcourts.gov wrote: My two cents: Once you lock up your configuration to a given tool, then you stick with the tool capabilities to configure stuff. The real power is understanding the Nagios structure and files, leave the GUIs for presentation only. I agree - but when you're trying to serve a large community of sysadmins, a GUI tool is a useful tool for getting the job done. I can't teach 60+ admins how to write clean nagios configs, but I can teach them to use web-based tools. -- Breandan Dezendorf brean...@dezendorf.com bwdez...@gmail.com -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Free Software Download: Index, Search Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Calculation of nagios latency in nagiostas
because at any moment in physical, not all checks will be performed, therefore Nagios only knows the previous average latency and the latency of services which have just finished. Nagios won't keep the latency of checks in somewhere so it has to calculate the present average latency right after each check while it has the newest latency of that check in hand. you can see the formula that while the total latency is restored, the number of checks will be decreased by 1, that means the latency of the check just finished will be added to calculate new average latency. this method can make sure the average latency is dynamical and real time. On Tue, Feb 22, 2011 at 8:25 AM, Yu Watanabe yu.watan...@jp.fujitsu.com wrote: Hello all. I would like to ask question for the calculation with nagios latecy. In the nagiostats.c , the calculation of 'average_active_service_latency' is not doing the simple way, which is 1. Add up the latecy of each service 2. Devide by the number of services rather than above it is caculating as, average_active_service_latency=(((average_active_service_latency*((double)active_service_checks-1.0))+latency)/(double)active_service_checks); 1. Revert the average sum by multiplying the previous average and number of checks 2. Add up the latency of the current line 3. Devide by the number of services Would there be a specific reason or thought in this calculation? Thanks, Yu Watanabe -- Index, Search Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Index, Search Analyze Logs and other IT data in Real-Time with Splunk Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. Free Software Download: http://p.sf.net/sfu/splunk-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] High Latency with service checks
another possibility, do you use addon to do task after every checking? for example, update RRD files for performance graphing, sometimes that should increase the checking latency. 2011/2/16 Yu Watanabe yu.watan...@jp.fujitsu.com: Thank you very much for the reply. Assaf Flatto さんは書きました: Yu Watanabe wrote: Hello All. I would like to get an advice with nagios latency issue. In nagios 3.0.6 with RHEL 4, would there be a possibility that service check latency hikes even though the sar or iostat usage is not in relatively high load usage? (I am planning to upgrade to v 3.2.3 soon.) SAR average cpu usage were 40% and iowait was lying 0%. Swaping were not occuring. I have more than 1000 ping checks and average latency are 20 min. Check execution time for ping is all below 1 sec. Plugin I am using is check_icmp. CPU I am using is , Intel(R) Xeon(TM) CPU 2.80GHz Memory is 8GB OS is RHEL 4.4 Are there any possiblity that Nagios gets locked up with the service check scheduling? Thanks, Yu have you tried throttling the amount of concurrent checks ? could it be that the 1000 pings is flooding your network ? I am not sure that I understand the meaning by throttling... Would there be a parameter in Nagios to control this? For flooding I will check the netstat -s periodically and see if there are too much. I've encountered a similar issue with a a setup I had ( granted the latency wasn't that extreme ) , and from what you describe the symptoms sound the same . We tried several solutions (DNX , Mod_gearman) to reduce the latency , the solution that worked int he end was adding extra RAM to the machine and that solved it - I know that is not the best method , but non of the regular methods of tweaking nagios (large install , ramfs etc` ) worked , the boost in ram reduced the latency from 6+ minutes to 3 sec. As long as I see the vmstat , there seems to be enough memories left for buffer and cache since there aren't any swaping. Thanks , Yu Assaf -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Hostgroups: if not contact for one host, none are available
this isn't a bug. by reviewing the source codes, you can find that Nagios(more precisely, the CGIs) just do this way. i have no clue why Nagios won't show partial hostgroups if one has no access to all host members. maybe for performance issue? On Thu, Feb 17, 2011 at 2:44 AM, C. Bensend be...@bennyvision.com wrote: Hey folks, This has bitten me a few times now, so I figured I'd better report it... If I have hostgroup bob: host1 host2 host3 host4 host5 and contact frank is a contact for hosts 1, 2, 3, and 4 (but NOT 5), frank will not be able to view the *hostgroup*. It gives the usual It appears you do not have permissions ... error. *Surely* this can't be intentional, can it? Why the heck would you _want_ that behavior? I would expect it to display the hosts in the group (viewing a host you're a contact for will show all services, even if you're not a contact for all), or at worst just the members of the group the user is a contact for, but not deny access to the entire hostgroup. In my environment, I have accidentally added a host to the wrong hostgroup. When I do this and the users of the hostgroup aren't contacts for this new one that I misplaced, the users lose access to the entire hostgroup. Am I being dense, or is this a bug? 3.2.3 on RHEL 5.5, BTW. Thanks! Benny -- Hairy ape nads. -- Colleen, playing Neverwinter Nights -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] avoid notifications after status change from unreachable to down
write an event handler which will be triggered while the parent system comes up from down. this handler will schedule a downtime for each child systems, during the downtime Nagios won't send notifications; or this handler can send a passive check with status OK for each children, the hard/soft counters will be reset. both can be done by using external commands. On Mon, Feb 14, 2011 at 11:41 PM, Bernd Kuhlen -WetterOnline- bernd.kuh...@wetteronline.de wrote: Hello list, my problem is that I'm using vmware esx with multiple virtual hosts on it. In my nagios config the esx server is the parent so if it goes down, I only get one notification, which is what i want. My problem is that my unreachable hosts turn to down after my esx comes up again and it takes them some time (up to 15 minutes) to come up (they all have to boot).Within this 15 minutes a get loads of notifications telling me about all the vms that are down, which is distracting and unwanted information. What I want: After my parent comes up I want the counters (the ones that define soft and hard states) of my vms to start from 1 again so that my vms get some time to boot and come up before I get a down notification. Any idea how this is possible? Thanks and regards, Bernd -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Question on setting up a specialized status.cgi page
please review the document of objects definition, the following quoted from servicegroup definition: members: This is a list of the descriptions of services (and the names of their corresponding hosts) that should be included in this group. Host and service names should be separated by commas. This directive may be used as an alternative to the servicegroups directive in service definitions. The format of the member directive is as follows (note that a host name must precede a service name/description): members=host1,service1,host2,service2,...,hostn,servicen On Tue, Feb 15, 2011 at 6:35 AM, steve f a31mod...@hotmail.com wrote: Thanks for your reply Jim, I tried to set up the servicegroup as follows : define servicegroup { servicegroup_name Legacy_Checks alias Legacy Checks members HOSTNAME1,check_1, check_2, check_3,check_4,check_5,HOSTNAME2, SAME 5 CHECKS AS HOST #1,HOSTNAME3,SAME } I assume that the service group will only work with a single check for multiple hosts as if I removed all of the checks but 1, it will work. This however will not work for what I am trying to do. Thanks, Steve Date: Sat, 12 Feb 2011 10:09:26 + From: j...@jimavery.me.uk To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Question on setting up a specialized status.cgi page What was is about servicegroups which didn't work for you? That's what I'd look at first. Jim -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nagiosgrapher: adding further DS to rrd database
if my memory isn't going wrong, rrdtool has no direct approach to do that. you have to dump the specific rrd file to a text format(XML), edit it with adding extra DSs, then restore it to an rrd file. maybe there are some 3rd-party utilities can do that, you can search them. On Sun, Feb 13, 2011 at 10:58 PM, Marcus Schopen li...@localguru.de wrote: Hi, this is not a specific nagios question, but I'm using nagios and nagiosgrapher and looking for a working howto to add further DS to an exsiting rrd. Thanks, Marcus -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Notification by Email
maybe escape_html_tags in CGI configuration file? On Fri, Feb 11, 2011 at 6:56 PM, Andre Kruger andre.kru...@trw.com wrote: I would try an escape key if I knew what it was. Any idea? It just seems strange to me that from Nagois on the way to Postfix the is dumped somewhere along the way. m...@catsnest.co.uk 2011/02/11 12:35 On Fri, Feb 11, 2011 at 9:33 AM, Andre Kruger andre.kru...@trw.com wrote: Hi I have a problem getting my status detail sent (correctly) via email. Let me explain. If I look at Nagios self and I look at the status detail for a printer that I monitor I see the following, which is correct BTW: serv...@kyocera.co.za?subject=Toner%20Orderbody=Hi%20Nadia%0A%0AModel:%20KM-C3225%0AAsset#:%20UAD6X01096%0AMono:%2088108%20Colour:%20148705%0AColour%20Required:%20Magenta%0A%0ARegards%0AAndre If you copy and paste that link into word and you click it you will see that it populates the entire email for you and you just have to hit send. Now when this service goes into critical (like I have done here to test) it send me an email, but this is where the problem comes in. When I get my email the is missing from the above link and then it does not work properly. Somewhere Nagios removes it and I have no clue where. I have sent a test mail from a shell on my Nagios machine as follows: /usr/bin/printf BodyText | /bin/mail -s Subject andre.kru...@trw.com. When I receive this mail it still has the in the body. So I am making the assumption that somewhere between Nagios and Postfix when it send the notification the is removed. Can somebody please shed some light on this? try escaping or html encoding the # Regards Andre P Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null P Please consider your environmental responsibility before printing this e-mail or any other document. Ask yourself whether you need a hard copy. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Check_snmp -d -s
you can write a wrap script, which would be the check command, to deal the return string and report correct status to Nagios. of course this script will use check_snmp in it. On Fri, Feb 11, 2011 at 7:08 PM, Tristan Drinkwater trist...@micro-p.com wrote: Morning all, I’m trying to refine a few snmp checks I do. My command looks like this; ./check_snmp –H xx.xx.xx.xx –o READyNAS-MIB::diskState.1 –C nas-drive –P 2c –v This produces the following; /usr/bin/snmpget –t 1 –r 5 –m ALL –v 2c [authpriv] xx.xx.xx.xx READYNAS-MIB::diskState.1 READYNAS-MIB::diskState.1 = STRING: “dead” SNMP OK – “dead” | Now, as you can see from above, my disk 2 is ‘dead’ but Nagios reports this as ok. I’m under the impression I need to use the ‘–s’ switch to specify what is good and what is bad, based on matching a string from the output. To me, the output above would suggest that the returning string is “dead” so to get it to report that this is actually bad I should use “-s ok” as “ok” is the string returned on all the other disks that are working ok. - working disk--- /usr/bin/snmpget –t 1 –r 5 –m ALL –v 2c [authpriv] xx.xx.xx.xx READYNAS-MIB::diskState.2 READYNAS-MIB::diskState.2 = STRING: “ok” SNMP OK – “ok” | - working disk--- Sadly, this doesn’t work as it seems that “ok” and “dead” aren’t the returning strings. Neither are 1 and 0 as stated in the readynas MIB documentation. Anyone got any ideas?? Have I messed up the syntax?? Thanks in advance, Tristan Micro Peripherals Limited. Registered Office: Shorten Brook Way, Altham Business Park, Altham, Accrington, Lancs. BB5 5YJ. Tel: (01282) 776776 Fax: (01282) 858790 Micro Peripherals Limited. Registered in England No. 1511931. VAT No. GB 864 4387 91 DISCLAIMER: This e-mail and attachments are confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions presented are solely those of the author and do not necessarily represent those of Micro Peripherals Limited. If you are not the intended recipient, be advised that you have received this Email in error and that any use, dissemination, forwarding, printing, or copying of this Email is strictly prohibited. If this transmission is received in error please notify the sender immediately and delete this message from your E-mail system. All electronic transmissions to and from Micro Peripherals Ltd are recorded and may be monitored. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] plugin for monitoring nagios, remembering to turn notifications back on
enable logging for external commands, won't you find the time about disabling notification of services? On Sat, Feb 12, 2011 at 12:43 AM, Ray Kiddy r...@ganymede.org wrote: I could not think of a way to search for this kind of plugin in the usual places, so I ended up creating a version myself. We had a service and had turned off notifications a bit ago and forgot to turn them back on once the problem was fixed. So, now I have a service which checks the services in the status.dat file and goes red is a service has notification turned off for longer than a day or two. How does one search the exchanges for a plugin which checks nagios itself. Doing a search for nagios obviously does not work. Sort of like looking for R in Google. It turns out that there are a lot of pages that use that letter and not all of them are about the statistics tool Anyway. Right now, the service is written and does not come up, probably because something is missing. After all, what host does one attach it to? It is about the nagios service itself, so no host would really be correct. Or I am missing something else. I am sure I can get it to work. I will be finishing this and will put it up in the exchange, but if anyone has suggestions, I would be interested in hearing them. One bother is that if a service has its notifications turned off, none of the time markers in the service say when that happened. If a service went down and up 7 days ago and the notifications were turned off 5 days ago, all the times point to the event 7 days ago. I do not see one which references the change 5 days ago. There seems to be no variable that stores the time a human changed something about a service in the service that was changed So, I have to store the time I first saw a service with its notifications turned off. I was storing this in a file, but I am going to use the output line from this service. Then the status.dat entry for this service will tell me about the notification setting time for the other services. Seems a bother, but there it is. Is there a name for this sort of nagios-monitoring, reflexive plugin? Does anyone know a key word to search for to find others like this? thanx - ray -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] first_notification_delay problem
no bug in your case. first_notification_delay is just to postpone the notification for a (hard)status change, Nagios won't check the status during the delay period. in your example, a notification will be sent at 09-02-2011 07:17:41 to reflect the critical event at 09-02-2011 07:07:41, no matter what happened then. On Fri, Feb 11, 2011 at 1:24 AM, Jim Avery j...@jimavery.me.uk wrote: Hi, I'm having a problem with using first_notification_delay. I'm not sure if it's a bug or just that I don't understand how it's supposed to work. I have this passive service check to receive traps from a UPS: define service { host_name ups-a service_description SNMP-Trap check_period 24x7 check_command check_nothing contact_groups notify-Facilities_HQ notification_period 24x7 initial_state o check_interval 60.00 retry_interval 2.00 max_check_attempts 1 is_volatile 0 parallelize_check 1 active_checks_enabled 0 passive_checks_enabled 1 obsess_over_service 0 event_handler_enabled 1 low_flap_threshold 0.00 high_flap_threshold 0.00 flap_detection_enabled 0 flap_detection_options o,w,u,c freshness_threshold 0 check_freshness 0 notification_options w,c,r notifications_enabled 1 notification_interval 720.00 first_notification_delay 10.00 stalking_options w,c process_perf_data 0 failure_prediction_enabled 1 notes If you need to reset status of this check back to OK, submit a passive service check. retain_status_information 1 retain_nonstatus_information 1 } I want Nagios only to send a notification if the service is in a non-ok state for more than ten minutes. In practice I find it sends a notification regardless: ups-a SNMP-Trap CRITICAL 09-02-2011 07:07:41 notify-Facilities_HQ notify-service-by-email upsOnBattery UPS: Switched to battery backup power. ups-a SNMP-Trap OK 09-02-2011 07:07:41 notify-Facilities_HQ notify-service-by-email powerRestored UPS: Returned from battery backup power. Is this a bug? I tried looking in Nagios tracker ( http://tracker.nagios.org ) but couldn't find anything (then again I rarely look there so might have done the search wrong). Is Nagios Tracker the right place to look for issues like this? Cheers, Jim -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Uptime Calculation Question
nothing will be known without checking. you want more precise data you have to do more checks, that is, decrease the check_interval value. On Fri, Feb 11, 2011 at 5:37 AM, Breandan Dezendorf brean...@dezendorf.com wrote: Does anyone have a good guide to the impact the check_interval setting has on calculating uptime and availability data from Nagios logs? For example, if your check_interval is set to 10 minutes, a service could be down for 9 minutes and never register in Nagios. However, your availability numbers at that point couldn't be any more precise than 99.99% (as the cutoff for five nines is 5.26 service outage minutes a year). While unlikely, six such outages would push you into 99.9% - and an SLA report that generated from Nagios log files would still report 100%. If the value for check_interval is set to 30 minutes, the problem is amplified - Nagios is more likely to miss events, which makes me even less comfortable with the resulting statistics. Are there SLA packages for Nagios that account for this, or does Nagios's in-built reporting engine account for this in some way? Or, is there a statistician amongst us who can make me understand that I'm just being overly paranoid, and show me that the math actually works out? -- Breandan Dezendorf brean...@dezendorf.com bwdez...@gmail.com -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Uptime Calculation Question
consider distributed monitoring On Fri, Feb 11, 2011 at 10:49 AM, Breandan Dezendorf brean...@dezendorf.com wrote: On Thu, Feb 10, 2011 at 9:12 PM, Yueh-Hung Liu yuehung@gmail.com wrote: nothing will be known without checking. you want more precise data you have to do more checks, that is, decrease the check_interval value. And the lower you set the check_interval, the harder the servers have to work to keep up with all the checks. While the servers we are running could very well run all 5000 service checks every 5 minutes (or even faster), it would chew up a lot of our growth capacity for the server. -- Breandan Dezendorf brean...@dezendorf.com bwdez...@gmail.com -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Understanding Unhandled Services / Hosts
because the host is down, it assumes all its service are also unavailable. therefore the first priority task is to handle the problem of the host. so what i guess is just for simplifying display, only the host which is down appears in Unhandled section. On Wed, Feb 9, 2011 at 8:16 PM, julian_grunn...@tdwh.co.uk wrote: Hi - would someone be able to explain in detail the behaviour of this? I have a Nagios setup that in the Problems page is showing a host as DOWN - it's currently failing my default FPING test. It also has a number of simple check_tcp commands run against it, all of which are timing out because obviously with the host down I'm getting a CRITICAL - Socket timeout after 10 seconds for them all. BUT when looking in Unhandled Services they don't appear. The host itself DOES appear in the Unhandled Hosts screen. There are NO comments / acknowledgements in place at all for this host. Does anyone know why the service checks don't appear as an Unhandled Service? Thanks - J. *** Julian Grunnell Unix Analyst TD Waterhouse International Leeds, West Yorkshire Tel: 0113 346 2824 Extn: 32824 Mobex: 52824 *** Consider the environment. Please don't print this e-mail unless you really need to. Confidentiality: This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure that they are actually virus-free. Brokerage services provided by TD Waterhouse Investor Services (Europe) Limited (a subsidiary of The Toronto-Dominion Bank). Authorised and regulated by the Financial Services Authority (FSA registered number 141282), member of the London Stock Exchange and the PLUS market. Incorporated in England and Wales under registration number 2101863. Registered office: Exchange Court, Duncombe Street, Leeds LS1 4AX. Banking services provided by TD Waterhouse Bank N.V. authorised and regulated by De Nederlandsche Bank and the Financial Services Authority for UK Business (FSA registered number 216791). Incorporated in the Netherlands and registered as a branch in England and Wales under branch registration number BR006780. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Error with scheduling service check
what's the status of this service? how do you know the check is not triggered? On Tue, Feb 8, 2011 at 10:44 PM, kk ketan.kalgaon...@db.com wrote: Hi, Summary: Error with scheduling service checks to run on particular day of every month. I am facing problem with scheduling a service check to run on particular day of every month. The problem is that the check is not actually trigerred. I am not aware if this is a known issue with the version of nagios I am using or how should I go about to determine the root cause of this problem. Nagios Version 3.0.6 OS: SunOS 1.5 For e.g. if I tried to schedule a check to run on 9th of every month at 11:00 am, the entry for this setting in the timeperiod section would be as below (reference: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod): day 9 11:00-11:00 The service check is scheduled correctly and I could verify that on the Service Detail web page. However, the service check is never trigerred. I tried to search the mail list archive but could not find any reference to this issue. Can someone let me know if this is a know issue with Nagios 3.0.6 or how can I debug it. Do let me know if you require any other information. Thanks -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] SMTP server update
you're welcome. back to your question, Nagios has no slot to specify an SMTP server to be used, it relys on the system where it'on. to utilize an external SMTP server, maybe it could be done by specifying one in the configuration of your local SMTP server. On Mon, Jan 17, 2011 at 3:57 PM, Network Operation Center FMC Luxemburg n...@eurofmc.com wrote: Dear list, Is it possible to specify to Nagios wich SMTP server it have to use for sending alert mails? Thanks a lot Francois -- Network Operation Center LUXEMBURG E-mail: n...@eurofmc.com *DISCLAIMER*: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, copy, distribute, disclose, print, or rely on this e-mail. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null smallfmc.gif-- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Warning Alerts
maybe you can try this: http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details On Mon, Feb 7, 2011 at 11:55 PM, Engelmann, Austin aengelm...@libertymgt.com wrote: I definitely considered escalations; I was actually reading more about it this morning. At the moment I have alerts for Hosts and Services alerting every 10 minutes (I am keeping the very simple function of acknowledgements a secret for now). The other guys on my team know not to acknowledge anything until some real work is done toward troubleshooting. I was thinking of keeping it simple and hoping that a separate command can be setup to email on warnings (I will customize the MSG that is sent out). I figure that if this person is not keen on browsing the monitoring systems on a daily basis, that alerting on the warnings would be a good training mechanism for him. Can there be a separate command for alerting on warnings only? From: steve f [mailto:a31mod...@hotmail.com] Sent: Monday, February 07, 2011 10:41 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Warning Alerts You could set up a Nagios Escalation Notification AKA The Throw you Under the Bus Notification where a secondary group ( tertiary, quaternary, quinary, senary, septenary, octonary, nonary, etc ) of people ( techs, managers, etc ) get notified if an alert has not been addressed for x amount of time. http://nagios.sourceforge.net/docs/1_0/escalations.html Steve Date: Mon, 7 Feb 2011 09:54:52 -0500 From: aengelm...@libertymgt.com To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Warning Alerts I have an admin that does not pay very much attention to our Nagios and Cacti servers. If he paid any attention he would have noticed a warning about disk space on our email server and would have investigated and solved the problem before it became critical. Is it possible to setup different alerts for warnings? I would like to setup a warning template to have a quick message like, Better Check Nagios!!! And I would send these alerts to all of our admins because this individual is more responsive when light is shed on issues. On that subject, is it possible to monitor and alert for a sudden change in disk space? Our situation is that within 2 days we lost over 80 GB of space and it wasn't until I looked at Nagios that we became aware of the issue. Regards, Austin -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Not receiving email notification to our mail
you tried “mail addr...@company.com” but never received the mail, that's the problem. Nagios has no its own mail system, it depends on any mail system in your environment. On Mon, Feb 7, 2011 at 2:28 PM, R, Naveen navee...@philips.com wrote: Hello, I have configured Nagios on Open SUSE. In Main.cfg file I have changed the host network to our corporate network Id I have configured the hosts , contacts, contact groups , time period etc. I’m able to see the status of the hosts and services but I’m not receiving the mail. When I try “mail addr...@company.com”, it finishes correctly without any exceptions, but I have not received the mail. Kindly guide me in receiving the mail form Nagios. Warm regards, Naveen.R., Philips Consumer Lifestyle, Philips Innovation Campus, Philips Electronics India Ltd, Manyata Tech Park, Nagavara, Bangalore - 560045. Ph: +91 80 40162000 Extn: 2718/3016 Mobile: 9663320455 Email: navee...@philips.com intranet: http://pww.bangalore.philips.com, internet: http://www.bangalore.philips.com [image: cid:image001.png@01CB0258.198B5390] -- The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message. -- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null image001.png-- The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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
should it be check_nrpe -H test.example.com -c check_disk_remoteserver on Nagios server? 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
Re: [Nagios-users] custom notifications for specific service groups
been confused contacts in service definitions will override host contacts, why this would only work with (what you said) 2 teams? On Fri, Jan 21, 2011 at 4:47 PM, michal.lacko...@cz.schneider-electric.comwrote: Hi, This would only work with these two teams As soon as next team will be interested in core services from another group of the servers I will have to create new services with yet different contacts. Michal *Yueh-Hung Liu yuehung@gmail.com* 21.01.2011 02:55 Please respond to Nagios Users List nagios-users@lists.sourceforge.net To Nagios Users List nagios-users@lists.sourceforge.net cc Subject Re: [Nagios-users] custom notifications for specific service groups simply assign different contacts/contact_groups in different service definitions. On Thu, Jan 20, 2011 at 9:05 PM, michal.lacko...@cz.schneider-electric.com wrote: Dear community, I am trying to figure out how to satisfy infrastructure team supporting servers. Their request is two split services into two groups core and applications. In the core group the following services would be nested: CPU load Memory utilization Storage and in the applications groups they would like to see the following: Citrix sessions Citrix licences They have segregated duties within the team for OS,HW and for application part. They would need Nagios to send appropriate notification to OS team and the same for application team. Now, AFAIK if a contact is linked to the host then the notifications for all its services are sent out. So my question is if is there any way how to split notifications on the same host so that OS team will never receive notification for Application team and vice versa? thanks in advance for your help Michal -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 __ This email has been scanned by the MessageLabs Email Security System. __ -- 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
Re: [Nagios-users] custom notifications for specific service groups
simply assign different contacts/contact_groups in different service definitions. On Thu, Jan 20, 2011 at 9:05 PM, michal.lacko...@cz.schneider-electric.com wrote: Dear community, I am trying to figure out how to satisfy infrastructure team supporting servers. Their request is two split services into two groups core and applications. In the core group the following services would be nested: CPU load Memory utilization Storage and in the applications groups they would like to see the following: Citrix sessions Citrix licences They have segregated duties within the team for OS,HW and for application part. They would need Nagios to send appropriate notification to OS team and the same for application team. Now, AFAIK if a contact is linked to the host then the notifications for all its services are sent out. So my question is if is there any way how to split notifications on the same host so that OS team will never receive notification for Application team and vice versa? thanks in advance for your help Michal -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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
Re: [Nagios-users] monitoring file content
i guess no plugin exists to do that, you have to write one for yourself On Tue, Jan 18, 2011 at 6:40 PM, Maurer, Michael michael.mau...@mosolf.de wrote: hi folks, i`d like to monitor the content of a txt file on a remote windows host. The file will be formated like: value1: 1009 value2: 156 value3: 7889 value4: 9981 valueN: ….. I have to set warning and critical ranges for each value separately. (value1 warn=500, crit = 1500 / value2 warn = 100, crit = 500 etc…) The file will be deleted and newly created if one of the values changes. Does anybody know how to do that? thanks in advance! kind regards Michael -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] SMTP server update
mail notification is done by commands defined in your Nagios' configuration files. if you can send mail from the server that Nagios is installed on, you don't need to specify SMTP or whatever anymore. On Mon, Jan 17, 2011 at 3:57 PM, Network Operation Center FMC Luxemburg n...@eurofmc.com wrote: Dear list, Is it possible to specify to Nagios wich SMTP server it have to use for sending alert mails? Thanks a lot Francois -- Network Operation Center LUXEMBURG E-mail: n...@eurofmc.com *DISCLAIMER*: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, copy, distribute, disclose, print, or rely on this e-mail. -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Unique Email Notification for Service Escalation??
http://exchange.nagios.org/directory/Addons/Notifications/%2A-Notification-Managers/Rule%252DBased-Notifier/details this can define which commands should be used to notify contacts by referring notification number. On Wed, Jan 19, 2011 at 4:20 AM, steve f a31mod...@hotmail.com wrote: Is it possible to create a unique email notification for a serviceescalation ? I defined my serviceescalation and the contact group and verified after the set number of first_notification, my escalation group got the email notification of the alert. What I want to do, is send a unique email message if its an escalation. In commands.cfg I added the following : # 'service-escalation-by-email' command definition define command{ command_name service-escalation-by-email command_line /usr/bin/printf %b * Nagios Service Escalation *\n\nNotification Type: $NOTIFICATIONTYPE$ Escalation\n\nService: $ SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\nT HIS IS A SERVICE ESCALATION. YOU ARE BEING NOTIFIED BECAUSE THE ALERT HAS NOT BEEN ADDRESSED YET. | /usr/bin/mail -s ** $NOTIFICATIONTYPE$ Service Alert Escalation: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** $CONTACTEMAIL$ } Now, I see in the contact definition, there is service_notification_commands where I assume I could define the server-escalation-by-email and get the new email sent to the contact, but that option is not shown in the contact group definition. Can I just add the service_notification_command directive in the group definition?? Thanks, Steve -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -- Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios Historical data backup
check log_archive_path variable in Nagios' main config On Tue, Jan 11, 2011 at 12:33 AM, eddy e...@ati.une.cu wrote: Good Morning,I have an installation of Nagios ver 3.0.6 and It's been working fine up to now. Well now I need for certain reasons (NagVis,NDOUtils, etc) to have nagios deamon to store data in a MySQL database, I have already backed up the conf data, the problem is as follows: I would like to save the Historical Data so when I install NDOUtils and Nagvis I can have that availabe in the database,the question is: where does nagios keeps its historical data?.Thanks in advance. -- Eddy Ruiz Azcuy Admin Redes NODO-Union Electrica de Cuba tlf:+53 (7) 877-5000 877-5031 ext 20675 jabber:e...@jb.une.cu Union electrica de Cuba CarlosIII #666 e/ Oquendo y Soledad -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ 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] Rule-Based Notifier
Hi all, I have a new work here: http://exchange.nagios.org/directory/Addons/Notifications/*-Notification-Managers/Rule%252DBased-Notifier/details This simple Perl script is a rule-based notification addon for Nagios. Nagios has its own notification logic which decides whether a notification for an alert should be sent. If this script is defined as the notification commands, further conditions can be defined by admins to control whether a notification should be actually sent. By using this script, Nagios admins can decide: WHO should(or not) be notified, notification for WHICH hosts/services should(or not) be controlled, on WHAT states should(or not) be concerned, at WHEN a notification should(or not) be sent, and HOW to send a notification. All these features are implemented by defining some rules which will be matched by this script while Nagios hand off a notification to it. Rules are defined in a plain text config file(see below), no database is needed. At first I wrote this script just for myself(as an Nagios admin) to fulfill different needs from different Nagios contacts: someone want to be notified on some specific situations, while another contacts don't want be annoyed on some conditions, etc. This script has been tested and used for several monthes in the system administered by me, it should be workable and now is released to share with anyone who need it. Perhaps many functions this script provided could be achievable by complex Nagios configuration, it is here for another, simpler I think, choice. Any suggestion and feedback are greatly welcome. Thanks. Y.H. -- Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl ___ 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] Windows system events
you write your own, that should best suit for you and won't need any installation. On Fri, Jan 7, 2011 at 8:02 AM, Ihab Samara iha...@hotmail.com wrote: Hi All, What are the best plugin to monitor specific system event on a windows machine? I prefer to use a plugin that doesnt require any installations on the windows machine. Thank you Date: Thu, 6 Jan 2011 20:14:20 +0100 From: david.ribe...@altitudeinfra.fr To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] NagVis Apache Help You need to modify the file /etc:nagvis/nagvis.ini.php Put this : ; path options [paths] ; absolute physical NagVis path base=/usr/share/nagvis/ ; absolute html NagVis path htmlbase=/nagios3/nagvis ; absolute html NagVis cgi path htmlcgi=/nagios3/cgi-bin David Ribeiro De: Andrew Fay andrew@ajl.co.uk À: Nagios Users List nagios-users@lists.sourceforge.net Envoyé: Jeudi 6 Janvier 2011 15:53:31 Objet: [Nagios-users] NagVis Apache Help hi, I have nagios3 and a copy of nagvis running on an ubuntu box.. when I click on a host in Nagvis I get : The requested URL /nagios/cgi-bin/status.cgi was not found on this server. http://server/nagios/cgi-bin/status.cgi?host=localhost it should be http://server/nagios3/cgi-bin/status.cgi?host=localhost Basically The CGI's work for standard Nagios but not for NagVis, so how can I tell NagVis where to look for the CGI's? This is the apache cfg for nagvis : # NagVis Apache2 sample configuration file # # # Alias /nagvis /etc/nagvis/share Directory /etc/nagvis/share Options FollowSymLinks AllowOverride None Order allow,deny Allow from all # To enable Nagios basic auth on NagVis use the following options # Just uncomment it. Maybe you need to adjust the path to the # Auth user file. # # If you use the NagVis internal auth mechanism based on the web # for you won't need this. # #AuthName NagVis Access #AuthType Basic #AuthUserFile /etc/nagios3/etc/htpasswd.users #Require valid-user # With installed and enabled mod_rewrite there are several redirections # available to fix deprecated and/or wrong urls. None of those rules is # mandatory to get NagVis working. IfModule mod_rewrite.c RewriteEngine On RewriteBase /nagvis # Use mod_rewrite for old url redirection even if there are php files which # redirect the queries itselfs. In some cases the mod_rewrite redirect # is better than the php redirect. RewriteCond %{REQUEST_URI} ^/nagvis(/index\.php|/|)(\?.*|)$ RewriteRule ^(index\.php|)(\?.*|)$ /nagvis/frontend/nagvis-js/$1$2 [R=301,L] RewriteCond %{REQUEST_URI} ^/nagvis/config\.php.*$ RewriteRule ^config\.php(.*) /nagvis/frontend/wui/$1 [R=301,L] # Redirect old regular map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Mapact=viewshow=%1 [R=301,L] # Redirect old wui map links RewriteCond %{REQUEST_URI} ^/nagvis/frontend/wui RewriteCond %{QUERY_STRING} map=(.*) RewriteRule ^(.*)$ /nagvis/frontend/wui/index.php?mod=Mapact=editshow=%1 [R=301,L] # Redirect old rotation calls RewriteCond %{REQUEST_URI} ^/nagvis/frontend/nagvis-js RewriteCond %{QUERY_STRING} !mod RewriteCond %{QUERY_STRING} rotation=(.*) RewriteRule ^(.*)$ /nagvis/frontend/nagvis-js/index.php?mod=Rotationact=viewshow=%1 [R=301,L] /IfModule /Directory Nagios apache config : # apache configuration for nagios 3.x # note to users of nagios 1.x and 2.x: # throughout this file are commented out sections which preserve # backwards compatibility with bookmarks/config for older nagios versios. # simply look for lines following nagios 1.x: and nagios 2.x comments. ScriptAlias /cgi-bin/nagios3 /usr/lib/cgi-bin/nagios3 ScriptAlias /nagios3/cgi-bin /usr/lib/cgi-bin/nagios3 # nagios 1.x: #ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios3 #ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios3 # nagios 2.x: #ScriptAlias /cgi-bin/nagios2 /usr/lib/cgi-bin/nagios3 #ScriptAlias /nagios2/cgi-bin /usr/lib/cgi-bin/nagios3 # Where the stylesheets (config files) reside Alias /nagios3/stylesheets /etc/nagios3/stylesheets # nagios 1.x: #Alias /nagios/stylesheets /etc/nagios3/stylesheets # nagios 2.x: #Alias /nagios2/stylesheets /etc/nagios3/stylesheets # Where the HTML pages live Alias /nagios3 /usr/share/nagios3/htdocs # nagios 2.x: #Alias /nagios2 /usr/share/nagios3/htdocs # nagios 1.x: #Alias /nagios /usr/share/nagios3/htdocs DirectoryMatch (/usr/share/nagios3/htdocs|/usr/lib/cgi-bin/nagios3|/etc/nagios3/stylesheets) Options FollowSymLinks
Re: [Nagios-users] Difference between the timeout service and orphaned service
they are not totally related. service check timeout tells when Nagios should kill a check process ACTIVELY. orphaned service check would let Nagios find out whether a check process is killed BY OTHERS. On Wed, Jan 5, 2011 at 2:05 PM, Yu Watanabe yu.watan...@jp.fujitsu.com wrote: Hello all. I'd like to ask a question about the service check timeout and the orphaned service check. I am looking at the manual but couldn't understand the major difference. Could someone give me an advice with the point of these two options? Thanks Yu Watanabe -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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] Can nagios export the configuration that it currently holds?
use a broker could do this, you can write your own and share with all. On Wed, Jan 5, 2011 at 6:22 PM, Mister IT Guru misteritg...@gmx.com wrote: I've wondered if nagios can export the configuration it currently has in one big file? I'm assuming that it reads in all these configuration files, it should be able to spit out that same data in some sort of structured form? It's just that I feel that nagios, (and not just nagios mind you, a lot of open source software that read in formatted text based config files), is such a mature project, that surly, there should be a way to export the configuration to a txt file at least, so that I can see what nagios 'sees' It would also be pretty cool if nagios could export the config without hardcoded variables, so people can paste what nagios sees to the list for example, and have people help with thier config with out fear of exposing unique info like IP addresses, host name and such, that are in out text based configs - I'm always worried when posting my configs for a lot of apps, apache. bacula, nagios etc. So it would be nice if it did exist :) -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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] Difference between the timeout service and orphaned service
i think Nagios handles a check by the following flow: [1]schedule a check (into event queue) [2]time to go! fire the check (remove it from the queue) [3]wait for a result [4a] check finished normally (got a result) [4b] timeout (terminate the check process) [5]go to [1] (reschedule) an orphaned check could happen while Nagios in [3] but never proceed to next step. it can't reach [4a] because the checking process is dead. (killed by someone) it can't reach [4b] because it has nothing to terminate. (process is gone, Nagios loses its control) finally, Nagios never go to [5], i.e. it won't reschedule and execute the check again. so, the answer to your question is yes. 2011/1/5 Yu Watanabe yu.watan...@jp.fujitsu.com: Thank you for the reply. Could I ask you a further question? In the manual the orphaned services are defined as This option allows you to enable or disable checks for orphaned service checks. Orphaned service checks are checks which ahve been executed and have been removed from the event queue, but have not had any results reported in a long time. Since no results have come back in for the service, it is not rescheduled in the event queue. This can cause service checks to stop being executed. Normally it is very rare for this to happen - it might happen if an external user or process killed off the process that was being used to execute a service check. To be more specific, is this a kind of status that in the memory , nagios is acknowledging that this service is still checking but actually the plugin did not return anything although the process is already dead? Thank you for reading. Yu Watanabe Yueh-Hung Liu さんは書きました: they are not totally related. service check timeout tells when Nagios should kill a check process ACTIVELY. orphaned service check would let Nagios find out whether a check process is killed BY OTHERS. On Wed, Jan 5, 2011 at 2:05 PM, Yu Watanabe yu.watan...@jp.fujitsu.com wrote: Hello all. I'd like to ask a question about the service check timeout and the orphaned service check. I am looking at the manual but couldn't understand the major difference. Could someone give me an advice with the point of these two options? Thanks Yu Watanabe -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v
Re: [Nagios-users] Timing of the deleteion of service check from the event queue
a service check could block the whole queue if it isn't removed from the quese after execution. On Wed, Jan 5, 2011 at 7:52 PM, Yu Watanabe yu.watan...@jp.fujitsu.com wrote: Hello all. I would like to ask for an advice about when does nagios removes the service check from the event queue. I was following the source code but couldn't actually find the part that actually removes the service check. Does it removes after the reaper event or after the execution of the command ? Thanks, Yu Watanabe -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Service Escalation via Host Group
if only services of norm-notify should be escalated, host_name * is no need. On Fri, Dec 31, 2010 at 6:15 PM, Marc Haber mh+nagios-us...@zugschlus.de wrote: On Fri, Dec 31, 2010 at 12:06:21PM +0800, Yueh-Hung Liu wrote: but by your configuration, all services will be escalated, not only services of norm-notify. Why? And how do I configure nagios to do what I want? define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-mail first_notification 1 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-sms first_notification 2 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things. Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios notification
send notification once when state changes, set: notification_interval=0 On Thu, Dec 30, 2010 at 6:36 PM, Hugo van der Kooij hvdko...@vanderkooij.org wrote: On Thu, 30 Dec 2010 01:58:38 -0800 (PST), moses neah mssn...@yahoo.com wrote: Hi All out there, Can anybody help me? I want to achieve the following: Nagios should send notification when a host/service state goes critical, down, etc Notification should be sent only once when a state changes and finally I want to know how many ping packets is ideal for nagios to send First off. Do NOT ever respond this way. You are sending a load of crap to the mailinglist which is totally not relevant to your message. Considere yourself in read-only mode if you are subscribed in digest mode. Set the notification interval to a significant high number and you would get it once for all intends and purposes. The defaults should be good enough for you. We can't determine those for you. Use your own common sense to see what fits your needs. Hugo. -- hvdko...@vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Service Escalation via Host Group
not sure with the cause of your problem maybe you can check the values of use_regexp_matching and use_true_regexp_matching. but by your configuration, all services will be escalated, not only services of norm-notify. On Fri, Dec 31, 2010 at 9:03 AM, Marc Haber mh+nagios-us...@zugschlus.de wrote: Hi, I would like to have host and service escalations for all hosts that are in a certain host group. The following hostescalation definition seems to work fine: define hostescalation { hostgroup_name norm-notify contact_groups admins-mail first_notification 1 last_notification 0 notification_interval 120 escalation_options d,u,r escalation_period 24x7 } define hostescalation { hostgroup_name norm-notify contact_groups admins-sms first_notification 2 last_notification 0 notification_interval 120 escalation_options d,u,r escalation_period 24x7 } The analogous service escalation definition is ignored: define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-mail first_notification 1 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } define serviceescalation { host_name * service_description * hostgroup_name norm-notify contact_groups admins-sms first_notification 2 last_notification 0 notification_interval 120 escalation_options w,u,c,r escalation_period 24x7 } When a service on a host which is member of host group norm-notify goes down, notifications go out to the contact group that is mentioned in the service definition. The service escalation definition seems to be ignored. Any idea what might be going wrong? Greetings Marc -- - Marc Haber | I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things. Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 3221 2323190 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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 -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ 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