Thanks Dave, now I see my custom extension :)
Finally, following the FAQ, I made two things:
1.- added this line in the snmp.conf
viewsystemviewincluded .1.3.6.1.4.1.8072
2.-snmpwalk -v1 -cpublic localhost .1.3.6.1.4.1.8072
Thanks,
Kodena.
2012/5/14 Dave Shield
> On 13 May 2012 11:43
On 13 May 2012 11:43, kodena kodena wrote:
> I'm new to net-snmp and snmp at all I'm configuring external script in
> net-snmp 5.3.2.2-17 and it not works like I expect.
> Restart snmpd and check though snmpwalk:
> # snmpwalk -v1 -cpublic localhost | grep -i procnum
>
> and it doesn't show
Hi!
I'm new to net-snmp and snmp at all I'm configuring external script in
net-snmp 5.3.2.2-17 and it not works like I expect.
First I create the script that contains something like this:
SCRIPT: /procnum.sh
CONTENT:
#!/bin/bash
ps -ef | wc -l
Then I modified the snmpd.conf and add this at