Re: [Nagios-users] is there a way to set host min_check_attempt?

2007-03-26 Thread Thomas Stocking
Hi Dinçer,
Not quite sure I follow your logic, but it looks like you want to 
control what happens with Nagios host checks.
Nagios will check the host if and when a service on that host enters a 
non-ok state. It then executes the plugin that you select as a 
host-alive check. If it comes back with a non-ok status on the first 
attempt, it will try again, up to the max number of attempts. If all 
attempts fail, it sets to host to state DOWN (or UNREACHABLE - see the 
parent directive). It then send a host alert, and notifications, if 
configured.
If it comes back OK, it stops checking the host, and sets it to OK. Then 
you will get a service alert, notifications, etc.

So, one way to be sure that you always ping 5 times when you are 
checking a host is to configure the plugin you use for the host-alive 
check to send 5 pings on each attempt:

$USER1$/check_icmp -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -n 5
for example.

You could also use a passive check to set the host state. This is a 
pretty advanced topic, but will give you great control over host checks.

One thing to consider is that Nagios 2.x and 1.x use a "blocking" host 
check. That is, whenever a host check is performed (actively), Nagios 
stops doing pretty much everything else. Thus it makes sense to optimize 
your active host checks. The longer they take, the larger the affect on 
overall latency. This will be fixed in v3, or so I have read. I have not 
tried v3 yet :)
Thomas

Dinçer Kavraal wrote:
> Hi, (as to be numbers are only sample)
> We know that host assumed to be DOWN if host does not reply (or 
> timeout) for 5 times successively (I mean 5 distinct checks in order).
> Do you know how to make nagios assume that host is UP only and only if 
> host says OK to ping check for 5 times successively after a HARD-DOWN 
> status?
>
>
>
>
> 2007/3/25, Andy Shellam <[EMAIL PROTECTED] 
> >:
>
> Also, in your check_ping command definition, you're requesting the
> host
> respond within 30ms to be classed as up and OK.
>
> This seems awfully quick - personally I request 1000ms (1 second) to
> give it a fair amount of time to respond.  If the
> host/router/whatever
> is busy, it could take slightly longer than 30ms to reply, causing a
> warning (or longer than 60ms to be 'down'.)
>
> Andy.
> [...]
>
> 
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> 
>
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting 
> any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Two maps

2007-03-26 Thread Jim Avery
On 26/03/07, Andreas Brandino <[EMAIL PROTECTED]> wrote:
> I would like an interface similar with
> the current nagios one.
> Is out there any other project similar to nagvis???

I wouldn't say it's similar to Nagvis at all, but Nexsm is also very
well worth a look.

http://nexsm.gridshield.net/Overview.html

It can be a little tricky to install, but once working I think it's
well worth the effort especially if you have quite a few nodes on your
network.

Cheers,

Jim

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] What do you not like about Nagios' notification/escalation system?

2007-03-26 Thread Jim Avery
On 26/03/07, Taylor Dondich <[EMAIL PROTECTED]> wrote:
> I'm working on a project, and it requires feedback from you, the
> Nagios community.
>
> What do you not like about the way Nagios handles escalations and
> notifications?  What features would you add?  What features would you
> change?  What logic would you change, etc?
>
> Let me know, I'm really interested in your feedback and will respond to all.

I'd like a simple method to set up an on-call rota so I don't have to
change the contacts for on-call each day.

Cheers,

Jim

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] What do you not like about Nagios' notification/escalation system?

2007-03-26 Thread Taylor Dondich
I'm working on a project, and it requires feedback from you, the
Nagios community.

What do you not like about the way Nagios handles escalations and
notifications?  What features would you add?  What features would you
change?  What logic would you change, etc?

Let me know, I'm really interested in your feedback and will respond to all.

Taylor Dondich
Team Lead at Groundwork Open Source, Inc.
Author of Fruity, the most popular Nagios Configuration Tool
Author of "Network Monitoring with Nagios", published by O'Reilly

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Images not showing in GUI

