Error: Invalid max_attempts, check_interval, r etry_interval, or notification_interval value for service 'Port Scans'on host 'gate'

Bishop, Dean dean.bishop at tcdsb.org
Thu Oct 10 14:06:31 CEST 2002


yes, i think that you are fine.  Where do you see a "P"?  i am guessing that
this means pending, which is the expected state.



-----Original Message-----
From: Christophe Zwecker [mailto:czwecker at sysctl.de]
Sent: Thursday, October 10, 2002 8:03 AM
To: Bishop, Dean
Cc: nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval,
r etry_interval, or notification_interval value for service 'Port
Scans'on host 'gate'


hi , thx for your input.

Im trying to setup a sensor for Portsentry (which runs on our gateway)

as per Nagios Dokumentation:
http://nagios.sourceforge.net/docs/1_0/int-portsentry.html

Now I just inserted a cmd (check_procs) and set check_period to none.
Now I see a big "P" next to the service on the Nagios page. Hope thats
ok, im gonna try a portscan now

On Thu, 2002-10-10 at 13:45, Bishop, Dean wrote:
> that depends on what you are trying to accomplish here.
> 
> i am going to guess that you are setting up a passive check.  Provided
that
> this is the case then just use any valid command from checkcommands.cfg
> (e.g. check_host_alive) and set its check_period to "none" and provide
valid
> parameters for the rest of the required service parameters.
> 
> If you want a dummy check then use check_dummy![0/1/2]
> 0=OK,1=WARNING,2=CRITICAL
> 
> hth,
> dean
> 
> -----Original Message-----
> From: Christophe Zwecker [mailto:czwecker at sysctl.de]
> Sent: Thursday, October 10, 2002 7:28 AM
> To: Bishop, Dean
> Cc: nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Error: Invalid max_attempts, check_interval,
> r etry_interval, or notification_interval value for service 'Port
> Scans'on host 'gate'
> 
> 
> yeah, thx alot, fixed that, however now nagios tells me the check_none
> cmd is not defined, thats true, but how would that definition have to
> look like in checkcommands.cfg ?
> 
> best regards,
> 
> Christophe
> 
> On Wed, 2002-10-09 at 17:34, Bishop, Dean wrote:
> > you must specify a normal_check_interval and retry_check_interval
> > 
> > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service
> > 
> > -----Original Message-----
> > From: Christophe Zwecker [mailto:czwecker at sysctl.de]
> > Sent: Wednesday, October 09, 2002 10:48 AM
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Error: Invalid max_attempts, check_interval,
> > retry_interval, or notification_interval value for service 'Port
> > Scans'on host 'gate'
> > 
> > 
> > Hi,
> > 
> > im trying to implement portsentry into nagios, I did as in Documention
> > my services entry is as follows:
> > 
> > define service{
> > 	host_name                       gate
> > 	service_description             Port Scans
> > 	is_volatile                     1
> > 	active_checks_enabled		0
> > 	passive_checks_enabled		1
> > 	max_check_attempts              1
> > 	contact_groups                  linux-admins
> > 	notification_interval           120
> > 	notification_period             24x7
> > 	notification_options            w,u,c,r
> > 	check_command                   check_none
> > 	}
> > 
> > when restarting nagios  I get this:
> > Error: Invalid max_attempts, check_interval, retry_interval, or
> > notification_interval value for service 'Port Scans'
> > on host 'gate'
> > 
> > whats wrong ?
> > 
> > thx and best regards,
> > 
> > Christophe
> > 
> > 
> > -- 
> > Christophe Zwecker
> > :Sysctl				
> > Susannenstr. 26-28		
> > 20357 Hamburg			
> > phon/fax: +49 40 43099296/7		
> > mail: czwecker at sysctl.de
> > 
> > 
> > 
> > -------------------------------------------------------
> > This sf.net email is sponsored by:ThinkGeek
> > Welcome to geek heaven.
> > http://thinkgeek.com/sf
> > _______________________________________________
> > Nagios-users mailing list
> > Nagios-users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagios-users
> -- 
> Christophe Zwecker
> :Sysctl				
> Susannenstr. 26-28		
> 20357 Hamburg			
> phon/fax: +49 40 43099296/7		
> mail: czwecker at sysctl.de
-- 
Christophe Zwecker
:Sysctl				
Susannenstr. 26-28		
20357 Hamburg			
phon/fax: +49 40 43099296/7		
mail: czwecker at sysctl.de


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list