ntop / nProbe

Open source components and extensions for nProbe
http://ntop.org
GNU General Public License v2.0
1.66k stars 44 forks source link

Plugins don't work - WARNING: Unable to locate template 'SMTP_MAIL_FROM'. Discarded. #470

Closed St3ll4rM4n closed 3 years ago

St3ll4rM4n commented 3 years ago

Dears,

I can’t make the nprobe working with the plugins on my Edgerouter X. I tried SMTP for start but without success.

I see the following in the logs while starting.

23/Feb/2021 22:12:29 [template.c:2698] WARNING: Unable to locate template 'SMTP_MAIL_FROM'. Discarded. 23/Feb/2021 22:12:29 [plugin.c:1181] 0 plugin(s) enabled

root@MyRouter-EdgeMAX:/etc/nprobe# nprobe -v

Welcome to nProbe v.9.5.210209 for edgeos-mipsel

Copyright 2002-21 ntop.org

Version: 9.5.210209 Build OS: Ubuntu 18.04.5 LTS SystemID: CBAB4DB45E6BA0A5 GIT rev: dev:be067fa87a38cd235bfca87d03985b7f0a781381:20210209 Edition: nProbe Embedded License: XXXXXX License Hash: XXXXXX [valid license] License Type: Permanent License Maintenance: Until Tue Feb 22 15:14:42 2022 [363 days left]

My nprobe.cfg looks like that:

--zmq "tcp://*:1234" -i=switch0 -T="@NTOPNG@ %SMTP_MAIL_FROM" -n=none

Please help.

simonemainardi commented 3 years ago

SMTP plugin is only available with nProbe Enterprise M or L. Please, check.

St3ll4rM4n commented 3 years ago

How can I check which version I have? I was told by sales that I have Enterprise M.

lucaderi commented 3 years ago

The embedded version of nProbe is Pro only and it does not enable plugins, so the error is normal.

Even if you generate a x86 enterprise license and put it on an embedded version, it will stay embedded (hence Pro)