[Nagios-users] interval setup wont work

2007-01-16 Thread Daniel
Hi there,

i setup a host to check every 30secs btw every 60secs.

The last check  command was sheduled:

Last Check Time:   01-16-2007 11:54:11

Now 10 minutes are over and nothink happends:

Here my config for this host:

define host{
nameipv6; The name of this host 
template - referenced in other host definitions, used for template recurs$
notifications_enabled   1   ; Host notifications are enabled
event_handler_enabled   1   ; Host event handler is enabled
flap_detection_enabled  0   ; Flap detection is enabled
process_perf_data   1   ; Process performance data
retain_status_information   1   ; Retain status information 
across program restarts
retain_nonstatus_information1   ; Retain non-status information 
across program restarts
parents ipv6
register0   ; DONT REGISTER THIS DEFINITION 
- ITS NOT A REAL HOST, JUST A TEMPLATE!
}

define service{
; The 'name' of this service template, referenced in other service 
definitions
nameipv6
active_checks_enabled   1   ; Active service checks are 
enabled
passive_checks_enabled  0   ; Passive service checks are 
enabled/disabled
parallelize_check   1   ; Active service checks should 
be parallelized
; (disabling this can lead to 
major performance problems)
obsess_over_service 1   ; We should obsess over this 
service (if necessary)
check_freshness 0   ; Default is to NOT check 
service 'freshness'
notifications_enabled   1   ; Service notifications are 
disabled
event_handler_enabled   1   ; Service event handler is 
disabled
flap_detection_enabled  0   ; Flap detection is disabled
process_perf_data   1   ; Process performance data
retain_status_information   1   ; Retain status information 
across program restarts
retain_nonstatus_information1   ; Retain non-status information 
across program restarts

register0   ; DONT REGISTER THIS DEFINITION 
- ITS NOT A REAL SERVICE, JUST A TEMPLATE!
normal_check_interval   30
retry_check_interval30

   }



define host{
use ipv6
host_name   vs-uptime
alias   vs-uptime
address 89.106.71.100
check_command   check-host-alive
max_check_attempts  5
process_perf_data   0
retain_nonstatus_information0
contact_groups  IPv6
notification_interval   10
notification_period 24x7
notification_optionsd,u,r
}

define service{
use ipv6
host_name   vs-uptime
service_description PING
is_volatile 0
check_period24x7
max_check_attempts  1
normal_check_interval   1
retry_check_interval1
contact_groups  IPv6
notification_optionsw,u,c,r
notification_interval   10
notification_period 24x7
check_command   check_ping!100.0,40%!500.0,60%
}


In the nagios.cfg the normal check interval is set to 60secs.

Nothink seems to be work... :(


-- 
greetz daniel


-
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.phpp=sourceforgeCID=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] interval setup wont work

2007-01-16 Thread Arno Lehmann
Hi,

On 1/16/2007 12:09 PM, Daniel wrote:
 Hi there,
 
 i setup a host to check every 30secs btw every 60secs.
 
 The last check  command was sheduled:
 
 Last Check Time:   01-16-2007 11:54:11
 
 Now 10 minutes are over and nothink happends:
 
 Here my config for this host:

Your config shows an interval of 60.
The normal interval length is 1 minute.

You'll have to change your configuration accordingly.

This is all in the Manual, by the way.

