exec outputs dupes

Sergey Matveychuk <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
My snmpd.conf:
rocommunity  xxx
disk  /
disk  /usr
syslocation  "XXX"
syscontact  xxx@xxx
exec cpu0Load /export/home/sem/get_cpuload 0
exec cpu1Load /export/home/sem/get_cpuload 1
exec cpu2Load /export/home/sem/get_cpuload 2
exec cpu3Load /export/home/sem/get_cpuload 3

%snmpwalk -v 2c -c xxx localhost .1.3.6.1.4.1.2021.8.1
UCD-SNMP-MIB::extIndex.1 = INTEGER: 1
UCD-SNMP-MIB::extIndex.2 = INTEGER: 2
UCD-SNMP-MIB::extIndex.3 = INTEGER: 3
UCD-SNMP-MIB::extIndex.4 = INTEGER: 4
UCD-SNMP-MIB::extIndex.5 = INTEGER: 5
UCD-SNMP-MIB::extIndex.6 = INTEGER: 6
UCD-SNMP-MIB::extIndex.7 = INTEGER: 7
UCD-SNMP-MIB::extIndex.8 = INTEGER: 8
UCD-SNMP-MIB::extNames.1 = STRING: cpu0Load
UCD-SNMP-MIB::extNames.2 = STRING: cpu1Load
UCD-SNMP-MIB::extNames.3 = STRING: cpu2Load
UCD-SNMP-MIB::extNames.4 = STRING: cpu3Load
UCD-SNMP-MIB::extNames.5 = STRING: cpu0Load
UCD-SNMP-MIB::extNames.6 = STRING: cpu1Load
UCD-SNMP-MIB::extNames.7 = STRING: cpu2Load
UCD-SNMP-MIB::extNames.8 = STRING: cpu3Load
UCD-SNMP-MIB::extCommand.1 = STRING: /export/home/sem/get_cpuload 0
UCD-SNMP-MIB::extCommand.2 = STRING: /export/home/sem/get_cpuload 1
UCD-SNMP-MIB::extCommand.3 = STRING: /export/home/sem/get_cpuload 2
UCD-SNMP-MIB::extCommand.4 = STRING: /export/home/sem/get_cpuload 3
UCD-SNMP-MIB::extCommand.5 = STRING: /export/home/sem/get_cpuload 0
UCD-SNMP-MIB::extCommand.6 = STRING: /export/home/sem/get_cpuload 1
UCD-SNMP-MIB::extCommand.7 = STRING: /export/home/sem/get_cpuload 2
UCD-SNMP-MIB::extCommand.8 = STRING: /export/home/sem/get_cpuload 3
UCD-SNMP-MIB::extResult.1 = INTEGER: 0
UCD-SNMP-MIB::extResult.2 = INTEGER: 0
UCD-SNMP-MIB::extResult.3 = INTEGER: 0
UCD-SNMP-MIB::extResult.4 = INTEGER: 0
UCD-SNMP-MIB::extResult.5 = INTEGER: 0
UCD-SNMP-MIB::extResult.6 = INTEGER: 0
UCD-SNMP-MIB::extResult.7 = INTEGER: 0
UCD-SNMP-MIB::extResult.8 = INTEGER: 0
UCD-SNMP-MIB::extOutput.1 = STRING: 182066802
UCD-SNMP-MIB::extOutput.2 = STRING: 181987110
UCD-SNMP-MIB::extOutput.3 = STRING: 181997634
UCD-SNMP-MIB::extOutput.4 = STRING: 182705363
UCD-SNMP-MIB::extOutput.5 = STRING: 182066806
UCD-SNMP-MIB::extOutput.6 = STRING: 181987114
UCD-SNMP-MIB::extOutput.7 = STRING: 181997634
UCD-SNMP-MIB::extOutput.8 = STRING: 182705367
UCD-SNMP-MIB::extErrFix.1 = INTEGER: 0
UCD-SNMP-MIB::extErrFix.2 = INTEGER: 0
UCD-SNMP-MIB::extErrFix.3 = INTEGER: 0
UCD-SNMP-MIB::extErrFix.4 = INTEGER: 0
UCD-SNMP-MIB::extErrFix.5 = INTEGER: 0
UCD-SNMP-MIB::extErrFix.6 = INTEGER: 0
UCD-SNMP-MIB::extErrFix.7 = INTEGER: 0
UCD-SNMP-MIB::extErrFix.8 = INTEGER: 0
UCD-SNMP-MIB::extErrFixCmd.1 = STRING:
UCD-SNMP-MIB::extErrFixCmd.2 = STRING:
UCD-SNMP-MIB::extErrFixCmd.3 = STRING:
UCD-SNMP-MIB::extErrFixCmd.4 = STRING:
UCD-SNMP-MIB::extErrFixCmd.5 = STRING:
UCD-SNMP-MIB::extErrFixCmd.6 = STRING:
UCD-SNMP-MIB::extErrFixCmd.7 = STRING:
UCD-SNMP-MIB::extErrFixCmd.8 = STRING:

Every command executed twice. Why?

PS. net-snmp-5.2.2 on Solaris 10.
-- 
Sem.


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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
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.