Skip to content

Instantly share code, notes, and snippets.

@johntron
Created June 13, 2014 17:22
Show Gist options
  • Save johntron/aa55f5a753cda51371e9 to your computer and use it in GitHub Desktop.
Save johntron/aa55f5a753cda51371e9 to your computer and use it in GitHub Desktop.
[root@tomahawk ~]# echo '{"engine": "stc", "session": "b551df0e-f4d3-4aae-9a8b-7e6e0e8f2228", "file": "/local/web/data/captures/pcap-cb8ef148-eaf3-4ad6-b9b4-b7ef21245297.gz", "interface": "eth2", "max_bytes": 10737418240, "size": 0}' | /local/admin/start-capture -p
{
"detail" : "processing input parameters for (/local/admin/start-capture)"
}
{
"message" : "using capture interface eth2"
}
{
"detail" : "disk space check acceptable"
}
{
"detail" : "session generated uuid: b551df0e-f4d3-4aae-9a8b-7e6e0e8f2228"
}
{
"detail" : "setting up tcpdump cmd script"
}
{
"detail" : "copying tcpdump script"
}
{
"detail" : "setting perms on tcpdump script"
}
{
"detail" : "finished setting up tcpdump cmd script"
}
{
"detail" : "copying progress-pipe script"
}
{
"detail" : "setting perms on progress-pipe script"
}
{
"detail" : "finished setting up progress pipe script"
}
{
"detail" : "starting read from remote tcpdump script"
}
{
"detail" : "finishing execution of (/local/admin/start-capture) with status (FAILURE)"
}
{
"message" : "got failure return from capture process",
"result" : "FAILURE"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment