Menu

#27 nfsight module died

open
nobody
None
2015-01-10
2014-05-02
Dagdu
No

I'm running nfsight on Ubuntu 12.04. NFsight shows no data on the frontend. I have rerun the configuration wizard. Updated plugin details in nfsen.conf file.

Here is the error in syslog

May 2 10:11:33 Bodhi-T61 nfsen[26970]: Loading plugin 'nfsight': Success
May 2 10:11:33 Bodhi-T61 nfsen[26970]: nfsight plugin: Init
May 2 10:11:33 Bodhi-T61 nfsen[26970]: Initializing plugin 'nfsight': Module died: Can't use an undefined value as a HASH reference at /data/nfsen/plugins/nfsight.pm line 271.

Here is the line 271 in nfsight.pm
%networks = %{$Conf->{network}};

Here is my plugin configuration.

[ 'live', 'nfsight'],
);
%PluginConf = (
nfsight => {
path => "/data/nfsen/plugins/nfsight",
expiration => "180",
processing_timer => "",
network => {
"172.16.1.0" => "24",
},
scanner_limit => "5",
bidirectional_via_nfdump => "",
print_int_scanner => "1",
print_ext_scanner => "1",
print_int_client => "0",
print_ext_client => "0",
print_int_server => "1",
print_ext_server => "0",
print_int_invalid => "0",
print_ext_invalid => "0",
sql_host => "127.0.0.1",
sql_port => "3306",
sql_user => "root",
sql_pass => "",
sql_db => "nfsight",
},

Please advise ..

Discussion

  • Dagdu

    Dagdu - 2014-05-02
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,17 +1,17 @@
     I'm running nfsight on Ubuntu 12.04. NFsight shows no data on the frontend. I have rerun the configuration wizard. Updated plugin details in nfsen.conf file.
    +
     Here is the error in syslog
    ----------------------------
    +
     May  2 10:11:33 Bodhi-T61 nfsen[26970]: Loading plugin 'nfsight': Success
     May  2 10:11:33 Bodhi-T61 nfsen[26970]: nfsight plugin: Init
     May  2 10:11:33 Bodhi-T61 nfsen[26970]: Initializing plugin 'nfsight': Module died: Can't use an undefined value as a HASH reference at /data/nfsen/plugins/nfsight.pm line 271.
    
     Here is the line 271 in nfsight.pm
    -----------------------------------
     %networks = %{$Conf->{network}};
    
    
     Here is my plugin configuration.
    ------------------------------------
    +
       [ 'live', 'nfsight'],
     );
     %PluginConf = (
    
     
  • Dagdu

    Dagdu - 2014-05-02
     

Anonymous
Anonymous

Add attachments
Cancel