OT: announcement new versions of Nagios::WebTransact on CPAN

Stanley Hopcroft Stanley.Hopcroft at IPAustralia.Gov.AU
Thu Nov 6 23:14:43 CET 2003


Dear Ladies and Gentlemen,

I am sorry for this largely off topic letter about new versions of CPAN
modules intended to help develop Nagios service checks of Web
Transactions (fill out forms, web front ends for DBs and so on).

However, there are some people reading this list that may wish to try 
the new versions.

<off topic>

On CPAN you can find

Nagios-WebTransact-Timed-0.06 -- An object that provides a check method 
(usually called by a Nagios service check) to determine if a sequence of 
URLs can be got inside a time threshold, returning the times for each. 

Nagios-WebTransact-0.14 -- Class for generating Nagios service checks of Web transactions. 

The new class adds an option download_images that, after validating the
HTML of the page, downloads any images that have not already been
downloaded (in other words, more like a browser than formerly.)

This option is probably most useful to those wishing to validate 
outsourced services that may be subject to load balancing degradation 
(multiple paths to the service that may only be part functional so 
some of the incoming request stream - the independent GETs and POSTs 
comprising the elements of the page - fail and the customer sees a slow 
and partly broken page).

It is also interesting for site comparison. Here for example is a client 
downloading the start page from two intellectual property offices

tsitc> /usr/local/nagios/libexec/check_inter_perf -v -D 
www.IPAustralia.Gov.AU
--getting http://www.IPAustralia.Gov.AU/                                                                 
0.14 Total check time:  0.14                 
   http://www.IPAustralia.Gov.AU/_images/spacer.gif                                                      
0.13   image download time:  0.13            
   http://www.IPAustralia.Gov.AU/_images/header_line.gif                                                 
1.01   image download time:  1.14            
   http://www.IPAustralia.Gov.AU/_images/top_nav/about.gif                                               
0.39   image download time:  1.53            
   http://www.IPAustralia.Gov.AU/_images/top_nav/what_is.gif                                             
0.03   image download time:  1.56            
   http://www.IPAustralia.Gov.AU/_images/top_nav/patents.gif                                             
0.02   image download time:  1.58            
   http://www.IPAustralia.Gov.AU/_images/top_nav/trade_marks.gif                                         
0.02   image download time:  1.60            
   http://www.IPAustralia.Gov.AU/_images/top_nav/designs.gif                                             
0.04   image download time:  1.64            
   http://www.IPAustralia.Gov.AU/_images/top_nav/business.gif                                            
0.11   image download time:  1.75            
   http://www.IPAustralia.Gov.AU/_images/top_nav/resources.gif                                           
0.38   image download time:  2.13            
   http://www.IPAustralia.Gov.AU/_images/ip_logo.gif                                                     
0.03   image download time:  2.16            
   http://www.IPAustralia.Gov.AU/_images/quick_links.gif                                                 
0.07   image download time:  2.23            
   http://www.IPAustralia.Gov.AU/_images/site_search.gif                                                 
0.03   image download time:  2.26            
   http://www.IPAustralia.Gov.AU/_images/go_button.gif                                                   
0.04   image download time:  2.30            
   http://www.IPAustralia.Gov.AU/_images/arrow_blue_new.gif                                              
0.01   image download time:  2.31            
   http://www.IPAustralia.Gov.AU/_images/start.gif                                                       
0.07   image download time:  2.38            
   http://www.IPAustralia.Gov.AU/_images/online_services.gif                                             
0.03   image download time:  2.41            
   http://www.IPAustralia.Gov.AU/_images/os_tl.gif                                                       
0.03   image download time:  2.44            
   http://www.IPAustralia.Gov.AU/_images/os_arrow.gif                                                    
0.02   image download time:  2.46            
   http://www.IPAustralia.Gov.AU/_images/os_tr.gif                                                       
0.02   image download time:  2.48            
   http://www.IPAustralia.Gov.AU/_images/os_bl.gif                                                       
0.02   image download time:  2.50            
   http://www.IPAustralia.Gov.AU/_images/os_br.gif                                                       
0.01   image download time:  2.51            
   http://www.IPAustralia.Gov.AU/_images/ip_information.gif                                              
0.03   image download time:  2.54            
   http://www.IPAustralia.Gov.AU/_images/arrow_blue.gif                                                  
0.04   image download time:  2.58            
   http://www.IPAustralia.Gov.AU/_images/swap_smart.gif                                                  
0.03   image download time:  2.61            
   http://www.IPAustralia.Gov.AU/_images/latest_news.gif                                                 
0.05   image download time:  2.66            
   http://www.IPAustralia.Gov.AU/_images/crest.gif                                                       
0.07   image download time:  2.73            
                                                                                                               
Total page download time:  2.87
Internet performance via "Foo" Transaction 
completed Ok. avg: 2.87 stddev: undef  5 worst: 2.87

tsitc> /usr/local/nagios/libexec/check_inter_perf -v -D www.USPTO.Gov
--getting http://www.USPTO.Gov/                                                                          
0.12 Total check time:  0.12                 
   http://www.USPTO.Gov/images/blank.gif                                                                 
0.01   image download time:  0.01            
   http://www.USPTO.Gov/images/uspto_seal_120.gif                                                        
0.01   image download time:  0.02            
   http://www.USPTO.Gov/images/20file.gif                                                                
0.01   image download time:  0.03            
   http://www.USPTO.Gov/images/20status.gif                                                              
0.01   image download time:  0.04            
   http://www.USPTO.Gov/images/20search.gif                                                              
0.01   image download time:  0.05            
   http://www.USPTO.Gov/images/newsheadlines/clickinventors2.gif                                         
0.01   image download time:  0.06            
   http://www.USPTO.Gov/images/newsheadlines/kurzweil.jpg                                                
0.01   image download time:  0.07            
   http://www.USPTO.Gov/images/fisrtgovsmall.gif                                                         
0.01   image download time:  0.08            
   http://www.USPTO.Gov/main/profiles/kids20.gif                                                         
0.01   image download time:  0.09            
                                                                                                               
Total page download time:  0.21
Internet performance via "Foo" Transaction 
completed Ok. avg: 0.21 stddev: undef  5 worst: 0.21

Finally, this code is pretty ordinary. It meets my purposes and some 
others, but new Nagios service checks  may be better off employing 
WWW::Automate.

And now back to your normal program.

</off topic>

Yours sincerely.


-- 
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------

'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'

from Meditation 17, J Donne.


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list