More on problems running Process Monitoring

James Mckenzie <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <24741968.1158680317988.JavaMail.root@elwamui-wigeon.atl.sa.earthlink.net>
I decided to drop the trap2sink and the informsink lines from my snmpd.conf and I no longer get the V1 PDU errors.

I still have problems with the monitor section, I think...

See attached log and snmpd.conf sections.

James McKenzie

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
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
snmpd.conf.restart (text/plain, 2.4 KB)
###########################################################################
#
# snmpd.conf
#
#   - created by the snmpconf configuration program
#
###########################################################################
###########################################################################
# SECTION: Monitor Various Aspects of the Running Host
#
#   The following check up on various aspects of a host.

# proc: Check for processes that should be running.
#     proc NAME [MAX=0] [MIN=0]
#   
#     NAME:  the name of the process to check for.  It must match
#            exactly (ie, http will not find httpd processes).
#     MAX:   the maximum number allowed to be running.  Defaults to 0.
#     MIN:   the minimum number to be running.  Defaults to 0.
#   
#   The results are reported in the prTable section of the UCD-SNMP-MIB tree
#   Special Case:  When the min and max numbers are both 0, it assumes
#   you want a max of infinity and a min of 1.

proc  httpd 10 2
proc  arserverd 2 1
proc  armonitor 2 1
proc  arsvcdsp 2 1
monitor -r 30 -i -o prNames.1 -o prErrMessage.1 "Process httpd" prErrorFlag.1 !=0
monitor -r 30 -i -o prNames.2 -o prErrMessage.2 "Process ARS Server" prErrorFlag.2 !=0
monitor -r 30 -i -o prNames.3 -o prErrMessage.3 "Process ARS Monitor" prErrorFlag.3 !=0
monitor -r 30 -i -o prNames.4 -o prErrMessage.4 "Process ARS Approval" prErrorFlag.4 !=0

# disk: Check for disk space usage of a partition.
#   The agent can check the amount of available disk space, and make
#   sure it is above a set limit.  
#   
#    disk PATH [MIN=100000]
#   
#    PATH:  mount path to the disk in question.
#    MIN:   Disks with space below this value will have the Mib's errorFlag set.
#           Can be a raw byte value or a percentage followed by the %
#           symbol.  Default value = 100000.
#   
#   The results are reported in the dskTable section of the UCD-SNMP-MIB tree

disk  / 90%
disk  /disk0 60%
disk  /var 70%

# load: Check for unreasonable load average values.
#   Watch the load average levels on the machine.
#   
#    load [1MAX=12.0] [5MAX=12.0] [15MAX=12.0]
#   
#    1MAX:   If the 1 minute load average is above this limit at query
#            time, the errorFlag will be set.
#    5MAX:   Similar, but for 5 min average.
#    15MAX:  Similar, but for 15 min average.
#   
#   The results are reported in the laTable section of the UCD-SNMP-MIB tree

load  5 3 2
load  5 3 2
snmpd.log.restart (text/plain, 1.8 KB)
NET-SNMP version 5.3.1 restarted
/usr/local/share/snmp/snmpd.conf: line 108: Error: You must specify a default user name using the agentSecName token

/usr/local/share/snmp/snmpd.conf: line 109: Error: You must specify a default user name using the agentSecName token

/usr/local/share/snmp/snmpd.conf: line 110: Error: You must specify a default user name using the agentSecName token

/usr/local/share/snmp/snmpd.conf: line 111: Error: You must specify a default user name using the agentSecName token

/usr/local/share/snmp/snmpd.conf: line 104: Error: Already have an entry for this process.
/usr/local/share/snmp/snmpd.conf: line 105: Error: Already have an entry for this process.
/usr/local/share/snmp/snmpd.conf: line 106: Error: Already have an entry for this process.
/usr/local/share/snmp/snmpd.conf: line 107: Error: Already have an entry for this process.
/usr/local/share/snmp/snmpd.conf: line 108: Error: You must specify a default user name using the agentSecName token

/usr/local/share/snmp/snmpd.conf: line 109: Error: You must specify a default user name using the agentSecName token

/usr/local/share/snmp/snmpd.conf: line 110: Error: You must specify a default user name using the agentSecName token

/usr/local/share/snmp/snmpd.conf: line 111: Error: You must specify a default user name using the agentSecName token

net-snmp: 12 error(s) in config file(s)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
error on subcontainer '' insert (-1)
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.