tom472 / mediabox

Container based media tools configuration
MIT License
431 stars 84 forks source link

cAdvisor issues #15

Closed danipolo closed 7 years ago

danipolo commented 7 years ago

Hi,

This is failing for me. Ubuntu 16 fresh install.

cadvisor          | E1009 01:50:09.556386       1 fsHandler.go:121] failed to collect filesystem stats - rootDiskErr: <nil>, rootInodeErr: cmd [find /rootfs/var/lib/docker/overlay/25a7654e8e7acc566035c79e30a88e7d14134e6e58b9bdd8da167ae5989f3afd -xdev -printf .] failed. stderr: find: unrecognized: -printf
cadvisor          | BusyBox v1.24.2 (2017-01-18 14:13:46 GMT) multi-call binary.
cadvisor          | 
cadvisor          | Usage: find [-HL] [PATH]... [OPTIONS] [ACTIONS]
cadvisor          | 
cadvisor          | Search for files and perform actions on them.
cadvisor          | First failed action stops processing of current file.
cadvisor          | Defaults: PATH is current directory, action is '-print'
cadvisor          | 
cadvisor          |     -L,-follow  Follow symlinks
cadvisor          |     -H      ...on command line only
cadvisor          |     -xdev       Don't descend directories on other filesystems
cadvisor          |     -maxdepth N Descend at most N levels. -maxdepth 0 applies
cadvisor          |             actions to command line arguments only
cadvisor          |     -mindepth N Don't act on first N levels
cadvisor          |     -depth      Act on directory *after* traversing it
cadvisor          | 
cadvisor          | Actions:
cadvisor          |     ( ACTIONS ) Group actions for -o / -a
cadvisor          |     ! ACT       Invert ACT's success/failure
cadvisor          |     ACT1 [-a] ACT2  If ACT1 fails, stop, else do ACT2
cadvisor          |     ACT1 -o ACT2    If ACT1 succeeds, stop, else do ACT2
cadvisor          |             Note: -a has higher priority than -o
cadvisor          |     -name PATTERN   Match file name (w/o directory name) to PATTERN
cadvisor          |     -iname PATTERN  Case insensitive -name
cadvisor          |     -path PATTERN   Match path to PATTERN
cadvisor          |     -ipath PATTERN  Case insensitive -path
cadvisor          |     -regex PATTERN  Match path to regex PATTERN
cadvisor          |     -type X     File type is X (one of: f,d,l,b,c,...)
cadvisor          |     -perm MASK  At least one mask bit (+MASK), all bits (-MASK),
cadvisor          |             or exactly MASK bits are set in file's mode
cadvisor          |     -mtime DAYS mtime is greater than (+N), less than (-N),
cadvisor          |             or exactly N days in the past
cadvisor          |     -mmin MINS  mtime is greater than (+N), less than (-N),
cadvisor          |             or exactly N minutes in the past
cadvisor          |     -newer FILE mtime is more recent than FILE's
cadvisor          |     -inum N     File has inode number N
cadvisor          |     -user NAME/ID   File is owned by given user
cadvisor          |     -group NAME/ID  File is owned by given group
cadvisor          |     -size N[bck]    File size is N (c:bytes,k:kbytes,b:512 bytes(def.))
cadvisor          |             +/-N: file size is bigger/smaller than N
cadvisor          |     -links N    Number of links is greater than (+N), less than (-N),
cadvisor          |             or exactly N
cadvisor          |     -prune      If current file is directory, don't descend into it
cadvisor          | If none of the following actions is specified, -print is assumed
cadvisor          |     -print      Print file name
cadvisor          |     -print0     Print file name, NUL terminated
cadvisor          |     -exec CMD ARG ; Run CMD with all instances of {} replaced by
cadvisor          |             file name. Fails if CMD exits with nonzero
cadvisor          |     -exec CMD ARG + Run CMD with {} replaced by list of file names
cadvisor          |     -delete     Delete current file/directory. Turns on -depth option
cadvisor          | ; err: exit status 1, extraDiskErr: <nil>
tom472 commented 7 years ago

OK This I'll have to look into .. not sure what's causing it.

tom472 commented 7 years ago

OK I have currently pulled cAdvisor - I was unable to track down what was causing the errors. Taking a look over at the official cAdvisor page shows there may be some issues with the image to get worked out.

I'll either continue to try and fix cAdvisor or find a replacement monitoring option.

Any suggestions?

tom472 commented 7 years ago

Closing this issue - cAdvisor has been replaced with NetData