Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - sq

#1
General Support / Notification Channel driver "Shell"
October 29, 2021, 12:07:10 AM
Hi, could you please provide some documentation for the "Shell" "Notification Channel" driver?

I was looking for some documentation in the source code:

https://github.com/netxms/netxms/blob/3f1e052583ade764a1512e30c16ca6809ec8e982/src/ncdrivers/shell/shell.cpp

but for example

Command=/usr/bin/test.py --message=${text}

${text} ends up empty.

and I'm not sure how to enable a higher debug level (6) for this shell driver, the debug of the dummy driver worked pretty much as expected, for the shell driver I've tried to enable the debug output with the following command:

nxadm -c "debug ncd.shell 6"