[Nagios-users] check_http with regex on redirects
We were using an old version of check_http, 1.4.10, to look for the regex '/html' on our sites using check_http. Recently we upgraded to a different server (from centos to ubuntu) and re-installed nagios using the package system. Now we are at version 1.4.15 of check_http and this no longer returns OK status for sites where the page is redrected or rewritten i get this instead: HTTP CRITICAL: HTTP/1.1 301 Moved Permanently - pattern not found - 402 bytes in 0.222 second response time I'm not sure if it's a platform difference or something that changes in the plugin. Any advice for getting this check to complete successfully again? -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___ 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_http with regex on redirects
Try -f follow ? justinp@cerberus:~$ /usr/lib/nagios/plugins/check_http -h |grep -- -f [-b proxy_auth] [-f ok|warning|critcal|follow|sticky|stickyport] -f, --onredirect=ok|warning|critical|follow|sticky|stickyport Looks like that will work, thank you! -- Get your SQL database under version control now! Version control is standard for application code, but databases havent caught up. So what steps can you take to put your SQL databases under version control? Why should you start doing it? Read more to find out. http://pubads.g.doubleclick.net/gampad/clk?id=49501711iu=/4140/ostg.clktrk___ 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] Return code of 127 is out of bounds - plugin may be missing
Hi I haven't researched this or anything, but is there is a -v option to check_by_ssh to get the exact error thrown? - I'm simply wondering if you have a bad/mismatched key in ~/.ssh/known_hosts or authorized_keys (sorry, ive been too busy to be much help on nagios lately guys)... Cheers! Jamie From: MAHONEY, DANIEL [mailto:dm5...@att.com] Sent: Monday, June 10, 2013 5:27 PM To: nagios-users@lists.sourceforge.net; MAHONEY, DANIEL Subject: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing Send to nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Greetings, all. I've googled the subject above and evaluated the answers I've found but haven't yet found info that pinpoints my issue. I'm running Nagios Core 3.2.1 on RedHat 5.8. This installation has been running for a few years, I just inherited it's care and maintenance recently. On one of my monitored servers I write a script checkRAID.sh that calls another piece of code, looks at the results, and returns either a 0 or a 2 (the result will always be either good or critical, depending on whether the RAID controller is unhappy). Nagios runs as user nagios. The remote machine is configured to allow user nagios to log in without a password, using a key pair. This works. In /usr/local/nagios/etc/checkcommands.cfg I have : define command{ command_namecheck_raid command_line/usr/local/nagios/libexec/check_by_ssh -H $HOSTNAME -l nagios -i /home/nagios/.ssh/id_rsa -E -o StrictHostKeyChecking=no -C /home/nagios/checkRAID.sh } When I become nagios (su - nagios) and run that script, I get: [nagios@nagios ~]$ /usr/local/nagios/libexec/check_by_ssh -H remote server IP -l nagios -i /home/nagios/.ssh/id_rsa -E -o StrictHostKeyChecking=no -C /home/nagios/checkRAID.sh Check failed [nagios@nagios ~]$ echo $? 2 [nagios@nagios ~]$ That Check failed line is what's written to stdout just before returning an exit code of 2. This shows me that the remote script is working fine, and that the local nagios user is able to execute it with no problems. However, once I add an entry to services.cfg to tie this service check to my remote host and give it time to run the command, when I look at nagios' Services page it shows : check_raid CRITICAL 06-10-2013 21:17:250d 6h 14m 29s3/3 (Return code of 127 is out of bounds - plugin may be missing) This has me baffled. The return code is quite clearly 2. I recently set debug_level to -1 and restarted. I'm hoping that the debug log will Daniel Mahoney dm5...@att.commailto:dm5...@att.com -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-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] Return code of 127 is out of bounds - plugin may be missing
Ok. Can you look on the remote host and perhaps set the debug level high(er)on the sshd server and restart/retest, then check var/log/secure there or whatever it's at after a failure? Sorry, just kinda grasping out there in hopes I can help That's a weird error, I'd like to know what is causing it since it's really not clear... :\ From: MAHONEY, DANIEL [mailto:dm5...@att.com] Sent: Monday, June 10, 2013 5:42 PM To: Nagios Users List Subject: Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing No, I'm sure that the key is working. When I become the nagios user and run the exact same command from the command line, it gives me exactly the result I expect. From: James Pratt [mailto:jpr...@norwich.edu] Sent: Monday, June 10, 2013 4:38 PM To: Nagios Users List Subject: Re: [Nagios-users] Return code of 127 is out of bounds - plugin may be missing Hi I haven't researched this or anything, but is there is a -v option to check_by_ssh to get the exact error thrown? - I'm simply wondering if you have a bad/mismatched key in ~/.ssh/known_hosts or authorized_keys (sorry, ive been too busy to be much help on nagios lately guys)... Cheers! Jamie -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-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
[Nagios-users] Tactical overview host and service health
Can someone tell me how the host health and service health as a percentage are calculated? On the tactical overview page I see the two bars showing the overall health. I am interested in using the same information in an internal dashboard and would need to have a way of calculating the values from multiple Nagios instances. Thanks James -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ 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] Variables for determining time before first alert
Hi, I apologize for the terse reply, but I think you will find all the answers to your questions here - http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html Cheers, James From: Alex [mysqlstud...@gmail.com] Sent: Tuesday, May 07, 2013 8:57 PM To: Nagios Users List Subject: [Nagios-users] Variables for determining time before first alert Hi all, I'm trying to configure a nagios server that was set up a long time ago, but has never worked correctly. I'm trying to understand all the variables that are involved in controlling the time before the first notify-by-email alert is sent for a regular service and one that I've configured as critical. Is max_check_attempts the number of iterations it will perform the host/service check for each iteration of the check_interval period? In other words, if I set max_check_attempts to 5, and my interval_length is 60, does that mean it's 5 minutes before the first soft failure is generated? How does the notification_interval in the regular service definition compare with the notification_interval specified in one of the serviceescalation sections? In other words, if I set notification_interval to 10 minutes for regular services, and notification_interval to 5 minutes for escalated services, will I receive two notifications? I realize I could try this, but there seems to be so many other variables involved that I'd like to be sure my understanding is correct. Thanks, Alex -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ 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 Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. This 200-page book is written by three acclaimed leaders in the field. The early access version is available now. Download your free book today! http://p.sf.net/sfu/neotech_d2d_may ___ 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] newbie to nagios
Nagios Graph is also quite good and easy to setup and will graph any perf data from plugins. James From: Ranjib Dey [mailto:dey.ran...@gmail.com] Sent: 02 May 2013 18:43 To: Nagios Users List Subject: Re: [Nagios-users] newbie to nagios try pnp4 nagios. it will graph any nagios plugin that spits out perf data. Choose the plug On Wed, May 1, 2013 at 6:58 AM, Muhammad Yousuf Khan sir...@gmail.commailto:sir...@gmail.com wrote: I am a newbie however after some successful RD i manage to add few hosts in nagios. now i want Graph view of my Disk I/O and Network throughput. please anyone guide me a how to for my request on Debian squeeze. Thank you. Yousuf -- Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET Get 100% visibility into your production application - at no cost. Code-level diagnostics for performance bottlenecks with 2% overhead Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap1 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto: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 -- Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with 2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Help --- email notification problem
It would really be helpful to see the configs, at least the person and group definitions to determine any issues. The information that you have provided does not given enough details to determine any inheritance from templates. It should then be possible to see where the final service is actually going to email to. Cheers James From: Matsushita, Nobuo [mailto:nobuo.matsush...@childrenscolorado.org] Sent: 19 February 2013 19:04 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Help --- email notification problem Hi, I am using nagios 3.4.4. and RedHat Enterprise v 6.3. And I compiled from the source. I am experiencing strange email notification problems. I have been using nagios since 3.2, but I didn't notice this problem until recently. The problem is that not only correct contact person gets the notification by email, but also some other group people gets the same notification. Depending on which directive use, different group gets the notification: In the template file(service_templates.cfg), If I use:contacts personA-email Then notification goes to personA and group D ( personA is not in the Group D) But If I usecontact_groupstest-C And in the service file, I put the following directive: contacts personA-email Then the notification goes to person A and Group E ( personA is not in the Group E) Am I doing wrong ? Does anybody have similar experience? Since I am subscribing this mailing list using digest mode, I will be appreciated if you can send me a copy to my address. Thanks in advance Nobuo Then the notification goes to CONFIDENTIALITY NOTICE: This e-mail, including any attachments, is for the sole use of the intended recipient and may contain confidential and privileged information. If you are not an intended recipient, or the person responsible for delivering this message to an intended recipient, you are hereby notified that reading, copying, using or distributing this message is prohibited. If you are not an intended recipient, please contact the sender by reply email and destroy all copies of the original message from your computer system. -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb___ 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 Graph converting figures to binary bytes rather than decimal
Thanks to Claudio for finding the solution to this issue. To add to the instructions below I found that on my installation the line in nagiosgraph.conf to enable the rrdopts.conf file was commented out. You will need to uncomment this and make sure that it points to the correct place in order for the graphs to be correctly updated. James From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] Sent: 19 December 2012 14:19 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal James and I continued the troubleshooting off-list and we came to the solution, which we want to share of course. Here's more or less my mail: --- You're absolutely right, the graphs were not correct. With both *1000**2 and *1024**2. Actually, thanks to your e-mail I figured that in the past years I've lived in denial. I must have come up with the multiplication of 1000 in the map file as a kind of workaround, because the graph was closer to the actual reality. Then I must have forgotten that and went on I broke it down to this: # df Filesystem Size Used Avail Use% Mounted on /dev/md4 682587992 117456312 530731228 19% / # df -h Filesystem SizeUsed Avail Use% Mounted on /dev/md4 651G 113G 507G 19% / So df shows a value in KB (682587992). The Nagios plugin itself takes this value and presents it in MB (666589): /=114709MB;533271;599930;0;666589 So in order to present Nagiosgraph the values, we have to go down to the lowest level, which in this case is Byte. To get Byte value from the Nagios output we have to multiply it with 1024^2: 666589*1024*1024 = 698969227264 The job of Nagiosgraph is now to take this 698969227264 value and divide it so often through 1024 until a reasonable and human readable value is given, which would be the 651 GB. But here's the problem: Nagiosgraph divides 698969227264 through 1000 instead of 1024, showing the graph at 698 GB. But why? It took me some guesses which I had to confirm but: Nagiosgraph BY DEFAULT divides through 1000. Probably because the initial reason for rrd graphs was the graphing of network connections which are usually in bits. Anyhow we need to tell Nagiosgraph to divide through 1024 for our disk checks. There's a special file for that called rrdopts.conf. I added the following lines to it: # disk values need to be divided by 1024 not 1000 Diskspace /=-b 1024 Root Partition=-b 1024 The string left defines the service description in Nagios. So in my case this is Diskspace /. -b 1024 tells Nagiosgraph to take 1024 as a base value. See the following entry from the rrdgraph manpage: [-b|--base value] If you are graphing memory (and NOT network traffic) this switch should be set to 1024 so that one Kb is 1024 byte. For traffic measurement, 1 kb/s is 1000 b/s. Now you just have to make sure, that rrdopts.conf is not commented in your nagiosgraph.conf file and there you go. Positive thing is that there is no need to recreate the rrd files. This rrd option is only for viewing/drawing the graphs. Which means that the correct values are shown immediately. On Tue, Dec 18, 2012 at 2:51 PM, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: Hi Claudio, I modified your code as it was not working for me and wanted to check what was going on. I have reverted back to using the example that you have given and I am still getting the same result as can be seen here The filesystem is only 450GB in size, yet the graph values are still showing 460.80, which is the byte value show in decimal GB. I cannot work out why the graph is showing the wrong values when all other information is correct. James From: Claudio Kuenzler [mailto:c...@claudiokuenzler.commailto:c...@claudiokuenzler.com] Sent: 18 December 2012 12:15 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal Hi Claudio, I have entered the map entry below based on your example and I am still seeing the results on the graph show as a decimal version of the Bytes value. /perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+)/ and push @s, [$1, ['data', GAUGE, $2*1024*1024 ], ['warn', GAUGE, $3*1024*1024 ], ['crit', GAUGE, $4*1024*1024 ], ['min', GAUGE, $5*1024*1024 ], ['max', GAUGE, $6*1024*1024 ] ]; You didn't follow my example, as you're again multiplying with 1024. Take _another_ look at my example: ['used', GAUGE, $2*1000**2 ], ['total', GAUGE, $6*1000**2 ] ]; -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus
Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal
Hi Claudio, I modified your code as it was not working for me and wanted to check what was going on. I have reverted back to using the example that you have given and I am still getting the same result as can be seen here [cid:image001.png@01CDDD26.57B72AD0] The filesystem is only 450GB in size, yet the graph values are still showing 460.80, which is the byte value show in decimal GB. I cannot work out why the graph is showing the wrong values when all other information is correct. James From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] Sent: 18 December 2012 12:15 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal Hi Claudio, I have entered the map entry below based on your example and I am still seeing the results on the graph show as a decimal version of the Bytes value. /perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+)/ and push @s, [$1, ['data', GAUGE, $2*1024*1024 ], ['warn', GAUGE, $3*1024*1024 ], ['crit', GAUGE, $4*1024*1024 ], ['min', GAUGE, $5*1024*1024 ], ['max', GAUGE, $6*1024*1024 ] ]; You didn't follow my example, as you're again multiplying with 1024. Take _another_ look at my example: ['used', GAUGE, $2*1000**2 ], ['total', GAUGE, $6*1000**2 ] ]; inline: image001.png-- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ 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 Graph converting figures to binary bytes rather than decimal
Hi Claudio, I have entered the map entry below based on your example and I am still seeing the results on the graph show as a decimal version of the Bytes value. /perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+)/ and push @s, [$1, ['data', GAUGE, $2*1024*1024 ], ['warn', GAUGE, $3*1024*1024 ], ['crit', GAUGE, $4*1024*1024 ], ['min', GAUGE, $5*1024*1024 ], ['max', GAUGE, $6*1024*1024 ] ]; [cid:image001.png@01CDDC69.3ED5FAE0] Is there something after the map has been processed that takes that value and produces the graphs where the calculation is going wrong? This is a really annoying issue that I would like to resolve if I can. Cheers James From: James Osbourn Sent: 15 December 2012 16:16 To: Nagios Users List Subject: RE: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal Hi Claudio, Thanks for the feedback. Just to make sure, where abouts in the map file should these lines go? Thanks James From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] Sent: 15 December 2012 15:59 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal Hi James, Looking at the GB value and converting to bytes and then back to GB using decimal bytes gives these figures. Is there any way to make nagiosgraph using binary bytes rather than decimal. I am not that familiar with nagiosgraph or RRD and cannot work out how to make the change. You will have to manually add an entry into the 'map' file to tell nagiosgraph to use different values. My system (df -h) shows: FilesystemSize Used Avail Use% Mounted on /dev/mapper/vg0-root 20G 5.4G 14G 29% / Nagiosgraph shows: total: 20.32G used: 5.45G You can use the following map entry: # Service Type: check_disk # Nagiosgraph regex by Claudio Kuenzler # Check: /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p / # Output: DISK OK - free space: / 235120 MB (66% inode=95%): # Perfdata: /=119211MB;298635;335964;0;373294 /perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ #/perfdata:(\W)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ # only / partition and push @s, [diskusage, ['used', GAUGE, $2*1000**2 ], ['total', GAUGE, $6*1000**2 ] ]; inline: image001.png-- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ 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 Graph converting figures to binary bytes rather than decimal
Hi Claudio, Thanks for the feedback. Just to make sure, where abouts in the map file should these lines go? Thanks James From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] Sent: 15 December 2012 15:59 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal Hi James, Looking at the GB value and converting to bytes and then back to GB using decimal bytes gives these figures. Is there any way to make nagiosgraph using binary bytes rather than decimal. I am not that familiar with nagiosgraph or RRD and cannot work out how to make the change. You will have to manually add an entry into the 'map' file to tell nagiosgraph to use different values. My system (df -h) shows: FilesystemSize Used Avail Use% Mounted on /dev/mapper/vg0-root 20G 5.4G 14G 29% / Nagiosgraph shows: total: 20.32G used: 5.45G You can use the following map entry: # Service Type: check_disk # Nagiosgraph regex by Claudio Kuenzler # Check: /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p / # Output: DISK OK - free space: / 235120 MB (66% inode=95%): # Perfdata: /=119211MB;298635;335964;0;373294 /perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ #/perfdata:(\W)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ # only / partition and push @s, [diskusage, ['used', GAUGE, $2*1000**2 ], ['total', GAUGE, $6*1000**2 ] ]; -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d___ 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't get service failure(warning) to send notification
On 10/17/2012 11:31 PM, Frank Bulk wrote: You can set up different checks looking for different failures. Frank The correct check is failing. On the Centreon screen I can see the Warning: HTTP WARNING: HTTP/1.1 404 Not Found - 1428 bytes in 0.044 second response time But the notification related to that warning (because I can see the notification count going up) is: SUBJECT: Host UP alert for login2.pca.com! BODY: * centreon Notification * Type:PROBLEM Host: login2.mycompany.com State: UP Address: login2.mycompany.com Info: PING OK - Packet loss = 0%, RTA = 0.94 ms Date/Time: 17-10-2012 The info seem to be coming from the Ping-LAN, not the CheckHTTP. Both services are associated to the host. It says Host UP, Type PROBELM. I would prefer to see something like Service DOWN, Type PROBLEM, and Info: HTTP/1.1 404 Not Found - 1428 bytes in 0.044 second response time. Thanks, James -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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] SNMP MIBS
Hello, did you try any of these out? http://exchange.nagios.org/directory/Plugins/Hardware/Printers This one in particular looks like it may do what you need (?) http://exchange.nagios.org/directory/Plugins/Hardware/Printers/check_printer--2D-All-in-one-printer-check-suitable-for-most-devices/details Cheers, James -Original Message- From: Gilberto Ferreira [mailto:gilberto.nu...@selbetti.com.br] Sent: Wednesday, October 17, 2012 10:14 AM To: Nagios Users List Subject: [Nagios-users] SNMP MIBS Hello Friends... I need to know what OI on MIB I need use in order to monitoring ink level on a certain printer, like Ricoh,Lexmark or other Network Printer. Somebody here know something about it??? Thanks for any kind of idea... -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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't get service failure(warning) to send notification
On 10/15/2012 10:07 PM, booleanena...@gmail.com wrote: When I have issues like that, I turn up debugging in nagios.cfg then force the service to go critical with passive commands from the CGI. Remember that the debug options are additive, so only include what you need to figure out what is going on. I would say just from this conversation that it sounds like your either you timeperiods are incorrect/conflicting exclusions etc. or the notification command cannot be parsed correctly. Remember both the service and contact timeperiods have to overlap for a notification to be sent. Also, it only notifies when going into a hard state. If you have retries, it may require you to submit the critical passive state mutiple times. I usually disable active checks when I do this so a scheduled active check doesn't put the service into an okay state in the middle of forcing a hard critical. It would help to debug if you include the service definitions (including all templates inherited and explicitly included in the use line), contact definition, the relevant notification and check command definitions, and timeperiods. Sent on the Sprint® Now Network from my BlackBerry® I've been trying to figure out how to put nagios into debug like you are referring to. I did find a capture_plugin.pl which debug a plugin. That did work and might be useful someday, but not what you are referring to. Below is all the information around this check (I think). Please let me know if you see what might be causing the problem. Thanks, James Host: define host{ host_name login2.mycompany.com use generic-host alias login2.mycompany.com address login2.mycompany.com _HOST_ID2923 parents Centreon-Server hostgroups corporate check_command check_host_alive max_check_attempts 5 check_interval 5 retry_interval 5 active_checks_enabled 1 passive_checks_enabled 1 check_period24x7 contact_groups Notify_james contactsjames notification_interval 10 first_notification_delay0 notification_period 24x7 notification_optionsd notifications_enabled 1 hostTemplates.cfg define host{ namegeneric-host alias generic-host check_command check_host_alive max_check_attempts 5 active_checks_enabled 1 passive_checks_enabled 0 check_period24x7 contact_groups Supervisors notification_interval 0 notification_period 24x7 notification_optionsd,r notifications_enabled 0 register0 } Services: define service{ host_name login2.mycompany.com service_description check_http _SERVICE_ID 1879 use CheckHTTP check_command check_http max_check_attempts 5 normal_check_interval 5 retry_check_interval1 active_checks_enabled 1 passive_checks_enabled 1 check_period24x7 event_handler check_http event_handler_enabled 1 notification_interval 5 first_notification_delay0 notification_period 24x7 notification_optionsw,u,c,r notifications_enabled 1 contact_groups Notify_james contactsjames } define service{ host_name login2.mycompany.com service_description ping _SERVICE_ID 1878 use Ping-LAN } Service Templates: define service{ nameCheckHTTP service_description CheckHTTP use generic-service is_volatile 0 check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval1
Re: [Nagios-users] Can't get service failure(warning) to send notification
On 10/17/2012 3:34 PM, James Pifer wrote: On 10/15/2012 10:07 PM, booleanena...@gmail.com wrote: When I have issues like that, I turn up debugging in nagios.cfg then force the service to go critical with passive commands from the CGI. Remember that the debug options are additive, so only include what you need to figure out what is going on. I would say just from this conversation that it sounds like your either you timeperiods are incorrect/conflicting exclusions etc. or the notification command cannot be parsed correctly. Remember both the service and contact timeperiods have to overlap for a notification to be sent. Also, it only notifies when going into a hard state. If you have retries, it may require you to submit the critical passive state mutiple times. I usually disable active checks when I do this so a scheduled active check doesn't put the service into an okay state in the middle of forcing a hard critical. It would help to debug if you include the service definitions (including all templates inherited and explicitly included in the use line), contact definition, the relevant notification and check command definitions, and timeperiods. Sent on the Sprint® Now Network from my BlackBerry® I was re-reading my last message and saw the contact configuration for service notifications was set to (n)one. I change that to Critical and Warning and applied changes. Yahoo, I got a notification now from the service, but not quite what I expected. The service has a Connection refused message yet my notification is: Type:PROBLEM Host: login2.mycompany.com State: UP Address: login2.mycompany.com Info: PING OK - Packet loss = 0%, RTA = 1.25 ms Date/Time: 17-10-2012 Thanks, James -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ 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't get service failure(warning) to send notification
On 10/14/2012 8:25 PM, booleanena...@gmail.com wrote: Did you set your contacts to be able to receive e-mail notifications? I actually make 2 contacts using the first as a template for the second. One recieves the e-mail and it is 24x7 and the second is the on call and uses a timeperiod that is part of the on-call rotation which I based on the documentation. Sent on the Sprint® Now Network from my BlackBerry® Yes, I receive host down notifications already. Thanks, James -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-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] Can't get service failure(warning) to send notification
On 10/15/2012 8:08 AM, James Pifer wrote: On 10/14/2012 8:25 PM, booleanena...@gmail.com wrote: Did you set your contacts to be able to receive e-mail notifications? I actually make 2 contacts using the first as a template for the second. One recieves the e-mail and it is 24x7 and the second is the on call and uses a timeperiod that is part of the on-call rotation which I based on the documentation. Sent on the Sprint® Now Network from my BlackBerry® I made the service level go to OK, then I downed the web service so it's currently at a critical state and the State Type changed. Something is still stopping the notification from even being attempted. See Notification Information on screen shot here: http://www.obrien-pifer.com/ServiceOutage.png Thanks, James -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-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
[Nagios-users] Can't get service failure(warning) to send notification
I'm trying to add an http check to one of my hosts. It appears as though it is doing the check and correctly finding a problem, yet I am not getting any email notification. Below are the nagios config files: /etc/nagios/hosts.cfg and services.cfg. define host{ host_name login2.mycompany.com use generic-host alias login2.mycompany.com address login2.mycompany.com _HOST_ID 2923 hostgroups corporate check_command check_host_alive check_interval 5 retry_interval 5 check_period 24x7 contact_groups Notify_james notification_interval 10 first_notification_delay 1 notification_period 24x7 notification_options d notifications_enabled 1 } define service{ host_name login2.mycompany.com service_description check_http _SERVICE_ID 1879 use CheckHTTP check_command check_http max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 check_period 24x7 notification_interval 5 first_notification_delay 1 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups Notify_james contacts james } The contact_groups and contacts are definitely right as I get host down notifications from other hosts. My service template for CheckHTTP looks like: define service{ name CheckHTTP service_description CheckHTTP use generic-service is_volatile 0 check_command check_http max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 0 check_period 24x7 notification_period 24x7 notification_interval 5 notification_options w,u,c,r notifications_enabled 1 first_notification_delay 1 contact_groups Supervisors register 0 } Is there a way to make the check failure for CheckHTTP be a critical rather than a warning? Right now the warning shows: login2.mycompany.com check_http Warning login2.mycompany.com 22h 10m 51s 2012/10/11 8:18 HTTP WARNING: HTTP/1.1 404 Not Found - 1428 bytes in 0.020 second response time Any help is appreciated. Thanks, James -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-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] Problem in Installing the graph plugin.
You will need to install the RRD package. How you do this will depend on your operating system. James From: Aravinth Anto [mailto:t-aravi...@juspay.in] Sent: 06 September 2012 13:08 To: Nagios Users List Subject: Re: [Nagios-users] Problem in Installing the graph plugin. I run this command : sudo ./install.plhttp://install.pl --check-prereq checking required PERL modules Carp...1.20 CGI...3.52 Data::Dumper...2.130_02 File::Basename...2.82 File::Find...1.19 MIME::Base64...3.13 POSIX...1.24 RRDs... ***FAIL*** Time::HiRes...1.972101 checking optional PERL modules GD...2.46 checking nagios installation found nagios at /usr/local/nagios/bin/nagios checking web server installation found apache at /usr/sbin/apache2 *** one or more problems were detected! It seems that RRDs... ***FAIL*** . So how can I skip this error? On Thu, Aug 2, 2012 at 7:20 PM, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: Did you run the install and check your prerequisites, I found that some of these are not present by default, You can run sudo ./install -check=prereq If everything is ok, you can proceed, otherwise you will need to install the missing packages At install time you may need to pass the argument for a standalone installation, this all depends on your environment sudo ./install -standalone Once installation has completed you can test that the server is working by going to one of the following websites http://server/nagiosgraph/cgi-bin/showconfig.cgihttp://%3cserver%3e/nagiosgraph/cgi-bin/showconfig.cgi or http://server/nagiosgraph/cgi-bin/show.cgihttp://%3cserver%3e/nagiosgraph/cgi-bin/show.cgi This assumes your cgi data is located in cgi-bin and that you are running apache. This should help to get nagiosgraph working, you will then need to update Nagios to use the graphing plugin. James From: Aravinth Anto Intern [mailto:t-aravi...@juspay.inmailto:t-aravi...@juspay.in] Sent: 02 August 2012 14:38 To: Nagios Users List Subject: [Nagios-users] Problem in Installing the graph plugin. Hi all, I'm trying to install Nagios Plugin : http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details I downloaded it, unzip it and then I run the install.plhttp://install.pl as sudo ./install.plhttp://install.pl I accepted every directory as default and done with installation. I changed the side.php to add my Trends link that are supported by this plugin. I restarted the server. But when I click on certain links. I get an error : The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on this server. Why this is happening? I can go into the directory /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi. But why its not working? Thanks in adavnce -- 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.netmailto: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] Issues with check_by_ssh
Looking at your command from your terminal example and then looking at your command_line from your Nagios definition and your check_command statement the fields all seems to be backwards The things that I can see are - Your Nagios configuration is using the root account to connect to the server and your command line definition is using Nagios - Your command_line is being passwd 'ipxenserver' as the remote command to execute - You command_line is being passwd your remote command as the ssh key to use. - You have a trailing ! in your check_command definition which we create a variable with no value I think your command definition and need to be updated, something like this define command{ command_namecheck_xen_cpu command_line$USER1$/check_by_ssh -l $ARG1$ H $HOSTADDRESS$ -C $ARG2$ -I $ARG3$ } define service { service_description XenServer CPU Load host_name ORL-XEN-02 check_command check_by_ssh_xentop!nagios! /usr/lib/nagios/plugins/check_Xencpu.sh! /root/.ssh/id_rsa } James From Nagios server nagios@nagioserver:~$ /usr/lib/nagios/plugins/check_by_ssh -l nagios -H 172.16.31.2 -C /usr/lib/nagios/plugins/check_Xencpu -i /var/lib/nagios/.ssh/id_rsa OK:CPU%= 3 command_line /usr/lib/nagios/plugins/check_by_ssh (1)-l '$ARG1$' (2)-H '$HOSTADDRESS$' (3)-C '$ARG2$' (4)-i '$ARG3$' check_command check_by_ssh_xentop!(1)root!(2)ipxenserver!(3)/usr/lib/nagios/plugins/check_Xencpu.sh!(4)/root/.ssh/id_rsa! -- 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] Issues with check_by_ssh
I see that you are talking to a XenServer host. I am performing something similar. What I have had to do to achieve results is to create a local Nagios user on the XenServer host which has SSH keys to allow the server Nagios user to connect and avoid using any root SSH keys which the Nagios user is unlikely to be able to read. Once you have connected to the XenServer host check that the Nagios user can execute the commands you are running. If you are simply looking at the dom0 as if it was a host and checking items such as cpu, memory or disk usage then you should not have a problem. If you are executing XenServer xe commands then you will need to pass a username and password that has access to the XenServer to run these commands. This will be root or another account that has been granted access. You can store these values in the resources.cfg file and pass them in your command definition. I have also noticed that your service definition is passing 4 arguments, where your command definition is only using 3 arguments and the hostaddress. It would be worth checking to make sure that you are passing the correct arguments from your service and command definitions to your remote host. James From: Eduardo Montes de Oca S. [mailto:edren...@gmail.com] Sent: 15 August 2012 18:52 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Issues with check_by_ssh Hi list, I have some issues with the plugin check_by_ssh. In particular, there is one error: When I run a shell script located in another server, from the Nagios server using the check_by_ssh plugin, I don't have any errors and I can see the result of the script, like this: root@nagioserver#mailto:root@TSM-SRV-V-114 /usr/lib/nagios/plugins/check_by_ssh -l root -H ipxenserver -C /usr/lib/nagios/plugins/check_Xencpu OK:CPU%= 3 But, by any strange reason, when I configure the check for Nagios presents the results in its interface, I have the error: [cid:image001.png@01CD7B8F.4994F110] I have made the ssh authorization keys in both servers (Nagios and Xen), I configured the users, permissions,etc. And I can't to do this work it. Could someone help me solve this problem This is a part of my definition files: #XENServer define command { command_name check_by_ssh_xentop command_line /usr/lib/nagios/plugins/check_by_ssh -l '$ARG1$' -H '$HOSTADDRESS$' -C '$ARG2$' -i '$ARG3$' } #Hypervisor check define service{ use generic-service host_name ORLANDO service_description Hypervisor CPU check_command check_by_ssh_xentop!root!ipxenserver!/usr/lib/nagios/plugins/check_Xencpu.sh!/root/.ssh/id_rsa! } Regards! -- IC. Eduardo Montes de Oca Sánchez Skype: edrendar Gmail: edren...@gmail.commailto:edren...@gmail.com MSN: ed_montesde...@hotmail.commailto:ed_montesde...@hotmail.com Movil: 5523419886 https://linuxcounter.net/cert/549074.png inline: image001.png-- 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] My Own Command Deinifition Weird Behavior.
The first thing that spring to mind is that the SMS script is being run for host alerts for which the service variable would not be defined. It may be worth checking your contact notification definitions to make sure that hosts or services are different. James From: Net Warrior [mailto:netwarrior...@gmail.com] Sent: 16 August 2012 13:29 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] My Own Command Deinifition Weird Behavior. Hi there guys. I defined my own command to use an internal sms sistems, so we can send an sms alert along with the e-mail ones. This is what the script do. #!/bin/bash HOST=$1 STATE=$2 lynx http://server:/SMSService/$HOST-State-$STATE The command definition is: # send-sms define command{ command_name send-sms command_line /path/sms.sh $HOSTNAME$ $SERVICESTATE$ } The problem is that with some host I receive the SERVICESTATE condition, Ok or Critical, but with others dont, only get $ As I can see on the debug file: Processed notification command: /path/sms.sh server333 CRITICAL - This is good Processed notification command: /path/sms.sh server333 OK - This is good But for the other servers I get: Processed notification command: /path/sms.sh server222 $SERVICESTATE$ - Only get the variable name instead its content, ok or critical. Any idea what the problem could be? Thanks in advance. Best Regards -- 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] R: R: check_memory does not work properly
Have you tried su'ing to the nagios user and running it from the command line? I am betting it's permissions issue. Cheers, James From: Marco Borsani [mailto:m.bors...@it.net] Sent: Thursday, August 02, 2012 9:48 AM To: 'Nagios Users List' Subject: [Nagios-users] R: R: check_memory does not work properly No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com]mailto:[mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. It's almost impossible to give a good answer without knowing how you've set the check up. From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: . Command: check_local_memory State: WARNING Message:(null) Any idea ? -- 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] R: R: check_memory does not work properly
What user is your Nagios server running as? Is it the same as the user that you are using on the command line? Could you post more details about the exact check_memory command that you are using, there are several of them out there. The output you are getting from Nagios, is this on the web gui, or in one of the log files. It could be many things related to the check scripts itself, who you are running as where you are running the command. The command line is not always the same as when the server executes. James From: Marco Borsani [mailto:m.bors...@it.net] Sent: 02 August 2012 14:48 To: 'Nagios Users List' Subject: [Nagios-users] R: R: check_memory does not work properly No idea? Regards Da: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Inviato: mercoledì 1 agosto 2012 09:19 A: 'Nagios Users List' Oggetto: [Nagios-users] R: check_memory does not work properly Commands.cfg # 'check_local_memory' command definition define command{ command_namecheck_local_memory command_line$USER1$/check_memory -w $ARG1$ -c $ARG2$ } Services.cfg define service{ use active-service host_name ip- addresses service_description check_local_memory check_command check_local_memory!10%!5% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups CG_admin } From line command: $ ./check_memory -w 10% -c 5% OK - free memory is 27% which is within expected threshold| mem=27;10;5;0;100 Regards Da: Morris, Patrick [mailto:patrick.mor...@hp.com]mailto:[mailto:patrick.mor...@hp.com] Inviato: martedì 31 luglio 2012 23:24 A: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Oggetto: Re: [Nagios-users] check_memory does not work properly Posting your check configuration is really helpful in cases like this. It's almost impossible to give a good answer without knowing how you've set the check up. From: Marco Borsani [mailto:m.bors...@it.net]mailto:[mailto:m.bors...@it.net] Sent: Tuesday, July 31, 2012 6:52 AM To: NAGIOS Subject: [Nagios-users] check_memory does not work properly Hi all I am using a simple plug-in to check the nagios server memory. When I run it like user Nagios, it works perfectly. I see this output: OK - free memory is 40% which is within expected threshold| mem=40;10;5;0;100 When I run it with Nagios program I receive this notification: . Command: check_local_memory State: WARNING Message:(null) Any idea ? -- 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] Problem in Installing the graph plugin.
Did you run the install and check your prerequisites, I found that some of these are not present by default, You can run sudo ./install -check=prereq If everything is ok, you can proceed, otherwise you will need to install the missing packages At install time you may need to pass the argument for a standalone installation, this all depends on your environment sudo ./install -standalone Once installation has completed you can test that the server is working by going to one of the following websites http://server/nagiosgraph/cgi-bin/showconfig.cgihttp://%3cserver%3e/nagiosgraph/cgi-bin/showconfig.cgi or http://server/nagiosgraph/cgi-bin/show.cgihttp://%3cserver%3e/nagiosgraph/cgi-bin/show.cgi This assumes your cgi data is located in cgi-bin and that you are running apache. This should help to get nagiosgraph working, you will then need to update Nagios to use the graphing plugin. James From: Aravinth Anto Intern [mailto:t-aravi...@juspay.in] Sent: 02 August 2012 14:38 To: Nagios Users List Subject: [Nagios-users] Problem in Installing the graph plugin. Hi all, I'm trying to install Nagios Plugin : http://exchange.nagios.org/directory/Addons/Graphing-and-Trending/nagiosgraph/details I downloaded it, unzip it and then I run the install.plhttp://install.pl as sudo ./install.plhttp://install.pl I accepted every directory as default and done with installation. I changed the side.php to add my Trends link that are supported by this plugin. I restarted the server. But when I click on certain links. I get an error : The requested URL /usr/local/nagiosgraph/cgi/showgroup.cgi was not found on this server. Why this is happening? I can go into the directory /usr/local/nagiosgraph/cgi/ and view the .cgi file showgroup.cgi. But why its not working? Thanks in adavnce -- 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
[Nagios-users] Help with OCP_daemon and distributed monitoring
I've got a large distributed Nagios installation that uses the OCP_daemon to handle the forwarding of passive service checks to the master server. I've recently upgraded from version 3.0.3 to 3.4.1. After the upgrade, I've found a serious problem that I haven't completely solved yet. When using the OCP_daemon, you configure Nagios to forward passive check results by having it write performance data to a named pipe. While on version 3.0.3, all passive check results where being where being written to the perf data named pipe regardless of whether there was performance data or not. Since the upgrade to 3.4.1, check data only gets written to the pipe if the plugin generates perf data. I need all check results, regardless of state to be written to the pipe and forwarded on to the master. Has anyone else encountered this issue and what was the solution. Here's the relevant config: # Enable Performance data processing. process_performance_data=1 # Files to which Nagios will write data. In this setup # they will be named pipes. #host_perfdata_file=/path/to/host-perfdata.fifo service_perfdata_file=/var/log/nagios/rw/service-perfdata.fifo # This is exactly what will be sent to send_NSCA. Do not change it. host_perfdata_file_template=$HOSTNAME$\t$HOSTSTATEID$\t$HOSTOUTPUT$|$HOSTPERFDATA$ service_perfdata_file_template=$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATEID$\t$SERVICEOUTPUT$|Data: $SERVICEPERFDATA$ # The write mode should be w, although append should have no effect on a named pipe. host_perfdata_file_mode=p service_perfdata_file_mode=p # We don't want to process any command, so set this to 0 host_perfdata_file_processing_interval=0 service_perfdata_file_processing_interval=0 Thanks, --james -- 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] Linux Kernel Version
I use check_snmp for that - Here is the service definition I use (You must have snmpd enabled on the host, and a community string defined etc) - ## check os version via snmp define command { command_namecheck_os command_line$USER1$/check_snmp -H $HOSTNAME$ -o SNMPv2-MIB::sysDescr.0 -C $USER15$ } Where $USER15$ is my community string, thus on Redhat/Centos it returns : SNMP OK - Linux avamar05 2.6.9-89.ELsmp #1 SMP Mon Apr 20 10:33:05 EDT 2009 x86_64 for windows - SNMP OK - Hardware: Intel64 Family 6 Model 44 Stepping 2 AT/AT COMPATIBLE - Software: Windows Version 6.1 (Build 7601 Multiprocessor Free) Cheers, James From: Edwin Zoeller [mailto:edwin.zoel...@ama-assn.org] Sent: Thursday, June 28, 2012 11:11 PM To: Nagios Users List (nagios-users@lists.sourceforge.net) Subject: [Nagios-users] Linux Kernel Version Does anyone know of or have a plugin that will display the current kernel level for Redhat? Thanks, Ed P Please consider the environment before printing this e-mail -- 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 many hosts and services are you monitoring with Nagios?
We're monitoring around 1000 hosts and 4700 services. We are using the last version of Opsview Community like Simon although his setup sounds a bit more fault tolerant. We have 1 master server with about 30 slave servers monitoring various remote sites. Easy of distributed setup was what won us over to Opsview several years ago but as they moved the distributed version to the enterprise commercial edition I am starting to pay attention again to the different variants of Nagios out there. Also centralized web based configuration front end was another huge plus as engineers don't have to understand Nagios to setup hosts. The racoon setup sounds like some good stuff. James -Original Message- From: Simone Felici [mailto:s.fel...@mclink.eu] Sent: Friday, May 18, 2012 3:33 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] How many hosts and services are you monitoring with Nagios? Impressive :) We're monitoring ~2000 hosts and ~1 services, every 5 minutes. Architecture used: OPSView Community edition, the last free version before it started to make the distributed version commercial :/ Two central servers (active/standby - drbd) as single point for management and collecting all passive checks executed by the slave servers. Performance data saved into rrd files as well on an external BIG database server. Configuration resides on a cluster MySQL installation (drbd). 4 slave datacenter installations with 2 servers per datacenter in active/active load balancing. Traps handling supported on all servers with rules logic. Pros: - Open Source: at least until version 3 - for our setup. Simple single instance with fewer functions available as well on version 4. - Easy to manage: the prupose was to create monitoring system and then let the management to other people with less technical skills - distributed setup - RBAC Disadvantages: - no longer Open Source: see above - Central server suffering on cpu by GUI implementation and other bg jobs - Not all nagios parameters editable as we like: i.e. cannot customize same checks with different intervals without having to re-create new ones. Think on HTTP service on servers with different loads and the need to extend the retries on high load servers. no way expect creating HTTP and HTTP High Load services. Maybe there are more pros (and disadvantages), but it's not the right place. BTW I'll look forward to wait for this solution; seems interesting! Simon Il 17/05/2012 16:43, Max Schubert ha scritto: Hi, I like it when people periodically post numbers and architecture summaries, I am guessing with the distributed frameworks out now for Nagios this thread might be seeing bigger numbers than past threads have. With our custom-built distributed Nagios-based monitoring system, we are currently monitoring 18000+ hosts every 5 minutes and 100k+ active services (plenty of passive services in addition to the actives) every 5 mins as well. We collect performance data from every check as well and pass that on to a highly distributed and scalabe time-series data warehouse another team in our organization has built (which is why we have the 5 min interval requirement) We also do trap ingest using SNMPTT with a few custom mods, but not going to include those numbers as they never have required the optimizations the polling has required. This isn't a monolithic instance, we have 6 projects using instances of our distributed Nagios-based software, called Racon (soon my manager will give our team to package it as open source - so I hear at least). We built it on core Nagios with a custom database layer based on a very very early version of Merlin's database abstraction layer (thank you Andreas!) - we have a custom client/server network-based notification framework in use (we will release that as well) along with a custom NEB/perl based client-server framework (also releasable, just need time scheduled) for sending and processing performance data - the performance and notification framework are both horizontally scalabe and network fault tolerant. What kinds of numbers of hosts and services are you all monitoring? Which add-ons / distributed frameworks are you using? -- 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] Nagios + memory usage + SNMP
If you are monitoring Linux, I would suggest this one, from the same page I directed you – define command{ command_name check_linux_snmp_proc command_line $USER1$/check_snmp_process -H $HOSTADDRESS$ -C $USER15$ -2 -n $ARG1$ -w $ARG2$ -c $ARG3$ } (Run the command interactively for all the necessary arguments, or see the web page - it’s pretty straightforward). James From: lean...@guiadopc.info [mailto:lean...@guiadopc.info] Sent: Saturday, May 12, 2012 3:29 PM To: nagiosus...@edcint.co.nz; Nagios Users List Subject: Re: [Nagios-users] Nagios + memory usage + SNMP Mattew, I could use some plugins snmp quite interesting. Now I'm looking for one that monitors the processes of mysql and apache remotely. I am monitoring Linux servers. Do you suggest any that work? Thanks Leandro Ferreira Em 11/05/2012, Matthew Jurgens nagiosus...@edcint.co.nzmailto:nagiosus...@edcint.co.nz escreveu: If you are checking Windows try check_wmi_plus (it is agentless) http://www.edcint.co.nz/checkwmiplus It can do all of that and a lot more which means your monitoring of Windows becomes a lot more consistent as you can use a single plugin for everything On 12/05/2012 4:16 AM, James Pratt wrote: Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script: Commands.cfg definition - ## check phys mem on a windows server or vm - note the server must have snmpd installed and running, as well as a RO user defined! ## define command{ command_name check_snmp_phys_mem_win command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m Physical Memory -w $ARG1$ -c $ARG2$ } (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file) ### Here is actual service definition in my services.cfg file - ## Windows SNMP Mem Usage warn on 85%, crit on 90% define service{ usegeneric-service,srv-pnp; Name of service template to use host_name Windows1,Windows2 service_descriptionSNMP - Physical Memory Usage check_periodworkhours check_interval 15 max_check_attempts 5 notification_interval 60 notification_optionsw,u,c,r check_command check_snmp_phys_mem_win!85!90 } (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend. James -Original Message- From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]mailto:[mailto:lean...@guiadopc.info] Sent: Friday, May 11, 2012 1:52 PM To: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Cc: James Pratt Subject: Re: [Nagios-users] Nagios + memory usage + SNMP James, Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line. thanks Leandro Ferreira Em Sex, 2012-05-11 às 16:19 +, James Pratt escreveu: Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... http://nagios.manubulon.com/ cheers, James -Original Message- From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info]mailto:[mailto:lean...@guiadopc.info] Sent: Friday, May 11, 2012 12:14 PM To: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios + memory usage + SNMP Dear, I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? thank you Leandro Ferreira -- 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.netmailto:Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS
Re: [Nagios-users] Nagios + memory usage + SNMP
Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... http://nagios.manubulon.com/ cheers, James -Original Message- From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info] Sent: Friday, May 11, 2012 12:14 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios + memory usage + SNMP Dear, I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? thank you Leandro Ferreira -- 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] Nagios + memory usage + SNMP
Ok here is how I check/monitor memory on windows systems using the check_snmp_storage script: Commands.cfg definition - ## check phys mem on a windows server or vm - note the server must have snmpd installed and running, as well as a RO user defined! ## define command{ command_name check_snmp_phys_mem_win command_line $USER1$/check_snmp_storage -H $HOSTADDRESS$ $USER16$ -m Physical Memory -w $ARG1$ -c $ARG2$ } (Where $USER16$ is the snmp user defined to be read-only on the server you are monitoring, in your resources.cfg file) ### Here is actual service definition in my services.cfg file - ## Windows SNMP Mem Usage warn on 85%, crit on 90% define service{ use generic-service,srv-pnp ; Name of service template to use host_name Windows1,Windows2 service_description SNMP - Physical Memory Usage check_periodworkhours check_interval 15 max_check_attempts 5 notification_interval 60 notification_optionsw,u,c,r check_command check_snmp_phys_mem_win!85!90 } (If anything is missing from the above, it's being inherited from the hosts' definition to which it applies. HTH, have a good weekend. James -Original Message- From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info] Sent: Friday, May 11, 2012 1:52 PM To: nagios-users@lists.sourceforge.net Cc: James Pratt Subject: Re: [Nagios-users] Nagios + memory usage + SNMP James, Would post the command.cfg host.cfg and with the command checking memory for me based on them? I am new to Nagios, I still need to adjust the command line. thanks Leandro Ferreira Em Sex, 2012-05-11 às 16:19 +, James Pratt escreveu: Hi - I've used these snmp plugins for a long time, as I have too many to install nrpe/etc on... http://nagios.manubulon.com/ cheers, James -Original Message- From: Leandro @GuiadoPC [mailto:lean...@guiadopc.info] Sent: Friday, May 11, 2012 12:14 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios + memory usage + SNMP Dear, I'm using Nagios for a short time and I need to understand one thing about snmp + nagios. Before I was using Cacti and could monitor the memory usage on the hosts without having to install anything on it. Picked up the information via SNMP. In Nagios, so I'm looking to monitor memory usage and some other services I have to install the NRPE + xinetd hosts. There is another option to monitrar these services without having to install anything on remote hosts (being in the same network as the server)? thank you Leandro Ferreira -- 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 -- 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
[Nagios-users] Nagios based distributed monitoring systems out there?
This is not entirely Nagios related, more nagios backend architecture related. We had been a long time user of Opsview Community Edition. We were monitoring multiple sites so we were drawn in by Opsview's ease of distributed server setup. Unfortunately Opsview is dropping distributed monitoring from the community edition (a point brought up by Opsview sales when they contacted us about buying enterprise). I now am stuck with a system monitoring 1000 hosts across different locations with a no low cost upgrade path under Opsview. What my company ultimately decides to do is not entirely up to me but I was curious if other nagios based monitoring systems handled a reverse tunnel master/slave distributed model as well as Opsview used to? If Opsview is listening, next time you drop core features from your product do your registered users a favor and give them advanced notice, instead of using it as a sales talking point. Thanks. James -- 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] Nagios based distributed monitoring systems out there?
what you mean by reverse tunnel master/slave distributed model, So you have master server - that presents the master web interface - controls configs for everything -sends out notifications Slave servers are placed at remote locations to do active polling and results are returned to the master. Slave servers initiate ssh session to master and open up reverse tunnel back to itself. So data from slaves comes in via port 22, config data is pushed out to slaves over reverse ssh port. The cool thing is we don't have to deal with opening up ssh on a bunch of remote networks. As long as SSH is allowed out from remote networks and we allow in SSH from the remote networks everything just works. Other distributed setups I had seen had to have direct ssh access out from master to slave. Opsview Community edition was really a great value, but the move to enterprise edition would be a big cost increase, so I figured it was worth asking about distributed setup in other nagios based products. James -Original Message- From: Alex Griffin [mailto:agrif...@nagios.com] Sent: Wednesday, May 02, 2012 3:04 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios based distributed monitoring systems out there? I'm not sure how Opsview handles this or what you mean by reverse tunnel master/slave distributed model, but there are several distributed monitoring solutions out there for Nagios. The two that come to mind for me are mod_gearman and dnx, but I'm certain I've seen others as well. Nagios XI integrates pretty well with DNX too. Alex Griffin --- Tech Team agrif...@nagios.com James Whittington wrote: This is not entirely Nagios related, more nagios backend architecture related. We had been a long time user of Opsview Community Edition. We were monitoring multiple sites so we were drawn in by Opsview's ease of distributed server setup. Unfortunately Opsview is dropping distributed monitoring from the community edition (a point brought up by Opsview sales when they contacted us about buying enterprise). I now am stuck with a system monitoring 1000 hosts across different locations with a no low cost upgrade path under Opsview. What my company ultimately decides to do is not entirely up to me but I was curious if other nagios based monitoring systems handled a reverse tunnel master/slave distributed model as well as Opsview used to? If Opsview is listening, next time you drop core features from your product do your registered users a favor and give them advanced notice, instead of using it as a sales talking point. Thanks. James -- 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 -- 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] MOnitor disk space on Sun Solaris
Weird... http://pissedoffadmins.com/?p=400 maybe? Cheers, James From: Theo Bogatsu [mailto:theo.boga...@mascom.bw] Sent: Wednesday, April 04, 2012 5:46 AM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] MOnitor disk space on Sun Solaris Hi I'm trying to monitor disk space on my Sun solaris server, I want it to give me a warning when it reaches 80% usage and critical when over 90%. I have used the below plugin: check_disk with these arguments: --w 20% -c 10% -p /opt/ But on the status information I get a: DISK OK - free space: / 128187 MB (93% inode=98%) I'm expecting to see output similar to the output of df -kh (when run on the server) which currently is: Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s5 19G 6.8G12G36%/opt So in essence I think there should be like 64% free disk space?? Please HELP. Regards -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-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] MOnitor disk space on Sun Solaris
There is always this too - I use these plugins extensively (alas, I'm out of solaris boxes for a few years now sorry)!, as snmp checks need minimal client setup compared to nrpe etc etc http://nagios.manubulon.com/snmp_storage.html From: Theo Bogatsu [mailto:theo.boga...@mascom.bw] Sent: Wednesday, April 04, 2012 5:46 AM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] MOnitor disk space on Sun Solaris Hi I'm trying to monitor disk space on my Sun solaris server, I want it to give me a warning when it reaches 80% usage and critical when over 90%. I have used the below plugin: check_disk with these arguments: --w 20% -c 10% -p /opt/ But on the status information I get a: DISK OK - free space: / 128187 MB (93% inode=98%) I'm expecting to see output similar to the output of df -kh (when run on the server) which currently is: Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s5 19G 6.8G12G36%/opt So in essence I think there should be like 64% free disk space?? Please HELP. Regards -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-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] how to associate /bin/bash with shell script in Nagios
I'm slightly confused - Do you have #!/bin/bash in the top of your shell script, and is it set to be executable by (at least) the nagios user? (Not sure why you are calling bash then the script name as an arg, that is odd to me, but maybe I'm missing something)? Cheers, Jamie From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 12:43 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] how to associate /bin/bash with shell script in Nagios Hello, I have the following command: define command{ command_namedlg_notifications command_line/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh } And the following service define service{ use mypc service_description dlg_Alerts_notifications check_command dlg_notifications max_check_attempts 1 retain_status_information0 retain_nonstatus_information0 } /bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh runs fine manually. Service defined above can't run it though. While googling around, I found out that apparently Nagios does not know that script should be executed by /bin/bash How would I let Nagios know about /bin/bash Thanks. Mikhail. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ 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 associate /bin/bash with shell script in Nagios
Ok, so it's working fine when you run it from the command line, but not for nagios user, correct? (If it's a shell script, nagios will execute it using the proper interpreter, so there is no way to tell nagios to use bash if that makes sense)? I usually su - nagios user, then try and run it from that user account - that's usually where the problem is, it runs fine for root or whoever, but fails for the nagios user for whatever reason... Cheers, Jamie From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 1:28 PM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios Sorry for confusion - I was just trying different combinations. But initially my command definition was following: define command{ command_namedlg_notifications command_line/usr/local/nagios/libexec/nagios-msg-broker.sh } I have #!/bin/bash in the top of my shell script, and shell script is set to be executable. perfserver-10:/usr/local/nagios/libexec$ ls -l nagios-msg-broker.sh -rwxrwxrwx 1 nagios nagcmd 149 Mar 30 10:04 nagios-msg-broker.sh Thanks. Mikhail. From: James Pratt [mailto:jpr...@norwich.edu] Sent: Friday, March 30, 2012 9:53 AM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios I'm slightly confused - Do you have #!/bin/bash in the top of your shell script, and is it set to be executable by (at least) the nagios user? (Not sure why you are calling bash then the script name as an arg, that is odd to me, but maybe I'm missing something)? Cheers, Jamie From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 12:43 PM To: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Subject: [Nagios-users] how to associate /bin/bash with shell script in Nagios Hello, I have the following command: define command{ command_namedlg_notifications command_line/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh } And the following service define service{ use mypc service_description dlg_Alerts_notifications check_command dlg_notifications max_check_attempts 1 retain_status_information0 retain_nonstatus_information0 } /bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh runs fine manually. Service defined above can't run it though. While googling around, I found out that apparently Nagios does not know that script should be executed by /bin/bash How would I let Nagios know about /bin/bash Thanks. Mikhail. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ 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 associate /bin/bash with shell script in Nagios
Sorry, I also remembered you can add an -x to the end of the #!/bin/bash line and it will execute in verbose mode - it's a bit noisy, but it may help figure out where/why it's failing. From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 1:28 PM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios Sorry for confusion - I was just trying different combinations. But initially my command definition was following: define command{ command_namedlg_notifications command_line/usr/local/nagios/libexec/nagios-msg-broker.sh } I have #!/bin/bash in the top of my shell script, and shell script is set to be executable. perfserver-10:/usr/local/nagios/libexec$ ls -l nagios-msg-broker.sh -rwxrwxrwx 1 nagios nagcmd 149 Mar 30 10:04 nagios-msg-broker.sh Thanks. Mikhail. From: James Pratt [mailto:jpr...@norwich.edu] Sent: Friday, March 30, 2012 9:53 AM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios I'm slightly confused - Do you have #!/bin/bash in the top of your shell script, and is it set to be executable by (at least) the nagios user? (Not sure why you are calling bash then the script name as an arg, that is odd to me, but maybe I'm missing something)? Cheers, Jamie From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 12:43 PM To: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Subject: [Nagios-users] how to associate /bin/bash with shell script in Nagios Hello, I have the following command: define command{ command_namedlg_notifications command_line/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh } And the following service define service{ use mypc service_description dlg_Alerts_notifications check_command dlg_notifications max_check_attempts 1 retain_status_information0 retain_nonstatus_information0 } /bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh runs fine manually. Service defined above can't run it though. While googling around, I found out that apparently Nagios does not know that script should be executed by /bin/bash How would I let Nagios know about /bin/bash Thanks. Mikhail. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ 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 associate /bin/bash with shell script in Nagios
Yes I agree with Ed as well on the remote stuff - And yes, the *nix OS determines what shell/program (eg perl/bash/sh/zsh etc) to execute the script with by the shebang line in the top of the file, and whether or not it's executable. I would definitely try and execute it as the nagios user - that is all that is left in your case it seems (?) From: Edwin Zoeller [mailto:edwin.zoel...@ama-assn.org] Sent: Friday, March 30, 2012 3:11 PM To: 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios If this is run on a remote host using nrpe this what I would check: - type which bash on the remote host and make sure the path matches what's in your script. - verify your nrpe.cfg has an entry in it for your script I.e check_myscript - verify on the master that check commands matches the remote entry Ed From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 01:50 PM To: Nagios Users List nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios Actually I verified that this script runs fine manually using default (Bourne) shell too. So now I have #!/bin/sh in the beginning of my script and it still is not being picked up by service. And I restart Nagios to initiate the service attempt. Do you refer to Bourne shell (#!/bin/sh ) in this part of your explanation: “ (If it's a shell script, nagios will execute it using the proper interpreter, so there is no way to tell nagios to use bash if that makes sense)?” If you do, and since I still can’t initiate the script should I su - nagios user anyway? And responding to Edwin’s question, it is on local host. Thanks. Mikhail. From: James Pratt [mailto:jpr...@norwich.edu] Sent: Friday, March 30, 2012 11:33 AM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios Ok, so it's working fine when you run it from the command line, but not for nagios user, correct? (If it's a shell script, nagios will execute it using the proper interpreter, so there is no way to tell nagios to use bash if that makes sense)? I usually su - nagios user, then try and run it from that user account - that's usually where the problem is, it runs fine for root or whoever, but fails for the nagios user for whatever reason... Cheers, Jamie From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 1:28 PM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios Sorry for confusion - I was just trying different combinations. But initially my command definition was following: define command{ command_namedlg_notifications command_line/usr/local/nagios/libexec/nagios-msg-broker.sh } I have #!/bin/bash in the top of my shell script, and shell script is set to be executable. perfserver-10:/usr/local/nagios/libexec$ ls -l nagios-msg-broker.sh -rwxrwxrwx 1 nagios nagcmd 149 Mar 30 10:04 nagios-msg-broker.sh Thanks. Mikhail. From: James Pratt [mailto:jpr...@norwich.edu] Sent: Friday, March 30, 2012 9:53 AM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios I'm slightly confused - Do you have #!/bin/bash in the top of your shell script, and is it set to be executable by (at least) the nagios user? (Not sure why you are calling bash then the script name as an arg, that is odd to me, but maybe I'm missing something)? Cheers, Jamie From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 12:43 PM To: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Subject: [Nagios-users] how to associate /bin/bash with shell script in Nagios Hello, I have the following command: define command{ command_namedlg_notifications command_line/bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh } And the following service define service{ use mypc service_description dlg_Alerts_notifications check_command dlg_notifications max_check_attempts 1 retain_status_information0 retain_nonstatus_information0 } /bin/bash /usr/local/nagios/libexec/nagios-msg-broker.sh runs fine manually. Service defined above can’t run it though. While googling around, I found out that apparently Nagios does not know that script should be executed by /bin/bash How would I let Nagios know about /bin/bash Thanks. Mikhail. -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http
Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios
ok it's really very simple - find the exact command definition string you want to execute in your commands.cfg, and su - nagios (as root) and then interactively (like actually type it right?) the same exact command that the command definition is attempting to execute as the nagios user, and see if it works - Note, this is only to debug, or test your configuration - you do not want to setup your script to su - nagios or anything like that ... sorry if i was not clear on that - what you want to do is mimic exactly the command nagios is attempting to execute, that is all, it's just for testing. if you can figure out why that is not working as the nagios user (This is the account the nagios program runs as right?), then that is where your problem is, so i'm sorry - it's not a solution, it's only the best way to find your problem, as that is the apparent issue - as you say - it runs correctly otherwise. Jamie From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 8:43 PM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios The script represents in Nagios terms external application. It runs on the local (monitoring) box. Script due to its content makes connection to the mbeans on the remote server (target box), receives notifications from mbeans, and then writes to the external fifo file (usr/local/nagios/var/rw/nagios.cmd) message in the predefined format: PROCESS_SERVICE_CHECK_RESULT;host_name;service_description;return_code;plugin_output One message for one notification. It looks to me that “remote stuff” is not applicable in that case. When I run this script manually on the local monitoring host, it runs and writes data to the file. When it is initiated by service defined on the same monitoring host in the .cfg file, nothing happens. If I want this script to be initiated by “su – nagios”, how exactly I incorporate it within existing command and service definitions on the monitoring host? Thanks. Mikhail. From: James Pratt [mailto:jpr...@norwich.edu] Sent: Friday, March 30, 2012 12:19 PM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios Yes I agree with Ed as well on the remote stuff - And yes, the *nix OS determines what shell/program (eg perl/bash/sh/zsh etc) to execute the script with by the shebang line in the top of the file, and whether or not it's executable. I would definitely try and execute it as the nagios user - that is all that is left in your case it seems (?) From: Edwin Zoeller [mailto:edwin.zoel...@ama-assn.org]mailto:[mailto:edwin.zoel...@ama-assn.org] Sent: Friday, March 30, 2012 3:11 PM To: 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios If this is run on a remote host using nrpe this what I would check: - type which bash on the remote host and make sure the path matches what's in your script. - verify your nrpe.cfg has an entry in it for your script I.e check_myscript - verify on the master that check commands matches the remote entry Ed From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 01:50 PM To: Nagios Users List nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios Actually I verified that this script runs fine manually using default (Bourne) shell too. So now I have #!/bin/sh in the beginning of my script and it still is not being picked up by service. And I restart Nagios to initiate the service attempt. Do you refer to Bourne shell (#!/bin/sh ) in this part of your explanation: “ (If it's a shell script, nagios will execute it using the proper interpreter, so there is no way to tell nagios to use bash if that makes sense)?” If you do, and since I still can’t initiate the script should I su - nagios user anyway? And responding to Edwin’s question, it is on local host. Thanks. Mikhail. From: James Pratt [mailto:jpr...@norwich.edu]mailto:[mailto:jpr...@norwich.edu] Sent: Friday, March 30, 2012 11:33 AM To: Nagios Users List Subject: Re: [Nagios-users] how to associate /bin/bash with shell script in Nagios Ok, so it's working fine when you run it from the command line, but not for nagios user, correct? (If it's a shell script, nagios will execute it using the proper interpreter, so there is no way to tell nagios to use bash if that makes sense)? I usually su - nagios user, then try and run it from that user account - that's usually where the problem is, it runs fine for root or whoever, but fails for the nagios user for whatever reason... Cheers, Jamie From: Parkman, Mikhail [mailto:mikhail_park...@cable.comcast.com]mailto:[mailto:mikhail_park...@cable.comcast.com] Sent: Friday, March 30, 2012 1:28
[Nagios-users] Script to import Ip's into basic hosts.cfg?
Hi, does anyone know of/have a perl/shell/python script that can take a list of ip addresses from a text file and auto-build a basic hosts.cfg file from it? Thanks, I searched the exchange, but couldn't find anything that would do this without a lot of fuss... Regards, Jamie -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ 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] nrpe ssl handshake error
On our hosts the NRPE inetd/xinetd config has a line which says only_from = ip_address If this IP address list does not match you connecting server then it will not work and give you this error, always catches me out. Jamees From: Manish Kumar [mailto:manikuma...@gmail.com] Sent: 05 February 2012 17:19 To: nagios-users Subject: [Nagios-users] nrpe ssl handshake error Hi List, The nrpe service on some of my HP-UX machines started giving ssl handshake error. I am able to telnet into port 5666 of these machines and i have restarted the nrpe service on these machines. What can be the issue ??? -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] check_http frequent timeouts
I am monitoring an external web server at one of our sites from a Nagios instance at another site. During the day I will see frequent timeouts retrieving the webpage. I have increased the timeout to 20 seconds and the problem still occurs. What is interesting is that I have other web serves at the same site being monitored in the same way that are not exhibiting the same issue. I am trying to pin down whether this is a related to the Nagios check or if the server itself is as fault, or perhaps the path in between. The only difference with those servers that are working and the one that is giving time outs is the web server that is be running. The one with the time outs is running lighttp and the others are running apache. Has anyone seen any similar situation and could lend any suggestions as to a possible fix. Thanks James -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-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] Nagios Graph not displaying correct values
I tried adding this map but it did not remove the orginal values from the graph and I could not find where they are stored. I do not think that the problem is related to 100 vs 1024 as some manual calculations do not match again the value that I am seeing on the graph. It has been a while since I have played with RRD and I would of expected a standard check command from Nagios to graph correctly. It just seems to be the RRD interpolation of the performance data as the check command is outputting the correct performance data values. James From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] Sent: 13 December 2011 15:43 To: Nagios Users List Subject: Re: [Nagios-users] Nagios Graph not displaying correct values Some of the default Nagiosgraph map entries are strange and behave not as expected. I basically replaced all the existing entries by own ones. If you like you can use the following one: # Service Type: check_disk # Nagiosgraph regex by Claudio Kuenzler # Check: /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p / # Output: DISK OK - free space: / 235120 MB (66% inode=95%): # Perfdata: /=119211MB;298635;335964;0;373294 /perfdata:(.*)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ #/perfdata:(\W)=(\d+)MB;(\d+);(\d+);(\d+);(\d+).*/ # only / partition and push @s, [diskusage, ['used', GAUGE, $2*1000**2 ], ['total', GAUGE, $6*1000**2 ] ]; Note that this is a very basic graph which shows the total and current partition usage. Feel free to modify it :-) On Tue, Dec 13, 2011 at 11:41 AM, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: I have a weird situation where the Nagios Graph values are not the actual values for a filesystem Eg I have a filesystem and if I run a df I get $ df -h . FilesystemSize Used Avail Use% Mounted on filer01:/vol/data1443G 400G 44G 91% /mnt/filer01_data1 If I run the Nagios check_disk command I get the correct values # ../libexec/check_disk -w 10% -c 5% -p /usr/groups/sources DISK WARNING - free space: /usr/groups/sources 44073 MB (9% inode=48%);| /usr/groups/sources=409354MB;408084;430755;0;453427 But when you look at the graph the figures are all wrong Has anyone else seen this? I was going to look at the usage to try and forecast usage but it will now be very hard. I have just installed Nagios Graph based on the default installation and using the default check_disk plugin. Thanks James -- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto: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 -- Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios Graph not displaying correct values
I have a weird situation where the Nagios Graph values are not the actual values for a filesystem Eg I have a filesystem and if I run a df I get $ df -h . FilesystemSize Used Avail Use% Mounted on filer01:/vol/data1443G 400G 44G 91% /mnt/filer01_data1 If I run the Nagios check_disk command I get the correct values # ../libexec/check_disk -w 10% -c 5% -p /usr/groups/sources DISK WARNING - free space: /usr/groups/sources 44073 MB (9% inode=48%);| /usr/groups/sources=409354MB;408084;430755;0;453427 But when you look at the graph the figures are all wrong Has anyone else seen this? I was going to look at the usage to try and forecast usage but it will now be very hard. I have just installed Nagios Graph based on the default installation and using the default check_disk plugin. Thanks James inline: Picture (Device Independent Bitmap) 1.jpg-- Systems Optimization Self Assessment Improve efficiency and utilization of IT resources. Drive out cost and improve service delivery. Take 5 minutes to use this Systems Optimization Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/___ 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] monitor printer from Windows server
Hi Robert, This sounds like the kind of thing that I am interested in. I have not done any powershell scripting before so would be very interested in seeing what you have if you are able to release it; as well as your integration with NSClient and Nagios. Thanks James From: Werner, Robert [mailto:rwer...@pomwonderful.com] Sent: 01 December 2011 19:52 To: Nagios Users List Subject: Re: [Nagios-users] monitor printer from Windows server I've had good luck using System.Printing from Powershell and then running the scripts from NSClient++. I just wrote the PowerShell Scripts to use the standard nagios plugin status codes. I used the following links to develop the PowerShell scripts: http://gallery.technet.microsoft.com/scriptcenter/PrintServerManagementps1-7676ed28 http://msdn.microsoft.com/en-us/library/system.printing.aspx If there is interest, I'll ask my boss about sharing the PowerShell scripts. -- Robert G. Werner Oracle Apps Systems Administrator rwer...@pomwonderful.commailto:rwer...@pomwonderful.com 559.521.5089 From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com]mailto:[mailto:c...@claudiokuenzler.com] Sent: Thursday, December 01, 2011 11:21 AM To: Nagios Users List Subject: Re: [Nagios-users] monitor printer from Windows server Besides of course the Spooler Service, you should also monitor the Windows Event Log. I've experienced a lot of driver issues on an old Windows print server which temporarily caused the affected printer(s) to appear as 'offline'. Such problems appeared in the event log as Warnings with the message content something about the driver. That was on a Windows Server 2003, but I think such driver problems are still logged to the Event Log. On Thu, Dec 1, 2011 at 3:10 PM, Jim Avery j...@jimavery.me.ukmailto:j...@jimavery.me.uk wrote: On 1 December 2011 12:39, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: I have a Windows 7 server acting as a print server and I would like to check the status of these printers and make sure that they are still online etc. I cannot seem to find a way of checking printers shared from a Windows machine, does anyone have any suggestions or references that I could use. Thanks James I query the windows performance counter for number of print jobs spooling. If a printer breaks then usually this counter starts ramping up quite rapidly as more and more print jobs get stuck in the queue. For example, the [external alias] section of your nsc.ini (assuming you use NSClient++), you can have:- alias_CheckCounter-PrintQJobs=CheckCounter Counter:jobs=\Print Queue(_Total)\Jobs ShowAll MaxWarn=250 MaxCrit=500 Then your service definition would look something like this:- define service { host_name printserver1,printserver2 service_description PrintQJobs use srv-pnp,generic-service check_command check_nrpe!-c PrintQJobs max_check_attempts 6 check_interval 15 retry_interval 5 contact_groups notify-admins notes Records the number of Active Jobs on a Print Server register1 } And the command definition I use is just a generic one for any nrpe check like so:- define command {^M command_namecheck_nrpe command_line$USER1$/check_nrpe -H $HOSTADDRESS$ -u $ARG1$ register1 } Our servers aren't quite as recent as Windows 7, but I guess the counter would still be the same. I hope that helps. Jim -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, 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-novd2d ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto: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 the data continuously generated in your IT infrastructure contains a definitive record of customers, 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-novd2d___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please
[Nagios-users] monitor printer from Windows server
I have a Windows 7 server acting as a print server and I would like to check the status of these printers and make sure that they are still online etc. I cannot seem to find a way of checking printers shared from a Windows machine, does anyone have any suggestions or references that I could use. Thanks James -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, 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-novd2d ___ 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] Analyse data from multiple nagios instances
Have you added your web user to the Nagios group that you created? James From: Seun Ojedeji [mailto:seun.ojed...@gmail.com] Sent: 08 November 2011 14:39 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James and all, I just installed check_mk and everything seem to go well with the installation, but when i try to login to the page via http i got the error msg bellow: Configuration Error nagiosadmin (None) 15:20 [http://unec-nms.unn.edu.ng/check_mk/images/mk_logo_small.gif] http://mathias-kettner.de/ Your web server cannot create the directory /var/lib/check_mk/web/nagiosadmin, or cannot set the group to nagios or cannot set the permissions to 0770. Please make sure that: * the base directory is writable by the web server. * Both Nagios and the web server are in the group nagios. Reason: [Errno 13] Permission denied: '/var/lib/check_mk/web/nagiosadmin' Any idea of how i can fix this permission problem? Regards On Wed, Nov 2, 2011 at 11:58 AM, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: I am not doing any analysis; I am just using the monitoring tools. Someone else would have to comment on this feature. James From: Seun Ojedeji [mailto:seun.ojed...@gmail.commailto:seun.ojed...@gmail.com] Sent: 02 November 2011 10:43 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thank you for providing this, i will work on it. Nevertheless, i will also appreciate if anyone could suggest what tools i could use to achieve my goals...i.e exporting data from nagios and analysing them on a central location to present graphical representation. Thanks once again James. Cheers On Wed, Nov 2, 2011 at 11:08 AM, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: A brief overview is as follows, you will need to check each parts documentation for exact details for your environment. Install a server with Nagios, or use one of your existing servers. Install Check MK Multisite, there are some good instructions here http://mathias-kettner.de/checkmk_multisite_setup.html You then need to install MK Live status on each of your Nagios servers for the multisite server to connect to them. Update your Multisite config to know about the different sites and then have a play and see what you get. James From: Seun Ojedeji [mailto:seun.ojed...@gmail.commailto:seun.ojed...@gmail.com] Sent: 02 November 2011 09:20 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thanks a lot for responding, your solution is a very good place to start; though it may not analyze but for knowledge sake could you share the proceeds you followed to achieve this? Regards On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: I have setup a Multisite MK server to pool all of my site Nagios servers into a single view. I can see the status of all hosts/services from one location and acknowledge and schedule outages etc from this interface. Any graphing can be viewed, although this is a connection to the graph pages on the individual site servers. I am not sure if this will allow for analysis of the data as the specific state data is still stored on the site Nagios servers. James From: Seun Ojedeji [mailto:seun.ojed...@gmail.commailto:seun.ojed...@gmail.com] Sent: 02 November 2011 08:53 To: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Subject: [Nagios-users] Analyse data from multiple nagios instances Dear all, I have different nagios setup in multiple locations and they are independently working fine. However i need each of these nagios instances to send historical data of a particular host to a central server for analysis and graphical representations. Does anyone know a plugin or software i could use to achieve my goal? Regards -- Seun Ojedeji, you don't need a hero to succeed on the fieldyou need a team! -- RSA#174; Conference 2012 Save $700 by Nov 18 Register now#33; http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto: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 -- Seun Ojedeji, you don't need a hero to succeed on the fieldyou need a team! -- RSA#174
[Nagios-users] check_netapp3 nagios graph data
Is anyone using the check_netapp3 script to monitor their NetApp filers. Are you able to get Nagios graph to graph your performance data. Having just set this up I can see that CPU load and cache age are graphing but disk read or write values, NFS Ops, Network sent/received, and volume/inode usage are not. Does anyone have an updated version of this plugin with correctly formatted performance data or an update to Nagios graph to understand the formats? James -- 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] Analyse data from multiple nagios instances
I have setup a Multisite MK server to pool all of my site Nagios servers into a single view. I can see the status of all hosts/services from one location and acknowledge and schedule outages etc from this interface. Any graphing can be viewed, although this is a connection to the graph pages on the individual site servers. I am not sure if this will allow for analysis of the data as the specific state data is still stored on the site Nagios servers. James From: Seun Ojedeji [mailto:seun.ojed...@gmail.com] Sent: 02 November 2011 08:53 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Analyse data from multiple nagios instances Dear all, I have different nagios setup in multiple locations and they are independently working fine. However i need each of these nagios instances to send historical data of a particular host to a central server for analysis and graphical representations. Does anyone know a plugin or software i could use to achieve my goal? Regards -- Seun Ojedeji, you don't need a hero to succeed on the fieldyou need a team! -- RSA#174; Conference 2012 Save $700 by Nov 18 Register now#33; 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] Analyse data from multiple nagios instances
A brief overview is as follows, you will need to check each parts documentation for exact details for your environment. Install a server with Nagios, or use one of your existing servers. Install Check MK Multisite, there are some good instructions here http://mathias-kettner.de/checkmk_multisite_setup.html You then need to install MK Live status on each of your Nagios servers for the multisite server to connect to them. Update your Multisite config to know about the different sites and then have a play and see what you get. James From: Seun Ojedeji [mailto:seun.ojed...@gmail.com] Sent: 02 November 2011 09:20 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thanks a lot for responding, your solution is a very good place to start; though it may not analyze but for knowledge sake could you share the proceeds you followed to achieve this? Regards On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: I have setup a Multisite MK server to pool all of my site Nagios servers into a single view. I can see the status of all hosts/services from one location and acknowledge and schedule outages etc from this interface. Any graphing can be viewed, although this is a connection to the graph pages on the individual site servers. I am not sure if this will allow for analysis of the data as the specific state data is still stored on the site Nagios servers. James From: Seun Ojedeji [mailto:seun.ojed...@gmail.commailto:seun.ojed...@gmail.com] Sent: 02 November 2011 08:53 To: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Subject: [Nagios-users] Analyse data from multiple nagios instances Dear all, I have different nagios setup in multiple locations and they are independently working fine. However i need each of these nagios instances to send historical data of a particular host to a central server for analysis and graphical representations. Does anyone know a plugin or software i could use to achieve my goal? Regards -- Seun Ojedeji, you don't need a hero to succeed on the fieldyou need a team! -- RSA#174; Conference 2012 Save $700 by Nov 18 Register now#33; http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto: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 -- Seun Ojedeji, you don't need a hero to succeed on the fieldyou need a team! -- RSA#174; Conference 2012 Save $700 by Nov 18 Register now#33; 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] Analyse data from multiple nagios instances
I am not doing any analysis; I am just using the monitoring tools. Someone else would have to comment on this feature. James From: Seun Ojedeji [mailto:seun.ojed...@gmail.com] Sent: 02 November 2011 10:43 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thank you for providing this, i will work on it. Nevertheless, i will also appreciate if anyone could suggest what tools i could use to achieve my goals...i.e exporting data from nagios and analysing them on a central location to present graphical representation. Thanks once again James. Cheers On Wed, Nov 2, 2011 at 11:08 AM, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: A brief overview is as follows, you will need to check each parts documentation for exact details for your environment. Install a server with Nagios, or use one of your existing servers. Install Check MK Multisite, there are some good instructions here http://mathias-kettner.de/checkmk_multisite_setup.html You then need to install MK Live status on each of your Nagios servers for the multisite server to connect to them. Update your Multisite config to know about the different sites and then have a play and see what you get. James From: Seun Ojedeji [mailto:seun.ojed...@gmail.commailto:seun.ojed...@gmail.com] Sent: 02 November 2011 09:20 To: Nagios Users List Subject: Re: [Nagios-users] Analyse data from multiple nagios instances Hello James, Thanks a lot for responding, your solution is a very good place to start; though it may not analyze but for knowledge sake could you share the proceeds you followed to achieve this? Regards On Wed, Nov 2, 2011 at 10:00 AM, James Osbourn james.osbo...@citrix.commailto:james.osbo...@citrix.com wrote: I have setup a Multisite MK server to pool all of my site Nagios servers into a single view. I can see the status of all hosts/services from one location and acknowledge and schedule outages etc from this interface. Any graphing can be viewed, although this is a connection to the graph pages on the individual site servers. I am not sure if this will allow for analysis of the data as the specific state data is still stored on the site Nagios servers. James From: Seun Ojedeji [mailto:seun.ojed...@gmail.commailto:seun.ojed...@gmail.com] Sent: 02 November 2011 08:53 To: nagios-users@lists.sourceforge.netmailto:nagios-users@lists.sourceforge.net Subject: [Nagios-users] Analyse data from multiple nagios instances Dear all, I have different nagios setup in multiple locations and they are independently working fine. However i need each of these nagios instances to send historical data of a particular host to a central server for analysis and graphical representations. Does anyone know a plugin or software i could use to achieve my goal? Regards -- Seun Ojedeji, you don't need a hero to succeed on the fieldyou need a team! -- RSA#174; Conference 2012 Save $700 by Nov 18 Register now#33; http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto: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 -- Seun Ojedeji, you don't need a hero to succeed on the fieldyou need a team! -- RSA#174; Conference 2012 Save $700 by Nov 18 Register now#33; http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Nagios-users mailing list Nagios-users@lists.sourceforge.netmailto: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 -- Seun Ojedeji, University of Nigeria, Nsukka web: http://www.unn.edu.ng Mobile: +2348035233535 alt email: seun.ojed...@unn.edu.ngmailto:seun.ojed...@unn.edu.ng you don't need a hero to succeed on the fieldyou need a team! -- RSA#174; Conference 2012 Save $700 by Nov 18 Register now#33; 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
[Nagios-users] postgresql monitoring
I have to start monitoring a postgresql server and looking for some pointers on the which plugin to use and check command syntax. Basically want to check that the database is up and responding, but any other recommended checks welcome. Thanks James -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-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
[Nagios-users] Debian Squeeze OpenSSL
Can anyone point me in the right direction? I am trying to compile Nagios plugins on Debian Squeeze with OpenSSL support and it is not picking it up. I guess I need another package but I cannot find a reference to which one it is. Thanks James -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ 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] Debian Squeeze OpenSSL
Thanks, that was the one and of course I found it shortly after posting as you usually do. Regards James -Original Message- From: wer...@aloah-from-hell.de [mailto:wer...@aloah-from-hell.de] Sent: 28 September 2011 18:07 To: Nagios Users List Subject: Re: [Nagios-users] Debian Squeeze OpenSSL Hi, Can anyone point me in the right direction? I am trying to compile Nagios plugins on Debian Squeeze with OpenSSL support and it is not picking it up. I guess I need another package but I cannot find a reference to which one it is. you probably need the libssl-dev package. Bye, Werner -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ 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 the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ 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 father and nagios son concept
Hi Saulo, I had a similar situation with multiple sites and wanted each site to monitor itself but have a server to go to and get an overview of all sites. I went for the Check MK Multisite http://mathias-kettner.de/checkmk_multisite.html I can now connect to each local site directly or the overview page. Each site handles the monitoring and alerts for each site so if one is down the others keep going. James From: Saulo Zimbaro [mailto:saulo.zimb...@acotel.com] Sent: 19 August 2011 01:20 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios father and nagios son concept I have more then one data centers to monitoring. I´d like to know if there is a way to use various nagios instances and one main nagios to centralize information. thanks, -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2___ 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 authentication thru LDAP.
Hi If you are looking for Active Directory or Kerberos ldap authentication, see this link - http://wiki.nagios.org/index.php/Windows_Authentication (Not sure how different it is if you are using another LDAP, sorry)! Cheers, James --- From: Robert J Molerio [mailto:rjm...@nyu.edu] Sent: Wednesday, August 10, 2011 12:23 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios authentication thru LDAP. Can anyone indicate how this can be done? We would like users to log on to Nagios via LDAP. I think we need to configure the Apache server within Nagios to be able to do this but we're not sure. -- Thank you, Bob Molerio Systems Administrator New York University ITS Computer Facilities Services/Infrastructure Level C-2 75 Third Avenue New York NY 10003-5527 email:robert.mole...@nyu.edu -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-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
[Nagios-users] network outages permissions
I have just installed a new Nagios server and wanting to make sure that everything is working. All appears to be ok except I cannot access the Network Outages page, I get the error It appears as though you do not have permission to view information you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. As far as I can tell everything is configured correctly and I get no errors in my apache error log. If I updated the values below authorized_for_configuration_information=nagiosadmin authorized_for_all_services=nagiosadmin authorized_for_all_hosts=nagiosadmin I get access as I would expect. Is there somewhere else that dictates authorisation that I need to update. I also have similar problems with the Event Log, Process Info and Scheduling Info pages. I am using ldap authentication and am not using the nagiosadmin user. Thanks for your help James -- 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] DNS check - please help
The help for the plugin says - ./check_dns --help check_dns v1.4.15 (nagios-plugins 1.4.15) Copyright (c) 1999 Ethan Galstad nag...@nagios.org Copyright (c) 2000-2008 Nagios Plugin Development Team nagiosplug-de...@lists.sourceforge.net This plugin uses the nslookup program to obtain the IP address for the given host/domain query. An optional DNS server to use may be specified. If no DNS server is specified, the default server(s) specified in /etc/resolv.conf will be used. (Based on your stated result(s), I must assume that if the specified server fails, it probably defaults to /etc/resolv.conf, but I'd probably have to fire up wireshark/tshark to find out for sure)... Cheers, James From: Nibin V M [mailto:nibin...@piserve.com] Sent: Monday, July 18, 2011 10:55 AM To: Nagios Users List Subject: [Nagios-users] DNS check - please help Hello, I am a bit lost to find how the check_dns works. Please see the results below. # ./check_dns -H google.comhttp://google.com --server=myserver. DNS OK: 0.011 seconds response time. google.comhttp://google.com returns 74.125.93.103,74.125.93.104,74.125.93.105,74.125.93.106,74.125.93.147,74.125.93.99|time=0.011378s;;;0.00 # dig +short google.comhttp://google.com @myserver # I am sure that recursion isn't enabled on myserver. Do the plugin try to resolve google.comhttp://google.com using the name servers specified resolv.conf, if the -s server doesn't provide any answer? Thanks in advance. Regards, Nibin. - Nibin.V.M Systems Integrator PiServe.com -- AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on Lean Startup Secrets Revealed. This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev___ 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/Sendmail issue
Hi, unfortunately that is not enough info for anyone here to work from - Try viewing *all* the received by headers of the final email, and discern where the time lag is occurring. It sounds like a sendmail queue issue (or whatever MTA's you are using), then fix the offending mail server/relay causing the delay(s). Cheers, James --- From: Manish Kumar [mailto:manikuma...@gmail.com] Sent: Tuesday, June 28, 2011 1:59 PM To: nagios-users Subject: [Nagios-users] Nagios/Sendmail issue Hi Frnds, I have a setup in which nagios 3.2.3 is monitoring a number of servers and network devices like cisco switches and routers. The issue is that i am getting the email notifications very late for any problem. Is it the nagios problem or my sendmail server both running on the same linux server FC 14. Also i have setup my sendmail server to relay to other corporate mail server which actually sends mail notifications. I am not able to find the root cause of this issue. The issue can be one of the following Nagios problem, My Sendmail problem, Corporate email server problem. what do u say :) For your reference a delayed notification is pasted here:- FW: ** Network Host PROBLEM Alert: Cisco-CH_12_JPH_R5_ASC_01 is DOWN ** noc-as-...@mahindra.com [noc-as-...@mahindra.com] Sent: Tuesday, June 28, 2011 8:01 PM To: Manish_Kmr --- From: nagios@localhost6.localdomain6[SMTP:NAGIOS@LOCALHOST6.LOCALDOMAIN6] Sent: Tuesday, June 28, 2011 9:41:00 AM To: NOC-AS-CHK - MVML Subject: ** Network Host PROBLEM Alert: Cisco-CH_12_JPH_R5_ASC_01 is DOWN ** Auto forwarded by a Rule * Nagios * Notification Type: PROBLEM Host: Cisco-CH_12_JPH_R5_ASC_01 State: DOWN Address: 10.192.63.15 Info: CRITICAL - Time to live exceeded (10.192.63.15) Date/Time: Tue Jun 28 09:41:00 IST 2011 -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 -- 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] How to monitor windows service using nagios
Hi, starting simple here - have you setup and configured the NSClient on the windows box you are querying? From - http://nagiosplugins.org/man/check_nt This plugin collects data from the NSClient service running on a Windows NT/2000/XP/2003 server. From: Manish Kumar [mailto:manikuma...@gmail.com] Sent: Monday, June 13, 2011 2:11 PM To: nagios-users Subject: [Nagios-users] How to monitor windows service using nagios Hi, I get process not running for every process i try to monitor on windows using check_nt why ? -- Thanks Manish Kumar http://in.linkedin.com/in/manishkumar85 http://cens.cdac.in/ -- 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] Monitoring HP Procurve Interfaces
Hello, have you tried running them as the nagios user, or as root user or both? Sometimes it will not execute the same as nagios user, so you can test using su - nagios -c /usr/local/nagios/libexec/check_cmd -H IP ADDRESS etc etc... Also, this may help - http://support.nagios.com/knowledgebase/faqs/index.php?option=com_conten tview=articleid=52catid=35faq_id=17expand=falseshowdesc=true Cheers, James From: Martin Hugo [mailto:martin_h...@hboe.org] Sent: Tuesday, April 19, 2011 11:24 AM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] Monitoring HP Procurve Interfaces Hello, I am trying to monitor the interfaces on my HP Procurve 5400 series switch. I have tried both check_iftraffic3 and check_snmp_int. The commands work perfectly from the command line. However the web interface reports (return code of 255 is out of bounds) for check_iftraffic3 and (return code of 127 is out of bounds) for check_snmp_int . I am able to monitor all other hardware on the switch through Nagios just fine. Any thoughts on this? Thanks. Martin T. Hugo Network Administrator Hilliard City Schools 614-921-7102 (Ph) 614-771-7243 (Fax) Think before you print image001.gif-- 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?
yes, i just upgraded our install as well , so i went through a bit of hair pulling myself. I am using sync mode, and found the best tool for setup was the verify_pnp script, it finally got me sorted out... From: Jeremiah D. Jester [mailto:jj...@u.washington.edu] Sent: Thursday, April 14, 2011 3:00 PM To: 'nagios-users@lists.sourceforge.net' Subject: [Nagios-users] pnp4nagios? 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
Re: [Nagios-users] How to schedule weekly service check.
Hi. Sorry it's not working for you - from below, i am deducing you have it setup to check every 2 minutes, from 11am-5pm, only on Mondays. Is this correct? Can you post your host definition, and maybe the command template for template_TEST/TEST_CMD, as I'm not sure why it's not recurring after check 1. Btw, i was under the assumption you only wanted it to actually run a check once per week, perhaps I am missing what you are really trying to accomplish, sorry. Thanks, Jamie From: Nair [mailto:vman...@rediffmail.com] Sent: Monday, March 28, 2011 10:59 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users]How to schedule weekly service check. Thank you, Jamie. However, similar set of config not working with me. define timeperiod{ timeperiod_name only_mon alias Only on monday monday 11:00-17:00 } define service{ service_description TEST_SRV host_name localhost max_check_attempts 1 normal_check_interval 120 retry_check_interval 1 check_period only_mon check_command TEST_CMD use template_TEST } Here, after the first check, the recurring checks fails to do, unless i reload the nagios. Still no clue about the reason !! :( Thank you Nair On Fri, 25 Mar 2011 22:17:36 +0530 wrote Hi, there is an archived thread about a similar request; it should help get you fixed up - http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24221.html Regards, Jamie From: Nair [mailto:vman...@rediffmail.com] Sent: Friday, March 25, 2011 12:19 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] How to schedule weekly service check. Friends Can anyone please share how to configure a service check to perform check once in a week. Thank you Nair -- 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 http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle? -- 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] How to schedule weekly service check.
Hi, there is an archived thread about a similar request; it should help get you fixed up - http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg24221.html Regards, Jamie From: Nair [mailto:vman...@rediffmail.com] Sent: Friday, March 25, 2011 12:19 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] How to schedule weekly service check. Friends Can anyone please share how to configure a service check to perform check once in a week. Thank you Nair -- 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] pnp4nagios - gentoo
Hi - Can you elaborate? I understand you added pnp4nagios to your Gentoo box... but... what ssi files, what pop-ups? I would read through the INSTALL file, and/or manual/docs on the version of pnp4nagios for your specific ebuild - There could be some small manual configuration bits you may have missed - i know that Gentoo tends to change *lots* of things in their packages/ebuilds... (or used to anyhow). (You also may have luck on the Gentoo support/discussion boards, i know they used to be quite active if no one here knows your answer). Cheers, James From: Deniz Yoldüz [mailto:dyol...@gmail.com] Sent: Thursday, March 24, 2011 4:50 PM To: Nagios Users List Subject: [Nagios-users] pnp4nagios - gentoo Hi, I'm newbie on gentoo and i emerged pnp4nagios. The problem is i can't find the ssi files for popups? Anybody experienced it before? Thanks. -- 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] Nagios XI question
Perhaps he just wanted to check it out for the nagios core configuration gui , as i am doing today... OTOH, i can see xi being a very nice product for folks/sites who do not want to hassle with maintaining/setting up all the free stuff... (although, I personally do not think it's worth the $, at least based on my few days of trial (and error lol). Cheers, James From: khurram aziz [mailto:khurramazizkha...@yahoo.com] Sent: Monday, March 21, 2011 12:01 PM To: Nagios Users List Subject: Re: [Nagios-users] Nagios XI question Hi Joe, just one question for You.. Why would you pay for Nagios XI when you can use the same func for free with Nagios+pnp4nagios Khurram Aziz Khalid --- On Mon, 3/21/11, Joe Martin widet.jmar...@gmail.com wrote: From: Joe Martin widet.jmar...@gmail.com Subject: [Nagios-users] Nagios XI question To: nagios-users@lists.sourceforge.net Date: Monday, March 21, 2011, 3:45 PM Just exploring using Nagios for monitoring network, Windows, unix, Linux and applications in various ways. We're thinking Nagios XI looks like a good fit with one exception - the documentation states that Nagios XI is only supported on RHEL, CentOS and Fedora - we're a SLES shop. Anyone out there runing XI on SLES (specifically SLES 11)? Thanks, Joe -Inline Attachment Follows- -- 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 -Inline Attachment Follows- ___ 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] check_procs
Just as a side note, I fully agree with you on the plugins at manubulon.com, they are supreme replacements/substitutes for the check_snmp plugin. Also, you can indeed query windows boxes with SNMP if you are like me and have too many systems for agents etc, you just need to have the windows SNMPD service installed and configured for polling as well. Cheers, Jamie -Original Message- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: Thursday, February 10, 2011 8:21 AM To: Nagios Users List Subject: Re: [Nagios-users] check_procs On 10 February 2011 10:58, Saj Ali s...@247emaildata.com wrote: Hi I have installed nagios software to monitor my network, I want to know that if there is a plugin to monitor a specific process, for example I want to monitor the pmta or tcp or apache, please guide me as I have no idea how to do that, Personally for Unix/Linux processes, I use check_snmp_process.pl which can be found at http://nagios.manubulon.com/ . It presupposes you have the snmp daemon running and configured to allow you to query the processes. If the process is on a Windows server, then you can use the NSClient++ agent (checkProcState). See http://www.nsclient.org/nscp/wiki/CheckProcState hth, Jim -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] Reg: [Nagios-User] Change_Email_FromID
The command below will not achieve the desired results. On Wed, Jan 19, 2011 at 1:45 AM, Abad Uriarte, Arkaitz arkaitz.a...@ehu.eswrote: mail -s My Subject recipi...@domain.tld -- -f sen...@domain.tld Rajesh Kumar ras.kuma...@gmail.com escribió: Hi All I used Nagios Core in my CentOS Server. It?s working fine. I need to change notification alert from my mail id. Now am getting mail id from nagios@monitor.server The monitor.server is my CentOS host id. How to switch to my mail id, (ras.kuma...@gmail.com) in nagios. Regards B.Rajeshkumar -- 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
To clarify- 1. Mail notification via Nagios is is configured in your Nagios configuration files, no SMTP info is necessary - Nagios expects a working local SMTP relay for such configurations to actually work. 2. Your nagios server can indeed be set up to relay mail to a specific SMTP server via the mail server software's configuration files (I.e Postfix/Sendmail, etc etc). From: Yueh-Hung Liu [mailto:yuehung@gmail.com] Sent: Tuesday, January 18, 2011 9:04 AM To: Nagios Users List Subject: 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] Change_Email_From
There is no global method (that I know of) to simply set a from/reply-to address in the Nagios config. By default, email is sent from Nagios using the /bin/mail program which will set the from/reply-to address as user calling the mail program@machine.name. In most cases, Nagios is running under the user 'nagios'. In your commands definitions, you can certainly alter your notifications to move away from the Nagios default configuration which pipes notification output to the following example: /bin/mail -s Host $HOSTSTATE$ alert for $HOSTNAME$! $CONTACTEMAIL$ In order to set a from/reply-to address, you will need to use a mailer that will allow you to set a from/reply-to address. With /bin/mail, I don't think that's possible. Therefore, you'll need to use a program like /usr/sbin/sendmail. But sendmail uses a completely different syntax than mail, so you can't just substitute /usr/sbin/sendmail for /bin/mail in your Nagios config. In a nutshell, to use sendmail you need to pipe in output containing the To, From, Subject, etc, then the message, all on separate lines. In order to do this using printf, you would need to separate each line with \n new line arguments. As for the question about setting up a different from addresses depending on host/service, you would simply create multiple notification commands, or you could possibly use macros. Perhaps I'm way off base here and there is an easier way to accomplish what you guys want... There are most likely several ways to skin this cat, like using a mailer other than sendmail. -- James Moseley On Tue, Jan 18, 2011 at 3:49 AM, Mister IT Guru misteritg...@gmx.comwrote: On 18/01/2011 09:33, Rajesh Kumar wrote: Hi All I used Nagios Core in my CentOS Server. It’s working fine. I need to change notification alert from my mail id. Now am getting mail id from nagios@monitor.server The monitor.server is my CentOS host id. How to switch to my mail id, (ras.kuma...@gmail.com) in nagios. Regards B.Rajeshkumar +1 -- I have a similar requirement, but I'd like to use multiple from addresses, for for different services or hosts. -- The Solo System Admin - Follow me - I follow youhttp://solosysad.blogspot.com/ Latest Entry: Bacula - Building from source -- Mister IT Guru At Gmx Dot Com -- 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] Check_hpjd
On Mon, Jan 10, 2011 at 8:18 AM, Mister IT Guru misteritg...@gmx.comwrote: I'm sure that my SNMP setup is working, as I have had previous responses from the printers when I queried them, the output is in my previous posts in this thread. Then your printer isn't responding correctly or doesn't have the proper SNMP MIB support. I would suggest you research the model and software version of your printer with HP to make sure the SNMP support you desire is included in the version of hardware/software you have. -- James Moseley -- 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] Check_hpjd
On Mon, Jan 10, 2011 at 9:54 AM, Mister IT Guru misteritg...@gmx.comwrote: I'm pretty sure that the SNMP on my printers is working. Is it included with this printer, because I specifically configured it, and looked out for SNMP support before ordering these printers, to use with Nagios. I know that my device returns data, because it does for snmp queries from the CLI. I would like to know, how I can get check_hpjd to be more verbose, or to log if that is possible? Thank You Let me explain in a different way. If you are querying your printer manually with snmpwalk/snmpget and you are not getting the response you expect, then the Nagios plugin you are trying to use will not work. In other words, this isn't a Nagios problem. You stated earlier in this thread that your printer supports SNMP as evidence that you were able to walk the standard MIB tree. That's great, but that doesn't mean that your hardware and current software supports the SNMP MIB that the plugin is trying to use. That's why I suggested making sure you have the latest firmware/SNMP support from HP installed on the printer. The plugin states that it works with HP printers that have JetDirect cards installed. Does yours? Another step in your troubleshooting would be to look at the source code of the check_hpjd plugin to see what MIB OID's it is using. I believe that's what a previous person on this thread did as they suggested a MIB-specific OID for you to check. If your printer doesn't support that OID, then the check_hpjd plugin will not work and you will have to either a) get the printer to support the MIB the plugin is using b) modify the plugin and recompile it c) write your own plugin using the the SNMP MIB OID's your printer supports. -- James Moseley -- 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] Reg: Check_http_Port
On Mon, Jan 10, 2011 at 8:33 AM, Rajesh Kumar ras.kuma...@gmail.com wrote: Hi All I have installed Nagios Core in my CentOS but not able to configure port based check_http. We are using several port in apache-tomcat in remote server. We can able to configure default port 80. I have to need to configure server port of 8082, 8084 … could you assist me port based configure on nagios. This is my cfg file of check_http. define host{ use linux-server host_name USSERVER alias USSERVER address saas-testing.com } define service{ use generic-service host_name USSERVER service_descriptionHTTP check_commandcheck_http check_interval3 check_period 24x7 retry_interval 2 max_check_attempts 2 notification_interval 5 notification_period workhours notification_optionsw,c,u,r notifications_enabled 1 } Regards B.Rajeshkumar Your check command definition (which you didn't attach) should look something like: define command{ command_namecheck_http command_line$USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ } Then the check_command argument in your service definition, if you were checking port 80, would look like: check_commandcheck_http!80 If you want to check other ports, then you'll have to create a different service for each port you want to check. -- James Moseley -- 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] Reg: Check_http_Port
On Mon, Jan 10, 2011 at 12:05 PM, Rajesh Kumar ras.kuma...@gmail.comwrote: Hi James Moseley Thanks For your valuable reply for my request. I got the port based check_http monitoring. Thanks. You're welcome. -- James Moseley -- 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] Check_load
You would have to know what OS you are on , and have a look at the configure.in file for the plugins, as that is how the CPU info is obtained ... (Just checked the source code, as I was curious about that as well)... check_load.c --- if (take_into_account_cpus == 1) { if ((numcpus = GET_NUMBER_OF_CPUS()) 0) { la[0] = la[0] / numcpus; la[1] = la[1] / numcpus; la[2] = la[2] / numcpus; } } -- common.h /* GET_NUMBER_OF_CPUS is a macro to return number of CPUs, if we can get that data. Use configure.in to test for various OS ways of getting that data Will return -1 if cannot get data */ #ifdef HAVE_SYSCONF__SC_NPROCESSORS_CONF #define GET_NUMBER_OF_CPUS() sysconf(_SC_NPROCESSORS_CONF) #else #define GET_NUMBER_OF_CPUS() -1 #endif -- Cheers, Jamie From: Liz Cardona [mailto:lcard...@buzz-media.com] Sent: Thursday, January 06, 2011 1:54 PM To: Nagios Users List Subject: Re: [Nagios-users] Check_load Hello, I am wondering if someone had an idea regarding the question below? Thanks, On 1/5/11 10:07 AM, Liz Cardona lcard...@buzz-media.com wrote: Hello, Ive been using nagios for quite sometime now and would like to enhance the way I do check_load. According to you documentation, when using the plugin check_load I can use a -r option and it will give me the load average based on processes/number of cpus core. I cannot find a documentation explaining how nagios is doing this? I.e how is it checking the number of cpus. I've turned on debugging mode with no succes. I'm wondering if you can please put me in the correct direction or documentations of how to understand this in depth. Thank you very much, Liz Cardona l...@buzz-media.com 323 459 2833 -- 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] How to Monitor VMware ESX Server and StorageUnits
hi, you mention you are using HP's management agents on ESX - if so, check out these SNMP plugins to replace check_snmp - http://nagios.manubulon.com/ I'm not sure if you can get any SMART drive status from snmpd/HP, but you can check RAID status on local disks, and there are also ways to check ESX datastore free space usage too. good luck cheers, James -Original Message- From: Max Hetrick [mailto:maxhetr...@verizon.net] Sent: Wednesday, January 05, 2011 10:39 AM To: Nagios Users List Subject: Re: [Nagios-users] How to Monitor VMware ESX Server and StorageUnits On 01/05/2011 10:28 AM, Marc Haber wrote: Are there other possibilities of connecting Nagios to ESX and MSA devices? I'd appreciate your input. Have a look at the check_esx.pl plugin. You can do quite a bit with it. http://www.op5.org/community/plugin-inventory/op5-projects/check-esx-plu gin It just requires the VMware Perl SDK kit to be installed on the machine you want to connect from, in this instance, Nagios. Regards, Max -- 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] Missing notifications?
I was directed in the irc forum to look at http://nagios.sourceforge.net/docs/3_0/statetypes.html and I learned that services or hosts need to have a hard state failure, in order for notifications to go out. I've been trying to reboot my servers in order to get my notifications to go out. I'd like to check that I'll actually get notifications as soon as there is a problem, for example, a host goes offline, I'd like to know after about 2 minutes if possible! Then just turn a server off and wait a bit... ;-) You could also create a fake host, one with an unpingable IP address. As for how much time it takes to notify once the host/service becomes unresponsive, these three definitions (outside of any separate escalation policies) will dictate how fast the first alert will go out: max_check_attempts normal_check_interval retry_check_interval In your case, you'd probably want to set max_check to '2' and normal and retry to '1'. In this case, assuming interval_length=60, the host (or service) would be checked every minute. When the host becomes unreachable/down, the host would then be rechecked once, one minute after it first becomes unreachable/down. If it was still down, the state would then become 'hard' and an alert sent. Total time before alert was sent could be anywhere from 61 seconds to two minutes, depending on when the host is first checked after it goes down. You really need to read the object definitions in the Nagios documentation. -- James Moseley -- 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
[Nagios-users] Has anyone written plugin to monitor IIS App Worker Process Size ?
I'm running NSClient++ on some of my web servers and I was looking for ideas on how you might monitor IIS worker process size. We host a number of websites and periodically we will discover one the worker processes has grown pretty big. I am looking for a method to track largest memory usage amongst IIS worker processes on Windows 2008 server. I have some ideas on how to script the check but my solution would have privileged account dump process information to a text file and the plugin would just be a perl script to parse the text files. I was curious if others had created a vbs or powershell script that would do something similar. James Whittington VC3, Inc. -- 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] Email Notifications
-Original Message- From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] Sent: Tuesday, December 21, 2010 10:36 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Email Notifications Hi, I wonder if it is possible to have email notifications but JUST for a specified list of monitored services ? Thanks for any help -- Hi - I'm pretty sure you can use : notifications_enabled 0 in the service or host definition for the ones you don't want notifications on ... then again, there are probably other ways as well.. cheers, James -- Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew ___ 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] Email Notifications
Ok, no problem - create a new contact/contact group, then add them to whatever service or host definition(s) you want the notifications for using contact_groups... like this: define service { service_description MyService check_period24x7 max_check_attempts 5 contact_groups linuxadmins,operations ... } cheers, James -Original Message- From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] Sent: Tuesday, December 21, 2010 11:02 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Email Notifications I wasn't enough clear, I think. Today I have all notifications to one user. I don't want to change this. But for only a list a specified services, I want to notify another user Le 21/12/10 16:56, James Pratt a écrit : -Original Message- From: Luc MAIGNAN [mailto:luc.maig...@winxpert.com] Sent: Tuesday, December 21, 2010 10:36 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] Email Notifications Hi, I wonder if it is possible to have email notifications but JUST for a specified list of monitored services ? Thanks for any help -- -- -- Hi - I'm pretty sure you can use : notifications_enabled 0 in the service or host definition for the ones you don't want notifications on ... then again, there are probably other ways as well.. cheers, James -- Forrester recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew ___ 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 recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew ___ 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 recently released a report on the Return on Investment (ROI) of Google Apps. They found a 300% ROI, 38%-56% cost savings, and break-even within 7 months. Over 3 million businesses have gone Google with Google Apps: an online email calendar, and document program that's accessible from your browser. Read the Forrester report: http://p.sf.net/sfu/googleapps-sfnew ___ 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
you could try these instead of check_snmp , i always found check_snmp to be too limited... :\ http://nagios.manubulon.com From: Jorge Arenas [mailto:jorge...@hotmail.com] Sent: Thursday, December 16, 2010 9:16 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] check_snmp Hi: i just install nagios and I am following the basic guide in the site to monitor a switch i create the file and work well, but all switch ports are reported in OK status always i check the output ok the command: check_snmp -C public -H switch -r 1 etc and even when the port reports status of 2 ( down) the -r 1 parameter is not working and the report send SNMP OK for down ports I read the instruccions but i can not find any information regarding the -r (regex) parameter I Found a workaround changing the -r 1 for the -c 1:1 but I do not know if the documentation in the site is out-dated or i am making something wrong any ideas thanks in advance Jorge Arenas CSA Mexico -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-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] distributed nagios ?
Stan, Some commercial packages with community open source versions certainly can ease the process of doing distributed monitoring. In our case we picked Opsview - for ease of use front end - with nagios still on the backend - and simplified distributed architecture http://www.opsview.com/downloads/download-opsview-community It was a small learning curve but with many great returns. Good luck with the distributed monitoring, James Whittington VC3, Inc. -Original Message- From: stan [mailto:st...@panix.com] Sent: Monday, December 13, 2010 4:27 PM To: Flyinvap Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] distributed nagios ? On Mon, Dec 13, 2010 at 09:43:03PM +0100, Flyinvap wrote: Le 13/12/2010 21:34, stan a ?crit : Any pointers to docs on how to set it up? Did you try ? nagios distributed ? in you search engine ? You could read [0] for beginning. [0] http://nagios.sourceforge.net/docs/3_0/distributed.html Thaks, taht should help us get started. -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-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 -- Lotusphere 2011 Register now for Lotusphere 2011 and learn how to connect the dots, take your collaborative environment to the next level, and enter the era of Social Business. http://p.sf.net/sfu/lotusphere-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] low-cost snmp-enabled temperature sensor?
You might try the APC enviro sensor for about $225. They also make an upgrade kit if you already own an APC smart UPS with a network card. APC also offers their Netbotz line - a company they bought, but those products are a bit more expensive. -- James On Thu, Dec 9, 2010 at 12:16 PM, Furnish, Trever G tgfurn...@herffjones.com wrote: Can anyone recommend a low-cost external temperature sensor that doesn't require the buyer to break out a soldering iron? Preferably it would be SNMP-enabled so I can poll it from anything. Power-over-ethernet would be great too. The least expensive snmp-enabled sensor I've found so far is this one at 195 USD: http://avtech.com/Products/Temperature_Monitors/TemPageR_3E.htm I've also noted probes like this one at 15 USD: http://www.ibuttonlink.com/t-sense.aspx ...but the systems in the site where I'd hook this up are all Windows, so I'm not sure how I'd get from there into Nagios. -- Trever Furnish, tgfurn...@herffjones.com Herff Jones, Inc. Solutions Architect Phone: 317.612.3519 Any sufficiently advanced technology is indistinguishable from Unix. -- ___ 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 training?
I'm sure these guys can do something for you: http://www.nagios.com/services This is the professional support services group for Nagios. -- James Moseley On Fri, Oct 29, 2010 at 9:15 AM, Chris Hudson chrishud...@gmail.com wrote: Well yes, that is what I am currently doing (grin). Just wanted to see if anyone knew of anything a bit more structured. :-) Thanks, Chris -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 use check_snmp plugin
Hi, while I cannot answer your question directly, I would advise giving these SNMP replacement plugins a look, as they simplified things considerably here, and are quite reliable IMO... http://nagios.manubulon.com/ Cheers, James From: Роман Обрядин [mailto:obryadi...@gmail.com] Sent: Monday, October 25, 2010 10:22 AM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] Question about use check_snmp plugin Hi, my name is Roman. I have installed nagios plugins and I don't understand, why check_snmp is not working properly. for example, I use -r option (as describe in docs) port Fa0/14 on switch is UP inframonitor:/usr/local/icinga/libexec # /usr/local/icinga/libexec/check_snmp -H 192.168.111.60 -C x -o ifOperStatus.10014 -r 1 -m RFC1213-MIB SNMP OK - 1 | RFC1213-MIB::ifOperStatus.10014=1 port Fa0/10 on switch is DOWN inframonitor:/usr/local/icinga/libexec # /usr/local/icinga/libexec/check_snmp -H 192.168.111.60 -C x -o ifOperStatus.10010 -r 1 -m RFC1213-MIB SNMP OK - 2 | RFC1213-MIB::ifOperStatus.10010=2 Port fa0/10 is DOWN, but plugin returns the status OK(!). It is wrong. Can you help me to solve this problem? inframonitor:/usr/local/icinga/libexec # rpm -qa | grep net-snmp net-snmp-utils-5.4.2.1-9 net-snmp-5.4.2.1-8.2.1 net-snmp-libs-5.4.2.1-9 net-snmp-mibs-5.4.2.1-9 nagios-plugins-1.4.15 -- Nokia and ATT present the 2010 Calling All Innovators-North America contest Create new apps games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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] installing and configuring nagios
From: Ceylan, Hasan [mailto:hasan.cey...@dowjones.com] Sent: Thursday, October 07, 2010 1:04 PM To: 'nagios-users@lists.sourceforge.net' Subject: Re: [Nagios-users] installing and configuring nagios Hello: I am very new to Nagios, I would like to know what exactly it does. What version is better, and where is the installation guide. Can somebody direct me to the right location and documentation? Best Regards, Hasan Ceylan http://www.nagios.org should have all that and then some... - Basically, it's incredibly awesome software to monitor other systems, devices, your server room's temperature, etc, etc... (or,,, perhaps the color of your face as you try to set it up configure it without having first RTFM'ed!! ... :) cheers! James -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ 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 an EMC Celerra
From: olourkin-nag...@yahoo.com [mailto:olourkin-nag...@yahoo.com] Sent: Tuesday, October 05, 2010 12:20 PM To: Nagios Users List Subject: [Nagios-users] Monitoring an EMC Celerra Hi all - Been digging around to try to figure out how to enable SNMP gets against an EMC Celerra so that I can implement active checks in Nagios. I have traps set up, but I much prefer active checks whenever possible. Problem is, EMC support says the Celerra isn't capable of allowing gets. I've heard and suspected otherwise, so I thought I'd check the list to see if anyone's made the necessary config changes to allow gets. I think it should be a matter of changing /etc/snmp/snmpd.conf, but has anyone tried? Thanks, Erik Larkin --- I guess having skipped bothering to implement this at our site, i look at this a different sort of way, and ask - are you attempting to monitor the celerra 's datamover via the CS (Control station?), or directly against the dm(s)? I'm not sure what you wish to monitor either - the celerras have some pretty good internal alerting configs if you dig around ... at least they have worked fine for us. what are you attempting to do specifically , like monitor just health / temp stuff, or filesystem/share usage etc etc? I'm also curious because i use SNMP gets here extensively, just never bothered against the celerra... cheers, James -- Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today. http://p.sf.net/sfu/beautyoftheweb ___ 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] Running Nagios on Vmware
-Original Message- From: Ryan C Ash [mailto:ryan.c.ash.l...@statefarm.com] Sent: Thursday, July 08, 2010 10:01 AM To: Nagios users Subject: [Nagios-users] Running Nagios on Vmware Is anyone aware of documentation or test cases showing whether or not running Nagios on VMware is a good idea? I realize the common opinion is that it is a bad idea due to I/O but I am looking for something a bit more in depth. Thanks Not really, however it's been discussed on the list now and again - I think for the most part, most agree it is just a bad idea, however, I suppose you could run it on a separate vm instance, depending on your shop/site. Here, I will always run it on external hardware, as we run 99% virtual/ESX so putting in the cluster im monitoring would just be a counter-productive. :-P Cheers, James -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Removing item
Hi List, How to remove Service Groups item page on Nagios? I have no service group define for this. Thanks James -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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] Removing item
Thanks Assaf On Thu, Jun 17, 2010 at 5:50 PM, Assaf Flatto nag...@flatto.net wrote: James Corteciano wrote: Hi List, How to remove Service Groups item page on Nagios? I have no service group define for this. Thanks James in the share directory of your nagios install there is a file called side.html in it is the definition for the servicegroups view . if you comment it out - the link on the nagios gui will disappear -- Never,Ever Cut A Deal With a Dragon I am doing a Charity Bike ride On the 27 of June for the Capital to Coast Charity. Please help by Donating http://www.justgiving.com/Lovefilm-capital-to-coast -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios - Retention period for logrotate
Dear List, I am running Nagios version 3.2.0 and the archive logs are located in /var/log/nagios/archive which doing log rotation everyday. How can I configure nagios that the archive logs retention period is six (6) months? Thank you. Regards, James -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ 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 - Retention period for logrotate
Hi Marc, Thanks for your response. What can you suggest for this kind of scenario as my boss requirement is to have the nagios logs remain within 6 months only? At this moment, I just set log_rotation_method=n in nagios.cfg and I made simple logrotation script as stated below. /var/logrotation.d/nagios: /var/log/nagios/*log { daily rotate 180 compress dateext missingok notifempty olddir /var/log/nagios/archives sharedscripts postrotate /sbin/service nagios reload /dev/null 2/dev/null || true endscript } Would appreciate your help about this. Thanks. Regards, James On Sat, Jun 5, 2010 at 8:45 PM, Marc Powell li...@xodus.org wrote: On Jun 5, 2010, at 3:57 AM, James Corteciano wrote: Dear List, I am running Nagios version 3.2.0 and the archive logs are located in /var/log/nagios/archive which doing log rotation everyday. How can I configure nagios that the archive logs retention period is six (6) months? There isn't a configuration option for this. Nagios will keep the log files indefinitely for reporting (you can go back 2+ years through the web interface). You can cron a simple find -exec rm to do that but be aware that you won't have any reporting capability beyond what you keep. Also, because you specifically mention it, using logrotate will break reporting in nagios. The file naming convention must be exact for nagios to find the files. -- Marc -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ 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 -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios - To capture apache process list before restarting
Hi All, How do you guy's setup your nagios client for remote apache server to get its httpd process list before doing soft/hard restarting apache service if it is detected unreachable from nagios server? The following are the summary of my setup for nagios clients for remote apache server. [nagios-server] cat /usr/lib/nagios/plugins/eventhandlers/restart-httpd-remote (SOFT/HARD): /usr/lib/nagios/plugins/check_nrpe -H nagios-client -c restart_httpd [nagios-client] cat /etc/nagios/nrpe.conf command[restart_httpd]=/usr/lib/nagios/plugins/eventhandlers/restart-httpd cat /usr/lib/nagios/plugins/eventhandlers/restart-httpd /usr/bin/sudo /sbin/service httpd restart I just wanted to know how do you get the apache process list before triggering to restart which will helpful during diagnostic operation. Do you used any special plugins or personal script that could insert to restart-httpd file? Thank you. Regards, James -- ___ 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] PHP GD Extension not available -- PNP4Nagios
-Original Message- From: Jatin Davey [mailto:jasho...@cisco.com] Sent: Thursday, March 25, 2010 8:46 AM To: Nagios Mailinglist Subject: [Nagios-users] PHP GD Extension not available -- PNP4Nagios Hi I installed PNP4nagios and everything went fine. No errors were reported. Then configured the synchronous mode. After which started the first test to load the pnp4nagios web front end and i got the following message: PHP GD extension PHP GD extension not available Then i issues the following command: yum install php-gd and found that it is already installed in my system. Please let me know what to do next. I want to make pnp4nagios work. Did you restart apache after installing the gd module? That should fix it for you I would think. Cheers, jamie -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] You do not have permission to access /nagios on this server
From what I can see, the perms shouldn't be a big problem , mine are all owned by nagios:nagios - if you remove the .htaccess auth parts, can you get in and view the CGI's normally? what do your Apache error and access logs say? Hth Cheers, jamie -Original Message- From: Robert Wolfe [mailto:rwo...@i-evolve.com] Sent: Monday, March 08, 2010 1:20 PM To: 'Gezina Dekker'; nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] You do not have permission to access /nagios on this server Try setting ownership of these files to user nagios, group nagios. From: Gezina Dekker [mailto:gezin...@gmail.com] Sent: Monday, March 08, 2010 1:17 PM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] You do not have permission to access /nagios on this server Hi all, I have looked at all the questions so far, and nothing that brings any comfort. I followed the Fedore QuickStart even though I am on RHEL 4 (2.6.9-5.EL) I have all the following installed: Apache PHP GCC compiler GD development libraries I have nagios and nagcmd defined I have installed nagios and the plugins I have a passwd in htpasswd, and it is read acces for all. SELinux is disabled In terms of my nagios.conf, this is it... ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Directory /usr/local/nagios/sbin # SSLRequireSSL Options FollowSymLinks ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user /Directory Alias /nagios /usr/local/nagios/share Directory /usr/local/nagios/share # SSLRequireSSL Options FollowSymLinks DirectoryIndex index.html AllowOverride AuthConfig Order allow,deny Allow from all AuthName Nagios Access AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user /Directory The contents of my /share is the following: drwxrwxr-x 9 nagios nagcmd 4096 mrt 8 11:39 . drwx-- 12 nagios nagcmd 4096 mrt 8 11:39 .. drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 contexthelp drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 docs drwxrwxr-x 3 nagios nagcmd 4096 mrt 5 12:23 images -rw-rw-r-- 1 nagios nagcmd 726 mrt 5 12:23 index.html drwxr-xr-x 4 root root4096 mrt 8 11:39 locale -rw-rw-r-- 1 nagios nagcmd 3480 mrt 5 12:23 main.html drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 media -rw-rw-r-- 1 nagios nagcmd26 mrt 5 12:23 robots.txt -rw-rw-r-- 1 nagios nagcmd 13532 mrt 5 12:23 side.html drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 ssi drwxrwxr-x 2 nagios nagcmd 4096 mrt 5 12:23 stylesheets The errors I am getting is the following: Forbidden You don't have permission to access /nagios on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.0.52 (Red Hat) Server at 172.17.16.56 Port 80 I am making the assumption that the 403 is less serious, and that it is actually the permissions that needs fixing... Thanks in advance for your willingness to look at this with me. Regards Gezina -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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_disk question Nagios
-Original Message- From: Stuart Browne [mailto:stuart.bro...@ausregistry.com.au] Sent: Monday, February 22, 2010 5:46 PM To: nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] check_disk question Nagios From: Ennis Ibarra [mailto:en...@nmcourts.gov] From: Stuart Browne stuart.bro...@ausregistry.com.au From: akp geek [mailto:akpg...@gmail.com] I have installed nagios on server1. Without installing NRPE on the Server2, would it possible to use the check_disk to monitor the space on server2. Thanks for the help Investigate the 'check_by_ssh' plugin that comes with the nagios-plugins. What are you familiar with? Perl, BASH ?If you want to give it a try, use http://debianclusters.cs.uni.edu/index.php/Creating_Your_Own_Nagios_Plug in it was very handy for me, and the previous suggestion about check_by_ssh is also handy. Another option I didn't think of is to use NSCA to submit passive checks. But that involves installing the NSCA client on SERVER2 and the NSCA service on SERVER1. Stuart Those would all work, but if you are like me and have too many things to monitor with software agents and such, there is always good old SNMP polling - http://nagios.manubulon.com/ cheers, james -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] User Authentication using LDAP in Nagios
-Original Message- From: Tarak Mukherjee [mailto:reachta...@hotmail.com] Sent: Tuesday, February 09, 2010 8:06 AM To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] User Authentication using LDAP in Nagios Dear Friends, Is there any way to Authenticate user using LDAP in nagios. /\ Ricky Yes - http://wiki.nagios.org/index.php/Windows_Authentication cheers, james -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nagios
-Original Message- From: raja nagios [mailto:nagios.r...@gmail.com] Sent: Tuesday, February 02, 2010 9:54 AM To: Nagios-users@lists.sourceforge.net Subject: [Nagios-users] Nagios Hi all, Look at the attached snapshot of nagios. why i am getting ? mark... can anyone help me. please have a look at picture. Thanks Hello, I think if you just change / fix the /etc/hosts file to reflect the proper IP and hostname of your nagios server, as opposed to localhost.localdomain, which should have an entry for 127.0.0.1 only. Also, check the output of hostname command - if it's not correct, you can set it via hostname -v nagios.mydomain.com I think if you restart nagios after this change/fix, you will see what you expect... if not, check your httpd setup/ conf files for correct ServerName directive , etc etc... Example /etc/hosts file : # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1localhost.localdomain localhost ::1localhost6.localdomain6 localhost6 10.12.200.90 nagios.norwich.edu nagios Cheers, james -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null