<div><span class="listing-desc">I found the following info: as below.</span></div>
<div><span class="listing-desc">I downloaded the file lwp-download-speed. How do i install it for nagios? Do i also have to install perl? How do i do this?</span></div>
<div><span class="listing-desc"></span> </div>
<div><span class="listing-desc"></span> </div>
<div><span class="listing-desc"></span> </div>
<div><span class="listing-desc"></span> </div>
<div><span class="listing-desc">lwp-download-speed is a nagios-plugin based on the perl-download-program "lwp-download". This plugin is useful to measure the speed of a http-download.</span> </div>
<div class="listing-fulldesc">Requirements: perl, lwp <br><br>Command-Definition: <br>define command{ <br>command_name check_http_speed <br>command_line $USER1$/lwp-download-speed -w $ARG1$ -c $ARG2$ -H $ARG3$ -u $ARG4$ <br>
} </div>
<div class="listing-fulldesc"> </div>
<div class="listing-fulldesc"><strong><em>I inserted this code into the commands.cfg file</em></strong><br><br>Check-Command for Service(WEBSPEED): <br>check_command check_http_speed!200!100!<a href="http://server.example.com">server.example.com</a>!/big_file.img <br>
</div>
<div class="listing-fulldesc"> </div>
<div class="listing-fulldesc"><strong><em>I inserted this code into the localhost file as i want to download a file on the localhost 500k file every hour to measure how long it takes.</em></strong></div>
<div class="listing-fulldesc"><br>NagiosGrapher: <br>define ngraph{ <br>service_name WEBSPEED <br>graph_log_regex (d+) w*B/w+ <br>graph_value http_speed <br>graph_units KB/sec <br>graph_legend HTTP download speed <br>rrd_plottype AREA <br>
rrd_color c0c0ff <br>} </div>
<div class="listing-fulldesc"> </div>
<div class="listing-fulldesc"> </div>
<div class="listing-fulldesc"><strong><em>Where do i insert this code to have the grah??</em></strong></div>
<div class="listing-fulldesc"><strong><em></em></strong> </div>
<div class="listing-fulldesc"><strong><em></em></strong> </div>
<div class="listing-fulldesc"><em>Please reply!</em></div>