No SMTP Driver
-
What's exactly happened? Is the driver gone from the list? What is it's status and error message in the list?
To debug what's happening with the driver you can increase debug level: In Tools->Server Debug Console issue
debug ncd.* 7this will enable debug for notification channel drivers. Then try to send a message and check server log
-
Hi,
he issue is that the ncdriver SMTP module is not compiled. I have tried several methods, but I have been unable to compile the SMTP module
root@netxms:~/netxms-5.2.0/src/ncdrivers/smtp# ls -l /usr/local/lib/netxms/
total 5980
drwxr-xr-x 2 root root 4096 Apr 4 09:50 dbdrv
-rwxr-xr-x 1 root root 348608 Apr 4 09:50 dbquery.nsm
-rwxr-xr-x 1 root root 132048 Apr 4 09:50 devemu.nsm
-rwxr-xr-x 1 root root 99312 Apr 4 09:50 ds18x20.nsm
-rwxr-xr-x 1 root root 321192 Apr 4 09:50 filemgr.nsm
-rwxr-xr-x 1 root root 199952 Apr 4 09:50 gps.nsm
-rwxr-xr-x 1 root root 362320 Apr 4 09:50 leef.nxm
-rwxr-xr-x 1 root root 1728784 Apr 4 09:50 linux.nsm
-rwxr-xr-x 1 root root 91192 Apr 4 09:50 lmsensors.nsm
-rwxr-xr-x 1 root root 309600 Apr 4 09:50 logwatch.nsm
-rwxr-xr-x 1 root root 374080 Apr 4 09:50 mysql.nsm
drwxr-xr-x 2 root root 4096 Apr 4 09:50 ncdrv
drwxr-xr-x 2 root root 4096 Apr 4 09:50 ndd
-rwxr-xr-x 1 root root 693064 Apr 4 09:50 ntcb.nxm
drwxr-xr-x 2 root root 4096 Apr 4 09:50 pdsdrv
-rwxr-xr-x 1 root root 221344 Apr 4 09:50 ping.nsm
-rwxr-xr-x 1 root root 150448 Apr 4 09:50 sms.nsm
-rwxr-xr-x 1 root root 400472 Apr 4 09:50 spe.nxm
-rwxr-xr-x 1 root root 408048 Apr 4 09:50 ups.nsm
-rwxr-xr-x 1 root root 228848 Apr 4 09:50 wcc.nxmroot@netxms:~/netxms-5.2.0/src/ncdrivers/smtp# ls -l /usr/local/lib/netxms/ncdrv/
total 664
-rwxr-xr-x 1 root root 57368 Apr 4 09:50 dbtable.ncd
-rwxr-xr-x 1 root root 51464 Apr 4 09:50 dummy.ncd
-rwxr-xr-x 1 root root 88328 Apr 4 09:50 gsm.ncd
-rwxr-xr-x 1 root root 145288 Apr 4 09:50 nxagent.ncd
-rwxr-xr-x 1 root root 86112 Apr 4 09:50 portech.ncd
-rwxr-xr-x 1 root root 61760 Apr 4 09:50 shell.ncd
-rwxr-xr-x 1 root root 117264 Apr 4 09:50 snmptrap.ncd
-rwxr-xr-x 1 root root 53240 Apr 4 09:50 textfile.ncd -
-
-
Any reason why you compile it yourself? We have packages for Ubuntu.
-
-
-
Problems with compilation are probably because libcurl library is now used for a few things, smtp in particular. But it's better just to use packages.
You can install netxms packages right on the same system, just remove systemd unit or whatever way the old server and agent were started by.
nxagentd.conf will be in /etc, currently it's probably the same
server files, images are under /var/lib/netxms/, if compilation was with default prefix, then currently it's same location
and the database, with which new binaries will work same way and the old onesExport-import is also possible, this will export all the configuration, without logs and collected data:
nxdbmgr -s -Z all -e hardware_inventory -e software_inventory export backup.sqlAnd to import on the new system:
nxdbmgr import backup.sqlAnd you'll need to copy conf file and folders I've mentioned above.
-
-
Nice to hear that
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login