Hi Guys,
I wrote a code on python with scapy and would like the result to exit with a 0,1 or 2. The problem is that the values are in Date:Hours:Mins:Second which I would like to convert to just one integer value. Can anyone suggest how to convert this to this one int value?
Exit Codes For Passive Checks
-
- -fno-stack-protector
- Posts: 4366
- Joined: Mon Nov 19, 2012 12:10 pm
Re: Exit Codes For Passive Checks
How about using unix timestamps? Or are you specifically looking to keep it in a more readable form?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.