I hereby claim:
- I am kbabioch on github.
- I am kbabioch (https://keybase.io/kbabioch) on keybase.
- I have a public key whose fingerprint is 758A B783 45F8 9BD7 CFE6 615D 749A 65CD 479F 3215
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#! /bin/sh | |
# Copyright (c) 2017 Karol Babioch <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
package main | |
import ( | |
"bufio" | |
"flag" | |
"fmt" | |
"os" | |
"regexp" | |
"strconv" | |
"time" |
#! /usr/bin/env python | |
from datetime import datetime, timedelta | |
from optparse import OptionParser | |
import sys | |
import re | |
# TODO Read log lines backwards | |
desc="""This is a simple Nagios plugin that will analyze the mail log from |
# Copyright (c) 2018 Karol Babioch <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
#! /usr/bin/env python3 | |
import argparse | |
import logging | |
import re | |
import subprocess | |
import sys | |
# Exit codes | |
EXIT_OK = 0 |
#! /usr/bin/env python3 | |
# | |
# Copyright (c) 2019 Karol Babioch <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
#!/usr/bin/env python3 | |
# Copyright (c) 2019 Karol Babioch <[email protected]> | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
#! /bin/bash | |
# Copyright (c) 2021 Karol Babioch <[email protected]> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |
#! /usr/bin/env python | |
# Copyright (c) 2021 Karol Babioch <[email protected]> | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, |