Page 1 of 2
Checking host/service and their metrics DAILY
Posted: Sat Jan 30, 2016 6:47 am
by nagmoto
For some nodes, I don't need them to be ping checked and metrics gauged(displayed by pnp4ngios) every 5 minutes.
I am afraid changing the check interval will impact the rrd graph also.
Is there a successful example I can look and learn from ?
Re: Checking host/service and their metrics DAILY
Posted: Mon Feb 01, 2016 1:17 pm
by tmcdonald
I don't know if you will be able to change this on a per-check basis. A similar question was asked before:
https://support.nagios.com/forum/viewto ... =6&t=33650
https://support.nagios.com/forum/viewto ... =6&t=25569
Re: Checking host/service and their metrics DAILY
Posted: Mon Feb 01, 2016 1:42 pm
by nagmoto
Thanks for the pointers,please resolve this tickets.
Re: Checking host/service and their metrics DAILY
Posted: Mon Feb 01, 2016 5:29 pm
by rkennedy
What are you looking to be done exactly? As @tmcdonald mentioned - I don't think you will be able to change this on a per-check basis.
I can always submit a feature request with what you're looking to do though. Let me know mroe information and I can file one.
Re: Checking host/service and their metrics DAILY
Posted: Tue Feb 02, 2016 8:41 am
by nagmoto
rkennedy wrote:What are you looking to be done exactly? As @tmcdonald mentioned - I don't think you will be able to change this on a per-check basis.
I can always submit a feature request with what you're looking to do though. Let me know mroe information and I can file one.
Following are a few cases I can think of.
Ex 1: For test machines in a non-vital host group, execute the host and service checks once a day only but the pnp4ngaios graph should still show the daily trending.
Ex 2: Report the daily trending of users number in graph from NIS or LDAP servers.
EX 3: Report the daily trending of tickets got resolved/opened from ticket system like rememdy or servicenow.
Re: Checking host/service and their metrics DAILY
Posted: Tue Feb 02, 2016 1:51 pm
by rkennedy
I see, so for Ex 1 - you're looking to change the check_interval to say 1440 (1day)?
For Ex 2, and Ex 3 - these would just be normal checks, or are you looking to change the check_interval on them as well?
You should have no issue doing this.
Re: Checking host/service and their metrics DAILY
Posted: Thu Feb 04, 2016 7:31 am
by nagmoto
rkennedy wrote:I see, so for Ex 1 - you're looking to change the check_interval to say 1440 (1day)?
For Ex 2, and Ex 3 - these would just be normal checks, or are you looking to change the check_interval on them as well?
You should have no issue doing this.
See attached pnp4nagios trending graph, once the cpu load check changed to daily, the graph shows empty stroke.
The question is now turn into how to make necessary change to ask pnp4nagios(rrd) to graph from one data point per 14440 minutes ?
Re: Checking host/service and their metrics DAILY
Posted: Thu Feb 04, 2016 5:58 pm
by tgriep
You may have to wait for over 24 hours for the graph to update the next datapoint.
Re: Checking host/service and their metrics DAILY
Posted: Wed Mar 23, 2016 8:48 am
by nagmoto
tgriep wrote:You may have to wait for over 24 hours for the graph to update the next datapoint.
No, the rrd drawing to expecting data feed at 5 minutes interval. Some RRD configuration will need to be adjusted to take in data feed on once/day basis.
I will look around and do some googling if I don't find answer here.
Re: Checking host/service and their metrics DAILY
Posted: Wed Mar 23, 2016 12:51 pm
by tgriep
Take a look at this site for creating templates needed for your graphs.
http://docs.pnp4nagios.org/pnp-0.4/tpl