z

Commercial Support Clients: Clients with support contracts can get escalated support assistance by visiting Nagios Answer Hub. These forums are for community support services. Although we at Nagios try our best to help out on the forums here, we always give priority support to our support clients.

Search found 47 matches

Return to advanced search

Nagios not recognising HTTP Header

I am trying to monitor a HTTPS URL which works from browser, but isnt giving me a output on Nagios. Browser: NagiosXIBrowser.JPG From NagiosXI: [nagios@NagiosXIAzDev ~]$ /usr/local/nagios/libexec/check_http -H MYDOMAIN.com -f ok -u '/healthcheck?productName=MYPRODUCT&clientName=MYCLIENT' -S --sn...
by apteancloud
Tue Jun 22, 2021 12:24 pm
 
Forum: Nagios XI
Topic: Nagios not recognising HTTP Header
Replies: 3
Views: 125

Re: Monitor localhost URL

I realised I never responded back. Please archive this thread. Thanks again for pointing me to right direction.. :D
by apteancloud
Tue Jun 08, 2021 8:41 pm
 
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 548

Re: NagiosXI GraphQL

Please archive this thread. This is no longer a requirement.
by apteancloud
Tue May 18, 2021 11:18 pm
 
Forum: Nagios XI
Topic: NagiosXI GraphQL
Replies: 5
Views: 128

Re: Monitor localhost URL

Just give me a day so that I can confirm on thread closure.
by apteancloud
Tue May 18, 2021 11:20 am
 
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 548

Re: Monitor localhost URL

Made it!

You are correct to input the exit code and that did the trick. For exit 2, Nagios turns CRITICAL. For exit 0, Nagios turns OK.
Thank you very much. :ugeek:
by apteancloud
Tue May 18, 2021 10:41 am
 
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 548

Re: Monitor localhost URL

I have set the PS script as: ((Invoke-WebRequest http://server.local:51011/api/status -UseBasicParsing).Content |ConvertFrom-Json).status Output: Started At nsclient.ini, under [/settings/external scripts/scripts]: ssm_output_ps1 = cmd /c echo scripts\SSMoutput.ps1; exit($lastexitcode) | powershell....
by apteancloud
Tue May 18, 2021 6:57 am
 
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 548

Re: Alert based on FileAge

This still looks at the sub-folders in that directory which I am not concerned about. [nagios@NagiosXIAzDev ~]$ /usr/local/nagios/libexec/check_nrpe -H 10.179.8.132 -c check_files -2 -a max-depth=1 path='//MyNetworkPath/' pattern=*.* 'filter= written lt -1h' 'crit= count gt 0' 'empty-state=ok' 'empt...
by apteancloud
Mon May 17, 2021 12:44 pm
 
Forum: Nagios XI
Topic: Alert based on FileAge
Replies: 5
Views: 130

Re: Monitor localhost URL

From NagiosXI Server: CHS_Admin@NagiosXIAzPrd:~$ curl -k -L -vvv "http://10.179.3.25:51011/api/status" * Trying 10.179.3.25... * TCP_NODELAY set * connect to 10.179.3.25 port 51011 failed: Connection refused * Failed to connect to 10.179.3.25 port 51011: Connection refused * Closing connec...
by apteancloud
Mon May 17, 2021 7:58 am
 
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 548

Re: Monitor localhost URL

Hi,

Opening Port was denied :cry:

Any other suggestions?
by apteancloud
Thu May 13, 2021 9:58 am
 
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 548

Re: Monitor localhost URL

Outputs: CHS_Admin@NagiosXIAzPrd:~$ ping 10.179.3.25 PING 10.179.3.25 (10.179.3.25) 56(84) bytes of data. 64 bytes from 10.179.3.25: icmp_seq=1 ttl=128 time=0.916 ms 64 bytes from 10.179.3.25: icmp_seq=2 ttl=128 time=0.958 ms 64 bytes from 10.179.3.25: icmp_seq=3 ttl=128 time=0.902 ms 64 bytes from ...
by apteancloud
Wed May 12, 2021 9:20 am
 
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 548
PreviousNext

Return to advanced search

cron