Weekly Reporting
Moderators: Developers, Moderators
Weekly Reporting
Is there an add on that will allow me to send out emails on a regularly scheduled basis that shows what devices were down at that time and what went down during the week? I use the NMID up/down for sending out emails when a device becomes unreachable (which is great) but I would like to see historical data also.
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
Re: Weekly Reporting
You mean something like this ?:lsatkins wrote:Is there an add on that will allow me to send out emails on a regularly scheduled basis that shows what devices were down at that time and what went down during the week? I use the NMID up/down for sending out emails when a device becomes unreachable (which is great) but I would like to see historical data also.
http://forums.cacti.net/viewtopic.php?t=36637
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Nectar is so sweat. Get it
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- phalek
- Developer
- Posts: 2838
- Joined: Thu Jan 31, 2008 6:39 am
- Location: Kressbronn, Germany
- Contact:
I am just wondering how praising Nectar can help him have a history of up/down data being displayed ...
----
Nevertheless, an easy sollution to this would be to store the up/down data in either a rrd file or in the database.
Maybe someone knows if there is a way to have poller scripts run as the last thing during the poller cycle, after cacti did check the status of all the devices ?
Using a separate script as a data input method which reads out the status information of a device and stores that to a rrd file would allow the inclusion of the resulting graph in Nectar and nmidCreatePDF.
I simply "assume" that the device availaibilty is the first thing cacti checks before polling any devices ( which may not be true ).
It would be the simpliest solution as far as Ican think of ....
----
Nevertheless, an easy sollution to this would be to store the up/down data in either a rrd file or in the database.
Maybe someone knows if there is a way to have poller scripts run as the last thing during the poller cycle, after cacti did check the status of all the devices ?
Using a separate script as a data input method which reads out the status information of a device and stores that to a rrd file would allow the inclusion of the resulting graph in Nectar and nmidCreatePDF.
I simply "assume" that the device availaibilty is the first thing cacti checks before polling any devices ( which may not be true ).
It would be the simpliest solution as far as Ican think of ....
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusReporting
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
It's really easy actually. However, it could be much better.
1) The Cacti Log has the details on Up/Down/Recovering
2) The Host Table Has the Statistics
3) Reinhard and I have been having discussions to allow Nectar to be more of a general purpose Reporting tool, one that can be extended by other plugins as well as having enhancements inside of itself.
So, having a host up/down is as simple as grep'ing the Cacti log, awk'ing the pertinent messages, and building a table, and blowing out in e-mail.
That could be extended elsewhere.
It will happen. Mark my word. We are plugin crazy.
TheWitness
1) The Cacti Log has the details on Up/Down/Recovering
2) The Host Table Has the Statistics
3) Reinhard and I have been having discussions to allow Nectar to be more of a general purpose Reporting tool, one that can be extended by other plugins as well as having enhancements inside of itself.
So, having a host up/down is as simple as grep'ing the Cacti log, awk'ing the pertinent messages, and building a table, and blowing out in e-mail.
That could be extended elsewhere.
It will happen. Mark my word. We are plugin crazy.
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
You hit the nail on the head. The plugin only needs to know how to format the SQL into a variable and return it to Nectar.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
I don't argue against beta versions written by someone else ...Hyperlord wrote:Damn, I wanted to surprise the community with that idea and a beta version ^^
Please suggest your ideas, let's discuss them and go for the code. I'm currently occupied by "correcting" the mailer class so it will work for Notes clients as well, so I won't cross your roads ...
R.
Who is online
Users browsing this forum: No registered users and 3 guests