Cant find snmptrapd.conf file

2012-09-06 Thread Maxim Galkin
Where is the configuration file for snmptrapd?

I'm using net-snmp-5.7.1_7.
and succesfully starting snmpd and snmptrapd.

But there is only a config snmpd.conf !

Why can not I find a file snmptrapd.conf referred in man?
Where do I register my traphandlers?

Help guys___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Error with Coretemp

2012-09-04 Thread Maxim Galkin

Hello, my name is Maxim. Can u help me with my question?
I want to know the temperature of the CPU with the values ​​of sysctl.
The command sysctl-a | grep tempe ... any results

I rebuilt the kernel with the remark:
device coretemp

just trying to add a module with kldload.


# kldstat
May 1 0xc040 b65944 kernel
February 1 0xc0f66000 22d0 accf_http.ko
March 1 0xc0f69000 30d4 coretemp.ko

Anyway sysctl s not display temperature.

My CPU:
Intel(R) Pentium(R) 4 CPU 1.4GHz (1400.09-Mhz 686-class CPU)



Waiting for an answer, thanks in advance.
Galkin M. ___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Snmpd.conf and own OIDs

2012-09-04 Thread Maxim Galkin

Guys, please help.
Before us is a challenge, there is a script that rake the value. Furthermore, 
this value should be placed in any OID or create your own Object Identificator 
(OID) for example: 1.3.6.h.h.h.h.h. To then get this OID with snmpwalk / 
snmpget on a remote computer.
read a lot of information, but have not found a concrete example ...

My OS FreeBSD 9.0-RELEASE , net-snmp 5.7.1_7


Wrote a bash script which gives the value of integer 5.
Added to snmpd.conf

exec .1.3.6.1.4.1.1958   / usr / local / bin / bash   / home / user / bin / 
test.sh

then try to get the value:

snmpwalk-v2c-c public localhost .1.3.6.1.4.1.1958

an error that the OID is not found. what am I doing wrong?
SNMPv2-SMI :: enterprises.1958 = No Such Object available on this agent at this 
OID
 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org