Hi All I installed the Events plugin and restarted nfsen. I can see the demoplugin but not the Events plugin.
I cleared my browser cache as per a suggestion from Peter in the mail archive and tried a fresh browser that's never used nfsen befor still only see the demoplugin. syslog shows the Events plugin loaded ok (I think). Cheers, Ian ls -la /opt/nfsen/plugins total 60 drwxr-xr-x 2 root www-data 4096 Aug 25 10:31 . drwxr-xr-x 9 root root 4096 Aug 20 15:38 .. -rw-r--r-- 1 root www-data 5503 Aug 22 11:39 demoplugin.pm -rw-r--r-- 1 root www-data 7976 Aug 24 15:49 Events.php -rw-r--r-- 1 root www-data 19606 Aug 24 16:57 Events.pm -rw-r--r-- 1 root www-data 13692 Aug 22 11:39 smily.jpg mysql is listening on loopback ian@draco:~$ netstat -an | grep 3306 tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN nfsen.conf @plugins = ( # Events [ '*', 'Events' ], [ '*', 'demoplugin' ], ); %PluginConf = ( # For plugin demoplugin demoplugin => { # # scalar param2 => 42, # # hash param1 => { 'key' => 'value' }, }, events => { db_connection_string => "DBI:mysql:database=events;host=127.0.0.1;port=3306", db_user => "event_user", db_passwd => "mypassword", }, ), apache error log [Mon Aug 25 11:27:16.071357 2014] [:error] [pid 32672] [client 172.16.37.5:60063] PHP Notice: Undefined index: backend_version in /var/www/html/nfsen/nfsen.php on line 46, referer: http://172.16.2.30/nfsen/ sudo tail -f /var/log/syslog | grep nf Aug 25 11:26:40 draco nfsen[32707]: nfsend: Got SIGTERM Aug 25 11:26:40 draco nfsen[32707]: Signal comm server to terminate Aug 25 11:26:41 draco nfsen[32708]: Quit comm server. Aug 25 11:26:41 draco nfsen[32708]: Cleanup plugins Aug 25 11:26:41 draco nfsen[32708]: Cleanup plugin: Events Aug 25 11:26:41 draco nfsen[32708]: Cleanup plugin 'Events': done. Aug 25 11:26:41 draco nfsen[32708]: Cleanup plugin: demoplugin Aug 25 11:26:41 draco nfsen[32708]: demoplugin Cleanup Aug 25 11:26:41 draco nfsen[32708]: Cleanup plugin 'demoplugin' returned: 1 Aug 25 11:26:41 draco nfsen[32708]: Comm server terminated: [32708]. Aug 25 11:26:41 draco nfsen[32707]: expected exit of child Comm Server[32708]. Process died. Aug 25 11:26:41 draco nfsen[32707]: Exit Aug 25 11:26:48 draco nfcapd[450]: Add extension: 2 byte input/output interface index Aug 25 11:26:48 draco nfcapd[450]: Add extension: 4 byte input/output interface index Aug 25 11:26:48 draco nfcapd[450]: Add extension: 2 byte src/dst AS number Aug 25 11:26:48 draco nfcapd[450]: Add extension: 4 byte src/dst AS number Aug 25 11:26:48 draco nfcapd[450]: Bound to IPv4 host/IP: any, Port: 9996 Aug 25 11:26:48 draco nfcapd[450]: Standard setsockopt, SO_RCVBUF is 212992 Requested length is 200000 bytes Aug 25 11:26:48 draco nfcapd[450]: System set setsockopt, SO_RCVBUF to 400000 bytes Aug 25 11:26:48 draco nfcapd[452]: Startup. Aug 25 11:26:48 draco nfcapd[452]: Init v9: Max number of v9 tags: 75 Aug 25 11:26:48 draco nfcapd[452]: Init IPFIX: Max number of IPFIX tags: 62 Aug 25 11:26:48 draco nfcapd[452]: Process_v9: New exporter: SysID: 1, Domain: 0, IP: 172.16.2.1 Aug 25 11:26:49 draco nfcapd[452]: Process_v9: [0] Add template 256 Aug 25 11:26:49 draco nfcapd[452]: Process_v9: [0] Add template 257 Aug 25 11:26:49 draco nfcapd[453]: Add extension: 2 byte input/output interface index Aug 25 11:26:49 draco nfcapd[453]: Add extension: 4 byte input/output interface index Aug 25 11:26:49 draco nfcapd[453]: Add extension: 2 byte src/dst AS number Aug 25 11:26:49 draco nfcapd[453]: Add extension: 4 byte src/dst AS number Aug 25 11:26:49 draco nfcapd[453]: Bound to IPv4 host/IP: any, Port: 9995 Aug 25 11:26:49 draco nfcapd[453]: Standard setsockopt, SO_RCVBUF is 212992 Requested length is 200000 bytes Aug 25 11:26:49 draco nfcapd[453]: System set setsockopt, SO_RCVBUF to 400000 bytes Aug 25 11:26:49 draco nfcapd[455]: Startup. Aug 25 11:26:49 draco nfcapd[455]: Init v9: Max number of v9 tags: 75 Aug 25 11:26:49 draco nfcapd[455]: Init IPFIX: Max number of IPFIX tags: 62 Aug 25 11:26:50 draco nfcapd[455]: Process_v9: New exporter: SysID: 1, Domain: 0, IP: 10.3.1.121 Aug 25 11:26:50 draco nfcapd[455]: Process_v9: [0] Add template 256 Aug 25 11:26:50 draco nfcapd[455]: Process_v9: [0] Add template 257 Aug 25 11:26:51 draco nfcapd[456]: Add extension: 2 byte input/output interface index Aug 25 11:26:51 draco nfcapd[456]: Add extension: 4 byte input/output interface index Aug 25 11:26:51 draco nfcapd[456]: Add extension: 2 byte src/dst AS number Aug 25 11:26:51 draco nfcapd[456]: Add extension: 4 byte src/dst AS number Aug 25 11:26:51 draco nfcapd[456]: Bound to IPv4 host/IP: any, Port: 9997 Aug 25 11:26:51 draco nfcapd[456]: Standard setsockopt, SO_RCVBUF is 212992 Requested length is 200000 bytes Aug 25 11:26:51 draco nfcapd[456]: System set setsockopt, SO_RCVBUF to 400000 bytes Aug 25 11:26:51 draco nfcapd[458]: Startup. Aug 25 11:26:51 draco nfcapd[458]: Init v9: Max number of v9 tags: 75 Aug 25 11:26:51 draco nfcapd[458]: Init IPFIX: Max number of IPFIX tags: 62 Aug 25 11:26:51 draco nfcapd[458]: Process_v9: New exporter: SysID: 1, Domain: 0, IP: 10.3.1.17 Aug 25 11:26:52 draco nfsen[459]: Startup. Version: 1.3.6p1 $Id: nfsend 52 2012-01-23 16:23:08Z peter $ Aug 25 11:26:52 draco nfsen[460]: nfsend: [460] Aug 25 11:26:52 draco nfsen[461]: Comm server started: [461] Aug 25 11:26:52 draco nfsen[461]: Loading plugin 'Events': Success Aug 25 11:26:52 draco nfsen[461]: Initializing plugin 'Events': Success Aug 25 11:26:52 draco nfsen[461]: plugin 'Events': Profile plugin: 1, Alert condition plugin: 0, Alert action plugin: 0 Aug 25 11:26:52 draco nfsen[461]: Frontend module 'demoplugin.php' found Aug 25 11:26:52 draco nfsen[461]: Loading plugin 'demoplugin': Success Aug 25 11:26:52 draco nfsen[461]: demoplugin: Init Aug 25 11:26:52 draco nfsen[461]: Initializing plugin 'demoplugin': Success Aug 25 11:26:52 draco nfsen[461]: plugin 'demoplugin': Profile plugin: 1, Alert condition plugin: 1, Alert action plugin: 1 Aug 25 11:26:52 draco nfsen[461]: Plugins for profile : ./live - Events,demoplugin Aug 25 11:26:52 draco nfsen[461]: Plugins for Alert conditions: demoplugin Aug 25 11:26:52 draco nfsen[461]: Plugins for Alert actions : demoplugin Aug 25 11:26:52 draco nfsen[461]: No site specific lookup module found Aug 25 11:26:53 draco nfsen[461]: connection on UNIX socket Aug 25 11:26:53 draco nfsen[461]: comm server started: 463 Aug 25 11:26:53 draco nfsen[463]: Cmd Decode: signal Aug 25 11:26:53 draco nfsen[463]: Cmd Decode: quit Aug 25 11:26:53 draco nfsen[460]: Signal 'start-periodic' Aug 25 11:26:53 draco nfsen[460]: Run periodic at Mon Aug 25 11:25:00 2014 Aug 25 11:26:53 draco nfsen[460]: No update required. Last successful update was Mon Aug 25 11:20:00 2014 Aug 25 11:26:53 draco nfsen[460]: Run expire at Mon Aug 25 11:25:00 2014 Aug 25 11:26:53 draco nfsen[460]: End expire at Mon Aug 25 11:25:00 2014 Aug 25 11:26:53 draco nfsen[461]: connection on UNIX socket Aug 25 11:26:53 draco nfsen[461]: comm server started: 464 Aug 25 11:26:53 draco nfsen[464]: Cmd Decode: signal Aug 25 11:26:53 draco nfsen[464]: Cmd Decode: quit Aug 25 11:26:53 draco nfsen[460]: Signal 'end-periodic' Aug 25 11:26:53 draco nfsen[464]: Cleanup Routine Aug 25 11:26:53 draco nfsen[461]: comm child[463] terminated with no exit value Aug 25 11:26:53 draco nfsen[461]: comm child[464] terminated with no exit value Aug 25 11:27:00 draco nfcapd[458]: Process_v9: [0] Add template 256 Aug 25 11:27:00 draco nfcapd[458]: Process_v9: [0] Add template 257 Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 466 Aug 25 11:27:16 draco nfsen[466]: Cmd Decode: get-globals Aug 25 11:27:16 draco nfsen[466]: Cmd Decode: get-du Aug 25 11:27:16 draco nfsen[466]: comm child[467] terminated with no exit value Aug 25 11:27:16 draco nfsen[466]: Cmd Decode: get-profilelist Aug 25 11:27:16 draco nfsen[466]: Cmd Decode: get-frontendplugins Aug 25 11:27:16 draco nfsen[466]: Cmd Decode: get-filterlist Aug 25 11:27:16 draco nfsen[466]: Cmd Decode: get-profile Aug 25 11:27:16 draco nfsen[466]: Cmd Decode: quit Aug 25 11:27:16 draco nfsen[461]: comm child[466] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 468 Aug 25 11:27:16 draco nfsen[468]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[468] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 469 Aug 25 11:27:16 draco nfsen[469]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[469] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 470 Aug 25 11:27:16 draco nfsen[470]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[470] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 471 Aug 25 11:27:16 draco nfsen[471]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[471] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 473 Aug 25 11:27:16 draco nfsen[473]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[473] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 474 Aug 25 11:27:16 draco nfsen[474]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[474] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 475 Aug 25 11:27:16 draco nfsen[475]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[475] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 476 Aug 25 11:27:16 draco nfsen[476]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[476] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 477 Aug 25 11:27:16 draco nfsen[477]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[477] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 478 Aug 25 11:27:16 draco nfsen[478]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[478] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 479 Aug 25 11:27:16 draco nfsen[479]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[479] terminated with no exit value Aug 25 11:27:16 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:16 draco nfsen[461]: comm server started: 480 Aug 25 11:27:16 draco nfsen[480]: Cmd Decode: get-picture Aug 25 11:27:16 draco nfsen[461]: comm child[480] terminated with no exit value Aug 25 11:27:18 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:18 draco nfsen[461]: comm server started: 481 Aug 25 11:27:18 draco nfsen[481]: Cmd Decode: get-globals Aug 25 11:27:18 draco nfsen[481]: Cmd Decode: get-du Aug 25 11:27:18 draco nfsen[481]: comm child[482] terminated with no exit value Aug 25 11:27:18 draco nfsen[481]: Cmd Decode: get-profile Aug 25 11:27:18 draco nfsen[481]: Cmd Decode: demoplugin::try Aug 25 11:27:18 draco nfsen[481]: Cmd Decode: quit Aug 25 11:27:18 draco nfsen[461]: comm child[481] terminated with no exit value Aug 25 11:27:18 draco nfsen[461]: connection on UNIX socket Aug 25 11:27:18 draco nfsen[461]: comm server started: 483 Aug 25 11:27:18 draco nfsen[483]: Cmd Decode: get-anypicture Aug 25 11:27:18 draco nfsen[461]: comm child[483] terminated with no exit value ^C ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Nfsen-discuss mailing list Nfsen-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfsen-discuss