Nagios xi on Win7 and plugin installation

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
markshaw
Posts: 17
Joined: Thu Jul 26, 2012 5:55 am

Nagios xi on Win7 and plugin installation

Post 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.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios xi on Win7 and plugin installation

Post 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.
Nicholas Scott
Former Nagios employee
markshaw
Posts: 17
Joined: Thu Jul 26, 2012 5:55 am

Re: Nagios xi on Win7 and plugin installation

Post 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.
User avatar
nscott
Posts: 1040
Joined: Wed May 11, 2011 8:54 am

Re: Nagios xi on Win7 and plugin installation

Post 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.
Nicholas Scott
Former Nagios employee
markshaw
Posts: 17
Joined: Thu Jul 26, 2012 5:55 am

Re: Nagios xi on Win7 and plugin installation

Post 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