Opened 15 years ago

Closed 15 years ago

#3 closed defect (fixed)

snmpd configuratie; grote log snmpd.log

Reported by: huub Owned by: somebody
Priority: major Milestone:
Keywords: Cc:
Resource needed to fix:

Description

/var zat vol door een MB grote snmpd.log file.
Zie hieronder.
Zie ook boodschap 'no access control information configured'

mibII/mta_sendmail.c:open_sendmailst: could not guess version of
statistics file "/var/log/sendmail.st"
Warning: no access control information configured.

It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the snmpd.conf

file for this agent.
Creating directory: /var/net-snmp
NET-SNMP version 5.4.2.1
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-2319
Received SNMP packet(s) from UDP: [0.0.0.0]->[172.16.2.114]:-2319
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-2319
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-2319
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-2319
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-2319
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-2319
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-6433
Received SNMP packet(s) from UDP: [0.0.0.0]->[172.16.2.114]:-6433
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-6433
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-6433
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-6433
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-6433
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-6433
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-14236
Received SNMP packet(s) from UDP: [0.0.0.0]->[172.16.2.114]:-14236
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-14236
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-14236
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-14236
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-14236
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-14236
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-5286
Received SNMP packet(s) from UDP: [0.0.0.0]->[172.19.137.66]:-5286
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-9239
Received SNMP packet(s) from UDP: [0.0.0.0]->[172.19.137.66]:-9239
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-9239
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-5286
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-9239
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-5286
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-9239
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-5286
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-9239
Connection from UDP: [0.0.0.0]->[172.19.137.66]:-9239
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7194
Received SNMP packet(s) from UDP: [0.0.0.0]->[172.16.2.114]:-7194
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7194
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7194
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7194
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7194
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7194
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7370
Received SNMP packet(s) from UDP: [0.0.0.0]->[172.16.2.114]:-7370
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7370
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7370
Connection from UDP: [0.0.0.0]->[172.16.2.114]:-7370

etc etc

Change History (5)

comment:1 by tim, 15 years ago

Wellicht veroorzaakt door het ontbreken van een snmpd
configuratie. Een bestaand wl snmpd.conf configbestand
is toegevoegd aan de installatie, maar moet waarschijnl
herzien worden.

updated in image versie CNodeHuub_v09.1

comment:2 by huub, 15 years ago

met versie 0.9.2 foutmeldingen in log (staat op loghost):
2009 Mar 7 23:00:03 <mail.alert> sendmail[5392]: n27N02En005392: low on space (SMTP-DAEMON needs 0 bytes + 100 blocks in /var/spool/clientmqueue), max avail: 72

comment:3 by rick, 15 years ago

component: component1general
version: 0.9.2

Je wilt die connects, niet loggen (dus je loglevel iets hoger zetten). Zet volgende in je /etc/rc.conf je zit goed

snmpd_flags="-a -LF w /var/log/snmpd.conf"

Heb het nu bij node Huub je ingezet, zullen eens kijken of ie blijft draaien ;-)

Dit werkt enkel bij nieuwe versies van snmpd als ik goed had de oudere hadden nog een bugje, waardoor dit niet goed opgepakt werd.

comment:4 by tim, 15 years ago

version: 0.9.2

Heb de bovenstaande configuratiewijziging doorgevoerd aan de nanobsd-installatie.
Als ik het goed heb begrepen worden nu alleen de warnings gelogd toch? Ben er
vanuit gegaan dat snmpd.conf snmpd.log moest zijn.

Updates doorgevoerd in image CNodeHuub_v0.9.3

comment:5 by rick, 15 years ago

Resolution: fixed
Status: newclosed

Changes applied and working

Note: See TracTickets for help on using tickets.