Re: [Nagios-users] What Switch Metric Are You Monitoring

2010-08-13 Thread Claudio Kuenzler
The same checks as the others mentioned: CPU utilization, environment (Power Supplies, FAN), child-parent relationship and uptime. Additionally to that, depending on the switch, I also check the Cisco Stack status, the memory usage and either a single port or several port ranges for their

Re: [Nagios-users] Ports to be opened...

2010-08-18 Thread Claudio Kuenzler
If you use NSClient++ this would be port 12489 On Wed, Aug 18, 2010 at 10:20 AM, ravishankar.gundlap...@wipro.com wrote: Hi All, I would like to configure few windows servers in Nagios . Please let me know ports that are required to be opened for Nagios communication. Thanks,

Re: [Nagios-users] Ports to be opened...

2010-08-18 Thread Claudio Kuenzler
: Hi , I wanted to monitor few Unix servers also. Any idea on this? Thanks, Ravi G *From:* Claudio Kuenzler [mailto:c...@claudiokuenzler.com] *Sent:* Wednesday, August 18, 2010 1:54 PM *To:* Nagios Users List *Subject:* Re: [Nagios-users] Ports to be opened... If you use

Re: [Nagios-users] nsclient.org ?

2010-11-26 Thread Claudio Kuenzler
Hi Christian As the developer writes in his blog: *First off: sorry for the lack of updates. My current project (at work) is often labeled as the most difficult project in Sweden.* He wrote that ten days ago (Posted: 2010-11-16 22:41 ). While the official released versions have not been updated

Re: [Nagios-users] Fwd: How to monitor specific windows services using nsclient++