2007-03-26 Thread Payam Jahromi
I got it to work, thank you so much. Recompiling actually didn’t change
anything. I just had to modify the cgi.cfg file and remove the extra
entries. Now it’s showing images.

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dinçer
Kavraal
Sent: Monday, March 26, 2007 10:41 AM
To: Payam Jahromi
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Images not showing in GUI

 

I think it won't. Anyway, take a backup :) then reconfigure and make it.


Dinçer

2007/3/26, Payam Jahromi <[EMAIL PROTECTED]
 >:

Thank you, I think it's #2. When I compiled it, I ran the following command:


./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin
--with-htmurl=/nagios/--with-nagios-user=nagios --with-nagios-group=nagios
--with-command-group=nagcmd

 

As you can see, I didn't put a space between htmurl=/nagios/ and –with…so
the path the images tries to find is
/nagios/--with-nagios-user=nagios/images.

 

Can I just run the configure command again with the correct info? Will this
overwrite any files I have already?

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dinçer
Kavraal
Sent: Saturday, March 24, 2007 11:57 AM


To: Payam Jahromi
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] Images not showing in GUI

 

Then, there are two options left (I suppose).

1) You have sth wrong with your browser. It might refuse asking you username
and password. However, then, how are you available to see the web page? So,
only one option left :)

2) On the images which are not shown on the web page, right-click and
properties. Look at the image URL. I think there is sth wrong with it. It
should be http://-host-address-/nagios/images/.png 

Is it so? Can you see any image with this URL on your own? (copy-paste the
image's address to your browser)

 

If so, it means you have given path values wrong when compiling nagios.
Anyway, check it then we can recompile it with right values.

 

Dinçer

 

2007/3/23, Payam Jahromi < 
[EMAIL PROTECTED]>: 

I also tried chown -R nagios:apache /usr/local/nagios/sbin

 

Restarted both httpd and apache process, still no images. (the
/nagios/images/disabled.gif still shows cross sign). 

 

  _  

From: Payam Jahromi [mailto: [EMAIL PROTECTED] 
Sent: Friday, March 23, 2007 12:04 PM 
To: 'Dinçer Kavraal'
Subject: RE: [Nagios-users] Images not showing in GUI

 

It still doesn't work after the chown command.

 

Then when I go to the URL specified, I see the cross sign.

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dinçer
Kavraal
Sent: Friday, March 23, 2007 11:53 AM 


To: Payam Jahromi
Subject: Re: [Nagios-users] Images not showing in GUI 

 

Can you try 
# chown -R nagios:apache /usr/local/nagios/share 

If again it is unsuccessful, let me be aware what happens when you type URL:

http://-your-web-host/nagios/images/disabled.gif

What can you see (a cross sign)? An error? What does it say? (A 404 Error? a
500 Error?) 

Dinçer

2007/3/23, Payam Jahromi < [EMAIL PROTECTED]>:

Attached. Thank you

 

 

  _  

From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED]
 ] On Behalf Of Dinçer Kavraal
Sent: Friday, March 23, 2007 11:22 AM
To: Payam Jahromi


Subject: Re: [Nagios-users] Images not showing in GUI

 

Could you please send your httpd.conf? I think there is a clash between
definitions. Because everything seems to be fine. 

Dinçer

2007/3/23, Payam Jahromi < 
[EMAIL PROTECTED] >:

ls -l /usr/local/nagios/share/images

total 316

-rw-rw-r--  1 nagios nagios   891 Mar 12 12:21 ack.gif

-rw-rw-r--  1 nagios nagios  1374 Mar 12 12:21 action.gif

-rw-rw-r--  1 nagios nagios  1187 Mar 12 12:21 command.png

-rw-rw-r--  1 nagios nagios   900 Mar 12 12:21 comment.gif

-rw-rw-r--  1 nagios nagios  1476 Mar 12 12:21 contexthelp1.gif

-rw-rw-r--  1 nagios nagios  1406 Mar 12 12:21 contexthelp2.gif

-rw-rw-r--  1 nagios nagios  1385 Mar 12 12:21 critical.png

