Page 1 of 1

Nagios XI on Win7 and plugin installation

Posted: Wed Aug 01, 2012 9:31 am
by markshaw
Hi,

I'm trying to install a plugin on my Nagios XI running on Windows Virtual PC on a Win7 box.
The plugin says copy the .jar file to /opt/plugins/custom

How do I access /opt/plugins/custom ? Presumably this is the filesystem within the Virtual PC

Thanks
M.

Re: Nagios XI on Win7 and plugin installation

Posted: Wed Aug 01, 2012 9:35 am
by nscott
Yes, if you are installing a plugin you will definitely need to do this in the Virtual PC. Without knowing any specifics about the plugin, it looks like the plugin creator is using an abnormal file path for his plugin. If I had to venture a guess, you will actually need to move the .jar file to /usr/local/nagios/libexec/custom/, a Linux command that would do this for you is:

cp -p <path to the .jar file> /usr/local/nagios/libexec/custom/<name of the jar file>.jar

This will copy the .jar file to NagiosXI's plugin directory and create the custom folder for it.

Re: Nagios XI on Win7 and plugin installation

Posted: Wed Aug 01, 2012 10:20 am
by markshaw
Thanks.
how do I get the .jar from my Win7 box into the Virtual PC fielsystem?
The .jar is on my Win7 box, but I can't actually browse the Virtual PC Filesystem from my Win7 box.

Do I need to mount it, or FTP to it somehow?

Thanks
M.

Re: Nagios XI on Win7 and plugin installation

Posted: Wed Aug 01, 2012 10:43 am
by nscott
FTP would work, however, if you're going to be interacting with this Nagios server a lot I'd suggest check out SFTP NetDrive:

http://www.eldos.com/sftp-net-drive/

Its free, and it will let you mount the Nagios server's drive quite easily via SSH. Once you mount it, you can use it you would a windows volume.

Re: Nagios XI on Win7 and plugin installation

Posted: Thu Aug 02, 2012 4:01 am
by markshaw
nscott wrote:FTP would work, however, if you're going to be interacting with this Nagios server a lot I'd suggest check out SFTP NetDrive:

http://www.eldos.com/sftp-net-drive/

Its free, and it will let you mount the Nagios server's drive quite easily via SSH. Once you mount it, you can use it you would a windows volume.

awesome! Thanks