-
Type:
Incident report
-
Resolution: Commercial support required
-
Priority:
Trivial
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Hello Zabbix Team
i am writing SSH Script. my script contains finding file in Host interface. below is my script. i am expecting result is File not exists but i got result is file exists. if statement is not working in zabbix. Please find the attached screen shots
Code:
if [ -e /export/home/insite/.insiteINFO1 ] #file path then echo "file exists" else echo " File not exits" fi
result:
2017-11-15 15:57:28 file exists 2017-11-15 15:56:57 file exists 2017-11-15 15:56:29 file exists