snmp
Vasiliy G Tolstov
v.tolstov at selfip.ru
Fri Mar 7 10:56:51 MSK 2008
On Fri, 2008-03-07 at 09:29 +0200, Alex Vorona wrote:
> hrHDDTempName
Вот это поля откуда береться? Я так понимаю из walk по snmp ?
у меня snmp отдает следующие данные
selfip ~ # /root/walk.sh .1.3.6.1.4.1.2021.50
UCD-SNMP-MIB::ucdavis.50.1.0 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.50.2.1.2.10.110.103.105.110.120.95.115.116.117.98
= STRING: "/sbin/runscript"
UCD-SNMP-MIB::ucdavis.50.2.1.3.10.110.103.105.110.120.95.115.116.117.98
= STRING: "/etc/init.d/nginx stub_status"
UCD-SNMP-MIB::ucdavis.50.2.1.4.10.110.103.105.110.120.95.115.116.117.98
= ""
UCD-SNMP-MIB::ucdavis.50.2.1.5.10.110.103.105.110.120.95.115.116.117.98
= INTEGER: 5
UCD-SNMP-MIB::ucdavis.50.2.1.6.10.110.103.105.110.120.95.115.116.117.98
= INTEGER: 1
UCD-SNMP-MIB::ucdavis.50.2.1.7.10.110.103.105.110.120.95.115.116.117.98
= INTEGER: 1
UCD-SNMP-MIB::ucdavis.50.2.1.20.10.110.103.105.110.120.95.115.116.117.98
= INTEGER: 4
UCD-SNMP-MIB::ucdavis.50.2.1.21.10.110.103.105.110.120.95.115.116.117.98
= INTEGER: 1
UCD-SNMP-MIB::ucdavis.50.3.1.1.10.110.103.105.110.120.95.115.116.117.98
= STRING: "Active connections: 40"
UCD-SNMP-MIB::ucdavis.50.3.1.2.10.110.103.105.110.120.95.115.116.117.98
= STRING: "Active connections: 40
Accepted connections: 127685
Handled connections: 127685
Reading connections: 0
Writing connections: 2
Waiting connections: 38
Total requests: 372881
"
UCD-SNMP-MIB::ucdavis.50.3.1.3.10.110.103.105.110.120.95.115.116.117.98
= INTEGER: 8
UCD-SNMP-MIB::ucdavis.50.3.1.4.10.110.103.105.110.120.95.115.116.117.98
= INTEGER: 0
UCD-SNMP-MIB::ucdavis.50.4.1.2.10.110.103.105.110.120.95.115.116.117.98.1 = STRING: "Active connections: 40"
UCD-SNMP-MIB::ucdavis.50.4.1.2.10.110.103.105.110.120.95.115.116.117.98.2 = STRING: "Accepted connections: 127685"
UCD-SNMP-MIB::ucdavis.50.4.1.2.10.110.103.105.110.120.95.115.116.117.98.3 = STRING: "Handled connections: 127685"
UCD-SNMP-MIB::ucdavis.50.4.1.2.10.110.103.105.110.120.95.115.116.117.98.4 = STRING: "Reading connections: 0"
UCD-SNMP-MIB::ucdavis.50.4.1.2.10.110.103.105.110.120.95.115.116.117.98.5 = STRING: "Writing connections: 2"
UCD-SNMP-MIB::ucdavis.50.4.1.2.10.110.103.105.110.120.95.115.116.117.98.6 = STRING: "Waiting connections: 38"
UCD-SNMP-MIB::ucdavis.50.4.1.2.10.110.103.105.110.120.95.115.116.117.98.7 = STRING: "Total requests: 372881"
UCD-SNMP-MIB::ucdavis.50.4.1.2.10.110.103.105.110.120.95.115.116.117.98.8 = ""
Как мне это забить в xml для cacti ?
--
Vasiliy G Tolstov
http://selfip.ru
>
More information about the nginx-ru
mailing list