Main

type

5

status

21

review version

1

cleanup version

0

pending deletion

0

created at

2026-01-31 14:06:14

updated at

2026-01-31 14:06:14

Address

url

http://www.0937686468.com/2012/10/monitor-hardisk-hp-server-sent-to-zabbix.html

url length

79

url crc

59517

url crc32

880666749

location type

1

canonical status

10

canonical page id

3909050278

Source

domain id

25943367

domain tld

2211

domain parts

2

originating warc id

6554144

originating url

source type

11

Server response

server ip

104.21.7.6

pubdate

2025-07-13 01:37:49

attempts

0

size orig

53394

size saved

17508

Content

page id

3909050278

title

Monitor hardisk HP server sent to zabbix

excerpt

content

hp.sh #!/bin/bash #Writed by nhanns@vng[dot]com[dot]vn - nhannguyen@0937686468[dot]com #skype: nguyen_si_nhan #Program'll send alert hdd HP status to zabbix #check snmpwalk installed [ ! -f "/usr/bin/snmpwalk" ] && { echo "can not find snmpwalk plz install net-snmp-utils"; exit 1; } /usr/bin/snmpwalk -v2c -c public localhost 1.3.6.1.4.1.232.3.2.5.1.1.6 >/tmp/hp.tmp #Line=wc -l </tmp/hp.tmp #Get value return==status hdd grep -Eo '.$' /tmp/hp.tmp >/tmp/count.tmp _file1="/tmp/hp.tmp" #check empty file if [ ! -s "$_file1" ] then echo "Plz install hp snmp agent" exit 2 fi StatusFail=0 while read line; do #HI=echo $line | awk '{print substr($0,length,1)}' if [[ "$line" = 3 ]]; then         ((StatusFail=1)) fi done < /tmp/count.tmp echo "StatusFail $StatusFail" /opt/zabbix/bin/zabbix_sender -c /opt/check.conf -k hddstatus -o $StatusFail ===================== Notice : Change /opt/check.conf to correct your path zabbix agent Nguyen Si Nhan - 19/10/2012

author

updated

1770406619

Text analysis

block type

0

extracted fields

104

extracted bits

title
full content
content was extracted heuristically

detected location

0

detected language

1 (English)

category id

-

index version

1

paywall score

0

spam phrases

0

Text statistics

text nonlatin

0

text cyrillic

0

text characters

646

text words

166

text unique words

92

text lines

1

text sentences

3

text paragraphs

1

text words per sentence

55

text matched phrases

0

text matched dictionaries

0