-rw-rw-r--  1 nagios nagios   966 Mar 12 12:21 delay.gif

-rw-rw-r--  1 nagios nagios  1124 Mar 12 12:21 delete.gif

-rw-rw-r--  1 nagios nagios   890 Mar 12 12:21 detail.gif

-rw-rw-r--  1 nagios nagios  1088 Mar 12 12:21 disabled.gif

-rw-rw-r--  1 nagios nagios   846 Mar 12 12:21 down.gif

-rw-rw-r--  1 nagios nagios   864 Mar 12 12:21 downtime.gif

-rw-rw-r--  1 nagios nagios   807 Mar 12 12:21 empty.gif

-rw-rw-r--  1 nagios nagios  1016 Mar 12 12:21 enabled.gif

-rw-rw-r--  1 nagios nagios  1040 Mar 12 12:21 extinfo.gif

-rw-rw-r--  1 nagios nagios   578 Mar 12 12:21 flapping.gif

-rw-rw-r--  1 nagios nagios   329 Mar 12 12:21 greendot.gif

-rw-rw-r--  1 nagios nagios 17934 Mar 12 12:21 histogram.png

-rw-rw-r--  1 nagios nagios   924 Mar 12 12:21 history.gif

-rw-rw-r--  1 nagios nagios   958 Mar 12 12:21 hostevent.gif

-rw-rw-r--  1 nagios nagios  1371 Mar 12 12:21 info.png

-rw-rw-r--  1 nagios n

Re: [Nagios-users] Images not showing in GUI

2007-03-26 Thread Dinçer Kavraal

I think it won't. Anyway, take a backup :) then reconfigure and make it.


Dinçer

2007/3/26, Payam Jahromi <[EMAIL PROTECTED]>:


 Thank you, I think it's #2. When I compiled it, I ran the following
command:

./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin
--with-htmurl=/nagios/--with-nagios-user=nagios --with-nagios-group=nagios
--with-command-group=nagcmd



As you can see, I didn't put a space between htmurl=/nagios/ and –with…so
the path the images tries to find is
/nagios/--with-nagios-user=nagios/images.



Can I just run the configure command again with the correct info? Will
this overwrite any files I have already?


 --

*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Dinçer
Kavraal
*Sent:* Saturday, March 24, 2007 11:57 AM
*To:* Payam Jahromi
*Cc:* nagios-users@lists.sourceforge.net
*Subject:* Re: [Nagios-users] Images not showing in GUI



Then, there are two options left (I suppose).

1) You have sth wrong with your browser. It might refuse asking you
username and password. However, then, how are you available to see the web
page? So, only one option left :)

2) On the images which are not shown on the web page, right-click and
properties. Look at the image URL. I think there is sth wrong with it. It
should be http://-host-address-/nagios/images/.png

