zabbixテンプレートジェネレータについて

いつもお世話になります。

Envivio 4ManagerのSNMP監視をしたいのですが、
http://www.envivio.com/en/products/management-system/4manager/menu-id-86...

こちらのフォーラムにあったやり方で、テンプレートが正常に取得できなかったので、
書き込みさせて頂きました。

そもそもなのですが、こちらの機器は対応、テンプレートの作成ができるでしょうか?
(一部の機器した対応しないとの情報をお聞きしましたので)

# snmpwalk -v2c -c public -On 10.100.100.100 1.3.6.1.2.1 > ./snmp.txt
# ./gentemplate.pl --snmpver=2 ./snmp.txt

出来たXMLはping応答のアイテムとトリガーのみが作成されていました。

よろしくお願いします。

コメント表示オプション

お好みのコメント表示方法を選び「設定の保存」をクリックすると変更が反映されます。
ユーザー TNK の写真

gentemplate.plに関しては、以下のURLの情報などを参考にされた
のだと思われます。

以前の投稿:
 SNMPテンプレートジェネレータの使い方
   http://www.zabbix.jp/node/1477
 SNMP template generator
   https://www.zabbix.com/wiki/doku.php?id=scripts/gentemplate.pl

これは、主にネットワーク機器の各ネットワークのポートの一覧を
取得して、ping監視や各ポートのInputとOutputの値を取得するよ
うなテンプレートを作成することができます。

今回監視しようとされている機器に関しては、ネットワーク機器と
いうわけでも無いようですので、取得できるSNMPの情報が、対応し
ていないのかもしれません。
例えば、snmpwalkで取得した結果にifDescrで始まる行があります
か?

今回監視されたいのは、どのような情報なのでしょうか?
情報によっては、対応していないかもしれません。

ユーザー myam の写真

ご連絡ありがとうございます。

確かに一般的なNW機器ではないので、対応していないようですね。

尚、Catalyst C3750Xのテンプレートは存在しないのでしょうか?
zabbixテンプレートジェネレータで作成したXMLをzabbixにインポートすると、
エラーで正常にインポート出来ませんでした。

以下、インポート時にZABBIX側で出ていたエラーメッセージです。

Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Undefined index: ymin_type [include/export.inc.php:1352]
Undefined index: ymax_type [include/export.inc.php:1365]
Item [Template_XXXXXX_XXXXX:ifInOctets.5180] does not exists

よろしくお願いします。

ユーザー TNK の写真

申し訳ありませんが、利用されているZabbixのバージョンをお教え
ください。
利用されているバージョンが、1.8系ではなく2.0系ではありません
か?

2.0系を新規にインストールされたのであれば、標準で用意されて
いる「Template SNMP Device」を利用されてはいかがでしょうか?
SNMPを利用した、ネットワーク機器の監視には有用です。

内部的には、2.0で実装されたローレベルディスカバリ(LLD)という
機能を利用して、自動的にポート数を判断して各ポートのI/Oを監
視できるようになっていたと思います。

1.8系から2.0系にアップデートされたのであれば、テンプレートに
は登録されていませんので、別途2.0系の環境からテンプレートを
エクスポートしてインポートするような対応が必要です。