Search found 47 matches

by apteancloud
Wed May 12, 2021 8:57 am
Forum: Nagios XI
Topic: Alert based on FileAge
Replies: 5
Views: 473

Re: Alert based on FileAge

This is the output:
Capture.JPG
As you can see there are two issues:
1. It does a recursive search of folders which I dont want.
2. Even though I have a file dated 2017, it still says OK.
by apteancloud
Wed May 05, 2021 12:35 pm
Forum: Nagios XI
Topic: Alert based on FileAge
Replies: 5
Views: 473

Alert based on FileAge

Hello, We have a use case as in when a directory has a file more than an hour old, it should be treated as CRITICAL and alert. If there is no file present or if the file is present but is written less than an hour, its OK and no alerting is needed. I have referenced to https://support.nagios.com/kb/...
by apteancloud
Wed May 05, 2021 6:34 am
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 15460

Re: Monitor localhost URL

When I run the command you mentioned, this is what I get: [nagios@NagiosXIAzDev ~]$ /usr/local/nagios/libexec/check_http -H 10.179.3.25 -p 51011 -u '/api/status' -U -v connect to address 10.179.3.25 and port 51011: Connection refused HTTP CRITICAL - Unable to open TCP socket The output from the remo...
by apteancloud
Mon May 03, 2021 9:06 pm
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 15460

Re: Monitor localhost URL

Basically, the host machine where that URL is set in such a way, it can only be accessed at localhost, not as a public endpoint. In which case, I would have used check_http. So, from the host machine, if I hit http://myhost.local:51011/api/status or http://localhost:51011/api/status , it gives me ou...
by apteancloud
Mon May 03, 2021 5:01 am
Forum: Nagios XI
Topic: Monitor localhost URL
Replies: 19
Views: 15460

Monitor localhost URL

Hi,

Is there a way to monitor localhost URLs. I want to monitor http://localhost:51011/api/status. How do I set it up?
Its a Windows host machine and we are using nsclient++

Regards
by apteancloud
Tue Apr 27, 2021 4:57 am
Forum: Nagios XI
Topic: NagiosXI GraphQL
Replies: 5
Views: 440

Re: NagiosXI GraphQL

Is there any inbuilt plugin in Nagios that gives me an output, rather than OK/Not OK type?
by apteancloud
Thu Apr 22, 2021 5:14 am
Forum: Nagios XI
Topic: NagiosXI GraphQL
Replies: 5
Views: 440

NagiosXI GraphQL

Hi, We have an API which is querying to MongoDB with GraphQL. We want to capture the output of the GraphQL query to NagiosXI and publish it on report. Is this feature available? If not, is there any workaround to fetch the data from NagioSQL DB? I am passing like this: ./check_http -H MYURL -u '/PAT...
by apteancloud
Thu Apr 08, 2021 8:02 am
Forum: Nagios XI
Topic: NagiosXI dint triggered notification
Replies: 1
Views: 146

NagiosXI dint triggered notification

Hi Team, NagiosXI dint triggered notification on CPU load spike for one of our servers in Azure, As checked in Azure metrics we can see CPU utilization spiked up to 98%, and due to the CPU load spike, sever was hung for an hour and we had to reboot it. Please find the Nagios plugin we are using. The...
by apteancloud
Mon Feb 01, 2021 12:10 pm
Forum: Nagios XI
Topic: NagiosXI Slowness and Database error
Replies: 5
Views: 345

Re: NagiosXI Slowness and Database error

Hi Ssax,

Thanks for the update. I have sent details of /var/log directory. Please, check and suggest if clean is needed

Thanks,
Vishwas BS
by apteancloud
Wed Jan 27, 2021 10:17 am
Forum: Nagios XI
Topic: NagiosXI Slowness and Database error
Replies: 5
Views: 345

Re: NagiosXI Slowness and Database error

Hi Ssax,

Sorry for the delayed response, I have sent PM containing all the details you've asked for. Please, check and review. Thanks in Advance.

Thanks,
Vishwas BS