Skip to content

Instantly share code, notes, and snippets.

@patelc75
patelc75 / gist:1731536
Created February 3, 2012 18:19
AG's outcome resolution
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<LoginResponse xmlns="http://tempuri.org/">
<LoginResult>
<Success>true</Success>
<ErrorTypeNum>0</ErrorTypeNum>
<SqlConnectionLost>false</SqlConnectionLost>
<OutputParameter>
<SessionNum>1030742</SessionNum>
Macintosh-3:mPERS-API-test patelc75$ ./halo_udp_unit_test
Rx Good Pkt Test: PASSED
Rx Duplicate Pkt Test: PASSED
Rx Out of Sequence Test: PASSED
Rx Runt Test: PASSED
Rx Bad Crc Pkt Test: PASSED
Rx Invalid Payload Length Test: PASSED
Tx Good Test: PASSED
Test Timed Out!
Tx Drop Test: FAILED
Macintosh-3:mPERS-API-test patelc75$ ./udp_unit_test
Sent 5 bytes
Rcvd 5 bytes
Sent 7 bytes
Rcvd 7 bytes
Bidirectional Communication Test: PASSED
Confirming server and client sockets are open.
Sent 5 bytes
Rcvd 5 bytes
Sent 7 bytes
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
root
*/5 * * * * php /var/www/html/cacti/poller.php > /dev/null 2>&1
# remove weekly backups for postgres that are older than 5 weeks
4 3 * * * /usr/bin/find /home/backup/pgsql/*/monthly/* -type f -mtime +29 -exec rm \{\} \;
14 3 * * * /usr/bin/find /home/backup/pgsql/*/weekly/* -type f -mtime +10 -exec rm \{\} \;
24 7 * * * /usr/bin/find /home/backup/pgsql/*/daily/* -type f -mtime +1 -exec rm \{\} \;
# sync time with halo time server
for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
root
# set time
5 3 * * * /usr/bin/rdate -s cuckoo.nevada.edu
# remove old dialup files
39 3 * * * /usr/bin/find /home/web/haloror/dialup/archive -type f -mtime +7 -exec rm \{\} \;
bin
no crontab for bin
[root@idev ~]# for user in $(cut -f1 -d: /etc/passwd); do echo $user; crontab -u $user -l; done
root
bin
no crontab for bin
daemon
no crontab for daemon
adm
no crontab for adm
lp
no crontab for lp
traceroute cdn.farfaria.com
traceroute: Warning: cdn.farfaria.com has multiple addresses; using 205.251.251.155
traceroute to d9l4gr3pnqmhx.jfk5.cloudfront.net (205.251.251.155), 64 hops max, 52 byte packets
1 192.168.1.1 (192.168.1.1) 6.560 ms 2.495 ms 2.427 ms
2 c-98-212-120-1.hsd1.il.comcast.net (98.212.120.1) 40.007 ms 30.923 ms 34.523 ms
3 te-2-2-ur01.chicago302.il.chicago.comcast.net (68.86.116.141) 12.993 ms 12.532 ms 15.901 ms
4 te-8-3-ur02.chicago302.il.chicago.comcast.net (68.87.230.178) 10.163 ms 13.295 ms 15.333 ms
5 te-2-5-0-0-ar01.area4.il.chicago.comcast.net (68.87.230.173) 16.452 ms 17.233 ms 26.452 ms
6 pos-3-9-0-0-cr01.350ecermak.il.ibone.comcast.net (68.86.90.45) 37.708 ms 15.081 ms 24.413 ms
7 pos-0-3-0-0-cr01.chicago.il.ibone.comcast.net (68.86.88.21) 16.946 ms 16.829 ms 14.420 ms
content = "<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://www.w3.org/2003/05/soap-envelope\">
<soap:Body><DeviceList xmlns=\"http://tempuri.org/\">
<sessionNum> 1030497</sessionNum>
<sessionPassword>removed_for_Security=</sessionPassword>
<SiteNum></SiteNum>
<DevNum></DevNum>
<CallingSource></CallingSource>
</DeviceList>
</soap:Body></soap:Envelope>"
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body><LoginResponse xmlns="http://tempuri.org/">
<LoginResult><Success>true</Success>
<ErrorTypeNum>0</ErrorTypeNum>
<SqlConnectionLost>false</SqlConnectionLost>
<OutputParameter>
<SessionNum>1030497</SessionNum>
<SessionPassword>removed_for_security</SessionPassword>
<DateFormat>mm/dd/yy</DateFormat>
<TimeFormat>hh:mm:ss</TimeFormat><
Delivered-To: chirag@halomonitoring.com
Received: by 10.231.228.136 with SMTP id je8cs126955ibb;
Mon, 16 Jan 2012 09:28:51 -0800 (PST)
Received: by 10.220.115.9 with SMTP id g9mr8070067vcq.56.1326734929684;
Mon, 16 Jan 2012 09:28:49 -0800 (PST)
Return-Path: <no-reply@dfw-web3.halomonitor.com>
Received: from dfw-web3.halomonitor.com (dfw-web3.myhalomonitor.com. [67.208.39.198])
by mx.google.com with ESMTP id q22si2670086ann.163.2012.01.16.09.28.49;
Mon, 16 Jan 2012 09:28:49 -0800 (PST)