GithubHelp home page GithubHelp logo

zabbixj's People

Contributors

anderswelen avatar michaelquigley avatar mvanholsteijn avatar rbjorklin avatar valters avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zabbixj's Issues

can not delete through api

API Error : {"message":"Application error.","data":"No permissions to referred object or it does not exist!","code":-32500}
Request:{
"params": [
{
"hostid": 10148
}
],
"id": 1497096455,
"jsonrpc": "2.0",
"method": "host.delete",
"auth": "bd7be9afa12f7a5e5e7eee08ac92e66f"
}

Jar files contain different code than source files

The ZabbixAgent.java source code it says:

    public void setServerAddress(String serverAddress) {
	this.serverAddress = serverAddress;
}

In the ZabbixAgent.class contains the code:

public void setServerAddress(InetAddress serverAddress) {
	this.serverAddress = serverAddress;

This makes the ExampleActiveAgent causing an error.

Connection refused

Hello,

I am relatively new to Java and ZabbixJ. I am trying to write a passive ZabbixAgent for a Java application running on 192.168.2.11:10050 and it words fine if I use the ExamplePassiveAgentClient:

Excecuting the command “java ExamplePassiveAgentClient 10050 example.random” returns a random number.

However when I try to connect it to my Zabbix server I get the error message:

“Get value from agent failed: cannot connect to [[192.168.2.11]:10050]: [111] Connection refused”

How can I fix this? My Zabbix server is 5.2

Kind regards

Allard

Close ServerSocket at Shutdown

"com.quigley.zabbixj.agent.passive.ListenerThread.java" should close the ServerSocket when shutting down.

Not doing it make it impossible to embed it into any container environment where components has a lifecycle.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.