GithubHelp home page GithubHelp logo

snickerjp / orabbix Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 12.0 147 KB

[Orabbix support Zabbix 4.0 or later] I'm not the author of orabbix, git-svn from SorceForge

Home Page: https://sourceforge.net/projects/orabbix/

Java 100.00%
orabbix zabbix oracle

orabbix's Introduction

Orabbix support Zabbix 4.0,5.0,6.0

  • Stable Branch is main
  • Not support branch convert_maven

Codacy Badge

How to build

# Git clone `main` branch.
git clone https://github.com/snickerjp/orabbix.git -b main

cd orabbix
# download orabbix
#from: https://sourceforge.net/projects/orabbix/

unzip orabbix-1.2.3.zip
OR
unzip -d orabbix-1.2.3 orabbix-1.2.3.zip
ls -d orabbix-1.2.3

# compile
# require. java-1.8.0-openjdk-devel(example RHEL yum system)
javac -cp "$(for _JAR in orabbix-1.2.3/lib/*.jar;do echo -n $_JAR:;done)orabbix-1.2.3/orabbix-1.2.3.jar" com/smartmarmot/orabbix/Sender.java
mkdir -p ./build
cp orabbix-1.2.3/orabbix-1.2.3.jar ./build
cd build
jar -xvf orabbix-1.2.3.jar com
cp ../com/smartmarmot/orabbix/Sender.class com/smartmarmot/orabbix/Sender.class
jar -uf orabbix-1.2.3.jar com

Test

Zabbix

  • Work with Zabbix 4.0
  • Work with Zabbix 5.0
  • Work with Zabbix 6.0
  • Work with Zabbix 7.0 (Now testing)

Java

  • Work with Java7
  • Work with Java8
  • Work with Java17
  • Work with Java21 (Now testing)

ref.

Oracle Database

  • Work with 11g
  • Work with 12c
  • Work with 21c XE
  • Work with 23c Free

ex. #9

Screenshot

image

orabbix's People

Contributors

codacy-badger avatar renovate[bot] avatar restyled-commits avatar snickerjp avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

orabbix's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

maven
pom.xml
  • org.junit.jupiter:junit-jupiter-api 5.6.0
  • org.junit.jupiter:junit-jupiter-engine 5.6.0
  • commons-dbcp:commons-dbcp 1.4
  • org.apache.logging.log4j:log4j-api 2.22.1
  • org.apache.logging.log4j:log4j-core 2.22.1
  • org.apache.logging.log4j:log4j-1.2-api 2.22.1
  • commons-codec:commons-codec 1.16.1
  • commons-lang:commons-lang 2.6
  • org.apache.maven.plugins:maven-enforcer-plugin 3.0.0-M3
  • org.apache.maven.plugins:maven-checkstyle-plugin 3.1.2
  • com.puppycrawl.tools:checkstyle 10.14.2
  • com.github.ngeor:checkstyle-rules 4.9.4
  • org.apache.maven.plugins:maven-surefire-plugin 3.2.5
  • org.jacoco:jacoco-maven-plugin 0.8.11
  • org.apache.maven.plugins:maven-javadoc-plugin 3.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

compile orabbix is error

