LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Nagios reporting using PNP4 Nagios (https://www.linuxquestions.org/questions/linux-newbie-8/nagios-reporting-using-pnp4-nagios-4175593492/)

ghpradeep 11-14-2016 02:43 AM

Nagios reporting using PNP4 Nagios
 
Hello,

I do i pull out bi-weekly report using pnp4nagios tool. its shown 4H,25H,1week,1Month option.

I tried with below command, I am getting weekly report correctly. Could you please help me here with proper syntax for bi-weekly report.

graph=host=<servername>&srv=os-cpu-usage&source=0&start=-1week

How to specific diff time range here.

TB0ne 11-15-2016 07:30 AM

Quote:

Originally Posted by ghpradeep (Post 5630361)
Hello,
I do i pull out bi-weekly report using pnp4nagios tool. its shown 4H,25H,1week,1Month option. I tried with below command, I am getting weekly report correctly. Could you please help me here with proper syntax for bi-weekly report.

graph=host=<servername>&srv=os-cpu-usage&source=0&start=-1week

How to specific diff time range here.

You've been here for five years now...you should be well aware of the "Question Guidelines", and doing basic research before posting questions. The VERY FIRST HIT in Google for "pnp4nagios date range" is:
http://docs.pnp4nagios.org/pnp-0.6/timeranges

...amazingly, from their web site and documentation, with an EXAMPLE on how to specify date ranges. Bi-weekly is every other week, so if you want to skip a week, then specify the start/end dates accordingly.


All times are GMT -5. The time now is 08:35 AM.