2011-06-08 Thread Claudio Kuenzler
, 2011 at 11:39 PM, Claudio Kuenzler c...@claudiokuenzler.comwrote: Hi Manish, I personally monitor the following things on a Windows host: - CPU - Memory - Disk (all Partitions) - Standard Services (lanmanserver, .. whatever you want) - Specific Services (e.g. for DNS Server 'dns', DHCP

Re: [Nagios-users] Macro values don't seem to be consistent

2011-07-11 Thread Claudio Kuenzler
Hello, Since today I have almost the same problem as Jim. The $HOSTALIAS$ macro works fine for all the checks, except one host alias is wrong. I got aware of it today. Same version as Jim's, 3.2.3, compiled from source as well. Host config: define host{ use

Re: [Nagios-users] Macro values don't seem to be consistent

2011-07-11 Thread Claudio Kuenzler
the very first time that this happens, and it continues. The service is still down (in maintenance) but Nagios continues to send the notification with a wrong HOSTALIAS. On Mon, Jul 11, 2011 at 4:50 PM, Terry Carmen te...@cnysupport.com wrote: Quoting Claudio Kuenzler c...@claudiokuenzler.com

Re: [Nagios-users] search box returning no results

2011-07-11 Thread Claudio Kuenzler
What happens if you type just an asterisk (*) ? Then check in your apache access logs. in my case the following entry appeared (status.cgi was used): 10.0.0.1 - nagiosadmin [11/Jul/2011:17:27:45 +0200] GET /nagios/cgi-bin/status.cgi?navbarsearch=1host=* HTTP/1.1 200 1549007

Re: [Nagios-users] Macro values don't seem to be consistent

2011-07-19 Thread Claudio Kuenzler
alias=SERVER31-UAT display_name=SERVER33 I am sure the problem comes from here (retention.dat). But can somebody explain, how such wrong entries are created in retention.dat ? On Mon, Jul 11, 2011 at 5:14 PM, Claudio Kuenzler c...@claudiokuenzler.comwrote: This particular one: define service

Re: [Nagios-users] Macro values don't seem to be consistent

2011-07-19 Thread Claudio Kuenzler
and neither objects.cache (as you can see in previous mails). On Tue, Jul 19, 2011 at 2:07 PM, Claudio Kuenzler c...@claudiokuenzler.comwrote: To follow up on this, I have once more this problem (this time with another server though) and I activated debugging and started to do some deeper

Re: [Nagios-users] Monitoring a Microsoft SQL Server

2011-11-17 Thread Claudio Kuenzler
Please let us know if you get it working - I might have to add such a check soon as well. To answer your question: 1433 is the standard port of MSSQL so that should be ok. You can launch nmap or a simple telnet to double-check that. On Thu, Nov 17, 2011 at 4:34 PM, Jim Avery j...@jimavery.me.uk

Re: [Nagios-users] Monitoring a Microsoft SQL Server

2011-11-17 Thread Claudio Kuenzler
[sqlservr.exe] UDP 0.0.0.0:123 *:* If the default port, 1433, is not reachable would one the above ports be the alternate means of connecting to the server? -- *From:* Claudio Kuenzler [mailto:c...@claudiokuenzler.com] *Sent:* Thursday, November 17, 2011 1

Re: [Nagios-users] e-mail notifications not being sent

2011-11-21 Thread Claudio Kuenzler
Maybe you have to replace the mail program by something on your system, e.g. /usr/bin/mailx. That's always one of the first things I change in a new Nagios installation. What OS are you using? Try to install the required programs (mail/mailx...) if they can't be found in your system. On Mon, Nov

Re: [Nagios-users] e-mail notifications not being sent

2011-11-22 Thread Claudio Kuenzler
. As a follow-up, the address of the Nagios server is shown to be nagios@localdomain. I would like to change that to reflect the name of the server. What file(s) do I need to modify in order to make that happen? Thanks. -- *From:* Claudio Kuenzler [mailto:c

Re: [Nagios-users] problem with newly created checkcommand and service

2011-11-22 Thread Claudio Kuenzler
Hi, Please show the command definition of database_connection-time. Furthermore in the service definition you use the following line: check_command database_connection-time! Didn't you want to pass arguments to the command? If they're already hardcoded in the command

Re: [Nagios-users] problem with newly created checkcommand andservice

2011-11-23 Thread Claudio Kuenzler
what are the results. What do you think? -- *From:* Claudio Kuenzler [mailto:c...@claudiokuenzler.com] *Sent:* Wednesday, November 23, 2011 2:26 AM *To:* Nagios Users List *Subject:* Re: [Nagios-users] problem with newly created checkcommand andservice

Re: [Nagios-users] notification emails

2011-11-30 Thread Claudio Kuenzler
Did you check the command which is used to send notifications in command.cfg or checkcommand.cfg ? Maybe you don't have the binary or you need to rename the command. By default it uses /usr/bin/printf and /usr/bin/mail if I'm not mistaken. On Wed, Nov 30, 2011 at 9:23 AM, Nick Price

Re: [Nagios-users] notification emails

2011-12-01 Thread Claudio Kuenzler
** ** ** ** That went out Ok ** ** What to look at next ** ** ** ** ** ** *From:* Claudio Kuenzler [mailto:c...@claudiokuenzler.com] *Sent:* Wednesday, November 30, 2011 12:37 *To:* Nagios Users List *Subject:* Re: [Nagios-users] notification emails ** ** Did you

Re: [Nagios-users] monitor printer from Windows server

2011-12-01 Thread Claudio Kuenzler
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

Re: [Nagios-users] notification emails

2011-12-02 Thread Claudio Kuenzler
test_email em...@mydomain.com That went out Ok What to look at next *From:* Claudio Kuenzler [mailto:c...@claudiokuenzler.com] *Sent:* Wednesday, November 30, 2011 12:37 *To:* Nagios Users List *Subject:* Re: [Nagios-users

Re: [Nagios-users] notification emails

2011-12-03 Thread Claudio Kuenzler
Everything is enabled except SSH localhost *From:* Claudio Kuenzler [mailto:c...@claudiokuenzler.comc...@claudiokuenzler.com] *Sent:* Friday, December 02, 2011 12:14 *To:* Nagios Users List *Subject:* Re: [Nagios-users] notification emails Did you by accident

Re: [Nagios-users] check_esx3 and ESX5i...

2011-12-07 Thread Claudio Kuenzler
If I understand you correctly you wonder about the negative value? This happens to me from time to time as well, especially with the Network Usage. It's not related to ESXi 5 (the same happened already to ESXi 4.x) by the way. I've set a retry_check_interval to at least 3 mins for checks related

Re: [Nagios-users] Nagios Graph not displaying correct values

2011-12-13 Thread Claudio Kuenzler
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

Re: [Nagios-users] How to monitor memory on cisco router

2011-12-13 Thread Claudio Kuenzler
I've made good experience with check_cisco.pl by Ran Leibman: https://github.com/ranl/IT/blob/master/Nagios/check-cisco.pl You have to be aware though, that by default the memory check works backwards - meaning you must define at how many percent of memory _LEFT_ you want the warning. But it's

Re: [Nagios-users] Nagios Graph not displaying correct values

2011-12-14 Thread Claudio Kuenzler
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

Re: [Nagios-users] Nagios directory ownership

2011-12-14 Thread Claudio Kuenzler
I guess you ran into a problem when some folders were not created. You installed the current version 3.3.1 from source? I also had the problem that some folders (in var) weren't created. I'll show you my conf: Everything in etc is nagios:nagios Everything in var is nagios:nagios except the

Re: [Nagios-users] MIB File Switch C-Class

2011-12-19 Thread Claudio Kuenzler
Maybe you'll find the wanted MIB here: http://www.mibdepot.com/cgi-bin/vendor_index.cgi?r=hp Are you sure the switches are from HP as well? In a C-Class Bladecenter (C7000) I used to work with, there were 2 Cisco switches integrated. 2011/12/19 Usuário do Sistema maico...@ig.com.br Hello

Re: [Nagios-users] MIB File Switch C-Class

2011-12-20 Thread Claudio Kuenzler
that switches. I will be try with your page suggested. thanks Em 19 de dezembro de 2011 17:14, Claudio Kuenzler c...@claudiokuenzler.com escreveu: Maybe you'll find the wanted MIB here: http://www.mibdepot.com/cgi-bin/vendor_index.cgi?r=hp Are you sure the switches are from HP as well

Re: [Nagios-users] Parent/Child relationship for HV/VM

2012-01-03 Thread Claudio Kuenzler
I created a fake host (with IP 0.0.0.0) for the cluster with active checks and notifications disabled. This way I have one and the same parent for all VM's in that cluster. Let me show it this way: switch --- esx1 VM-CLUSTER-1 -- VM1 | esx2 |

Re: [Nagios-users] check_nt : segmentation fault

2012-01-18 Thread Claudio Kuenzler
Were the plugins compiled for 32bit? Now you're using them on a 64bit machine. I'd redownload the Nagios plugins and recompile them on your new hw/architecture. On Wed, Jan 18, 2012 at 4:12 PM, Marco Borsani m.bors...@it.net wrote: Hi all ** ** Nagios server: 1.4.1 Nagios plugins

Re: [Nagios-users] R: check_nt : segmentation fault

2012-01-20 Thread Claudio Kuenzler
It's a bummer you can't upgrade to 3.x... I'm not sure if anyone still uses Nagios 1.x on a 64bit machine. Maybe this is a problem of the old Nagios (core) version itself? You can just for the fun of it install a new Nagios 3.x on a similar machine and just set up some basic configuration to

Re: [Nagios-users] Windows Active Sessions

2012-01-23 Thread Claudio Kuenzler
There's also an existing plugin for this: check_user_count.bat http://exchange.nagios.org/directory/Plugins/Remote-Access/Count-number-of-terminal-server-sessions/details However I suggest to use checkCounter, as Jim Avery mentioned it. That way you keep independent of additional files. On Mon,

Re: [Nagios-users] Nagios is sending critical false alerts about current users

2012-01-24 Thread Claudio Kuenzler
When Nagios sends the notifications, how is the actual status of that service on the UI? Also, do you see the notifications as they were emailed on the UI (in Notifications)? On Mon, Jan 23, 2012 at 10:06 PM, Saikrishna lovesaikris...@gmail.comwrote: Hello All, Nagios seems to be sending

Re: [Nagios-users] Weekley Report for System uptime

2012-01-26 Thread Claudio Kuenzler
I don't know if an addon or something similar exists, but you can also create a script, which pulls the reports directly from the web-interface. You can then parse the downloaded data, create pdf's (if wanted) and send it by e-mail on a monthly schedule. I did exactly this with a weekly schedule

Re: [Nagios-users] Weekley Report for System uptime

2012-01-27 Thread Claudio Kuenzler
, Jan 26, 2012 at 4:20 PM, Claudio Kuenzler c...@claudiokuenzler.comwrote: I don't know if an addon or something similar exists, but you can also create a script, which pulls the reports directly from the web-interface. You can then parse the downloaded data, create pdf's (if wanted) and send

Re: [Nagios-users] osx nrpe: No output returned from plugin

2012-01-27 Thread Claudio Kuenzler
While Nagios executes the check, do you see a connection on your Mac ? Is anything written in the syslog on your Mac? Something seems to be strange about your output: /usr/lib/nagios/plugins/check_nrpe -H mac.my.domain -c check_users USERS OK - 3 users currently logged in |users=0;5;10;0 Take a

Re: [Nagios-users] NRPE/NSClient++ CheckCPU Error?

2012-01-30 Thread Claudio Kuenzler
In the NSClient++ documentation, CheckCPU works with normal integers as thresholds (so no %-sign required). As an alternative, you can also check the CPU Utilization with the NSClientListener/check_nt plugin: http://nsclient.org/nscp/wiki/NSClientListener I use this way of checking the cpu

Re: [Nagios-users] Check_Ping plugin not Incrementing Check Attempt Value

2012-01-30 Thread Claudio Kuenzler
It looks like you use parent-child-relationships? That would explain why it's written Host Unreachable (172.21.10.170) instead of Host Down. Was the parent of this host down as well? In this case, Nagios 'knows' that it doesn't make sense to continue checks on the child hosts. On Mon, Jan 30,

Re: [Nagios-users] Check_Ping plugin not Incrementing Check Attempt Value

2012-01-31 Thread Claudio Kuenzler
, and for Nagios it wouldn't make sense to send notifications for the services defined on a host which is down. On Mon, Jan 30, 2012 at 8:55 PM, Robert V. Bolton rob...@robertvbolton.comwrote: On Mon, Jan 30, 2012 at 11:39 AM, Claudio Kuenzler c...@claudiokuenzler.com wrote: It looks like you use

Re: [Nagios-users] add info on the body of email

2012-02-05 Thread Claudio Kuenzler
Sure, you just need to modify the command, which sends the e-mail. For example: # 'notify-service-by-email' command definition define command{ command_namenotify-service-by-email command_line/usr/bin/printf %b * Nagios *\n\nNotification Type:

Re: [Nagios-users] Host Availability Report Strange Output

2012-02-27 Thread Claudio Kuenzler
You're looking at the report for the last (almost) 8 days, from February 19th till February 26th (included). If your host was added later than the 19th the report fills up the time, this is declared as Undetermined. If you generate a report for, lets say, the last 2days, you shouldn't see

Re: [Nagios-users] check_http 1.4.15

2012-02-27 Thread Claudio Kuenzler
Hi Scott, The link you posted is a user-contributed patch for check_http, posted on the tracker on Jan 3rd 2012. Nagios Plugins v. 1.4.15 were released in July 2010 so you can be sure that this patch has not made it into 1.4.15. You have two options: - Wait and hope that this patch will make it

Re: [Nagios-users] check_http 1.4.15

2012-03-01 Thread Claudio Kuenzler
Scott, Did you read my answer at all (Feb 27th)? You're looking for something that hasn't been implemented. Here again the post: The link you posted is a user-contributed patch for check_http, posted on the tracker on Jan 3rd 2012. Nagios Plugins v. 1.4.15 were released in July 2010 so you can

Re: [Nagios-users] service parameters

2012-03-01 Thread Claudio Kuenzler
Depending on the checks/the plugins you use for the checks, this will increase the load and decrease performance on the Nagios server. Also, it doesn't make sense to check some services every minute, for example check_disk (disk utilization). I suggest you create a service definition template

Re: [Nagios-users] monitoring batch jobs

2012-03-09 Thread Claudio Kuenzler
On Fri, Mar 9, 2012 at 9:40 AM, Marki jm+nagios-us...@roth.lu wrote: Hey there, is there a recommended way of monitoring batch jobs when the only kind-of log available are mails sent by each part of the job? In the batchfile you could add a status output to an external file, which is then

Re: [Nagios-users] Root_partition check not reading correctly

2012-03-09 Thread Claudio Kuenzler
Please show the service definition. How do you launch the check? By ssh, by nrpe? Seems you're using the same IP address or dns name as the hostname value. Can you verify this? On Fri, Mar 9, 2012 at 1:19 PM, Wolf Halton wolf.hal...@gmail.com wrote: All my machines show a similar output,

Re: [Nagios-users] check_disk '/sys not accessable'

2012-03-12 Thread Claudio Kuenzler
: DISK CRITICAL - /dev/pts is not accessible: Permission denied Doing the next obvious thing and including /dev in the excludes works, and is a workaround. Thanks much… From: Claudio Kuenzler [mailto:c...@claudiokuenzler.com] Sent: Friday, March 09, 2012 7:46 AM

Re: [Nagios-users] check_http issue

2012-03-12 Thread Claudio Kuenzler
I know this doesn't answer your questions, but did you give the check_ssl_cert plugin a try? https://svn.id.ethz.ch/nagios_plugins/check_ssl_cert/check_ssl_cert I'm using this plugin to check ssl certificates, not only on http but also tls On Mon, Mar 12, 2012 at 10:04 AM, Sunny Jaisinghani

Re: [Nagios-users] [SOLUCIONADO] RE: Install Error with fresh install of Nagios (nagios.cfg - Line 465)

2012-03-15 Thread Claudio Kuenzler
Hi Amine, Please don't hijack old threads. Create a new mail with your question. Yes, if the directory doesn't exist, create it yourself and give it the correct permissions. Had to do that too in Core 3.3.1 (in previous versions the folders were always correctly created). On Wed, Mar 14, 2012

Re: [Nagios-users] check_disk '/sys not accessable'

2012-03-15 Thread Claudio Kuenzler
check_nrpe with –x /sys in the command line returns: DISK CRITICAL - /dev/pts is not accessible: Permission denied Doing the next obvious thing and including /dev in the excludes works, and is a workaround. Thanks much… From: Claudio Kuenzler [mailto:c

Re: [Nagios-users] Recommendation needed

2012-03-15 Thread Claudio Kuenzler
It depends on your own skills. If you know a little bit regex (regular expressions), then you're good with Nagiosgraph. I couldn't live without it anymore. PNP4Nagios is, as Daniel said, just working out of the box for many plugins. But on the other hand with Nagiosgraph you're more flexible when

Re: [Nagios-users] Can someone at Nagios Enterprises please take a look at old.nagios.org?

2012-03-16 Thread Claudio Kuenzler
This one? http://nagios.sourceforge.net/docs/3_0/extcommands.html On Fri, Mar 16, 2012 at 7:40 PM, C. Bensend be...@bennyvision.com wrote: I've been trying to get to the external commands reference for several hours, keep getting Error connecting to MySQL server... Thanks! Benny --

Re: [Nagios-users] Commenting in host and service config file.......

2012-03-20 Thread Claudio Kuenzler
Yep, that works. On Tue, Mar 20, 2012 at 6:00 AM, Manish_Kmr manish_...@mahindrasatyam.comwrote: Hi List, Actually I am using Nagios since a long but still I am not sure of one thing how can I comment some lines in nagios host and service config files. For example:- define service

Re: [Nagios-users] How to check the scheduled downtime for a server for a particular past day in the logs to confirm....

2012-03-22 Thread Claudio Kuenzler
Hi Yes you can check that in the nagios log files. Here an example: nagios-01-13-2012-00.log:[1326360203] HOST DOWNTIME ALERT: myhost;STARTED; Host has entered a period of scheduled downtime In the logs it's also shown when the host exits the scheduled downtime On Thu, Mar 22, 2012 at 1:37 PM,

Re: [Nagios-users] question about alert

2012-03-24 Thread Claudio Kuenzler
Hello, I agree that the server still has plenty of space and also inodes look OK. So what you need to find out now is the WARNING and CRITICAL thresholds. These thresholds determine when a warning or critical notification should be sent by Nagios. The warning threshold is probably set very low.

Re: [Nagios-users] Macros do not expand when debugging

2012-03-30 Thread Claudio Kuenzler
Umm 1299 # 2048 = Macros Right now you've set 1301 debug_level=256 this is to mainly debug the commands. For real debugging of the whole chain you can use the value -1 (for everything). Gives you a whole lot of log but that's always good for debugging. On Fri, Mar 30, 2012 at

Re: [Nagios-users] Flexible downtime not working

2012-04-02 Thread Claudio Kuenzler
Hello Deborah, If you use Flexible Downtimes, don't forget to select Flexible from the Select-Menu (Type). Otherwise the fixed dates are taken (Start Date, End Date). To remove a host or service from a scheduled downtime, click on Downtime in the left navigation. There you can delete the wanted

Re: [Nagios-users] Flexible downtime not working

2012-04-02 Thread Claudio Kuenzler
-2012 11:47:16 0d 0h 20m 58s+ SERVICE DOWNTIME END End of scheduled downtime ** ** The last entry is when I manually put the service back to normal monitoring. ** ** Regards, Deborah ** ** ** ** *From:* Claudio Kuenzler [mailto:c

Re: [Nagios-users] Check_ntp_time problem

2012-04-03 Thread Claudio Kuenzler
Why are you using different NTP servers? On server 1 you use: /usr/lib/nagios/plugins/check_ntp_time -H 192.168.50.7 -v On server 2 you use: /usr/lib64/nagios/plugins/check_ntp_time -H 192.168.50.2 -v Localhost always works as this is the emergency fail-back for ntp. On Tue, Apr 3, 2012 at

Re: [Nagios-users] server log plugin

2012-04-05 Thread Claudio Kuenzler
This one is probably the best one: http://labs.consol.de/lang/en/nagios/check_logfiles/ On Thu, Apr 5, 2012 at 6:56 PM, Parkman, Mikhail mikhail_park...@cable.comcast.com wrote: I need to perform the following tasks: ** ** · Demonstrated that Nagios alert is fired when certain

Re: [Nagios-users] performance data configuration doubts

2012-04-08 Thread Claudio Kuenzler
The performance data can be found in the output of the plugin, if the plugin supports it. There are two types of output actually. The first part before the pipe is handled as output, this will be shown in your Nagios UI and in notifications. The second part behind the pipe is handled as

Re: [Nagios-users] monitoring oracle grid

2012-04-13 Thread Claudio Kuenzler
Don't know about Oracle Grid, but I have another suggestion. If I understood correctly, your issue is to monitor the tablespaces which where added by the DBA's? If so, you should try the plugin check_oracle_health which has an option to monitor ALL tablespaces (not just the utilization of one

Re: [Nagios-users] Host Log Entries

2012-04-16 Thread Claudio Kuenzler
I'm new using nagios, and i have to generate reports on host's network states. I'd like to know how to set the table Host Log Entries to show lines by day, cause it's showing lines divided by events. Does anyone knows how to solve this? Why invent the wheel again? Why don't you use the

Re: [Nagios-users] Exclude monitoring in holidays

2012-05-03 Thread Claudio Kuenzler
First you create a timeperiod which contains all the holidays you want to specify. I guess you already did that. Let's assume you called this timeperiod *myholidays*. Now you need to exclude this from your usual check timeperiod (24x7 by default): # This defines a timeperiod where all times are

Re: [Nagios-users] check_http script is not working

2012-05-09 Thread Claudio Kuenzler
Hello , ** ** I’m Sankar testing nagios scripts. I have tried to ping URL check from check_http script from nagios. ** ** http://nagiosplugins.org/man/check_http (URL) = Reference ** ** Root# check_http -w 5 -c 10 --ssl -H www.verisign.com Name or service not

Re: [Nagios-users] check_http script is not working

2012-05-09 Thread Claudio Kuenzler
Jeez. I should drink a coffee before responding... ouch. The syntax is correct, as you see in my post I had a typo in the verisign domain name. # ./check_http -w 5 -c 10 --ssl -H www.verisign.com HTTP OK: HTTP/1.1 200 OK - 42718 bytes in 0.830 second response time

Re: [Nagios-users] nagios backup

2012-05-11 Thread Claudio Kuenzler
On 05/11/2012 03:12 PM, Luis H. Forchesatto wrote: Hi Someone know the correct backup and restore procedure to export nagios 3.0.6 from one server do another nagios 3.2.1 server? rsync. Nothing important's changed in object config, and the rest will just be simple and quick manual

Re: [Nagios-users] nagios backup

2012-05-11 Thread Claudio Kuenzler
is that the config files will be compatible so you have a thousand ways to copy the files from A to B. Just make sure that the nagios user has the correct permissions on the files (thats why Andreas suggested rsync I'd say). 2012/5/11 Claudio Kuenzler c...@claudiokuenzler.com On 05/11/2012 03:12 PM

Re: [Nagios-users] Nagios Graphing of Unix Load Average

2012-05-17 Thread Claudio Kuenzler
On Thu, May 17, 2012 at 6:57 PM, a.sm...@ukgrid.net wrote: Hi, not sure if Nagios addons are normally disussed here, but I have a questions relating to nagiosgraph. Basically everything works great, except something odd on graphs for Unix/Linux systems for Load Average. The graphs

Re: [Nagios-users] check_mysql

2012-05-30 Thread Claudio Kuenzler
On Mon, May 28, 2012 at 2:19 PM, Alexey Terentiev alex...@tehila.gov.ilwrote: Hi! ** ** I am trying to install the nagios plugins with check-mysql parameter, but its keep failing. Show error message please. Usually it already tells you what is missing. It seems that all the

Re: [Nagios-users] [SPAM] Large installation

2012-06-11 Thread Claudio Kuenzler
I think mod_gearman is what you're looking for: http://labs.consol.de/lang/en/nagios/mod-gearman/ Also 1400 checks is not that huge of a setup. You can also specify check_interval for certain checks which don't need to be executed every now and then (e.g. Disk Space Utilization, HDD Smart Status

Re: [Nagios-users] Error: Service check command

2012-06-12 Thread Claudio Kuenzler
On Tue, Jun 12, 2012 at 2:39 PM, Henrique Machado henri@gmail.comwrote: Hi. I'm trying to add the check_ftp command for one of my hosts. But i got this error: Error: Service check command 'check_ftp -H ftpserver' specified in service 'FTP' for host ' ftpserver' not defined anywhere!

Re: [Nagios-users] Retrieve historical data

2012-07-31 Thread Claudio Kuenzler
On Tue, Jul 31, 2012 at 1:57 PM, Mykeul li...@mykeul.com wrote: Hello, If I have a host named myserver, monitored for 1 year, and I rename it myserver1, I loose the whole data history, stats and so on. Can someone explain how to get these datas to make them available for myserver1 ? It

Re: [Nagios-users] Problem in Installing the graph plugin.

2012-08-02 Thread Claudio Kuenzler
The automated install didn't work for me either, for to me unknown reasons. I didn't waste time debugging why it didn't work and did the manual installation instead, which is not that difficult. Work through section Recipe for Manual Installation in the INSTALL file:

Re: [Nagios-users] check_http and self signed certs

2012-08-15 Thread Claudio Kuenzler
This should work, also with self-signed certs. Doing this in my Nagios config as well. Whats the check_http command you're launching? What's the error message? On Wed, Aug 15, 2012 at 4:15 PM, Masoud Tabrizi masoud.tabr...@gmail.comwrote: All, We are using version 4.1.13 for the check_http for

Re: [Nagios-users] check_http and self signed certs

2012-08-15 Thread Claudio Kuenzler
On Wed, Aug 15, 2012 at 5:03 PM, masoud.tabr...@gmail.com wrote: Using -H url -I IP -s string -f follow and -p where applicable Timeout seems to be the issue yet the URLs are loading fine in less than a second, (-t is set to 45 seconds as well) Thanks Generally you can use -S and -p 443 for

Re: [Nagios-users] check_openmanage and ESXi

2012-08-17 Thread Claudio Kuenzler
http://exchange.nagios.org/directory/Plugins/Operating-Systems/%2A-Virtual-Environments/VMWare/check_esxi_hardware-2Epy/details On Thu, Aug 16, 2012 at 6:14 PM, Randal, Phil phil.ran...@hoopleltd.co.ukwrote: You get more reported back from check_esxi_hardware.py if the check detects any error

Re: [Nagios-users] Problem with apache2.sh plugin

2012-09-04 Thread Claudio Kuenzler
In your case I'd do: ./check_apache2.sh -H localhost -P 8443 -S And you must have mod_status enabled. I just tested this on a Debian machine. You will also have to install bc if you haven't already. On Tue, Sep 4, 2012 at 7:58 AM, Aravinth Anto t-aravi...@juspay.in wrote: Hi all, I

Re: [Nagios-users] Problem with apache2.sh plugin

2012-09-04 Thread Claudio Kuenzler
Read the documentation. It says: -S|--secure) Enables HTTPS (no certificate check though). Default is: off So the certificate is not checked. And if you manually check with curl, you should check the correct URL: curl https://localhost/server-status On Tue, Sep 4, 2012 at 8:13 AM, Aravinth Anto

Re: [Nagios-users] Problem with apache2.sh plugin

2012-09-04 Thread Claudio Kuenzler
, then the plugin won't work. On Tue, Sep 4, 2012 at 8:34 AM, Aravinth Anto t-aravi...@juspay.in wrote: On Tue, Sep 4, 2012 at 11:47 AM, Claudio Kuenzler c...@claudiokuenzler.comwrote: Read the documentation. It says: -S|--secure) Enables HTTPS (no certificate check though). Default is: off

Re: [Nagios-users] Problem with apache2.sh plugin

2012-09-04 Thread Claudio Kuenzler
to apache. Where I went wrong? Thanks in advance. On Tue, Sep 4, 2012 at 12:27 PM, Claudio Kuenzler c...@claudiokuenzler.comwrote: Note that now you're accessing port 80, instead of 8443... Also before you use the plugin, you should make sure that you have correctly enabled mod_status

Re: [Nagios-users] Problem with apache2.sh plugin

2012-09-04 Thread Claudio Kuenzler
: On Tue, Sep 4, 2012 at 12:55 PM, Claudio Kuenzler c...@claudiokuenzler.comwrote: You should write to Apache mailing list, not to Nagios ;-) Read http://httpd.apache.org/docs/2.2/mod/mod_status.html The status.conf seems correct. You should be able to access the server-status page from

Re: [Nagios-users] Plugin check_oracle_health

2012-10-02 Thread Claudio Kuenzler
The plugin needs to be installed on the Oracle Database server. That's not entirely correct. It can also run on a standalone Nagios server. But you need to install the ora files to be able to launch the plugin against an Oracle DB server. I did that successfully on Nagios 3.3.1 against ORA11.

Re: [Nagios-users] Plugin check_oracle_health

2012-10-03 Thread Claudio Kuenzler
/ 0732 669 193 www.omnilogic.ro On 10/02/2012 06:05 PM, Claudio Kuenzler wrote: The plugin needs to be installed on the Oracle Database server. That's not entirely correct. It can also run on a standalone Nagios server. But you need to install the ora files to be able to launch the plugin

Re: [Nagios-users] Plugin check_oracle_health

2012-10-29 Thread Claudio Kuenzler
12.04.1 LTS Release:12.04 Codename: precise Cosmin Neagu NOC Team Leader Str. I. G. Duca nr. 36 Otopeni, Judetul Ilfov, 075100 Romania Tel: 021 303 3159 / 0732 669 193 www.omnilogic.ro On 10/03/2012 09:34 AM, Claudio Kuenzler wrote: It's not that hard and a lot of things

Re: [Nagios-users] Nagios Graph Issue

2012-10-29 Thread Claudio Kuenzler
What Nagios Graphing solution do you use? In case of Nagiosgraph, it does what you tell Nagiosgraph to do. Check your map file, you might have to adjust some of the entries to match special plugins/perfdata. On Mon, Oct 29, 2012 at 11:03 AM, Amit Anjarlekar amit.anjarle...@gmail.com wrote:

Re: [Nagios-users] Nagios Graph Issue

2012-10-29 Thread Claudio Kuenzler
where i will get exact idea on which files are called from collecting data till graph creation, it will be gr8 help for m to understand nagios architecture. Thanks Amit On Mon, Oct 29, 2012 at 1:11 PM, Claudio Kuenzler c...@claudiokuenzler.comwrote: What Nagios Graphing solution do you use

Re: [Nagios-users] Plugin check_oracle_health

2012-11-07 Thread Claudio Kuenzler
So my question for someone who has made check_oracle_healt work is: How come all 4 invocation from CLI as nagios user work, but when Nagios runs them, only 2 of them work. I know that the error message tells me that there is some env variable path problem, but why are the first 2 calls of

Re: [Nagios-users] Plugin check_oracle_health

2012-11-09 Thread Claudio Kuenzler
BUT - a huge discovery when composing this mail. The only service definition that worked from Nagios was the one which has the undocumented argument --method sqlplus. I think i saw on some forums the use of that paramether in the beginning, and it remained in the definition. Anyway, after

Re: [Nagios-users] Check_http status 503 gives 200 OK

2012-11-22 Thread Claudio Kuenzler
Jaap, if you'd use check_http correctly, as the others mentioned, it would work. It just happens that https://latitude.google.com shows a 503 error right this moment and for curiosity's sake I tested it: # ./check_http -H latitude.google.com -S HTTP CRITICAL: HTTP/1.1 503 Service Unavailable -

Re: [Nagios-users] Weird Nagios Problem

2012-12-04 Thread Claudio Kuenzler
On Tue, Dec 4, 2012 at 4:26 AM, Martin Hugo martin_h...@hboe.org wrote: Another issue is one check_Interface_Table that returns 255 out of bounds but over 30 others (in the same service group using the same command) return normal. Such an error 255 out of bounds can happen, when the plugin

Re: [Nagios-users] Nagios running checks way too often

2012-12-04 Thread Claudio Kuenzler
On Tue, Dec 4, 2012 at 4:44 PM, Doug Eubanks ad...@dougware.net wrote: Nagios is checking services way too often. It's supposed to check once every 2 minutes, then failback to checking once every 1 minute on a failure. I believe this is the relevant parts of the nagios.cfg file: Actually

Re: [Nagios-users] Nagios running checks way too often

2012-12-06 Thread Claudio Kuenzler
On Thu, Dec 6, 2012 at 1:13 AM, Doug Eubanks ad...@dougware.net wrote: Of course you are correct, here's one of the services. According to the site log, it looks like Nagios is firing off three to four requests to the server, each time it's being checked. These log entries are all from one

Re: [Nagios-users] Nagios running checks way too often

2012-12-06 Thread Claudio Kuenzler
On Fri, Dec 7, 2012 at 6:34 AM, Doug Eubanks ad...@dougware.net wrote: I removed the spaces from the command. I noticed that there were two Nagios processes running, so I killed them both and restarted Nagios. Within a few minutes, it was checking the site more often that it should: Nagios

Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal

2012-12-15 Thread Claudio Kuenzler
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

Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal

2012-12-15 Thread Claudio Kuenzler
Hi Claudio, ** ** Thanks for the feedback. Just to make sure, where abouts in the map file should these lines go? ** ** Thanks ** ** James Just make sure you add these lines BEFORE the following part:

Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal

2012-12-18 Thread Claudio Kuenzler
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,

Re: [Nagios-users] Nagios Graph converting figures to binary bytes rather than decimal

2012-12-19 Thread Claudio Kuenzler
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

Re: [Nagios-users] Alert Precedence

2013-04-08 Thread Claudio Kuenzler
This is a basic dependency in Nagios. When the host is down (hard) then you won't receive any alerts for the services defined in this host. What is likely in your case, is that you have scheduled the service checks more often or faster to alert before the host check. This will result in some

Re: [Nagios-users] Alert Precedence

2013-04-28 Thread Claudio Kuenzler
check happens firts withing 3 minutes, as the service is checked every 10 I should not get any alert on them, but I still get the service notifications after the hosts is down. Any help appreciated. Thanks for your time and support. 2013/4/8 Claudio Kuenzler c...@claudiokuenzler.com

  1   2   >