Archived community.zenoss.org | full text search
Skip navigation
35055 Views 4 Replies Latest reply: Feb 19, 2010 11:25 AM by Ryan Matte RSS
kbecker Newbie 2 posts since
Feb 13, 2010
Currently Being Moderated

Feb 13, 2010 1:24 PM

Possible snmpd.conf exec limitations

 

 

 

Had anybody encountered an issues with trucated data when using exec in the snmpd.conf to execute a command on a remote host.  When running the command on the actual host all output lines get displayed and are complete.  Here are the last three lines of the output...

 

data8            516287984    370097752    146190232   72%    /data8
data4            413030384    258884720    154145664   63%    /data4
root_fs_2           258128        14704       243424    6%    /

 

Now, when executing a snmpwalk (from the monitoring server) with the custom OID the following is displayed.  As you can see the truncation starts in the second to last line.  In total the script on the remote host produces 16 lines of output, anybody aware of any exec character or line output limitations?

 

SNMPv2-SMI::enterprises.1139.99999.1.101.14 = STRING: "data8            516287984    370097752    146190232   72%    /data8"
SNMPv2-SMI::enterprises.1139.99999.1.101.15 = STRING: "data4            413030384    258884720    1541"
SNMPv2-SMI::enterprises.1139.99999.1.102.1 = INTEGER: 0
SNMPv2-SMI::enterprises.1139.99999.1.103.1 = ""

 

This is the exec line in the snmpd.conf.

exec .1.3.6.1.4.1.1139.99999.1 server_df /bin/bash /nas/bin/server_df_wrapper

 

 

Thanks in advance for any input...

  • Andrea Consadori ZenossMaster 863 posts since
    Feb 11, 2008
    Currently Being Moderated
    1. Feb 18, 2010 1:53 PM (in response to kbecker)
    Re: Possible snmpd.conf exec limitations

    this is zenoss forum, if you've issue with snmpwalk query maybe you've to write on you linux distro support forum.

  • Ryan Matte ZenossMaster 653 posts since
    Mar 26, 2009
    Currently Being Moderated
    2. Feb 18, 2010 3:41 PM (in response to kbecker)
    Re: Possible snmpd.conf exec limitations

    Yeh, that's not a Zenoss issue, there are probably better forums for that sort of thing.

  • Ryan Matte ZenossMaster 653 posts since
    Mar 26, 2009
    Currently Being Moderated
    4. Feb 19, 2010 11:25 AM (in response to kbecker)
    Re: Possible snmpd.conf exec limitations

    I understand that one of the installation steps of the ZenPack is extending SNMP functionality on the device.  Zenoss is not "highly dependent" on SNMP.  It supports monitoring via SNMP, which is one of many monitoring protocols which it supports.  You are receiving truncated values when performing an SNMPWALK.  It has absolutely nothing to do with Zenoss and everything to do with net-snmp.  I don't personally know the answer and no one else seems to have chimed in which is why we suggested that you may get better support for this type of issue on a Linux forum.

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points