[mrtg] minus one as a value
Bob Van Cleef
vancleef at microunity.com
Fri Jun 29 02:15:18 MEST 2001
I'm trying to track vmstat stuff on a solaris box. When I run mrtg
manually, I always get the correct values. However, when run out of cron
(same userid) it often gets "-1" for values. I've found no clues in the
docs or FAQs as to the meaning of "-1" in the log file.
Here is the top of the log when I run it...
993773127 4100408 581048
993773127 4100408 581048 4100408 581048
993772961 1 1 1 1
993772800 2200591 311930 4100512 581280
993772500 1886242 267368 4100536 581256
993772200 1 1 1 1
993771900 683679 97179 4102120 583128
993771600 1 1 1 1
993771300 1 1 1 1
993771000 1 1 1 1
993770700 1 1 1 1
Here is the top of the log a little bit later.
993773261 -1 -1
993773261 1 1 1 1
993773127 4100408 581048 4100408 581048
993773100 1899856 269219 4100408 581048
993772800 2200591 311930 4100512 581280
993772500 1886242 267368 4100536 581256
993772200 1 1 1 1
993771900 683679 97179 4102120 583128
Config details below. I have tried playing with MaxBytes and
AbsMax, thinking that might be the issue, but no luck.
Bob
--
><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><> ><>
Bob Van Cleef, Member of Technical Staff (408) 734-8100
MicroUnity Systems Engineering, Inc. FAX (408) 734-8136
376 Martin Ave., Santa Clara, CA 95050 vancleef at microunity.com
# Date[caddy-swap]: Wed Jun 27 12:50:00 PDT 2001
# Creator[caddy-swap]: Bob Van Cleef
# Comment[caddy-swap]:
Target[caddy-swap]:`/s1/mrtg/tools/dotelnet.sh caddy 1986`
MaxBytes[caddy-swap]: 4500000
Title[caddy-swap]: Caddy Swap Availability
PageTop[caddy-swap]: <H1>Caddy Swap Availability
</H1>
<TABLE>
<TR><TD>System:</TD><TD>Caddy</TD></TR>
<TR><TD>Maintainer:</TD><TD>sysadm at microunity.com</TD></TR>
<TR><TD>Interface:</TD><TD>Swap Availability</TD></TR>
<TR><TD>IP:</TD><TD>caddy.microunity.com</TD></TR>
<TR><TD>MaxSpeed:</TD>
<TD></TD></TR>
</TABLE>
AbsMax[caddy-swap]: 500000000
Options[caddy-swap]: gauge
YLegend[caddy-swap]: Swap Availability
ShortLegend[caddy-swap]: efforts
Legend1[caddy-swap]: amount of swap space currently available (Kbytes)
Legend2[caddy-swap]: size of the free list (Kbytes)
Legend3[caddy-swap]: Highest amount of swap space available
Legend4[caddy-swap]: Highest amount on the free list
-------------------------------------------------------------------
The output of `/s1/mrtg/tools/dotelnet.sh caddy 1986` looks like this.
vancleef [1235] > /s1/mrtg/tools/dotelnet.sh caddy 1986
4099784
580424
16 day(s), 19:1
caddy
vancleef [1236] >
This is how the data is collected:
root [591] > vmstat 1 4
procs memory page disk faults cpu
r b w swap free re mf pi po fr de sr s0 s1 -- -- in sy cs us sy id
0 0 0 10952 23576 0 8 4 7 12 0 1 6 0 0 0 492 955 257 6 2 92
0 0 0 4099288 579368 0 312 0 0 0 0 0 0 0 0 0 420 479 156 0 1 98
0 0 0 4099808 579864 0 0 0 0 0 0 0 0 0 0 0 408 119 78 0 0 100
0 0 0 4099808 579880 0 0 0 16 16 0 0 2 0 0 0 456 508 161 0 0 100
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list