#43644: xymon-client port on Mac OS X cannot handle volumes with spaces in name ------------------------------------------------+----------------------- Reporter: MacPorts.ORG@… | Owner: fclaire@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: xymon-server, xymon, xymon-client | ------------------------------------------------+----------------------- Comment (by MacPorts.ORG@…): Merci François :-) I believe there are two issues here: (1) Why does this ''xymonclient-darwin.sh'' script output what it does, with all the ''awk'' massaging etc., instead of just the "raw" ''df''/''df -i'' output. What does the server side expect as input? (2) Where in the server-side code is this output processed? Because even with my current diffs above, nothing I have tried RE-wise on the server side gets it to recognize a partition/volume name with spaces in it. In other words, this entry {{{ HOST=macmini DISK %(?-i)^.*/Volumes/Time 98 99 INODE %(?-i)^.*/Volumes/Time 98 99 }}} works to suppress the alerts; this {{{ HOST=macmini DISK %(?-i)^.*/Volumes/Time\sMachine\sBackups 98 99 INODE %(?-i)^.*/Volumes/Time\sMachine\sBackups 98 99 }}} does not. The latter results in an alert reading {{{ red Fri May 9 12:03:20 PDT 2014 - Filesystems NOT ok &red <!-- ID=/Volumes/Time Machine Backups --> /Volumes/Time Machine Backups (97% used) has reached the PANIC level (95%) &yellow <!-- ID=/Volumes/Macintosh HD --> /Volumes/Macintosh HD (93% used) has reached the WARNING level (90%) Filesystem itotal iused ifree %iused Mounted /dev/disk0s2 237145994 178215621 58930373 75% / /dev/disk1s2 244106666 237239564 6867102 97% /Volumes/Time Machine Backups /dev/disk0s4 4347580 101211 4246369 2% /Volumes/BOOTCAMP /dev/disk2s2 176632084 164649661 11982423 93% /Volumes/Macintosh HD /dev/disk2s4 9538076 81941 9456135 1% /Volumes/BOOTCAMP 1 }}} so even though the ''df'' output is 'correct', something on the server end is not matching the volume string. I don't know where that code is. (I also don't understand where the "'''<!-- ID='''"/"'''-->'''" comes from.) (''In case that output looks confusing, I have the machine my current one replaced connected via FireWire Target Mode.'') -- Ticket URL: <https://trac.macports.org/ticket/43644#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X