Is it so? Can you see any image with this URL on your own? (copy-paste the
image's address to your browser)



If so, it means you have given path values wrong when compiling nagios.
Anyway, check it then we can recompile it with right values.



Dinçer



2007/3/23, Payam Jahromi <[EMAIL PROTECTED]>:

I also tried chown -R nagios:apache /usr/local/nagios/sbin



Restarted both httpd and apache process, still no images. (the
/nagios/images/disabled.gif still shows cross sign).


 --

*From:* Payam Jahromi [mailto: [EMAIL PROTECTED]
*Sent:* Friday, March 23, 2007 12:04 PM
*To:* 'Dinçer Kavraal'
*Subject:* RE: [Nagios-users] Images not showing in GUI



It still doesn't work after the chown command.



Then when I go to the URL specified, I see the cross sign.


 --

*From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Dinçer
Kavraal
*Sent:* Friday, March 23, 2007 11:53 AM


*To:* Payam Jahromi
*Subject:* Re: [Nagios-users] Images not showing in GUI



Can you try
# chown -R nagios:apache /usr/local/nagios/share

If again it is unsuccessful, let me be aware what happens when you type
URL:

http://-your-web-host/nagios/images/disabled.gif

What can you see (a cross sign)? An error? What does it say? (A 404 Error?
a 500 Error?)

Dinçer

2007/3/23, Payam Jahromi < [EMAIL PROTECTED]>:

Attached. Thank you




 --

*From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Dinçer
Kavraal
*Sent:* Friday, March 23, 2007 11:22 AM
*To:* Payam Jahromi


*Subject:* Re: [Nagios-users] Images not showing in GUI



Could you please send your httpd.conf? I think there is a clash between
definitions. Because everything seems to be fine.

Dinçer

2007/3/23, Payam Jahromi < [EMAIL PROTECTED] >:

ls -l /usr/local/nagios/share/images

total 316

-rw-rw-r--  1 nagios nagios   891 Mar 12 12:21 ack.gif

-rw-rw-r--  1 nagios nagios  1374 Mar 12 12:21 action.gif

-rw-rw-r--  1 nagios nagios  1187 Mar 12 12:21 command.png

-rw-rw-r--  1 nagios nagios   900 Mar 12 12:21 comment.gif

-rw-rw-r--  1 nagios nagios  1476 Mar 12 12:21 contexthelp1.gif

-rw-rw-r--  1 nagios nagios  1406 Mar 12 12:21 contexthelp2.gif

-rw-rw-r--  1 nagios nagios  1385 Mar 12 12:21 critical.png

-rw-rw-r--  1 nagios nagios   966 Mar 12 12:21 delay.gif

-rw-rw-r--  1 nagios nagios  1124 Mar 12 12:21 delete.gif

-rw-rw-r--  1 nagios nagios   890 Mar 12 12:21 detail.gif

-rw-rw-r--  1 nagios nagios  1088 Mar 12 12:21 disabled.gif

-rw-rw-r--  1 nagios nagios   846 Mar 12 12:21 down.gif

-rw-rw-r--  1 nagios nagios   864 Mar 12 12:21 downtime.gif

-rw-rw-r--  1 nagios nagios   807 Mar 12 12:21 empty.gif

-rw-rw-r--  1 nagios nagios  1016 Mar 12 12:21 enabled.gif

-rw-rw-r--  1 nagios nagios  1040 Mar 12 12:21 extinfo.gif

-rw-rw-r--  1 nagios nagios   578 Mar 12 12:21 flapping.gif

-rw-rw-r--  1 nagios nagios   329 Mar 12 12:21 greendot.gif

-rw-rw-r--  1 nagios nagios 17934 Mar 12 12:21 histogram.png

-rw-rw-r--  1 nagios nagios   924 Mar 12 12:21 history.gif

-rw-rw-r--  1 nagios nagios   958 Mar 12 12:21 hostevent.gif

-rw-rw-r--  1 nagios nagios  1371 Mar 12 12:21 info.png

-rw-rw-r--  1 nagios nagios  1097 Mar 12 12:21 left.gif

-rw-rw-r--  1 nagios nagios 13011 Mar 12 12:21 logofullsize.jpg

drwxrwxr-x  2 nagios nagios  4096 Mar 12 12:21 logos

-rw-rw-r--  1 nagios nagios  1085 Mar 12 12:21 logrotate.png

-rw-rw-r--  1 nagios nagios  1003 Mar 12 12:21 ndisabled.gif

-rw-rw-r--  1 nagios nagios   921 Mar 12 12:21 noack.gif

-rw-rw-r--  1 nagios nagios  1594 Mar 12 12:21 notes.gif

-rw-rw-r--  1 nagios nagios   947 Mar 12 1

Re: [Nagios-users] Two maps

2007-03-26 Thread Andreas Brandino

ok, i will check it (i find it also to older mails)
However, isnt exactly what i want. I would like an interface similar with
the current nagios one.
Is out there any other project similar to nagvis???

Thanks

2007/3/26, Dinçer Kavraal <[EMAIL PROTECTED]>:


Check out NagVis Project for Nagios .
It's more than possible :)

Dinçer


2007/3/26, Brandino Andreas < [EMAIL PROTECTED]>:
>
> Hi list
>
> Is any way to make nagios create two maps???
> Nagios is monitoring a network and some nodes are geographically really
> close
> So i would like those specific nodes to appear in a new map  with
> larger scale
> Is this possible???
>
>
> Regards
>
> <> ---  ---  --- <>
> Brandino Andreas
> [EMAIL PROTECTED]
> <> ---  ---  --- <>
>
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys-and earn cash
>
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> Nagios-users mailing list
> Nagios-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] WRONG STATUS

2007-03-26 Thread Rob Blake

On 3/26/07, grace ingabire <[EMAIL PROTECTED]> wrote:


 Thanks Bob.



What about the DOWN STATUS that I'm receiving although the device is up.





define service{

use generic-service ; Name of service
template to use

host_name   cisco_

service_description PING

is_volatile 0

check_period24x7

max_check_attempts  6

normal_check_interval   2

retry_check_interval1

contact_groups  cpl

notification_optionsw,u,c,r

***notification_interval   120  *

notification_period 24x7

check_command   check_ping!30.0,1%!60.0,10%



nagiosVersion 2.0

 on FreeBSD 6.0

plugin version 1.4

Thanks








 --

*From:* Rob Blake [mailto:[EMAIL PROTECTED]
*Sent:* Monday, March 26, 2007 4:57 PM
*To:* grace ingabire
*Cc:* [EMAIL PROTECTED];
nagios-users@lists.sourceforge.net; [EMAIL PROTECTED]
*Subject:* Re: [Nagios-users] WRONG STATUS



I' m using nagiosVersion 2.0 , on FreeBSD 6.0 , plugin version 1.4



I HAVE CHANGED THE CONFIG AS REQUESTED BUT I'M STILL GETTING THE DOWN
STATUS ON THE DEVICE.

CAN I HAVE MORE DETAILS ON THE: check_command: check_ping!30.0,1%!60.0,10%


For what I know 30 stands for the response time in milliseconds for nagios
to deliver a warning status and 1 is the packet loss.

60ms is the critical status.



define service{

use generic-service ; Name of
service template to use

host_name   cisco_

service_description PING

is_volatile 0

check_period24x7

max_check_attempts  6

normal_check_interval   2

retry_check_interval1

contact_groups  cpl

notification_optionsw,u,c,r

notification_interval   120

notification_period 24x7

check_command   check_ping!30.0,1%!60.0,10%



Thanks.



Regards,



Grace


Your command definition as it stands will return a warning status if your
host responds outside of 30ms or there is => 1% packet loss. It will return
a critical status if the host takes longer than 60ms to respond or there is
=>10% packet loss.

Rob



Well from your service definition, I am assuming that the device is taking
longer than 60ms to respond or there is greater than 10% packet loss between
your Nagios Host and the router. What does running

ping 

show you from the command line of your Nagios Host?

Rob
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] WRONG STATUS

2007-03-26 Thread grace ingabire
Thanks Bob.

 

What about the DOWN STATUS that I'm receiving although the device is up.

 

 

define service{

use generic-service ; Name of service
template to use

host_name   cisco_

service_description PING

is_volatile 0

check_period24x7

max_check_attempts  6

normal_check_interval   2

retry_check_interval1

contact_groups  cpl

notification_optionsw,u,c,r

notification_interval   120  

notification_period 24x7

check_command   check_ping!30.0,1%!60.0,10%

 

nagiosVersion 2.0 

 on FreeBSD 6.0 

plugin version 1.4

Thanks

 

 

 

 

  _  

From: Rob Blake [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 26, 2007 4:57 PM
To: grace ingabire
Cc: [EMAIL PROTECTED];
nagios-users@lists.sourceforge.net; [EMAIL PROTECTED]
Subject: Re: [Nagios-users] WRONG STATUS

 

I' m using nagiosVersion 2.0 , on FreeBSD 6.0 , plugin version 1.4

 

I HAVE CHANGED THE CONFIG AS REQUESTED BUT I'M STILL GETTING THE DOWN STATUS
ON THE DEVICE.

CAN I HAVE MORE DETAILS ON THE: check_command: check_ping!30.0,1%!60.0,10% 

For what I know 30 stands for the response time in milliseconds for nagios
to deliver a warning status and 1 is the packet loss.

60ms is the critical status.   

 

define service{

use generic-service ; Name of
service template to use

host_name   cisco_

service_description PING

is_volatile 0

check_period24x7

max_check_attempts  6

normal_check_interval   2

retry_check_interval1

contact_groups  cpl

notification_optionsw,u,c,r

notification_interval   120

notification_period 24x7

check_command   check_ping!30.0,1%!60.0,10%

 

Thanks.

 

Regards,

 

Grace

  
Your command definition as it stands will return a warning status if your
host responds outside of 30ms or there is => 1% packet loss. It will return
a critical status if the host takes longer than 60ms to respond or there is
=>10% packet loss. 

Rob

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Two maps

2007-03-26 Thread Dinçer Kavraal

Check out NagVis Project for Nagios .
It's more than possible :)

Dinçer


2007/3/26, Brandino Andreas <[EMAIL PROTECTED]>:


Hi list

Is any way to make nagios create two maps???
Nagios is monitoring a network and some nodes are geographically really
close
So i would like those specific nodes to appear in a new map  with
larger scale
Is this possible???


Regards

<> ---  ---  --- <>
Brandino Andreas
[EMAIL PROTECTED]
<> ---  ---  --- <>


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] WRONG STATUS

2007-03-26 Thread Rob Blake

I' m using nagiosVersion 2.0 , on FreeBSD 6.0 , plugin version 1.4




I HAVE CHANGED THE CONFIG AS REQUESTED BUT I'M STILL GETTING THE DOWN
STATUS ON THE DEVICE.

CAN I HAVE MORE DETAILS ON THE: check_command: check_ping!30.0,1%!60.0,10%


For what I know 30 stands for the response time in milliseconds for nagios
to deliver a warning status and 1 is the packet loss.

60ms is the critical status.



define service{

use generic-service ; Name of
service template to use

host_name   cisco_

service_description PING

is_volatile 0

check_period24x7

max_check_attempts  6

normal_check_interval   2

retry_check_interval1

contact_groups  cpl

notification_optionsw,u,c,r

notification_interval   120

notification_period 24x7

check_command   check_ping!30.0,1%!60.0,10%



Thanks.



Regards,



Grace



Your command definition as it stands will return a warning status if your
host responds outside of 30ms or there is => 1% packet loss. It will return
a critical status if the host takes longer than 60ms to respond or there is
=>10% packet loss.

Rob
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] WRONG STATUS

2007-03-26 Thread grace ingabire
 

I’ m using nagiosVersion 2.0 , on FreeBSD 6.0 , plugin version 1.4

 

I HAVE CHANGED THE CONFIG AS REQUESTED BUT I'M STILL GETTING THE DOWN STATUS
ON THE DEVICE.

CAN I HAVE MORE DETAILS ON THE: check_command: check_ping!30.0,1%!60.0,10% 

For what I know 30 stands for the response time in milliseconds for nagios
to deliver a warning status and 1 is the packet loss.

60ms is the critical status.   

 

define service{

use generic-service ; Name of
service template to use

host_name   cisco_

service_description PING

is_volatile 0

check_period24x7

max_check_attempts  6

normal_check_interval   2

retry_check_interval1

contact_groups  cpl

notification_optionsw,u,c,r

notification_interval   120

notification_period 24x7

check_command   check_ping!30.0,1%!60.0,10%

 

Thanks.

 

Regards,

 

Grace

 

 

 

-Original Message-
From: Andy Shellam [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 25, 2007 12:13 PM
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] WRONG STATUS

 

Also, in your check_ping command definition, you're requesting the host 

respond within 30ms to be classed as up and OK.

 

This seems awfully quick - personally I request 1000ms (1 second) to 

give it a fair amount of time to respond.  If the host/router/whatever 

is busy, it could take slightly longer than 30ms to reply, causing a 

warning (or longer than 60ms to be 'down'.)

 

Andy.

 

Dinçer Kavraal wrote:

> Hi Grace,

> Try to increase max_check_attemps. Let nagios accept a host is in 

> DOWN status after at least 5 checks.

>  

> If it is important for you to be aware of a DOWN status of a host in 

> max. 2 minutes, then make nagios check intervals base on seconds 

> (instead of minutes). Then make max_check_attemps to be 6 but totally 

> taking 2 minutes with a delay of 20 seconds each.

>  

> Sorry for my English.

>  

> Dinçer

>  

> 2007/3/24, grace ingabire <[EMAIL PROTECTED] 

> >:

> 

> Hello,

> 

>  

> 

> I' m using nagiosVersion 2.0 and sometimes nagios delivers wrong

> status like the device is down as you can see it here although the

> device is not.

> 

>  

> 

> Notification Type: PROBLEM

> 

> Host: cisco_7204_157_194

> 

> State: DOWN

> 

> Address: 196.12.157.194 

> 

> Info: $

> 

>  

> 

> Date/Time: Sat Mar 24 09:35:48 CAT 2007

> 

>  

> 

> The service that has been defined is "ping"

> 

>  

> 

> define service{

> 

> use generic-service ;

> Name of servic

> 

> e template to use

> 

> host_name   cisco_7204_157_194

> 

> service_description PING

> 

> is_volatile 0

> 

> check_period24x7

> 

> max_check_attempts  2

> 

> normal_check_interval   2

> 

> retry_check_interval1

> 

> contact_groups  cpl

> 

> notification_optionsw,u,c,r

> 

> notification_interval   960

> 

> notification_period 24x7

> 

> check_command   check_ping!30.0,5%!60.0,10%

> 

>  

> 

> What could be the problem?

> 

> I would like to have more info on this

> check_command   check_ping!30.0,5%!60.0,10%

> 

>  

> 

> Thanks for your support

> 

>  

> 

>

> 

>  

> 

> 

>
-

> Take Surveys. Earn Cash. Influence the Future of IT

> Join SourceForge.net's Techsay panel and you'll get the chance to

> share your

> opinions on IT & business topics through brief surveys-and earn cash

>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

>


> ___

> Nagios-users mailing list

> Nagios-users@lists.sourceforge.net

> 

> https://lists.sourceforge.net/lists/listinfo/nagios-users

> 

> ::: Please include Nagios version, plugin version (-v) and OS when

> reporting any issue.

> ::: Messages without supporting info will risk being sent to /dev/null

> 

> 

> !DSPAM:37,460576b1103001524910340!

> ---

[Nagios-users] Two maps

2007-03-26 Thread Brandino Andreas
Hi list

Is any way to make nagios create two maps???
Nagios is monitoring a network and some nodes are geographically really close
So i would like those specific nodes to appear in a new map  with
larger scale
Is this possible???


Regards

<> ---  ---  --- <> 
Brandino Andreas
[EMAIL PROTECTED]
<> ---  ---  --- <> 


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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_procs with multiple args

2007-03-26 Thread Hari Sekhon
I currently use check_procs a lot, but am finding a limitation in either 
the plugin or my knowledge of it.

I want to check for a process with 3 args and the args can be in any 
order. I don't see how to do this as it takes a string after the -a 
switch this means that I have to have a predefined order for the args.

Is there a way, short of writing my own bash script for this, to do it?

Also, check_procs --help shows -a and --argument-array as the same thing 
but I am not sure how this array is supposed to be constructed as it 
says "STRING" after it.

Does it take an array or does it take a string?
If string then does it use the string like an array.

I have already tried to switch the position of args in the string to see 
if it will make a difference and it does, the plugin does not find the 
process.

-- 
Hari Sekhon


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: 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] Characters limit in service description

2007-03-26 Thread Kareem Mahgoub
Dear All,
Is there any character limits on the configuration files in Nagios?
If so, what is the variable to be changed in the source code in order to
increase this limit?
Nagios version 2.5
OS Fedora Core 4
Best Regards,
Kareem Mahgoub


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null