~kampka/ubuntu/quantal/zabbix/upstart-support

« back to all changes in this revision

Viewing changes to misc/snmptrap/snmptrap.sh

  • Committer: Bazaar Package Importer
  • Author(s): Michael Ablassmeier
  • Date: 2009-06-28 19:11:29 UTC
  • mfrom: (19.1.3 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090628191129-5esmmf2h3tbff1fv
* New upstream release
* Merge upstream config file to template (Closes: #528426)
* Move logrotate from Depends to Suggests (Closes: #534096)
* Server should not crash anymore if postgresql transaction fails
  (Closes: #520197)
* Update fr.po (Closes: #527559)
* Update es.po (Closes: #527600)
* Update sv.po (Closes: #528571)
* Update it.po (Closes: #529157)
* Update cs.po (Closes: #529502)
* Update de.po (Closes: #532344)

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
 
22
22
# CONFIGURATION
23
23
 
24
 
ZABBIX_SERVER="zabbix";
25
 
ZABBIX_PORT="10001";
 
24
ZABBIX_SERVER="localhost";
 
25
ZABBIX_PORT="10051";
26
26
 
27
27
ZABBIX_SENDER="~zabbix/bin/zabbix_sender";
28
28
 
49
49
 
50
50
str="$hostname $address $community $enterprise $oid"
51
51
 
52
 
$ZABBIX_SENDER $ZABBIX_SERVER $ZABBIX_PORT $HOST $KEY "$str"
 
52
$ZABBIX_SENDER -z $ZABBIX_SERVER -p $ZABBIX_PORT -s $HOST -k $KEY -o "$str"
 
53