Skip to content

Commit

Permalink
Update links to Zabbix 4.0 docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Dubicki committed Dec 25, 2018
1 parent e1f6c62 commit a8f404b
Show file tree
Hide file tree
Showing 19 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion examples/Actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Actions:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/action](https://www.zabbix.com/documentation/3.2/manual/api/reference/action)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/action](https://www.zabbix.com/documentation/4.0/manual/api/reference/action)

## Create Action based on Trigger
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Applications.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Applications:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/application](https://www.zabbix.com/documentation/3.2/manual/api/reference/application)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/application](https://www.zabbix.com/documentation/4.0/manual/api/reference/application)

## Create Application
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Configurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Configurations:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/configuration](https://www.zabbix.com/documentation/3.2/manual/api/reference/configuration)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/configuration](https://www.zabbix.com/documentation/4.0/manual/api/reference/configuration)

## Export Configuration

Expand Down
2 changes: 1 addition & 1 deletion examples/Graphs.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Graphs:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/graph](https://www.zabbix.com/documentation/3.2/manual/api/reference/graph)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/graph](https://www.zabbix.com/documentation/4.0/manual/api/reference/graph)

## Create Graph
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Hostgroups.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Hostgroups:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/hostgroup](https://www.zabbix.com/documentation/3.2/manual/api/reference/hostgroup)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/hostgroup](https://www.zabbix.com/documentation/4.0/manual/api/reference/hostgroup)

## Create Hostgroup
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Hosts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Hosts:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/host](https://www.zabbix.com/documentation/3.2/manual/api/reference/host)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/host](https://www.zabbix.com/documentation/4.0/manual/api/reference/host)

## Create Host
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Httptests.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Httptests:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/httptest](https://www.zabbix.com/documentation/3.2/manual/api/reference/httptest)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/httptest](https://www.zabbix.com/documentation/4.0/manual/api/reference/httptest)

## Create Web Scenario (httptest)
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Items.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Items:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/item](https://www.zabbix.com/documentation/3.2/manual/api/reference/item)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/item](https://www.zabbix.com/documentation/4.0/manual/api/reference/item)

## Create Item
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Maintenance:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/maintenance](https://www.zabbix.com/documentation/3.2/manual/api/reference/maintenance)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/maintenance](https://www.zabbix.com/documentation/4.0/manual/api/reference/maintenance)

## Create Maintenance
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/MediaTypes.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for MediaTypes:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/mediatype](https://www.zabbix.com/documentation/3.2/manual/api/reference/mediatype)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/mediatype](https://www.zabbix.com/documentation/4.0/manual/api/reference/mediatype)

## Create MediaType and add it to user ###
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Proxies.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Proxies:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/proxy](https://www.zabbix.com/documentation/3.2/manual/api/reference/proxy)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/proxy](https://www.zabbix.com/documentation/4.0/manual/api/reference/proxy)

## Create Proxy

Expand Down
2 changes: 1 addition & 1 deletion examples/Screens.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Screens:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/screen](https://www.zabbix.com/documentation/3.2/manual/api/reference/screen)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/screen](https://www.zabbix.com/documentation/4.0/manual/api/reference/screen)

## Create Screen for Host
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Templates:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/template](https://www.zabbix.com/documentation/3.2/manual/api/reference/template)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/template](https://www.zabbix.com/documentation/4.0/manual/api/reference/template)

## Create Template
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Triggers.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Triggers:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/trigger](https://www.zabbix.com/documentation/3.2/manual/api/reference/trigger)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/trigger](https://www.zabbix.com/documentation/4.0/manual/api/reference/trigger)

## Create Trigger
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Usergroups.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Usergroups:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/usergroup](https://www.zabbix.com/documentation/3.2/manual/api/reference/usergroup)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/usergroup](https://www.zabbix.com/documentation/4.0/manual/api/reference/usergroup)

## Create UserGroup, add User and set permission
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Usermacros.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Usermacros:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/usermacro](https://www.zabbix.com/documentation/3.2/manual/api/reference/usermacro)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/usermacro](https://www.zabbix.com/documentation/4.0/manual/api/reference/usermacro)

### User and global macros
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Users.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Users:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/user](https://www.zabbix.com/documentation/3.2/manual/api/reference/user)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/user](https://www.zabbix.com/documentation/4.0/manual/api/reference/user)

## Create User
```ruby
Expand Down
2 changes: 1 addition & 1 deletion examples/Valuemaps.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
This example assumes you have already initialized and connected the ZabbixApi.

For more information and available properties please refer to the Zabbix API documentation for Users:
[https://www.zabbix.com/documentation/3.2/manual/api/reference/valuemap](https://www.zabbix.com/documentation/3.2/manual/api/reference/valuemap)
[https://www.zabbix.com/documentation/4.0/manual/api/reference/valuemap](https://www.zabbix.com/documentation/4.0/manual/api/reference/valuemap)

## Create Valuemap
```ruby
Expand Down
4 changes: 2 additions & 2 deletions spec/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
expect(zbx.server.version).to be_kind_of(String)
end

it 'should be 2.4.x or 3.0.x or 3.2.x' do
expect(zbx.server.version).to match(/(2\.4|3\.[02])\.\d+/)
it 'should be 2.4.x, 3.2.x, 3.4.x or 4.0.x' do
expect(zbx.server.version).to match(/(2\.4|3\.[024]|4\.0)\.\d+/)
end
end
end

0 comments on commit a8f404b

Please sign in to comment.