Arno

 define host{
 nameipv6; The name of this host 
 template - referenced in other host definitions, used for template recurs$
 notifications_enabled   1   ; Host notifications are 
 enabled
 event_handler_enabled   1   ; Host event handler is 
 enabled
 flap_detection_enabled  0   ; Flap detection is enabled
 process_perf_data   1   ; Process performance data
 retain_status_information   1   ; Retain status information 
 across program restarts
 retain_nonstatus_information1   ; Retain non-status 
 information across program restarts
 parents ipv6
 register0   ; DONT REGISTER THIS 
 DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE!
 }
 
 define service{
 ; The 'name' of this service template, referenced in other service 
 definitions
 nameipv6
 active_checks_enabled   1   ; Active service checks are 
 enabled
 passive_checks_enabled  0   ; Passive service checks are 
 enabled/disabled
 parallelize_check   1   ; Active service checks 
 should be parallelized
 ; (disabling this can lead to 
 major performance problems)
 obsess_over_service 1   ; We should obsess over this 
 service (if necessary)
 check_freshness 0   ; Default is to NOT check 
 service 'freshness'
 notifications_enabled   1   ; Service notifications are 
 disabled
 event_handler_enabled   1   ; Service event handler is 
 disabled
 flap_detection_enabled  0   ; Flap detection is disabled
 process_perf_data   1   ; Process performance data
 retain_status_information   1   ; Retain status information 
 across program restarts
 retain_nonstatus_information1   ; Retain non-status 
 information across program restarts
 
 register0   ; DONT REGISTER THIS 
 DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE!
 normal_check_interval   30
 retry_check_interval30
 
}
 
 
 
 define host{
 use ipv6
 host_name   vs-uptime
 alias   vs-uptime
 address 89.106.71.100
 check_command   check-host-alive
 max_check_attempts  5
 process_perf_data   0
 retain_nonstatus_information0
 contact_groups  IPv6
 notification_interval   10
 notification_period 24x7
 notification_optionsd,u,r
 }
 
 define service{
 use ipv6
 host_name   vs-uptime
 service_description PING
 is_volatile 0
 check_period24x7
 max_check_attempts  1
 normal_check_interval   1
 retry_check_interval1
 contact_groups  IPv6
 notification_optionsw,u,c,r
 notification_interval   10
 notification_period 24x7
 check_command   check_ping!100.0,40%!500.0,60%
 }
 
 
 In the nagios.cfg the normal check interval is set to 60secs.
 
 Nothink seems to be work... :(
 
 

-- 
IT-Service Lehmann[EMAIL PROTECTED]
Arno Lehmann  http://www.its-lehmann.de

-
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.phpp=sourceforgeCID=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] Interval setup

2007-01-13 Thread Rob Blake

On 1/13/07, Daniel [EMAIL PROTECTED] wrote:


Hi all,

i want to setup different intervals on my checked hosts:

In this case i want that nagios checks every 60sec but it seems that
nagios wont do that.

Here a snip out of my config:

define host{
use generic-host
host_name   bla
alias   bla
address xx.xx.xx.xx
check_command   check-host-alive
max_check_attempts  7
contact_groups  IPv6
notification_interval   10
notification_period 24x7
notification_optionsd,u,r
}
define service{
use generic-service ; Name of
service template to use
host_name   bla
service_description PING
is_volatile 0
check_period24x7
max_check_attempts  1
normal_check_interval   1
retry_check_interval1
contact_groups  bla
notification_optionsw,u,c,r
notification_interval   60
notification_period 24x7
check_command   check_ping!100.0,20%!500.0,60%



It seems that he check every 5 minutes or so...

Any ideas? I use Nagios 2.6

--
greetz daniel




In your nagios.cfg, what is the timing_interval set to? Taken from the main
Nagios docs:

**This is the number of seconds per unit interval used for timing in the
scheduling queue, re-notifications, etc. Units intervals are used in the
object configuration file to determine how often to run a service check, how
often of re-notify a contact, etc.





-

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.phpp=sourceforgeCID=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.phpp=sourceforgeCID=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] Interval setup

2007-01-13 Thread Daniel
Guten Tag Rob Blake,

am Samstag, 13. Januar 2007 um 13:30 schrieben Sie:


 In your nagios.cfg, what is the timing_interval set to? Taken from the main
 Nagios docs:

 **This is the number of seconds per unit interval used for timing in the
 scheduling queue, re-notifications, etc. Units intervals are used in the
 object configuration file to determine how often to run a service check, how
 often of re-notify a contact, etc.

