Re: netsnmp-5.4.2.1 and Solaris 10/X86 with ZFS

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <OFBEFAA501.37C01E12-ON85257569.00427FEB-85257569.0042CC18@sybase.com>
Yes.  we have some highly transactional file systems which we monitor. If 
they
go over 10-15% use, it indicates a problem and we need to move quickly to
resolve the issue.  The file systems in question are small SSD's so if we 
hit
10%, we don't have long before we could be dealing with an outage.





"Brian A. Seklecki" <[email protected]> 
02/25/2009 07:28 PM

To
[email protected]
cc
[email protected], [email protected], 
[email protected]
Subject
Re: netsnmp-5.4.2.1 and Solaris 10/X86 with ZFS








Isn't the "##%" supposed to indicate the "percent free to warn at"

So, "10%" would send an SNMP trap at, or below, 10% free on the partition
mounpoint?

At least that's the way it works on *BSD.

  ~BAS
Ben, 

Your statement is correct. 

Thanks 




Ben Taylor/SYBASE 
02/25/2009 11:41 AM 


To
[email protected] 
cc
Bechara Rizk/SYBASE@SybaseNotes, Gordon Douglass/SYBASE@SybaseNotes 
Subject
netsnmp-5.4.2.1 and Solaris 10/X86 with ZFS








I have built a rather stock netsnmp-5.4.2.1 for our environment, and now 
the local EM7 
guy is complaining that our ZFS file system isn't getting monitored like 
it should. 

Here's the basics from the snmpd.conf file: 

disk /backup 95% 
disk /opt 99% 

After restarting snmpd, I get the following response: 

# snmpwalk -v 2c -c localhost localhost dsk 

UCD-SNMP-MIB::dskIndex.1 = INTEGER: 1 
UCD-SNMP-MIB::dskIndex.2 = INTEGER: 2 
UCD-SNMP-MIB::dskPath.1 = STRING: /backup 
UCD-SNMP-MIB::dskPath.2 = STRING: /opt 
UCD-SNMP-MIB::dskDevice.1 = STRING: backup 
UCD-SNMP-MIB::dskDevice.2 = STRING: /dev/md/dsk/d50 
UCD-SNMP-MIB::dskMinimum.1 = INTEGER: -1 
UCD-SNMP-MIB::dskMinimum.2 = INTEGER: -1 
UCD-SNMP-MIB::dskMinPercent.1 = INTEGER: 95 
UCD-SNMP-MIB::dskMinPercent.2 = INTEGER: 99 
UCD-SNMP-MIB::dskTotal.2 = INTEGER: 43705672 
UCD-SNMP-MIB::dskAvail.2 = INTEGER: 42299632 
UCD-SNMP-MIB::dskUsed.2 = INTEGER: 968983 
UCD-SNMP-MIB::dskPercent.2 = INTEGER: 2 
UCD-SNMP-MIB::dskPercentNode.2 = INTEGER: 0 
UCD-SNMP-MIB::dskErrorFlag.2 = INTEGER: error(1) 
UCD-SNMP-MIB::dskErrorMsg.2 = STRING: /opt: less than 99% free (= 2%) 


The df -k from the system in question looks like: 


Filesystem           1K-blocks      Used Available Use% Mounted on 
/dev/md/dsk/d10        2058319    151311   1845259   8% / 
swap                   8340536      1232   8339304   1% /etc/svc/volatile 
/dev/md/dsk/d60        8262869   4078888   4101353  50% /usr 
/platform/sun4u-us3/lib/libc_psr/libc_psr_hwcap1.so.1 
                       2058319    151311   1845259   8% 
/platform/sun4u-us3/lib/libc_psr.so.1 
/platform/sun4u-us3/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1 
                       2058319    151311   1845259   8% 
/platform/sun4u-us3/lib/sparcv9/libc_psr.so.1 
/dev/md/dsk/d30        8262869   1433292   6746949  18% /var 
swap                   8340888      1584   8339304   1% /tmp 
swap                   8339360        56   8339304   1% /var/run 
/dev/md/dsk/d50       43705673    968983  42299634   3% /opt 
/dev/md/dsk/d40        4133838    714268   3378232  18% /var/home 
backup               5615091147 3480248897 2134842251  62% /backup 


Seems like netsnmp isn't able to deal correctly with space on Solaris/ZFS. 


Am I wrong? 

Thanks,. 

Ben 
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, 
CA
-OSBC tackles the biggest issue in open source: Open Sourcing the 
Enterprise
-Strategies to boost innovation and cut costs with open source 
participation
-Receive a $600 discount off the registration fee with the source code: 
SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, 
CA
-OSBC tackles the biggest issue in open source: Open Sourcing the 
Enterprise
-Strategies to boost innovation and cut costs with open source 
participation
-Receive a $600 discount off the registration fee with the source code: 
SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
(unnamed) (image/jpeg, 25.6 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.