Hi all, there where some problems using the stats interface with external scripts. For this reason the usage of the stats interface is changed
'webStatPort','Raw Statistics Port', 'The port on which ASSP will listen for http or telnet connections to the statistics interface. You may also supply an IP address to limit connections to a specific interface. Only one value is supported!<br /> The stats are available via browser or telnet (or telnet similar socket). Using telnet, press ENTER two times to get the healthy state (\'healthy[CRLF]\' or \'not healthy[CRLF]\' in a single line), this is the recommended methode to get the \'UP\'-state of assp from nagios or any other external script.<br /> Type \'stat[ENTER][ENTER]\' to get the STATS in raw text where each line is terminated with \'[CR]LF\' (CR is send in any case, if the request contains CR).<br /> The HTML output are LF terminated STAT lines.<p><small><i>Examples:</i> 55553, 192.168.0.5:12345</small></p>' How ever, the external script should close the connection after reading all data from the socket. ASSP will close the connection if all data where sent - ASSP will not wait for a QUIT! Thomas DISCLAIMER: ******************************************************* This email and any files transmitted with it may be confidential, legally privileged and protected in law and are intended solely for the use of the individual to whom it is addressed. This email was multiple times scanned for viruses. There should be no known virus in this email! ******************************************************* ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Assp-test mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/assp-test
