On 24.07.2013 20:18, Martin Brault wrote:
> On 2013-07-24 14:13, heabmi wrote:
>> https://lists.sourceforge.net/lists/listinfo/nfsen-discuss
>> This plugin was just what I was looking for and so i did an install of
>> the latest nfsen running on CentOS 6.4 and I'm having the same issues.
>> No errors and I tried clearing the cache without result.
>>
>
> Hello,
>
> Your graphs are updating?
>
> I got rid of the demoplugin.php and demoplugin.pm, and left this in my 
> nfsen.conf
>
> @plugins = (
> [ '*', 'flowdoh' ],
> );
>
> %PluginConf = (
>         # For plugin demoplugin
>         demoplugin => {
>                 # scalar
>                 param2 => 42,
>                 # hash
>                 param1 => { 'key' => 'value' },
>         },
>         # for plugin otherplugin
>         otherplugin => [
>                 # array
>                 'mary had a little lamb'
>         ],
> );
>
>
>
> then restart nfsen
>
> /path/to/nfsen stop
> /path/to/nfsen start
>
>
> And I am getting plugin debug info now;
>
> Jul 24 14:14:38 flow nfsen[10599]: Comm server started: [10599]
> Jul 24 14:14:38 flow nfsen[10599]: Frontend module 'flowdoh.php' found
> Jul 24 14:14:38 flow nfsen[10599]: Loading plugin 'flowdoh': Success
> Jul 24 14:14:38 flow nfsen[10599]: flowdoh: Init
> Jul 24 14:14:38 flow nfsen[10599]: Initializing plugin 'flowdoh': Success
> Jul 24 14:14:38 flow nfsen[10599]: plugin 'flowdoh': Profile plugin: 
> 1, Alert condition plugin: 0, Alert action plugin: 0
> Jul 24 14:14:38 flow nfsen[10599]: No backend module 'demoplugin.pm' 
> found
> Jul 24 14:14:38 flow nfsen[10599]: Plugins for profile         : 
> ./live - flowdoh
> Jul 24 14:14:38 flow nfsen[10599]: No site specific lookup module found
>
>
> I had to clear my browser (everything) to start seeing plugin pages.  
> I confirmed this by using another browser I had never used to visit 
> the nfsen pages.
>
> In any case, on a vanilla Centos6.4 I got this working, so hopefully 
> this will help!
>
> M.
>
Hi. Yes, graphs are updating and testPlugin results in this:
[root@CentOS bin]# ./testPlugin -p flowdoh -P live -t 201307240055
Load plugin 'flowdoh'   : Success
Initialize plugin       : Success
Run plugin 'flowdoh' with profile 'live' at '201307240055'
Use of uninitialized value in numeric gt (>) at 
/data/nfsen/plugins/flowdoh.pm line 215.
Use of uninitialized value in numeric gt (>) at 
/data/nfsen/plugins/flowdoh.pm line 228.
Use of uninitialized value in numeric gt (>) at 
/data/nfsen/plugins/flowdoh.pm line 241.
Plugin run successfully, at least as far as I can tell ...

I've made my config the same as yours afaik, but im not seeing the 
plugin dialog in the logs.
I will try to test it on the production box tomorrow.

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Nfsen-discuss mailing list
Nfsen-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfsen-discuss

Reply via email to