JSON Query Generator 'Last month'

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
and1100
Posts: 93
Joined: Mon Mar 25, 2013 8:37 am

JSON Query Generator 'Last month'

Post by and1100 »

Hi,

Is it possible to configure the query generator to pull from the previous month?

I haven't figured out a way to get this to work...

starttime=-2592900&endtime=%2B1

this is the best I could do for the current month.

Thanks!
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: JSON Query Generator 'Last month'

Post by scottwilkerson »

no it cannot, you would have to script something to get the starttime and endtime (timestamps) for the previous month
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked