Well, that implies the python check does not wait long enough, therefore not returning a proper exit code?
hth paul > Hi Henry, > well.... it still doesn't work. > I've a master and a distributed, I modified both nagios.cfg > service_check_timeout=60 > > and on master, added to opsview.conf the line > $service_check_timeout=60; > > (60 is enough, usually the check needs no more than 20, 25 sec) > reloaded the config... nothing, still (Service Check Timed Out) as output. > > Have you any other idea for my problem? > Thank you very much for support! > > Il 19/07/2010 17.49, Henry ha scritto: >> Then you're hitting the service_check_timeout of Nagios. I think i >> remember you're able to override it in opsvie.conf, try adding a line >> like: >> service_check_timeout=120 >> To get a 120 second timeout. And reload your Opsview config. >> >> You should also see the timeout pararmter it in the generated nagios.cfg >> (somwhere at nagios/configs/Master Monitoring Server/nagios.cfg). >> >> >> On Mo, 2010-07-19 at 17:28 +0200, Raffaello Poltronieri - Eutelia SpA >> wrote: >> >>> My check queries in SNMP protocol: no nrpe. To be honest, I wrote >>> "my", but just to specify that's a custom check: it is pulled from a >>> site: >>> http://www.matthewjwhite.co.uk/blog/2010/02/09/monitoring-esxi-server-health-using-nagiosopsview/ >>> and it's written in pyton. >>> It works great, but it needs more than 10 seconds. And, I don't see >>> any option to extend time of timeout... >>> Thank you for support Henry >>> >>> >>> Il 19/07/2010 16.53, Henry ha scritto: >>> >>>> Then I guess you use NRPE (check_nrpe) for your check. check_nrpe >>>> features a '-t <timeout>' switch, default is 10 seconds. So you have >>>> to >>>> edit the service check configuration to include the -t <timeout> >>>> argument. >>>> >>>> On Mo, 2010-07-19 at 16:30 +0200, Raffaello Poltronieri - Eutelia SpA >>>> wrote: >>>> >>>> >>>>> No Henry, >>>>> I'd like Opsview to be "more patient": my check needs more time to >>>>> perorm a result: as is now, I only receive a "check time out" with a >>>>> critical sttus in Opsview >>>>> >>>>> >>>>> Il 19/07/2010 16.05, Henry ha scritto: >>>>> >>>>> >>>>>> You want to speed up your check? >>>>>> >>>>>> >>>>>> >>>>>> >>>>> _______________________________________________ >>>>> Opsview-users mailing list >>>>> [email protected] >>>>> http://lists.opsview.org/lists/listinfo/opsview-users >>>>> >>>>> >>>> _______________________________________________ >>>> Opsview-users mailing list >>>> [email protected] >>>> http://lists.opsview.org/lists/listinfo/opsview-users >>>> >>>> >>>> >>> _______________________________________________ >>> Opsview-users mailing list >>> [email protected] >>> http://lists.opsview.org/lists/listinfo/opsview-users >>> >> _______________________________________________ >> Opsview-users mailing list >> [email protected] >> http://lists.opsview.org/lists/listinfo/opsview-users >> >> > _______________________________________________ > Opsview-users mailing list > [email protected] > http://lists.opsview.org/lists/listinfo/opsview-users > _______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
