We’ve been doing all our best to organise the conference closer to Zabbix birthday, April 7. Now it looks very much that we do not have enough time to make it happen. There are a number of reasons, and probably number one is our current hard work on Zabbix 2.0, which takes all our time and resources.
So, a few days ago I realised that the best solution would be to postpone the conference, focus on Zabbix 2.0 and have more time for preparation in a nice and calm atmosphere, hopefully.
Anyway the decision was made. Zabbix Conference 2011 was postponed to Autumn 2011, no precise date is set yet. Please stay tuned for further announcements.
On behalf of Zabbix Team I apologise for any inconvenience.
Hi,
I am interested in zabbix. I am building a log4j appender to remotely sending log to zabbix server that is I am actually writing it to operate on Active Check Mode. So, I would like to have some details about the protocols and dialogs between the Active agent and the Zabbix Server. I read the documentation, but, it is only about the format of the messages but not in details the communication between the Active Agent and the Client. Here is a sample code, and tell me please, what misses :
import java.net.Socket;
import java.net.InetAddress;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.io.BufferedReader;
public class ZabbixSocket {
/**
* @param args
*/
public static void main(String[] args) throws Exception {
// TODO Auto-generated method stub
//System.out.println(“Je suis la”);
Socket sock=new Socket(“192.168.61.11″,10051);
String data=null;
BufferedReader ServerStream=null;
PrintWriter ClientStream=null;
//String header=”{\”request\”:\”active checks\”,\”host\”:\”tech-alsb2_test\”}”;
String header=”ZBXD3{\n\t\t” +
“\”request\”:\”active checks\”,\n\t\t” +
“\”host\”:\”tech-alsb2\”}”;
String zabbix_payload=”ZBXD8{\”request\”:\”agent data\”,\”data\”:[{\”host\”:\”tech-alsb2_test\”,\”key\”:\”proc.num\”,\”value\”:\”9\”,\”clock\”:1308573045}],\”clock\”:1308573046}”;
//zabbix_payload = “ZBXD”+zabbix_payload.length()+zabbix_payload;
ServerStream = new BufferedReader(new InputStreamReader(sock.getInputStream()));
ClientStream = new PrintWriter(sock.getOutputStream(),true);
System.out.println(“Zabbix Agent Request keys”);
System.out.println(header+”\n”);
ClientStream.println(header);
while( ( data= ServerStream.readLine())!=null)
System.out.println(data);
System.out.println(“Zabbix Payload sent \n: “+zabbix_payload+”\n “);
ClientStream.println(zabbix_payload);
while( ( data= ServerStream.readLine())!=null)
System.out.println(data);
sock.close();
System.out.println(“Connection \”closed\” “);
}
//
}