check if squid is up
Posted: Mon Jun 02, 2008 10:10 pm
hi, i need a script to do something like this
Check if a port in a pc is opened
if yes do nothing
if not, disable some firewall/nat rules and send an email
my scripting skills are none... but if someone can help me with the first part (red bold line) then i can obtain the rest from other scripts
Check if a port in a pc is opened
if yes do nothing
if not, disable some firewall/nat rules and send an email
my scripting skills are none... but if someone can help me with the first part (red bold line) then i can obtain the rest from other scripts