Last active
February 28, 2024 15:04
-
-
Save crashdump/7769658 to your computer and use it in GitHub Desktop.
CouchDB / BigCouch - Zabbix Monitoring
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| # httpd_status_codes.201.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.200.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.202.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.412.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.301.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.304.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.405.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.404.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.403.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.500.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.401.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.400.{current|mean|min|max|sum|stddev} | |
| # httpd_status_codes.409.{current|mean|min|max|sum|stddev} | |
| # httpd.bulk_requests.{current|mean|min|max|sum|stddev} | |
| # httpd.clients_requesting_changes.{current|mean|min|max|sum|stddev} | |
| # httpd.requests.{current|mean|min|max|sum|stddev} | |
| # httpd.view_reads.{current|mean|min|max|sum|stddev} | |
| # httpd.temporary_view_reads.{current|mean|min|max|sum|stddev} | |
| # httpd.aborted_requests.{current|mean|min|max|sum|stddev} | |
| # couchdb.open_os_files.{current|mean|min|max|sum|stddev} | |
| # couchdb.auth_cache_hits.{current|mean|min|max|sum|stddev} | |
| # couchdb.database_reads.{current|mean|min|max|sum|stddev} | |
| # couchdb.request_time.{current|mean|min|max|sum|stddev} | |
| # couchdb.auth_cache_misses.{current|mean|min|max|sum|stddev} | |
| # couchdb.database_writes.{current|mean|min|max|sum|stddev} | |
| # couchdb.open_databases.{current|mean|min|max|sum|stddev} | |
| # httpd_request_methods.HEAD.{current|mean|min|max|sum|stddev} | |
| # httpd_request_methods.GET.{current|mean|min|max|sum|stddev} | |
| # httpd_request_methods.PUT.{current|mean|min|max|sum|stddev} | |
| # httpd_request_methods.POST.{current|mean|min|max|sum|stddev} | |
| # httpd_request_methods.COPY.{current|mean|min|max|sum|stddev} | |
| # httpd_request_methods.DELETE.{current|mean|min|max|sum|stddev} | |
| # | |
| # Query exemple: | |
| # ./bigcouch-stats.py httpd_request_methods.GET.current | |
| # 241086 | |
| # ./bigcouch-stats.py couchdb.database_reads.mean | |
| # 0.22 | |
| import sys | |
| import json | |
| import urllib2 | |
| if len(sys.argv[1]) < 1: | |
| print 'please, specify a metric.' | |
| print ' ex: ./bigcouch-stats.py httpd_request_methods.GET.current' | |
| try: | |
| req = urllib2.Request('http://127.0.0.1:5986/_stats') | |
| stats_json = urllib2.urlopen(req) | |
| except urllib2.URLError, e: | |
| print e.reason | |
| exit(1) | |
| metric = sys.argv[1].split('.') | |
| m_group = metric[0] | |
| m_name = metric[1] | |
| m_type = metric[2] | |
| try: | |
| res = json.load(stats_json)[m_group][m_name][m_type] | |
| if res is None: | |
| print 0 | |
| else: | |
| print int(res) | |
| except IndexError: | |
| print 'Key not found.' | |
| except KeyError: | |
| print 'Key not found.' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <zabbix_export> | |
| <version>2.0</version> | |
| <date>2013-12-03T16:57:07Z</date> | |
| <groups> | |
| <group> | |
| <name>Templates</name> | |
| </group> | |
| </groups> | |
| <templates> | |
| <template> | |
| <template>Template OS Linux - CouchDB</template> | |
| <name>Template OS Linux - CouchDB</name> | |
| <groups> | |
| <group> | |
| <name>Templates</name> | |
| </group> | |
| </groups> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <items> | |
| <item> | |
| <name>CouchDB: couchdb.auth_cache_hits</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[couchdb.auth_cache_hits.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: couchdb.auth_cache_misses</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[couchdb.auth_cache_misses.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: couchdb.database_reads</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[couchdb.database_reads.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: couchdb.database_writes</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[couchdb.database_writes.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: couchdb.open_databases</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[couchdb.open_databases.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: couchdb.open_os_files</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[couchdb.open_os_files.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: couchdb.request_time</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[couchdb.request_time.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd.aborted_requests</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd.aborted_requests.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd.bulk_requests</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd.bulk_requests.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd.clients_requesting_changes</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd.clients_requesting_changes.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd.requests</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd.requests.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd.temporary_view_reads</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd.temporary_view_reads.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd.view_reads</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd.view_reads.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_request_methods.COPY</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_request_methods.COPY.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_request_methods.DELETE</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_request_methods.DELETE.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_request_methods.GET</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_request_methods.GET.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_request_methods.POST</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_request_methods.POST.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_request_methods.PUT</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_request_methods.PUT.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.200</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.200.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.201</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.201.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.202</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.202.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.301</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.301.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.400</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.400.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.401</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.401.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.403</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.403.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.404</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.404.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.405</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.405.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.409</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.409.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchDB: httpd_status_codes.500</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>couchdb[httpd_status_codes.500.current]</key> | |
| <delay>30</delay> | |
| <history>3</history> | |
| <trends>90</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>1</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>CouchJS Process</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>proc.num[couchjs]</key> | |
| <delay>30</delay> | |
| <history>90</history> | |
| <trends>365</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>0</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| <item> | |
| <name>EmpD Process</name> | |
| <type>0</type> | |
| <snmp_community/> | |
| <multiplier>0</multiplier> | |
| <snmp_oid/> | |
| <key>proc.num[,,,epmd -daemon]</key> | |
| <delay>30</delay> | |
| <history>90</history> | |
| <trends>365</trends> | |
| <status>0</status> | |
| <value_type>3</value_type> | |
| <allowed_hosts/> | |
| <units/> | |
| <delta>0</delta> | |
| <snmpv3_contextname/> | |
| <snmpv3_securityname/> | |
| <snmpv3_securitylevel>0</snmpv3_securitylevel> | |
| <snmpv3_authprotocol>0</snmpv3_authprotocol> | |
| <snmpv3_authpassphrase/> | |
| <snmpv3_privprotocol>0</snmpv3_privprotocol> | |
| <snmpv3_privpassphrase/> | |
| <formula>1</formula> | |
| <delay_flex/> | |
| <params/> | |
| <ipmi_sensor/> | |
| <data_type>0</data_type> | |
| <authtype>0</authtype> | |
| <username/> | |
| <password/> | |
| <publickey/> | |
| <privatekey/> | |
| <port/> | |
| <description/> | |
| <inventory_link>0</inventory_link> | |
| <applications> | |
| <application> | |
| <name>CouchDB</name> | |
| </application> | |
| </applications> | |
| <valuemap/> | |
| </item> | |
| </items> | |
| <discovery_rules/> | |
| <macros/> | |
| <templates/> | |
| <screens/> | |
| </template> | |
| </templates> | |
| <graphs> | |
| <graph> | |
| <name>CouchDB: reads/writes</name> | |
| <width>900</width> | |
| <height>200</height> | |
| <yaxismin>0.0000</yaxismin> | |
| <yaxismax>100.0000</yaxismax> | |
| <show_work_period>1</show_work_period> | |
| <show_triggers>1</show_triggers> | |
| <type>0</type> | |
| <show_legend>1</show_legend> | |
| <show_3d>0</show_3d> | |
| <percent_left>0.0000</percent_left> | |
| <percent_right>0.0000</percent_right> | |
| <ymin_type_1>0</ymin_type_1> | |
| <ymax_type_1>0</ymax_type_1> | |
| <ymin_item_1>0</ymin_item_1> | |
| <ymax_item_1>0</ymax_item_1> | |
| <graph_items> | |
| <graph_item> | |
| <sortorder>0</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>00DD00</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[couchdb.database_reads.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>1</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>DD0000</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[couchdb.database_writes.current]</key> | |
| </item> | |
| </graph_item> | |
| </graph_items> | |
| </graph> | |
| <graph> | |
| <name>CouchDB: requests</name> | |
| <width>900</width> | |
| <height>200</height> | |
| <yaxismin>0.0000</yaxismin> | |
| <yaxismax>100.0000</yaxismax> | |
| <show_work_period>1</show_work_period> | |
| <show_triggers>1</show_triggers> | |
| <type>0</type> | |
| <show_legend>1</show_legend> | |
| <show_3d>0</show_3d> | |
| <percent_left>0.0000</percent_left> | |
| <percent_right>0.0000</percent_right> | |
| <ymin_type_1>0</ymin_type_1> | |
| <ymax_type_1>0</ymax_type_1> | |
| <ymin_item_1>0</ymin_item_1> | |
| <ymax_item_1>0</ymax_item_1> | |
| <graph_items> | |
| <graph_item> | |
| <sortorder>0</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>C80000</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd.aborted_requests.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>1</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>00C800</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd.requests.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>2</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>0000C8</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd.temporary_view_reads.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>3</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>C800C8</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd.view_reads.current]</key> | |
| </item> | |
| </graph_item> | |
| </graph_items> | |
| </graph> | |
| <graph> | |
| <name>CouchDB: request time</name> | |
| <width>900</width> | |
| <height>200</height> | |
| <yaxismin>0.0000</yaxismin> | |
| <yaxismax>100.0000</yaxismax> | |
| <show_work_period>1</show_work_period> | |
| <show_triggers>1</show_triggers> | |
| <type>0</type> | |
| <show_legend>1</show_legend> | |
| <show_3d>0</show_3d> | |
| <percent_left>0.0000</percent_left> | |
| <percent_right>0.0000</percent_right> | |
| <ymin_type_1>0</ymin_type_1> | |
| <ymax_type_1>0</ymax_type_1> | |
| <ymin_item_1>0</ymin_item_1> | |
| <ymax_item_1>0</ymax_item_1> | |
| <graph_items> | |
| <graph_item> | |
| <sortorder>0</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>C80000</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[couchdb.request_time.current]</key> | |
| </item> | |
| </graph_item> | |
| </graph_items> | |
| </graph> | |
| <graph> | |
| <name>CouchDB: status codes</name> | |
| <width>900</width> | |
| <height>200</height> | |
| <yaxismin>0.0000</yaxismin> | |
| <yaxismax>100.0000</yaxismax> | |
| <show_work_period>1</show_work_period> | |
| <show_triggers>1</show_triggers> | |
| <type>0</type> | |
| <show_legend>1</show_legend> | |
| <show_3d>0</show_3d> | |
| <percent_left>0.0000</percent_left> | |
| <percent_right>0.0000</percent_right> | |
| <ymin_type_1>0</ymin_type_1> | |
| <ymax_type_1>0</ymax_type_1> | |
| <ymin_item_1>0</ymin_item_1> | |
| <ymax_item_1>0</ymax_item_1> | |
| <graph_items> | |
| <graph_item> | |
| <sortorder>0</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>C80000</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.200.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>1</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>00C800</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.201.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>2</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>0000C8</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.202.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>3</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>C800C8</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.301.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>4</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>00C8C8</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.400.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>5</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>C8C800</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.401.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>6</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>C8C8C8</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.403.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>7</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>960000</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.404.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>8</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>009600</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.405.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>9</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>000096</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.409.current]</key> | |
| </item> | |
| </graph_item> | |
| <graph_item> | |
| <sortorder>10</sortorder> | |
| <drawtype>0</drawtype> | |
| <color>960096</color> | |
| <yaxisside>0</yaxisside> | |
| <calc_fnc>2</calc_fnc> | |
| <type>0</type> | |
| <item> | |
| <host>Template OS Linux - CouchDB</host> | |
| <key>couchdb[httpd_status_codes.500.current]</key> | |
| </item> | |
| </graph_item> | |
| </graph_items> | |
| </graph> | |
| </graphs> | |
| </zabbix_export> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # BigCouch / CouchDB | |
| UserParameter=couchdb[*], python /etc/zabbix/scripts/couchdb-stats.py $1 |
I am using zabbix_server (Zabbix) 6.0.25 and zabbix_agent2 (Zabbix) 6.0.25
Requirement is to monitor couchbase-server.service availability and setup alarms to go off in case it is down..
Could you please guide me how to set that up along with other critical metric alerts.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
couchdb's v. 2.1.1 need modify couchdb-stats.py
################
try:
if m_group == 'couchdb':
res = json.load(stats_json)[m_group][m_name]['value']
else:
res = json.load(stats_json)['couchdb'][m_group][m_name]['value']
if res is None:
print 0
else:
print int(res)