Re: [Nagios-users] Nagios script output issue

2010-08-30 Thread newme me
One more thing I would like to add here , I have 5 URLs check , 2 thru check_http and 3 thru my own curl script and all of them fail at the same time, initially for 2-3 hrs all are returning the right status. The error that I am getting from Nagios(check_http) - "nodename nor servname provided, o

Re: [Nagios-users] Help hacking a script to montior my AppServers?

2010-08-30 Thread Herb J.
You will have to write your script in a way that it is able to parse the date fields in that output and calculate the difference between that time and the current time.. Is it possible to have that program output UNIX timestamps instead? If not, it will require you to get creative with awk, Pe

[Nagios-users] Help hacking a script to montior my AppServers?

2010-08-30 Thread Mirza Dedic
I am trying to monitor our OpenEdge Database Application Servers on our AIX box with Nagios, and to send an alert based on a "tricky" situation, described below: The tool that I run locally on the AIX host to check our servers outputs the following: #asbman -name production -query PID State

Re: [Nagios-users] Nagios script output issue

2010-08-30 Thread newme me
Hi Marc, Thanks for your reply, I checked on the multiple process of Nagios but there is only one running. Any other thing you can think of which might be causing this odd behaviour? Thanks, Allan. On Sun, Aug 29, 2010 at 6:12 PM, newme me wrote: > Folks, > > I switched to "check_http" plugin

Re: [Nagios-users] Are service contacts 'inherited' from respectivehost?

2010-08-30 Thread Danilo Godec
On 08/30/2010 12:17 PM, Ortner, Gerald wrote: > > -Ursprüngliche Nachricht- > Von: Danilo Godec [mailto:danilo.go...@agenda.si] > Gesendet: Montag, 30. August 2010 11:03 > An: Nagios Users List > Betreff: [Nagios-users] Are service contacts 'inherited' from respectivehost? > > Hi, > > I'm

Re: [Nagios-users] Nagios script output issue

2010-08-30 Thread Marc Powell
On Aug 29, 2010, at 8:12 PM, newme me wrote: > ./check_http -H xyz.com -p -u /abc -t 3 > OK > > Result from Nagios Interface - > nodename nor servname provided, or not known > HTTP CRITICAL - Unable to open TCP socket > > I am thinking that this has something to do with Nagios as the box

Re: [Nagios-users] Internal Server Error Occuring when trying to access Nagios on the browser

2010-08-30 Thread Alex Dehaini
what ports do tomcat and postgres listen on? On Fri, Aug 27, 2010 at 3:40 AM, Ifeanyi Agu wrote: > Hello Alex, > > I want to monitor Apache Tomcat (i.e. to know when it is running or not). I > also want to monitor Postgres service. > > My Nagios is working well now but I noticed that it does n

[Nagios-users] Help needed: How do you configure dynamic thresholds depending on timeframes.

2010-08-30 Thread Alex Peeters
Help needed: How do you configure dynamic thresholds depending on timeframes. Example. -w = 80 -c = 90 during business hours but -w = 90 -c = 95 outsite business hours. How can we configure into nagios dynamic thresholds depending on timeframes: Part II define service{ use

Re: [Nagios-users] Are service contacts 'inherited' from respectivehost?

2010-08-30 Thread Ortner, Gerald
-Ursprüngliche Nachricht- Von: Danilo Godec [mailto:danilo.go...@agenda.si] Gesendet: Montag, 30. August 2010 11:03 An: Nagios Users List Betreff: [Nagios-users] Are service contacts 'inherited' from respectivehost? Hi, I'm monitoring a bunch of hosts and each of these hosts has at lea

[Nagios-users] Suggestion: Macro cleansing/clean_macro_chars() in macros.c should not allow trailing \

2010-08-30 Thread Peter Valdemar Mørch (Lists)
Hi, clean_macro_chars() basically removes illegal_output_chars from char *macro if(options & STRIP_ILLEGAL_MACRO_CHARS). Now, by default '\' is not an illegal output char, so it is not stripped. However that can cause problems if e.g. we have a command_line plugin arg0 $STRIPPED_MACRO$ arg2 C

[Nagios-users] Are service contacts 'inherited' from respective host?

2010-08-30 Thread Danilo Godec
Hi, I'm monitoring a bunch of hosts and each of these hosts has at least two services used to monitor and graph ping RTA and packet-loss. Hosts configurations are organized in several .cfg files (by building), there is also a hostgroup definition grouping all hosts in a building. However, hosts i

Re: [Nagios-users] Nagios script output issue

2010-08-30 Thread diego . roccia
You aren't passing that "" thing to the server, are you? Sent from my BlackBerry® wireless device -Original Message- From: newme me Date: Sun, 29 Aug 2010 18:12:10 To: Reply-To: Nagios Users List Subject: Re: [Nagios-users] Nagios script output issue -

Re: [Nagios-users] Bonding/Teaming Monitoring

2010-08-30 Thread diego . roccia
On the server part, you should go with: - monitor physical interfaces (snmp) - monitor bonding sytatus (in /proc/net/bonding/bond0, or the sysfs equivalent) Moreover, you could monitor network interfaces on the switch side. You can for example, use custom variables to store switch ports on serv