- Posts: 107
- Thank you received: 0
Performance and logs alerts
19 years 8 months ago #7704
by aminos
Performance and logs alerts was created by aminos
hi
i want to know if someone accessed my ftp, so i write a script that sends an email and i configured an alert that execute the script if the counter FTP service\current connections is over 0 with sample
data every 5 decondes, it works but the problem is that i get the email every 5 secondes and me i want just to get it once
so the increase theinterval to 5 minutes but i had another problem
i got the message 5 minutes after someone logs in !!!
so can someone help me to fix that issue
thanks for your help
i want to know if someone accessed my ftp, so i write a script that sends an email and i configured an alert that execute the script if the counter FTP service\current connections is over 0 with sample
data every 5 decondes, it works but the problem is that i get the email every 5 secondes and me i want just to get it once
so the increase theinterval to 5 minutes but i had another problem
i got the message 5 minutes after someone logs in !!!
so can someone help me to fix that issue
thanks for your help
19 years 8 months ago #7705
by cyberoidx
Surya Sharma
www.Technodrome.info
AR3 Y0U T3CH ENOUGH FOR IT?
Replied by cyberoidx on topic Re: Performance and logs alerts
Care to post the script here......?
Its mostly a crontab i guess.... or is it something else?
Its mostly a crontab i guess.... or is it something else?
Surya Sharma
www.Technodrome.info
AR3 Y0U T3CH ENOUGH FOR IT?
19 years 8 months ago #7712
by sahirh
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
Replied by sahirh on topic Re: Performance and logs alerts
Write a wrapper for the FTP server.. or perhaps TCP wrappers can do this directly I'm not too sure..
Why not just tail -f it or something similar.
Why not just tail -f it or something similar.
Sahir Hidayatullah.
Firewall.cx Staff - Associate Editor & Security Advisor
tftfotw.blogspot.com
19 years 8 months ago #7725
by aminos
Well
my script is quit simple it sends a email whenever someone log to my FTp :
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "xxxxx@xxxx.xx"
objEmail.To = "yyyyy@yyy.yy"
objEmail.Subject = " ftp Server"
objEmail.Textbody = "Someone is here "
objEmail.Send
so what do think it a vbscript
my script is quit simple it sends a email whenever someone log to my FTp :
Set objEmail = CreateObject("CDO.Message")
objEmail.From = "xxxxx@xxxx.xx"
objEmail.To = "yyyyy@yyy.yy"
objEmail.Subject = " ftp Server"
objEmail.Textbody = "Someone is here "
objEmail.Send
so what do think it a vbscript
Time to create page: 0.135 seconds