Thanks for that explanation of the magic of plugin replication Duncan. I have a custom module subdirectory within libexec but the softlink is at the root of the libexec folder.
I'll have to pay closer attention to see what is different when plugins replicate and when they don't. Knowing the magic is happening within opsviewd is good information to know, thanks again. Also thanks to Mark Maas-Martin for suggesting running 'send2slaves -p' to force replication. James Whittington VC3, Inc. From: [email protected] [mailto:[email protected]] On Behalf Of Duncan Ferguson Sent: Monday, September 21, 2009 10:29 AM To: Opsview Users Subject: Re: [opsview-users] How do you replicate a new plugin to slaveservers ? On 18 Sep 2009, at 13:51, James Whittington wrote: I have periodic issues where new versions of custom plugins are not automatically flowing out to the slave servers. I remember I was pleasantly surprised in the past to see changes to plugins magically seemed to make it out to the slave servers although I wasn't quite sure how the magic worked. I have a custom modules folder within the standard libexec folder and I have a script that softlinks the base plugin with the newest custom version of that script. When and how do changes to the libexec area get propagated out to the slave servers? I would appreciate it if anyone has any insight to how the magic works :<).. A magician never reveals his tricks ;-) opsviewd watches the libexec directory for changes every 5 minutes (the directory itself, not the files within it) and if it seems a change then it runs a 'send2slaves -p' - if you have your files in a directory under libexec then i would guess libexec itself isn't updated, so then the send2slaves isnt kicked off. Just touch a file within libexec and the process should kick off. Duncs -- Duncan Ferguson Senior Developer Opsera Limited | Unit 69 Suttons Business Park Reading | Berkshire | RG6 1AZ | UK Phone: +44 (0) 845 057 7887 Mobile: +44 (0) 7968 148 748 Skype: duncan_j_ferguson Email: [email protected] www.opsera.com <http://www.opsera.com/> Opsera Limited is registered in the UK under Company Number 5396532. Our registered office is Gorse View, Horsell Rise, Woking, Surrey, GU21 4RB.
<<image001.gif>>
_______________________________________________ Opsview-users mailing list [email protected] http://lists.opsview.org/lists/listinfo/opsview-users
