Re: Another Dummy Questions

2006-11-07 Thread Dave Shield
On 07/11/06, Mohd Nordin Mohd Yasin <[EMAIL PROTECTED]> wrote: > If i had a program running in the server. And i would like to monitor the > program status all the time. Please see the 'snmpd.conf(5)' man page - in particular, the section entitled "Process Monitoring" > if i use

Re: pass config direvtive does not work

2006-11-07 Thread Dave Shield
On 07/11/06, Mindaugas <[EMAIL PROTECTED]> wrote: > Nothing changes if I change .20 to .2. [snip] > As you see snmpd finds pass directive. Now packet arrives: [snip] What is the exact command you are using to send this request? What are the access control settings in the snmpd.conf fil

how to ignore a network filesystem

2006-11-07 Thread colyli
Hi, friends: These days, we use net-snmp finding that when getting the disk usage of a network filesystem (e.g. samba), the snmp daemon will hang up until timeout. We need not the disk usage information, so how can we ignoring the disk usage scanning, or just disable the network filesystem's usag

Re: SNMPTRAP & traptomai

2006-11-07 Thread BENAMAR Khalid
hello I want to send an email once I received a trap I launch snmpd and snmptrapd snmptrapd receives the trap 007-08-22 08:30:57 NET-SNMP version 5.1.4 Started. 08:31 TRAP0.0 from atx-ma-dev-2 08:31 TRAP0.0 from 0.0.0.0 08:38 TRAP0.0 from localhost.localdomain but it does not send the email ???

Re: SNMPTRAP & traptoma

2006-11-07 Thread Dave Shield
On 07/11/06, BENAMAR Khalid <[EMAIL PROTECTED]> wrote: > I added traphandle default /usr/bin/traptoemail -f [EMAIL PROTECTED] -s > smtp.xxx.com [EMAIL PROTECTED] Is snmptrapd reading this entry? How is it processing the incoming trap? Try starting it using snmptrapd -f -Le -Dread_config,snm

Re: pass config direvtive does not work

2006-11-07 Thread Mindaugas
>> Nothing changes if I change .20 to .2. >[snip] >> As you see snmpd finds pass directive. Now packet arrives: > [snip] > > What is the exact command you are using to send this request? snmpwalk secret .2.3.6.1.2.1.31.1.1.1.18 > What are the access control settings in the snmpd.con

Re: pass config direvtive does not work

2006-11-07 Thread Dave Shield
On 07/11/06, Mindaugas <[EMAIL PROTECTED]> wrote: > > What is the result of walking the vacmAccessTable and > > vacmViewTreeFamilyTable? > > Below. > vacmViewTreeFamilyMask."anonymousView000".1.1 = "ÿ" Aha! That's significant. With the relatively early releases that you're using, the "roc

Re: SNMPTRAP & traptoma

2006-11-07 Thread BENAMAR Khalid
hello >Is snmptrapd reading this entry? >How is it processing the incoming trap? >Try starting it using > > snmptrapd -f -Le -Dread_config,snmptrapd i think that it don't read this entry that a part of the response when i launch snmptrapd with the option -D netsnmp_sockaddr_in: a

Re: pass config direvtive does not work

2006-11-07 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 07/11

Re: SNMPTRAP & traptom

2006-11-07 Thread Dave Shield
On 07/11/06, BENAMAR Khalid <[EMAIL PROTECTED]> wrote: > i think that it don't read this entry > that a part of the response when i launch snmptrapd with the option -D > > netsnmp_sockaddr_in: addr 0xbfafb590, peername > "/usr/share/snmp/snptrapd.conf:162" > trace: netsnmp_sockaddr_in(): snmpUDPDom

Re: pass config direvtive does not work

2006-11-07 Thread Mindaugas
>[ First - *please* don't mail me privately, without copying > any responses to the mailing list. I don't have the time > or inclination to offer private, unpaid, SNMP consultancy. > Keep discussions to the list, where others can both learn > and offer advice. Thanks. ]

questions on api netsnmp_create_table_data_set

2006-11-07 Thread Enzo Arlati
I' m using net-snmp 5.3.1 and I use the netsnmp_create_table_data_set api to create a table. I din't understand what is the purpose of table_name. I give table_name both the value of a table defined inside MIB , in this case crTableDevices, and a dummy value ("DUMMY"). It's seems that there is n

R: extention snmp table with another sub-table inside

2006-11-07 Thread Enzo Arlati
-Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Dave Shield Inviato: lunedì 6 novembre 2006 16.26 A: Enzo Arlati Cc: [EMAIL PROTECTED] Sourceforge. Net (E-mail) Oggetto: Re: extention snmp table with another sub-table inside > On 06/11/06, Enzo Arlati <[

Re: SNMPTRAP & traptom

2006-11-07 Thread BENAMAR Khalid
1- i have create snmpd.conf com2sec local 127.0.0.1/32 public com2sec local 192.168.0.0/24 public group MyROGroup v1 local group MyROGroup v2c local group MyROGroup usm local monitor -r 120 -u MyROGroup "test khalid disk" -o hrStorageDescr.4 hrStorageUsed.4>3659025 view all included .1 80 ac

Re: SNMPTRAP & trapto

2006-11-07 Thread Dave Shield
On 07/11/06, BENAMAR Khalid <[EMAIL PROTECTED]> wrote: > > 1- i have create snmpd.conf > > com2sec local 127.0.0.1/32 public > com2sec local 192.168.0.0/24 public > > group MyROGroup v1 local > group MyROGroup v2c local > group MyROGroup usm local > > monitor -r 120 -u MyROGroup That won't wo

Re: SNMPTRAP & trapto

2006-11-07 Thread BENAMAR Khalid
this is the response when i launch snmptrapd snmptrapd -f -Le -Dread_config,snmptrapd -c /usr/local/snmp/snmpconf/snmptrapd.conf read_config: /usr/local/snmp/snmpconf/snmptrapd.conf:1 examining: traphandle default /usr/local/bin/traptoemail -f [EMAIL PROTECTED] -s smtp.menara.ma [EMAIL PROTEC

Re: Installing SNMP with PHP

2006-11-07 Thread Carlos Alberto Bernat Orozco
Hi Dave Thanks again for your answer. The urpmi command installed the php-snmp-4.3.4-3mdk for my box automatically. Inside this rpm are the next components: /etc/php/44_snmp.ini /usr/lib/php/extensions/snmp.so /usr/share/doc/php-snmp-4.3.4 /usr/share/doc/php-snmp-4.3.4/README There is the file t

Monitoring OID Error

2006-11-07 Thread Markus Gibson
Hello all, I am somewhat new to using SNMP with Linux. I have looked through the Net-SNMP site and I have found that it isn't comprehensive, so I am hoping that someone can help me with this. Here are my stats: Red Hat Enterprise Linux 4Net-SNMP 5.3.1 -- Compiled From SourceI am trying to use the D