Add java plugin to nagios 4x on SUSE 11 linux server

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
venkatesh ch
Posts: 5
Joined: Mon Jun 23, 2014 10:37 am

Add java plugin to nagios 4x on SUSE 11 linux server

Post by venkatesh ch »

Hi ,

I have installed nagios core 4x on suse 11 linux sever using quick installation guide .

We have all test cases in java to test features of remote linux servers.
so i would like to add java plugin to nagios to reuse exiting java testcases.

can we add java plugin to nagios core , if so please share me some examples.

BR// venkatesh
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Add java plugin to nagios 4x on SUSE 11 linux server

Post by tmcdonald »

If you have a standalone .jar file you can create a new command with a command_line like "java -jar <filename>" that will run your custom Java plugin. Just make sure the plugin reports in the proper Nagios format as explained in our documentation:

https://nagios-plugins.org/doc/guidelines.html
Former Nagios employee
Locked