Markus Opolka
e95daad8ff
Add GitHub Action for Unit Test
2020-03-03 10:02:49 +01:00
Markus Opolka
174686a980
Move test to separat file
2020-03-03 09:48:10 +01:00
Markus Opolka
24889384b0
Add gitignore file
2020-02-16 09:55:58 +01:00
Markus Opolka
21f48681c9
Merge pull request #50 from marxin/port-to-python3
...
Port to Python3.
2020-02-16 09:37:00 +01:00
Markus Opolka
2196dba761
Merge pull request #51 from marxin/document-asterisk
...
Document syntax of array selector: (*).field_name.
2020-02-03 16:06:54 +01:00
marxin
c2435a8cbf
Document syntax of array selector: (*).field_name.
2020-02-01 21:47:08 +01:00
Martin Liska
2289fb2af3
Port to Python3 ( #48 ).
...
I used 2to3 script and then I clean up result of the conversion.
2020-01-28 12:13:30 +01:00
Markus Opolka
2541223cde
Merge pull request #49 from drewkerrigan/fix-ssl
...
Fix --insecure option
2020-01-28 10:52:11 +01:00
Markus Opolka
209aaef041
Fix inconsistent use of tabs/spaces
2020-01-28 10:42:22 +01:00
Markus Opolka
65c3bd2a25
Set default context variable to -k --insecure option
2020-01-28 10:41:29 +01:00
Markus Opolka
9c0c59d6c1
Fix unittests
2020-01-28 10:22:05 +01:00
Markus Opolka
e2fce71d5a
Merge pull request #46 from bb-Ricardo/master
...
pull improvements from different branches together
2020-01-28 10:15:49 +01:00
Ricardo Bartels
26a1b3dbe8
added icinga2 command definitions
2019-05-10 11:21:34 +02:00
Ricardo Bartels
47547951cf
fixed minor bugs and added compatibility for RHEL/CentOS 7.x
...
* change ssl.PROTOCOL_TLS to ssl.PROTOCOL_SSLv23
* fixed bug that response var not passed outside try/except block
* fixed arrer in nagios.append_metrics()
2019-05-09 16:39:41 +02:00
Ricardo Bartels
7858382bbe
Added default User-Agent header
...
* prevent errors for services which require this header (like Cloudflare WAF)
2019-05-09 15:53:59 +02:00
Ricardo Bartels
1173420803
updated README with current cli options
2019-05-09 15:48:29 +02:00
Ricardo Bartels
bcc36a6e95
added version information and improved help text
2019-05-09 15:44:33 +02:00
Ricardo Bartels
d98d0396b2
return more meaningful error message if parsing of data failed
2019-05-09 15:06:52 +02:00
Ricardo Bartels
8437c464e5
refine ssl insecure and client certificate options
...
* default TLS Protocols are now set to >= TLS1
* --cacert and --cert are no longer mandatory if option -s is used
* proper error messages if parsing of cert or key files fails
2019-05-09 14:55:25 +02:00
Ricardo Bartels
df2bbdbf51
Merge remote-tracking branch 'theicfire/master' into next-release
2019-05-09 13:38:37 +02:00
Ricardo Bartels
823fc275c9
fixed expansion on newly merged command line args
2019-05-09 13:18:34 +02:00
Ricardo Bartels
18b0898e72
Merge remote-tracking branch 'nrobert13/tg' into next-release
2019-05-09 12:39:58 +02:00
Ricardo Bartels
95318954bf
fixed indentation and and print statements
...
* clean up from previous merges
2019-05-09 11:58:50 +02:00
Ricardo Bartels
8e469e3d98
Merge branch 'luban8' into next-release
2019-05-09 11:30:26 +02:00
Ricardo Bartels
29f8d892ee
Merge branch 'ack-expand-array' into next-release
2019-05-09 11:17:51 +02:00
luban8
cbdb884dc7
Update README.md
2019-05-07 16:27:56 +02:00
luban8
3a108aef5e
Update README.md
2019-05-07 16:25:00 +02:00
Martin Sura
81522fa9ab
fix intedation
2019-05-07 16:23:48 +02:00
Martin Sura
27eaaf0842
Add unknown option
2019-05-07 16:15:31 +02:00
Chase Lambert
9dd6323b85
Better failure message for exact keys
2018-04-02 09:34:00 -04:00
Robert Nemeti
67136a4a2b
add client ssl cert support
2018-02-15 17:04:04 +01:00
Robert Nemeti
d164a1250c
add key,value non equality check, the opposite of the -q and -Q
2018-01-10 10:23:34 +01:00
Robert Nemeti
89f42c15a0
use python2.7 because on centos 6 (icinga) the default python is 2.6 and doesn;t have the required ssl libraries
2017-08-10 15:41:35 +02:00
Robert Nemeti
1e707a4b6a
add repo and upstream info
2017-08-10 15:05:53 +02:00
Robert Nemeti
9656265439
print current value in the icinga message
2017-08-10 10:29:45 +02:00
Robert Nemeti
e463369671
added insecure argument for the ssl connections
2017-08-10 10:28:02 +02:00
Drew Kerrigan
357c2240ba
Merge pull request #31 from thmshmm/master
...
fix unknown_message bug
2017-07-19 09:37:49 -07:00
Thomas Hamm
42d1e08037
fix unknown_message bug
2017-01-26 16:26:45 +00:00
Drew Kerrigan
4950225393
adding support for (*) to all flags
2016-07-19 12:43:16 -04:00
Drew Kerrigan
9be6a709a2
syntax cleanup
2016-07-19 11:02:28 -04:00
Drew Kerrigan
06fab10fe2
added (*) syntax
2016-07-18 17:22:41 -04:00
Drew Kerrigan
7bdc802c2d
consistent tabs
2016-07-18 14:15:56 -04:00
Drew Kerrigan
ed7bc7175b
Merge pull request #20 from berosek/master
...
Support for custom HTTP Headers added using -A parameter.
2016-02-23 22:11:57 +01:00
Drew Kerrigan
4180ec2066
Merge pull request #22 from artschwagerb/master
...
fix variable error
2016-02-23 22:10:47 +01:00
Brian Artschwager
a0d0773d1a
fix variable error
...
NameError: global name 'critical_message' is not defined
2016-02-18 10:42:44 -05:00
Beri
fbebf05f76
Support for custom HTTP Headers added using -A parameter.
2016-01-08 16:21:00 +01:00
drewkerrigan
6f9048fc75
updating docs
2015-11-19 13:55:16 -05:00
drewkerrigan
5bb09cd362
updating docs
2015-11-19 13:55:07 -05:00
drewkerrigan
568fa6e4d0
updating docs
2015-11-19 13:54:53 -05:00
drewkerrigan
f63ac180b6
updating docs
2015-11-19 13:54:25 -05:00