Hi.
We've got a homegrown log monitor, written in perl, that calls a half dozen (non-platform-specific) home-grown perl modules.
It will read configuration files (on the nrdp agent) that tell it what log to read, what patterns to look for, etc.
We will be executing this through nrds.
I've defined LogMon.pl in the nrds config on the XI server and it ships it down to the agent to do the check.
How do I also get the supporting pm and config files to get distributed with it?
It obviously just fails now as it can't find these files.
Thanks very much.
Rick
packaging a perl plugin with supporting perl modules in nrds
Re: packaging a perl plugin with supporting perl modules in
This is sorta messy, but you could try defining the modules as "commands" so that they will be picked up. Everything should be dumped in the same directory on the remote agent, so you would need to modify in your perl where the module is. You could do the same with the configs. I haven't tried this personally, but I might give it a shot if I have time later this afternoon.
Former Nagios employee
Re: packaging a perl plugin with supporting perl modules in
Do we have a resolution on this one.
I am tryin to run a perl plugin from a windows using NRDS and not able to execute appropriately.
I am tryin to run a perl plugin from a windows using NRDS and not able to execute appropriately.
Re: packaging a perl plugin with supporting perl modules in
Did you try what @tmcdonald suggested? Did you encounter any issues attempting that?
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/