Search found 3 matches

by nov1c3
Mon May 15, 2023 10:14 am
Forum: Open Source Nagios Projects
Topic: Parsing output of Nagios checks
Replies: 1
Views: 1658

Parsing output of Nagios checks

Hello, I'd appreciate some hints regarding parsing of the output below. I check the health of my Ruckus/Brocade ICX switches which produces the following output: Power supply 1 (AC - PoE) present, status ok: OK; Power supply 2 (DC - Regular) present, status ok: OK; Power supply 3 present, status fai...
by nov1c3
Mon Mar 22, 2021 4:14 am
Forum: Open Source Nagios Projects
Topic: curl, json and -d query
Replies: 2
Views: 2305

Re: curl, json and -d query

Thank you!
by nov1c3
Fri Mar 19, 2021 4:55 am
Forum: Open Source Nagios Projects
Topic: curl, json and -d query
Replies: 2
Views: 2305

curl, json and -d query

Hello, I'd like to monitoring the value of count (if it's 0 then trigger CRITICAL) from the following curl command: curl -u login:pass 192.168.100.9:9200/events/_count?pretty=true -H 'Content-Type: application/json' -d'{"query": {"range": {"recordTime": {"gte"...