article Enable Linux/Unix NFS mount capacity monitoring

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:

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.


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


To verify that this change now shows your new drives, use the Poll Agent tool under the Info & Rescan tab for your target agent and validate that the df-k section includes all volumes you are interested in monitoring.

Related Articles


Linux or UNIX agent is not responding

RatingViews
article

By: uptime Support | Date Created: 10-25-2005 | Last Modified: 7-14-2011 | Index: 034

  6694

Ensuring that a non-Windows agent is listening

RatingViews
article

Learn how to determine if a non-Windows agent is listening from within the up.time user interface.

By: uptime Support | Date Created: 1-2-2007 | Last Modified: 7-5-2011 | Index: 112

  3098

Installing up.time on 64-bit Red Hat Enterprise Linux 6

RatingViews
article

Outlines which 32-bit libraries are needed for 64-bit RHEL installations.

By: uptime Support | Date Created: 5-27-2011 | Last Modified: 10-31-2011 | Index: 521

  4293

Does up.time monitor Windows mount points?

RatingViews
article

Yes, as of up.time 5.3 Windows systems can be monitored for mount point capacity via the WMI agentless monitoring capability.

By: uptime Support | Date Created: 6-30-2010 | Last Modified: 8-10-2011 | Index: 457

  1939

How to add or enable a non-root up.time user on ESX4

RatingViews
article

To add a non-root user to your ESX server for the purposes of up.time monitoring please follow these steps. NOTE: You may find that an ESX 3.x server monitored with up.time that has been upgraded...

By: uptime Support | Date Created: 8-25-2010 | Last Modified: 8-13-2011 | Index: 494

  1828

User Comments



No comments have been posted.

Copyright © 2021 IDERA, Inc.   Legal   Privacy Statement