i cant find anythink about that:

[ »timing_interval« not found ] in nagios.cfg

I will try it with that command ;)


-- 
greetz daniel


-
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.phpp=sourceforgeCID=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] Interval setup

2007-01-13 Thread Daniel
Guten Tag Daniel,

am Samstag, 13. Januar 2007 um 19:25 schrieben Sie:

 Guten Tag Rob Blake,

 am Samstag, 13. Januar 2007 um 13:30 schrieben Sie:


 In your nagios.cfg, what is the timing_interval set to? Taken from the main
 Nagios docs:

 **This is the number of seconds per unit interval used for timing in the
 scheduling queue, re-notifications, etc. Units intervals are used in the
 object configuration file to determine how often to run a service check, how
 often of re-notify a contact, etc.

 i cant find anythink about that:

 [ »timing_interval« not found ] in nagios.cfg

 I will try it with that command ;)



Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 132 
(UNKNOWN VARIABLE)

*** One or more problems was encountered while processing the config files...

Was set to: timeing_interval=60 bzw timing_interval=60

both entries wont work...

-- 
greetz daniel


-
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.phpp=sourceforgeCID=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] Interval setup

2007-01-13 Thread Andy Shellam (Mailing Lists)
Along with the usual read the manual comment ;) ...

-
Timing Interval Length

This is the number of seconds per unit interval used for timing in the 
scheduling queue, re-notifications,
etc. Units intervals are used in the object configuration file to 
determine how often to run a
service check, how often of re-notify a contact, etc.

Format: interval_length=seconds
-

Your directive should therefore be interval_length=60

This is from the Nagios 2.x manual btw.

Andy.


Daniel wrote:
 Guten Tag Daniel,

 am Samstag, 13. Januar 2007 um 19:25 schrieben Sie:

   
 Guten Tag Rob Blake,
 

   
 am Samstag, 13. Januar 2007 um 13:30 schrieben Sie:
 


   
 In your nagios.cfg, what is the timing_interval set to? Taken from the main
 Nagios docs:
   

   
 **This is the number of seconds per unit interval used for timing in the
 scheduling queue, re-notifications, etc. Units intervals are used in the
 object configuration file to determine how often to run a service check, how
 often of re-notify a contact, etc.
   

   
 i cant find anythink about that:
 

   
 [ »timing_interval« not found ] in nagios.cfg
 

   
 I will try it with that command ;)
 



 Error in configuration file '/usr/local/nagios/etc/nagios.cfg' - Line 132 
 (UNKNOWN VARIABLE)

 *** One or more problems was encountered while processing the config 
 files

 Was set to: timeing_interval=60 bzw timing_interval=60

 both entries wont work...

   


-- 
Andy Shellam
NetServe Support Team

the Mail Network
an alternative in a standardised world

p: +44 (0) 121 288 0832/0839
m: +44 (0) 7818 000834


-
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.phpp=sourceforgeCID=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] Interval setup

2007-01-12 Thread Daniel
Hi all,

i want to setup different intervals on my checked hosts:

In this case i want that nagios checks every 60sec but it seems that
nagios wont do that.

Here a snip out of my config:

define host{
use generic-host
host_name   bla
alias   bla
address xx.xx.xx.xx
check_command   check-host-alive
max_check_attempts  7
contact_groups  IPv6
notification_interval   10
notification_period 24x7
notification_optionsd,u,r
}
define service{
use generic-service ; Name of 
service template to use
host_name   bla
service_description PING
is_volatile 0
check_period24x7
max_check_attempts  1
normal_check_interval   1
retry_check_interval1
contact_groups  bla
notification_optionsw,u,c,r
notification_interval   60
notification_period 24x7
check_command   check_ping!100.0,20%!500.0,60%



It seems that he check every 5 minutes or so...

Any ideas? I use Nagios 2.6

-- 
greetz daniel


-
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.phpp=sourceforgeCID=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