Re: [Nagios-users] bug with a cyrillic text in host alias

2006-05-16 Thread Danila Kutepkin
On Mon, 15 May 2006 11:52:47 -0700 Jason Martin <[EMAIL PROTECTED]> wrote: On Mon, May 15, 2006 at 10:24:35PM +0400, Danila Kutepkin wrote: But, I can't undestand, why does Nagios send empty (space) symbols instead of cyrillic text in Notification e-mails. For example, I have a host named Hos

[Nagios-users] CGI's not reading the cgi.cfg file??

2006-05-16 Thread Janet Post
Hello, A couple of the CGI binarys are not honouring the cgi.cfg file directive for authorized users. My cfg.cfg contains these two lines: authorized_for_all_services=* authorized_for_all_hosts=* which should theoretically give access to anyone who authenticates to the webserver, (which is con

Re: [Nagios-users] Compile nagios-2.3.1 on Solaris 8

2006-05-16 Thread Luc I. Suryo
> > > > I've a problem compiling the new 2.3.1 on Solaris 8 with > > SUN Studio 11 and gcc-3.4.3 > > > > compiling cgi/getcgi.c fails with the error that INT_MAX is > > undefined. > > Yes, same here. I am not sure of what INT_MAX is supposed to be. 1. ok i checked sys/types.h and indeed it d

[Nagios-users] One cause of the 'Internal Server Errors' with nagios 2.3

2006-05-16 Thread Bill Ryder
HI All, (First of all - hope the moderator hasn't approved my previous post on this topic before I resend this one!). This may or may not apply to anyone having Internal Server Errors but it certainly fixed my nagios. Summary: === Make sure your status.dat file (config variable status_fil

RE: Re(2): [Nagios-users] Abnormal Program Termination

2006-05-16 Thread Morris, Patrick
For what it's worth, a reload (which, depending on your init scripts, is probably just a "kill -HUP" to the Nagios process) often gives me the same results. I've been seeing this issue for years, and have never found a good fix for it. I've ended up doing the kill -9 thing myself when Nagios hang

[Nagios-users] Oracle plugin

2006-05-16 Thread Janet Post
Hello, I am looking for a plug-in that will run a query against an oracle database and return the results. I have found plugins that search for specific things -- like tablespace, and archives, but nothing that will run a sql statement. Surely this plugin exists somewhere?!?! Janet -

RE: [Nagios-users] Stale log messages!

2006-05-16 Thread Morris, Patrick
I believe someone answered this for you this morning, but the error means you have freshness checking turned on for that service, and have defined it with a freshness check interval of 15 seconds. This is almost certainly a configuration error. From: [EMAIL PROT

Re: [Nagios-users] User authentication alternatives.

2006-05-16 Thread Ian
For authenticating users off your local system, LDAP, or NIS you can use mod_auth_pam for Apache. http://pam.sourceforge.net/mod_auth_pam/ Andrew Cruse wrote: [EMAIL PROTECTED] wrote: On 5/16/06, Tiernan, Michael C. <[EMAIL PROTECTED]> wrote: I'll admit to being a bit green on how t

RE: [Nagios-users] bug with a cyrillic text in host alias

2006-05-16 Thread Morris, Patrick
There is no part of Nagios that sends e-mails. It simply uses whatever notification command you define in your configs. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Danila Kutepkin Sent: Monday, May 15, 2006 11:25 AM To: [EMAIL PROTECTED]; nagios-user

Re: [Nagios-users] Nagios Host Check

2006-05-16 Thread Jason Martin
On Wed, May 17, 2006 at 11:17:03AM +1200, Ron Wilson wrote: > OK I accept that but if it is something like an external router or > similar where there is nothing else I need to check or can check, I jus > want to know if it is down, what service can I define so that it keeps > Nagios happy. Can I d

[Nagios-users] bug with a cyrillic text in host alias

2006-05-16 Thread Danila Kutepkin
Hi there! I'm trying to make nagios show cyrillic text (in HOSTALIAS). After some simple changes, it becomes to show correct symbols in statusmap.cgi In all over CGIs cyrillic symbols are shown perfectly. But, I can't undestand, why does Nagios send empty (space) symbols instead of cyrillic te

[Nagios-users] Deleting/Removing data from Nagios/HTTP WARNING: HTTP/1.1 400 Bad Request

2006-05-16 Thread Robert Snyder
Hi, I have two questions: 1) I have just spent the last week getting Nagios set up on OS X to monitor about 20 servers and 60 services. I am still adding services, but needless to say, over the past week I have created a lot of false warnings and errors. Is there a way to flush the existing dat

[Nagios-users] Compile nagios-2.3.1 on Solaris 8

2006-05-16 Thread Masopust, Christian
I've a problem compiling the new 2.3.1 on Solaris 8 with SUN Studio 11 and gcc-3.4.3 compiling cgi/getcgi.c fails with the error that INT_MAX is undefined. anybody else having this problem? and how to solve? thanks, chris ___ C

RE: [Nagios-users] Nagios Host Check

2006-05-16 Thread Ron Wilson
OK I accept that but if it is something like an external router or similar where there is nothing else I need to check or can check, I jus want to know if it is down, what service can I define so that it keeps Nagios happy. Can I do a dummy service connectivity check? > Subject: [Nagios-users] Na

[Nagios-users] Stale log messages!

2006-05-16 Thread Gerard Marcel
I am totally confused about these error messages:   May 14 18:02:16 blue nagios: Warning: The results of host 'backup' are stale by 45 seconds (threshold=15 seconds).  I'm forcing an immediate check of the host.   I am getting a ton of these messages and I don't know why.  I looked at the archives

Re: [Nagios-users] Nagios -v works fine - Webpages don't!!!

2006-05-16 Thread Jim Perrin
It is strange, nagios.cfg lists my log file as: log_file=/usr/local/nagios/var/nagios.log But there is nothing there??? Any pointers as to how I can go about getting this minimal.cfg to work at least? Your permissions and possibly users/groups are incorrect. The 'easy' way to set up nagios on

Re: [Nagios-users] "Agentless" monitoring with Nagios?

2006-05-16 Thread Jason Martin
On Tue, May 16, 2006 at 02:37:09PM -0700, Keller, Steve wrote: > You can get it from openssh.com. Directions on setting up persistent Ooh, OpenSSH version 4. That makes more sense. > connections are in the installation files. It basically just requires a > config file in ~/.ssh and a directory u

RE: [Nagios-users] "Agentless" monitoring with Nagios?

2006-05-16 Thread Keller, Steve
You can get it from openssh.com. Directions on setting up persistent connections are in the installation files. It basically just requires a config file in ~/.ssh and a directory underneath it to store temp files Steve -Original Message- From: Jason Martin [mailto:[EMAIL PROTECTED] Sen

RE: [Nagios-users] Monitore Postfix queue

2006-05-16 Thread Steve Shipway
> I've write a small script do monitore postfix queue using > postqueue to count the number of emails on my queue: > > postqueue -p | tail -1 | cut -d " " -f 5 > > The problem: Sometimes, my queue have more than 20.000 > emails, and I can't count this number of emails in less then > 1 minute :

Re: Re(2): [Nagios-users] Abnormal Program Termination

2006-05-16 Thread jeff vier
On Tue, 2006-05-16 at 17:23 -0400, Robert Snyder wrote: > On Tue, May 16, 2006, jeff vier wrote: > > >Stop Nagios. > > > >Kill all the zombie Nagios processes. > > > >Start Nagios. > > > >Done. > > Thanks. That did the trick. > > What is the best way to update nagios once you have made changes

Re: [Nagios-users] Nagios Host Check

2006-05-16 Thread Jason Martin
On Wed, May 17, 2006 at 09:11:43AM +1200, Ron Wilson wrote: > I have several hosts that I just want to check connectivity nothing > else. If I put the hosts in the hosts file Nagios complains that there > are no services defined for this hosts. It still works but I want to get FAQ: http://www.nagio

RE: [Nagios-users] Nagios Host Check

2006-05-16 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Ron Wilson > Sent: Tuesday, May 16, 2006 4:12 PM > To: nagios-users@lists.sourceforge.net > Subject: [Nagios-users] Nagios Host Check > > I have several hosts that I just want to check c

Re(2): [Nagios-users] Abnormal Program Termination

2006-05-16 Thread Robert Snyder
On Tue, May 16, 2006, jeff vier wrote: >Stop Nagios. > >Kill all the zombie Nagios processes. > >Start Nagios. > >Done. Thanks. That did the trick. What is the best way to update nagios once you have made changes to the .cfg files. I had been using stop/start. But I am guessing that is what gav

[Nagios-users] Nagios -v works fine - Webpages don't!!!

2006-05-16 Thread Jan van der Merwe
Hi Guys, I have Nagios setup on FC4. I'm trying to get the basic minimal.cfg to work so that I have something to start from. cfg_file=/usr/local/nagios/etc/minimal.cfg is the only cfg file that i have left uncommented. I have copied minimal.cfg-sample -> minimal.cfg I have run nagios -v mi

[Nagios-users] Nagios Host Check

2006-05-16 Thread Ron Wilson
Title: Nagios Host Check I have several hosts that I just want to check connectivity nothing else. If I put the hosts in the hosts file Nagios complains that there are no services defined for this hosts. It still works but I want to get rid of the error message. Do I need to create some form

Re: [Nagios-users] Abnormal Program Termination

2006-05-16 Thread jeff vier
On Tue, 2006-05-16 at 16:51 -0400, Robert Snyder wrote: > I have a very strange situation going on with my reports. > > When I go to the Service Detail screen, sometimes the number of services > listed for each host is different. I can reload the page and then the > missing services return to the

RE: [Nagios-users] How to "correctly" shut off notifications on s ervices, but not for hosts

2006-05-16 Thread Tedman Eng
From: James E. Pratt [mailto:[EMAIL PROTECTED] > > Hi. Dumb question probably, apologies in advance... > > I have a router, which I am currently monitoring snmp and ping on - i > dont want notifies on the services, but only the host, but still want > the services going down to trigger the host ch

RE: [Nagios-users] "Agentless" monitoring with Nagios?

2006-05-16 Thread Keller, Steve
Wow! I did not expect a reply so quickly! We'll look into fsh, it looks promising. Thanks for the advice. Steve -Original Message- From: Jason Martin [mailto:[EMAIL PROTECTED] Sent: Monday, May 15, 2006 3:56 PM To: Keller, Steve Cc: nagios-users@lists.sourceforge.net Subject: Re: [Nagi

[Nagios-users] Abnormal Program Termination

2006-05-16 Thread Robert Snyder
I have a very strange situation going on with my reports. When I go to the Service Detail screen, sometimes the number of services listed for each host is different. I can reload the page and then the missing services return to the list. Stranger still, on the Service Detail screen the services

Re: [Nagios-users] Monitore Postfix queue

2006-05-16 Thread Luc I. Suryo
fyi: i used a perl script that couple people created sometime ago (Subhendu Ghosh/Carlos Canau/Benjamin Schmid) if you want too i can email it to you... -ls > > >Most likely a permission error.. try this: > ># su - postfix -s /bin/sh > ># /path/to/check_mailq -v -w 500 -c 800 -M postfix > >

RE: [Nagios-users] User authentication alternatives.

2006-05-16 Thread Andrew Cruse
[EMAIL PROTECTED] wrote: > On 5/16/06, Tiernan, Michael C. <[EMAIL PROTECTED]> wrote: >> I'll admit to being a bit green on how to make some of the things >> happen under Apache so I figured I'd ask this august group for >> advice. >> >> I'd like to use the system password file for authenticating

Re: [Nagios-users] "Agentless" monitoring with Nagios?

2006-05-16 Thread Jason Martin
On Tue, May 16, 2006 at 12:13:08PM -0700, Eli Stair wrote: > in most situations (for me), and actually consumes less cycles on BOTH > ends... This FSH project looks promising, though hasn't been updated since > 2001... A scary prospect for anything that is crypto/authentication based :) I think it

Re: [Nagios-users] "Agentless" monitoring with Nagios?

2006-05-16 Thread John P. Rouillard
In message <[EMAIL PROTECTED]>, Eli Stair writes: >Even executing a remote command over SSH with the crypto overhead is faster >in most situations (for me), and actually consumes less cycles on BOTH >ends... This FSH project looks promising, though hasn't been updated since >2001... A scary prospe

Re: [Nagios-users] "Agentless" monitoring with Nagios?

2006-05-16 Thread Eli Stair
Bringing up SNMP is a valid point (I'm currently handling ~25% of my active service checks this way). However there are a number of scenarios where the load on both the server/network/client is significantly greater to pull down a tree that needs processing (process table for instance), as the im

[Nagios-users] Nagios Grapher SSL/HTTPS links

2006-05-16 Thread Roy Depp
Hello,  I've installed Nagios Grapher 1.5-1 with Nagios 2.2.  Almost everything works as expected, I have 1 problem though. Our Nagios web site is  accessible through a secure connection only. All URLs must be generated with https://...     When clicking on the Nagios Grapher icons to see the perfo

Re: [Nagios-users] Monitore Postfix queue

2006-05-16 Thread Tiago Cruz
Dhawal Doshy wrote: Most likely a permission error.. try this: # su - postfix -s /bin/sh # /path/to/check_mailq -v -w 500 -c 800 -M postfix Not is permission... I'm running as root (as postfix don't works too) :( Again, check_mailq uses "use lib "nagios/plugins";", you might need to change

Re: [Nagios-users] "Agentless" monitoring with Nagios?

2006-05-16 Thread John A. Sullivan III
On Mon, 2006-05-15 at 15:34 -0700, Keller, Steve wrote: > Hi – > > > > We have a large SiteScope installation (we monitor several thousand > servers with about 20 SiteScope machines) and are considering Nagios > as a replacement. One of the issues we have is that we cannot, for > various (mos

[Nagios-users] Monitore Postfix queue

2006-05-16 Thread Tiago Cruz
Hello guys, I've write a small script do monitore postfix queue using postqueue to count the number of emails on my queue: postqueue -p | tail -1 | cut -d " " -f 5 The problem: Sometimes, my queue have more than 20.000 emails, and I can't count this number of emails in less then 1 minute :-)

Re: [Nagios-users] Monitore Postfix queue

2006-05-16 Thread Dhawal Doshy
Tiago Cruz wrote: Hello list! Matthias, The mailq binary don't work for me, and I don't know why :( # /.../bin-1.4.2/libexec/check_mailq -v -w 500 -c 800 -M postfix Couldn't match output Most likely a permission error.. try this: # su - postfix -s /bin/sh # /path/to/check_mailq -v -w 500 -c

Re: [Nagios-users] User authentication alternatives.

2006-05-16 Thread Jim Perrin
On 5/16/06, Tiernan, Michael C. <[EMAIL PROTECTED]> wrote: I'll admit to being a bit green on how to make some of the things happen under Apache so I figured I'd ask this august group for advice. I'd like to use the system password file for authenticating users against for nagios and then just u

Re: [Nagios-users] Monitore Postfix queue

2006-05-16 Thread Tiago Cruz
Hello list! Matthias, The mailq binary don't work for me, and I don't know why :( # /.../bin-1.4.2/libexec/check_mailq -v -w 500 -c 800 -M postfix Couldn't match output John, I'll try do some like this, but is not perfect :) ls -l /var/spool/postfix/deferred/* | grep '-' | wc -l Morten, Than

[Nagios-users] User authentication alternatives.

2006-05-16 Thread Tiernan, Michael C.
I'll admit to being a bit green on how to make some of the things happen under Apache so I figured I'd ask this august group for advice. I'd like to use the system password file for authenticating users against for nagios and then just use a simple list of the login names for who can be admins. (I

Re: [Nagios-users] Monitore Postfix queue

2006-05-16 Thread Matthias Eble
On Tue, 2006-05-16 at 10:08 -0300, Tiago Cruz wrote: Hello guys, I've write a small script do monitore postfix queue using postqueue to count the number of emails on my queue: postqueue -p | tail -1 | cut -d " " -f 5 The problem: Sometimes, my queue have more than 20.000 emails, and I can't

[Nagios-users] Eventhandlers: restart-apache , logs...

2006-05-16 Thread ThomasC.
Hi, How do you look at eventhandlers behaviour ? I am trying to see what it is doing but cant find logs that help. For instance, i am using a restart-http eventhandlers on the nagios server i am running. The scritp works by hand: /usr/local/nagios/eventhandlers/restart-http CRITICAL SOFT 2 la

[Nagios-users] Problem compiling NDOUtils 1.3

2006-05-16 Thread Samba
Hi all, I'm having problems compiling NDOUtils for use with MySQL. I've googled for NDOUtils, NDOUtils and Mysql. But I'm not having any luck I've tried specifying the --with-mysql-lib and --with-mysql-inc but with no luck. The message I'm getting when I run configure is below: checking for

[Nagios-users] MegaRAID plugin errors out in 2.0

2006-05-16 Thread Gary Danko
I've searched the web/usenet for this and have found nothing. I can run the check_megaraid plugin from the command line on my Nagios 2.0 server, but when Nagios tries to run it I get this error in the web console. **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit package name

[Nagios-users] check_ping $ARG1$ not passing

2006-05-16 Thread Kirk Patton
Hello, I have looked through the archive and forms, but I have not found any clues to the problem which I am having. I am trying to configure a command that uses the 'check_ping' plugin. I am getting errors that tell me that the check_ping plugin is not receiving the proper arguments. check_p

[Nagios-users] How to "correctly" shut off notifications on services, but not for hosts

2006-05-16 Thread James E. Pratt
Hi. Dumb question probably, apologies in advance... I have a router, which I am currently monitoring snmp and ping on - i dont want notifies on the services, but only the host, but still want the services going down to trigger the host check etc etc if that makes sense? What's the "proper" way

Re: [Nagios-users] Monitore Postfix queue

2006-05-16 Thread morten
"munin" has a script for this called "postfix_mailqueue" You could always get that and make a wrapper for it ... Then maybe run it on the postfix server using net-snmps exec function so you can query it from your nagiosserver via check_snmpp :) On Tue, 2006-05-16 at 10:08 -0300, Tiago Cruz wrote:

RE: [Nagios-users] Hide certain 'Criticals'

2006-05-16 Thread Steve Shipway
... > > You could set your view to filter out acknowledged alerts? > > This is an undocumented option to status.cgi. ... > Thanks for the reply Steve, how would I filter out the > acknowledged alerts? > After filtering them out, how would I know that they have > recovered, does it reset the ack

Re: [Nagios-users] Problems with check_disk_smb

2006-05-16 Thread Hugo van der Kooij
On Fri, 12 May 2006, Miguel Faria wrote: > I recently installed Nagios 2.3 along-side the old Nagios 1.2. On the > 1.2 the check_disk_smb script works fine, but on the 2.3 it gives the > error 'invalid share name '. I run the the command using the 2.3's > version of the script and it works fin

Re: [Nagios-users] "Agentless" monitoring with Nagios?

2006-05-16 Thread Jason Martin
On Mon, May 15, 2006 at 03:34:53PM -0700, Keller, Steve wrote: > a replacement. One of the issues we have is that we cannot, for various > (mostly political) reasons, install an agent on the hosts we monitor. By any chance is SNMP already in place on the target hosts? That might cut down on the nu

RE: [Nagios-users] trouble installing plugins --with-openssl under ubuntu 5.10

2006-05-16 Thread Morris, Patrick
As previous reponses have told you, you need the OpenSSL "dev" package (or whatever the Ubuntu equivalent is). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of nemir nemiria Sent: Saturday, May 13, 2006 12:32 PM To: nagios-users@lists.sourceforge.net Subje

[Nagios-users] trouble installing plugins --with-openssl under ubuntu 5.10

2006-05-16 Thread nemir nemiria
I am having trouble compiling nagios-plugins 1.4.1 on an ubuntu 5.10 server. THe advice I have read in previous threads says to install openssl. I am new to apt-get, but it wasn't too hard. Output from apt-get install openssl is: # apt-get install openssl Reading package lists... Done Bui

Re: [Nagios-users] Acknowledging ports down on a swith

2006-05-16 Thread Hugo van der Kooij
On Fri, 12 May 2006 [EMAIL PROTECTED] wrote: > I then disable ports 3 and 4 and the error does not come back letting me know > that there is a problem on different ports. I am using the check_ifstatus to > query the switch, is there a better way of doing this or will I need to set up > a service f

Re: [Nagios-users] status.dat

2006-05-16 Thread Lennard Bakker
Marc Powell wrote: >> >> Hello, >> >> >> >> Is there any documentation about the status.dat file. >> >> I am programming my own overview (http://noc.duximus.nl (test site)) > > but >> >> cann't find any documentation about this file. Most fields are >> >> selfexplaining, but some are harder to gues

RE: [Nagios-users] status.dat

2006-05-16 Thread Marc Powell
> -Original Message- > From: [EMAIL PROTECTED] [mailto:nagios-users- > [EMAIL PROTECTED] On Behalf Of Lennard Bakker > Sent: Sunday, May 14, 2006 5:35 AM > To: Nagios Users Mailing List > Subject: [Nagios-users] status.dat > > Hello, > > Is there any documentation about the status.dat f

[Nagios-users] Acknowledging ports down on a swith

2006-05-16 Thread jonr
I have noticed that when ports on a switch go down, say ports 5 and 7, and I acknowledge this critical in my view, if port 3 and 4 go down on the same switch it will not bring the critical error back up. This is how I am testing it: I enable ports 7 and 9 on the switch, there is nothing connected

[Nagios-users] Nagios 2.3.1, problems with perl plugins

2006-05-16 Thread Frederik Vanhee
Hello, I just installed nagios-2.3.1, with perlcache and embedded-perl-interpreter. Before I had Nagios-2.0rc2 with perlcache and embedded-perl-interpreter. I'm using nagios-plugins 1.4.3 The system is running on Debian Sarge Ever since the upgrade , I experience problems with plugins written in

RE: [Nagios-users] Hide certain 'Criticals'

2006-05-16 Thread jonr
Quoting Steve Shipway <[EMAIL PROTECTED]>: > ... > > > You could set your view to filter out acknowledged alerts? > > > This is an undocumented option to status.cgi. > ... > > Thanks for the reply Steve, how would I filter out the > > acknowledged alerts? > > After filtering them out, how would I

RE: [Nagios-users] Hide certain 'Criticals'

2006-05-16 Thread jonr
Quoting Marc Powell <[EMAIL PROTECTED]>: > > > > -Original Message- > > From: [EMAIL PROTECTED] [mailto:nagios-users- > > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > > Sent: Thursday, May 11, 2006 10:00 PM > > To: nagios-users@lists.sourceforge.net > > Subject: RE: [Nagios-users] Hi

Re: [Nagios-users] Not Found ..... tac.cgi was not found on this server

2006-05-16 Thread Brad Clemmons Jr
I don't know.  I can get to the html stuff.  Just not the cgi.  I double checked my ./configure log and it looks like it pointed the url's to the right place.  At any rate, I think part of the problem was that I'm not familiar with apache2 which is what I have it running on at the moment.  I've use

[Nagios-users] Nagios and Perfparse integration problem

2006-05-16 Thread Roberto Raffo
Hi folks! We use Nagios to monitor approximately 120 hosts with a total of 400 checks. This worked fine but when we have installed perfparse many checks appear to have problems. In some cases they are rescheduled without produce output. In other cases they simply do not work without even

RE: [Nagios-users] Memory Leak on Nagios 2.3 ?

2006-05-16 Thread Eli Stair
Title: RE: [Nagios-users] Memory Leak on Nagios 2.3 ? At the very least, you'd need to get a look at how much Nagios itself is using, not just system-totals (check the manpage for interpreting results of free).  Try 'top -n1 -p $nagiospid' or 'ps -F -p $nagiospid'.  I've gone through several

[Nagios-users] status.dat

2006-05-16 Thread Lennard Bakker
Hello, Is there any documentation about the status.dat file. I am programming my own overview (http://noc.duximus.nl (test site)) but cann't find any documentation about this file. Most fields are selfexplaining, but some are harder to guess. Lennard -

Re: [Nagios-users] Compile nagios-2.3.1 on Solaris 8

2006-05-16 Thread Alex Moore
On Tue, 16 May 2006 08:05:46 +0200 "Masopust, Christian" <[EMAIL PROTECTED]> wrote: > > I've a problem compiling the new 2.3.1 on Solaris 8 with > SUN Studio 11 and gcc-3.4.3 > > compiling cgi/getcgi.c fails with the error that INT_MAX is > undefined. Yes, same here. I am not sure of what INT