[root@zabbix orabbix]# javac -cp "orabbix-1.2.3/orabbix-1.2.3.jar:orabbix-1.2.3/lib/*" com/smartmarmot/orabbix/Sender.java
com/smartmarmot/orabbix/Sender.java:31: error: package org.apache.log4j does not exist
import org.apache.log4j.Level;
^
com/smartmarmot/orabbix/Sender.java:32: error: package org.apache.log4j does not exist
import org.apache.log4j.Logger;
^
com/smartmarmot/orabbix/Sender.java:34: error: package org.apache.commons.codec.binary does not exist
import org.apache.commons.codec.binary.Base64;
^
com/smartmarmot/orabbix/Sender.java:36: error: package com.smartmarmot.common does not exist
import com.smartmarmot.common.SmartLogger;
^
com/smartmarmot/orabbix/Sender.java:37: error: package com.smartmarmot.zabbix does not exist
import com.smartmarmot.zabbix.ZabbixItem;
^
com/smartmarmot/orabbix/Sender.java:45: error: cannot find symbol
private static final Logger log = Logger.getLogger("Orabbix");
^
symbol: class Logger
location: class Sender
com/smartmarmot/orabbix/Sender.java:47: error: cannot find symbol
private final BlockingQueue queue;
^
symbol: class ZabbixItem
location: class Sender
com/smartmarmot/orabbix/Sender.java:82: error: cannot find symbol
public Sender(final BlockingQueue queue,
^
symbol: class ZabbixItem
location: class Sender
com/smartmarmot/orabbix/Sender.java:45: error: cannot find symbol
private static final Logger log = Logger.getLogger("Orabbix");
^
symbol: variable Logger
location: class Sender
com/smartmarmot/orabbix/Sender.java:109: error: cannot find symbol
final ZabbixItem item = queue.take();
^
symbol: class ZabbixItem
location: class Sender
com/smartmarmot/orabbix/Sender.java:117: error: cannot find symbol
SmartLogger.logThis(Level.WARN,
^
symbol: variable Level
location: class Sender
com/smartmarmot/orabbix/Sender.java:117: error: cannot find symbol
SmartLogger.logThis(Level.WARN,
^
symbol: variable SmartLogger
location: class Sender
com/smartmarmot/orabbix/Sender.java:125: error: cannot find symbol
SmartLogger.logThis(Level.WARN,
^
symbol: variable Level
location: class Sender
com/smartmarmot/orabbix/Sender.java:125: error: cannot find symbol
SmartLogger.logThis(Level.WARN,
^
symbol: variable SmartLogger
location: class Sender
com/smartmarmot/orabbix/Sender.java:148: error: cannot find symbol
final ZabbixItem item = queue.remove();
^
symbol: class ZabbixItem
location: class Sender
com/smartmarmot/orabbix/Sender.java:156: error: cannot find symbol
SmartLogger.logThis(Level.WARN,
^
symbol: variable Level
location: class Sender
com/smartmarmot/orabbix/Sender.java:156: error: cannot find symbol
SmartLogger.logThis(Level.WARN,
^
symbol: variable SmartLogger
location: class Sender
com/smartmarmot/orabbix/Sender.java:166: error: cannot find symbol
SmartLogger.logThis(Level.WARN, "Error i didn't sent item "
^
symbol: variable Level
location: class Sender
com/smartmarmot/orabbix/Sender.java:166: error: cannot find symbol
SmartLogger.logThis(Level.WARN, "Error i didn't sent item "
^
symbol: variable SmartLogger
location: class Sender
com/smartmarmot/orabbix/Sender.java:191: error: cannot find symbol
return new String(Base64.encodeBase64(encodeString(data)));
^
symbol: variable Base64
location: class Sender
com/smartmarmot/orabbix/Sender.java:204: error: cannot find symbol
SmartLogger.logThis(Level.DEBUG,"sending " + message);
^
symbol: variable Level
location: class Sender
com/smartmarmot/orabbix/Sender.java:204: error: cannot find symbol
SmartLogger.logThis(Level.DEBUG,"sending " + message);
^
symbol: variable SmartLogger
location: class Sender
com/smartmarmot/orabbix/Sender.java:242: error: cannot find symbol
SmartLogger.logThis(Level.DEBUG, "received "
^
symbol: variable Level
location: class Sender
com/smartmarmot/orabbix/Sender.java:242: error: cannot find symbol
SmartLogger.logThis(Level.DEBUG, "received "
^
symbol: variable SmartLogger
location: class Sender
com/smartmarmot/orabbix/Sender.java:246: error: cannot find symbol
SmartLogger.logThis(Level.WARN,
^
symbol: variable Level
location: class Sender
com/smartmarmot/orabbix/Sender.java:246: error: cannot find symbol
SmartLogger.logThis(Level.WARN,
^
symbol: variable SmartLogger
location: class Sender
com/smartmarmot/orabbix/Sender.java:252: error: cannot find symbol
SmartLogger.logThis(Level.ERROR,
^
symbol: variable Level
location: class Sender
com/smartmarmot/orabbix/Sender.java:252: error: cannot find symbol
SmartLogger.logThis(Level.ERROR,
^
symbol: variable SmartLogger
location: class Sender
28 errors

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.