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.
Nagios xi on Win7 and plugin installation
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: Nagios xi on Win7 and plugin installation
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.
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
Former Nagios employee
-
- Posts: 17
- Joined: Thu Jul 26, 2012 5:55 am
Re: Nagios xi on Win7 and plugin installation
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.
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.
-
- Posts: 1040
- Joined: Wed May 11, 2011 8:54 am
Re: Nagios xi on Win7 and plugin installation
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.
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
Former Nagios employee
-
- Posts: 17
- Joined: Thu Jul 26, 2012 5:55 am
Re: Nagios xi on Win7 and plugin installation
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