Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ops
/
monitor-service
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
jack
2016-10-13 09:30:48 +0800
Commit
44b528ca716eff028a3c413a642224141e07655d
1 parent
70bc8766
较少http传输项
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
14 deletions
monitor-service-zabbix/src/main/java/com/monitor/zabbix/model/HostInterfaceRequest.java
monitor-service-zabbix/src/main/java/com/monitor/zabbix/model/HostInterfaceResponse.java
monitor-service-zabbix/src/main/java/com/monitor/zabbix/model/ItemRequest.java
monitor-service-zabbix/src/main/java/com/monitor/zabbix/model/HostInterfaceRequest.java
View file @
44b528c
...
...
@@ -30,7 +30,7 @@ public class HostInterfaceRequest extends ZabbixRequest {
Filter
filter
;
String
output
=
"extend"
;
String
output
[]
=
{
"hostid"
,
"ip"
}
;
public
Params
(
Filter
filter
)
{
...
...
monitor-service-zabbix/src/main/java/com/monitor/zabbix/model/HostInterfaceResponse.java
View file @
44b528c
...
...
@@ -14,21 +14,9 @@ public class HostInterfaceResponse extends ZabbixResponse {
@Data
public
static
class
HostInterface
{
String
interfaceid
;
String
hostid
;
String
main
;
String
type
;
String
useip
;
String
ip
;
String
dns
;
String
port
;
}
}
...
...
monitor-service-zabbix/src/main/java/com/monitor/zabbix/model/ItemRequest.java
View file @
44b528c
...
...
@@ -25,7 +25,7 @@ public class ItemRequest extends ZabbixRequest {
private
String
hostids
;
private
String
output
=
"extend"
;
private
String
[]
output
=
{
"hostid"
,
"itemid"
,
"key_"
}
;
private
String
sortfield
=
"name"
;
...
...
Please
register
or
login
to post a comment