[zenoss-zenpacks] Re: Newbie: ApacheMonitor Zenpack Problems

Chet Luther cluther at zenoss.com
Sun Dec 30 16:51:31 EST 2007


> ideally, in check_apache.py when it goes
>
> Code:
>  if response.status != 200:
>                print response.reason
>                sys.exit(1)
>
>
> it would be better to do something like:
>
>
> Code:
>  if response.status != 200:
>                print 'Server replied: ' + response.status + ' ' +  
> response.reason + ' to action GET ' + self.url
>                sys.exit(1)

This would be more helpful. I've created a ticket for it. Thanks!

Ticket #2514:
http://dev.zenoss.org/trac/ticket/2514



More information about the zenoss-zenpacks mailing list