Completed

vb script to compare date and send syslog message

I'm looking for a vb script for windows server 2003 to do the following:

run a remote ssh command and capture the output

parse the output for the first date/time in the list

compare that date to todays date/time and if it is greater than 1 day behind, send a syslog message to a syslog server. (sending an smtp message is an acceptable alternative too).

The ssh command output looks like this:

Volume test

working...

date name

------------ --------

Feb 10 11:31 smo_prod_prod1_f_h_2_8a81828a26b8b7760126b8b7921d0001_0

Feb 10 11:30 smo_prod_prod1_f_h_1_8a81828a26b8b7760126b8b7921d0001_0

Feb 10 10:31 smo_prod_prod1_f_h_2_8a81828a26b880880126b880a7150001_0

Feb 10 10:30 smo_prod_prod1_f_h_1_8a81828a26b880880126b880a7150001_0

Feb 10 09:31 smo_prod_prod1_f_h_2_8a81828a26b849990126b849b9cb0001_0

Evner: Shell Script, Visual Basic

Se mere: script send syslog, script send syslog message, send test message syslog server, syslog message, send syslog, windows script send syslog, vb this, syslog send, script output syslog windows, script syslog windows, compare date windows script, syslog windows, send syslog server, send syslog windows, script compare server time, vb n, basic shell script, VB, shell script, Send

Om arbejdsgiveren:
( 2 bedømmelser ) West Conshohocken, United States

Projekt ID: #610294

Tildelt til:

refractocd

I am ready to start immediately. Please refer to PM

$60 USD in 2 dage
(11 bedømmelser)
3.9