Search found 6 matches

by gad314
Fri Oct 18, 2019 9:21 am
Forum: Nagios XI
Topic: check_docker.py
Replies: 4
Views: 933

Re: check_docker.py

Thanks mbellerue for you reply. here is example of docker- container memory check: (No output on stdout) stderr: Traceback (most recent call last): File "/usr/local/nagios/libexec/check_docker.py", line 888, in <module> _ = main() File "/usr/local/nagios/libexec/check_docker.py",...
by gad314
Wed Oct 16, 2019 3:23 pm
Forum: Nagios XI
Topic: check_docker.py
Replies: 4
Views: 933

check_docker.py

Hello team,

I am trying to have check_docker.py working, but it has a lot of bugs.
is there any new version or an alternative to it?
by gad314
Thu Oct 10, 2019 8:38 am
Forum: Nagios XI
Topic: nagios cgi-bin
Replies: 7
Views: 8883

Re: nagios cgi-bin

Thanks very much Scott for those valuable info.

but how could we gather the two conditions. I still need host list in specific host_group and their status is down.

Regards.
by gad314
Wed Oct 09, 2019 2:49 pm
Forum: Nagios XI
Topic: nagios cgi-bin
Replies: 7
Views: 8883

Re: nagios cgi-bin

Thanks scott,

but this will give me all hostgroup members.

I only need the host in down state only in that hostgroup.

Thanks and regards.
by gad314
Wed Oct 09, 2019 9:00 am
Forum: Nagios XI
Topic: nagios cgi-bin
Replies: 7
Views: 8883

Re: nagios cgi-bin

Thanks Benjamin for your reply. So how can I get a list of down host in a specific host_group using API. this is the main point. this is what I was using (but it's not reliable way, as you said it's better using API) curl -u nagiosadm:$(cat /path-to-password) "http://nagios_IP/nagios/cgi-bin/st...
by gad314
Tue Oct 08, 2019 2:21 pm
Forum: Nagios XI
Topic: nagios cgi-bin
Replies: 7
Views: 8883

nagios cgi-bin

Hello,

I was trying to access nagios cgi-bin throw https://nagios-ip/nagios/cgi-bin/statusjson.cgi?
by providing credentials, sometimes it works others doesn't work.
it's weird .
can anyone help?