I propose adding a new placeholder "library" to this list: https://kb.paessler.com/en/topic/373-what-placeholders-can-i-use-with-prtg
this way, we can write generic notification template scripts utilising the name of the library. example:
library: nginx notification script: restartservice.sh:
ssh %HOST /etc/init.d/%LIBRARY restart
the same sript is than usable for sensors grouped in other libraries like apache, postfix etc..
Add comment