Ad Widget

Collapse

Cannot set trigger to check for existing files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stripecat
    Junior Member
    • Jul 2015
    • 1

    #1

    Cannot set trigger to check for existing files

    Hi

    I tried to create a trigger with this expression:
    {Template OS Linux:vfs.file.exists[/var/run/reboot-required].last()}=1

    It's supposed to raise a warning when Debian/Ubuntu-server should be rebooted.

    But I get this error when I try to create the trigger: "ERROR: Cannot add trigger".

    Any ideas?

    Regards
    Erik
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #2
    Are you added item that have key vfs.file.exists[/var/run/reboot-required]?
    Or, error message was not output to the other?

    Comment

    Working...