Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

The up.time Linux and UNIX agents do not list external volumes by default in their file system capacity listing. This configuration ensures that shared external volumes are not double counted in capacity planning reports. We generally recommend monitoring external volume capacity from the host that is hosting the volumes. 


However, to change this default behavior on a specific target agent, look within the /opt/uptime-agent/bin/perfparse.sh or/opt/uptime-agent/bin/df-k.sh file and change the following line:

Code Block
Original line: $DFBIN -lk 
Updated line: $DFBIN -k

...

For the Solaris agent you may also need to remove the following from the df-k command in the /opt/uptime-agent/bin/perfparse.sh:

"{ if ( index( $1, ":" ) <= 0 )" and 1 of the 3 "}" at the end otherwise this will filter out any of the mounts that have a ":" in the name. 

Code Block
Original line: $DFBIN -lk | fgrep -v "dmpfs" | fgrep -v "/proc" | fgrep -v "/dev/fd" | fgrep
-v "/dev/null" | grep -v "^swap" | fgrep -v "/cdrom" | fgrep -v "/net" | fgrep -
v "/etc/mnttab" | fgrep -v "/var/run" | $AWKBIN '{ if ( index( $1, ":" ) <= 0 )
{ if ($2=="") { fs=$1; getline; print fs " " $0 } else { print $0 } } }' | tail
+2

Updated line: $DFBIN -lk | fgrep -v "dmpfs" | fgrep -v "/proc" | fgrep -v "/dev/fd" | fgrep
-v "/dev/null" | grep -v "^swap" | fgrep -v "/cdrom" | fgrep -v "/net" | fgrep -
v "/etc/mnttab" | fgrep -v "/var/run" | $AWKBIN '{ if ($2=="") { fs=$1; getline; print fs " " $0 } else { print $0 } }' | tail
+2

...