Page 1 of 1

tool to fetch HOST or SERVICE availability in Time or %

Posted: Mon May 02, 2016 3:31 am
by zaji_nms
Dear Expert

We are looking some tool to fetch the Availability of the Host, Service.

As you know there is great rrdtool to fetch the Min/Avg/Max in/out bandwidth utilizations values from given period, same manner we want

assume Tool Name : hostavail
Up/Down/Unreachable : any single parameter will pass at a time
Time : Year/Month/Days/Hours/Minutes/Seconds/Percentage <<< just single parameter will pass at a time
Period from : yyyyMMddHHMMSS
Period to : yyyyMMddHHMMSS

result = hostavail UP HOURS 20160101000000 20160201000000 <<<<< it will provide HOST UPTIME in hours for Jan-2016

assume Tool Name : serviceavail
Up/Down/Warning/Unknown : any single parameter will pass at a time
Time : Year/Month/Days/Hours/Minutes/Seconds/Percentage <<< just single parameter will pass at a time
Period from : yyyyMMddHHMMSS
Period to : yyyyMMddHHMMSS

result = serviceavail DOWN PERCENTAGE 20160101000000 20160201000000 <<<<< it will provide SERVICE DOWN in Percentage for Jan-2016

Later we will write our script to combine the Max Utilization reached during the month and how much the link (service) was down

Regards

Re: tool to fetch HOST or SERVICE availability in Time or %

Posted: Mon May 02, 2016 10:48 am
by ssax
I don't think there is a plugin that currently does this.

You could write a plugin that would call and parse JSON data:

Code: Select all

http://YOURXISERVER/nagios/jsonquery.html
For CGI, select Archive JSON CGI and then under Query select Availability.

That tool would help you build the JSON queries to hopefully get that data you need.

Re: tool to fetch HOST or SERVICE availability in Time or %

Posted: Wed May 18, 2016 3:15 am
by zaji_nms
Dear SSAX

Appreciate if you provide any other tools/options/guideline via different method to fetch/calculate host/service availability, among these whatever we feel easy will try.

However, please think to develop some tool (to fetch host/service availability in one shot , one command).

FYI, we have service level agreement with our provider and customer, so this handy availability tool will make our life easy with our provider and customer.

Regards

Re: tool to fetch HOST or SERVICE availability in Time or %

Posted: Wed May 18, 2016 10:36 am
by tmcdonald
We do offer custom development if this functionality is needed, and I can start the process of getting a quote if you would like. Please let me know if you are interested.