Search found 47 matches
- Tue Jun 22, 2021 12:24 pm
- Forum: Nagios XI
- Topic: Nagios not recognising HTTP Header
- Replies: 3
- Views: 590
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...
- Tue Jun 08, 2021 8:41 pm
- Forum: Nagios XI
- Topic: Monitor localhost URL
- Replies: 19
- Views: 16531
Re: Monitor localhost URL
I realised I never responded back. Please archive this thread. Thanks again for pointing me to right direction..
- Tue May 18, 2021 11:18 pm
- Forum: Nagios XI
- Topic: NagiosXI GraphQL
- Replies: 5
- Views: 537
Re: NagiosXI GraphQL
Please archive this thread. This is no longer a requirement.
- Tue May 18, 2021 11:20 am
- Forum: Nagios XI
- Topic: Monitor localhost URL
- Replies: 19
- Views: 16531
Re: Monitor localhost URL
Just give me a day so that I can confirm on thread closure.
- Tue May 18, 2021 10:41 am
- Forum: Nagios XI
- Topic: Monitor localhost URL
- Replies: 19
- Views: 16531
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.
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.
- Tue May 18, 2021 6:57 am
- Forum: Nagios XI
- Topic: Monitor localhost URL
- Replies: 19
- Views: 16531
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....
- Mon May 17, 2021 12:44 pm
- Forum: Nagios XI
- Topic: Alert based on FileAge
- Replies: 5
- Views: 568
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...
- Mon May 17, 2021 7:58 am
- Forum: Nagios XI
- Topic: Monitor localhost URL
- Replies: 19
- Views: 16531
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...
- Thu May 13, 2021 9:58 am
- Forum: Nagios XI
- Topic: Monitor localhost URL
- Replies: 19
- Views: 16531
Re: Monitor localhost URL
Hi,
Opening Port was denied
Any other suggestions?
Opening Port was denied
Any other suggestions?
- Wed May 12, 2021 9:20 am
- Forum: Nagios XI
- Topic: Monitor localhost URL
- Replies: 19
- Views: 16531
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 ...