Hot answers tagged

2

I would suggest you approach it differently and use a dedicated monitoring tool to accomplish this. My favourite monitoring tool which allows services to be restarted in case they crash, or are not listening at their configured port(s) anymore is monit: https://packages.debian.org/jessie/monit There are plenty of examples in the configuration file, on this ...


2

It depends on how the way hosts are added. if the hosts are added via the network discovery or active agent auto-registration, the same actions that add the hosts can also link them to templates; if the hosts are added manually or via the API, you would indeed have to use the host.update API method Based on your comment, the hosts are imported from XML, ...


1

You (or someone on your behalf) will need to use Scientific Method or similar to determine the cause. You are already partly on your way in as much as you have defined the problem A large CPU spike and have some data to work with. You will need to review the data you have. Analyse your logs and if necessary gather more data and analyse it. Being ...


1

Essentially, you can't because the data is gone. Cacti uses rrdtool to store the data and this tool works by storing detailed records for only a short time and then aggregating this data into lower time resolution for longer time periods. As an example, it might store data in 5 minute intervals for a day 30 min intervals for a week (averaging 6 of the ...


1

If it is truly the number of packets since the last query (some systems, when you query the stats, reset to 0, others do not, you have to be sure), then use can use the sumSeries function, or more probably integral. Use grafana to select the integral function and your time range to see if you get the result you want, then you can pull that query and use it ...



Only top voted, non community-wiki answers of a minimum length are eligible