LoginSignup
14
13

More than 5 years have passed since last update.

Excel VBAでZabbixAPIへアクセスしてみた

Last updated at Posted at 2014-10-02

ZabbixのデータをEXCELに書き出したくて、VBAでZabbixAPIへアクセスしてみました。

サンプル

使い方

ZabbixのWebGUIのURLを入力します。URLの最後に「/」スラッシュが必要です。
パスワードにダブルクォーテーションを含む場合、直前にバックスラッシュを付ける必要があります。

制限

GETのみです。
eventとか表示すると終わらないので、300レコードでリミットが掛かるようにしてあります。

参考

VBAでWEBアクセス

VBAでWebページを取得する方法
http://so-zou.jp/software/tech/programming/vba/sample/web.htm

[VBA]Excel VBAでHTTP通信
http://outofmem.tumblr.com/post/63052619242/vba-excel-vba-http

VBAでJSONデータをパース

ExcelのVBAでJSON形式のデータを解析する
http://symfoware.blog68.fc2.com/blog-entry-579.html

VBAでJSONを扱う VBAでJSONを扱うについて
http://javascript.dohow.jp/advance/jsonvba.shtml

[VBA]VBAでjsonをパースする
http://outofmem.tumblr.com/post/63355773212/vba-vba-json

14
13
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
13