mrtg/uptime.pl@e41fe78aeff0
mrtg/uptime.pl
Mon, 06 Apr 2009 12:50:20 +0200
- author
- Michael Schloh von Bennewitz <michael@schloh.com>
- date
- Mon, 06 Apr 2009 12:50:20 +0200
- changeset 141
- e41fe78aeff0
- parent 136
-
ca197d884ebd
- child 160
-
1a36468e720c
- permissions
- -rw-r--r--
Silence warnings to stderr such as 'Truncating oversized request field'
which are commonly caused by httpd(1) logging virus and worm buffer
overflow attempts. This is of no use to a automated monitoring system
such as the one this package provides through its runcommands.
3 ## uptime.pl: provide formatted uptime(1) information
8 $hostname = `hostname`;
10 $uptime =~ /up (.*?) day/;