Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Jun 16, 2019 2:37 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: nmidUpDownMonitor v0.6a released
PostPosted: Wed Jul 22, 2009 12:35 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
It's a simple plugin that sends an email alert once a device gets down. Uppon recoverry of the device, a "host up" alert is sent out containing the duration of the downtime and the time the host came up again.

Notifiction emails are configured on a per host basis.

Now also includes Interface Down/Up detection based on the Interface Status template. Each interface can send an alert to pre-configured email addresses.

You can download the latest version from the Project Page

In case you want to have some sofisticated alerting, use Manage or Thold plugin instead.

_________________
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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Last edited by phalek on Tue Aug 25, 2009 8:13 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: NmidUpDownMonitor
PostPosted: Mon Aug 10, 2009 1:35 am 
Offline

Joined: Thu Jun 18, 2009 8:55 pm
Posts: 13
Hi Thomas,

I'm urgently need your help. Please reply.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 7:27 am 
Offline

Joined: Wed Dec 20, 2006 7:32 am
Posts: 15
Hi,

after install and enable the following two errors come up :

Notice: Undefined variable: where_clause in /usr/local/cacti/plugins/nmidUpDownMonitor/nmidUpDownMonitor_InterfaceMonitor.php on line 64

and

Notice: Undefined index: nmidUpDownMonitor_InterfaceMonitor.php: in /usr/local/cacti/lib/functions.php on line 1743

Are there any fixes for these problems?

I'am using cacti 0.8.7e and pia 2.5

kindly regards,
Ralf Kirmis


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 7:38 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
Hi Ralf,

your're talking about the apache error log, i guess.

I try to make these errors go away, but they do not harm the functionality of the plugin itself.

I'm going to upload a newer version this evening ( 20:00 GMT +2 ). The current version is only able to monitor interface status of cisco devices.

_________________
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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 8:13 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
Download the 0.6a update fixing the problem from here:

http://redmine.nmid-plugins.de/projects ... ownmonitor

Your will need to install/enable the storeLastPoll plugin as well.

_________________
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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 8:30 am 
Offline

Joined: Wed Dec 20, 2006 7:32 am
Posts: 15
Hi,

installed the new version -> OK Error Messages disappeared, but
How to use the plugin?

In Setup Interface Alerts there is no add or new button, to add
devices or interfaces.

regards,
Ralf


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 25, 2009 8:39 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
Hi Ralf,

The plugin adds a new field to the hosts called "Notificiation Email". If that field is set, that specific host will be monitored and an alert mail will be send to the email configured there.

For the interfaces:
You will need to graph the Interface Status template from here and configure it for your interfaces you want to monitor. Then wait for one polling cycle and all interfaces you had the Interface Status template configured will show up under the "Setup Interface Alerts" link.

you can then go on configureing the links.

See the screenshot below for the interface list.


Attachments:
interface_status_page.png
interface_status_page.png [ 72.05 KiB | Viewed 9822 times ]

_________________
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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
Top
 Profile  
 
 Post subject: Re: nmidUpDownMonitor v0.6a released
PostPosted: Thu Jul 28, 2011 11:16 pm 
Offline

Joined: Thu Jan 21, 2010 3:11 am
Posts: 15
Nice plugin. Thank you


Top
 Profile  
 
 Post subject: Re: nmidUpDownMonitor v0.6a released
PostPosted: Thu Sep 29, 2011 11:49 pm 
Offline
Cacti User

Joined: Fri May 15, 2009 9:36 am
Posts: 90
Hi phalek:
I installed your plugin (version 0.7) on my cacti (0.8.7g), all was ok, but in "Setup Interface Alerts" I see each interface duplicated (look at the attached image). Could you take a look?. By the way, I had to install StoreLast poll plugin.... is it necessary?.

Thanks in advance..

Joseme


Attachments:
nmidupdown.JPG
nmidupdown.JPG [ 42.07 KiB | Viewed 6366 times ]
Top
 Profile  
 
 Post subject: Re: nmidUpDownMonitor v0.6a released
PostPosted: Tue Dec 06, 2011 5:51 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
Yes, storeLastPoll is necesarry.

Btw. you can also use Thold to achieve the same results, just add an appropriate threshold to the interfaces.

_________________
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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidUpDownMonitor v0.6a released
PostPosted: Mon Jan 30, 2012 4:51 pm 
Offline
Cacti User
User avatar

Joined: Fri Jul 10, 2009 1:38 pm
Posts: 281
Location: Toronto, Canada
Hi:

This is my first time istalling nmidUpDownMonitor, I have installed 0.7 and do not seeany errors. I have added the email to the devices that I want to monitor, but my interface list is blank. Sorry But, am I Missisng something ????

Thanks


Attachments:
Capture.PNG
Capture.PNG [ 5.45 KiB | Viewed 6022 times ]
Top
 Profile  
 
 Post subject: Re: nmidUpDownMonitor v0.6a released
PostPosted: Mon Mar 26, 2012 3:39 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
HI Zoemu, you will also need to add/import the Interface status template from here: http://forums.cacti.net/about17722.html

Then add the query to your network switches/ports you want to monitor. These interfaces then show up within the page.

_________________
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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidUpDownMonitor v0.6a released
PostPosted: Mon Jun 19, 2017 12:40 pm 
Offline

Joined: Sun Oct 21, 2012 10:42 pm
Posts: 40
Do you have any plans to make this plugin compatible with new Cacti 1.X.

Thanks


Top
 Profile  
 
 Post subject: Re: nmidUpDownMonitor v0.6a released
PostPosted: Tue Jun 20, 2017 1:45 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2710
Location: Kressbronn, Germany
Thold should/can be doing this as well when using the Status template from here http://forums.cacti.net/about17722.html

Unless there's something specifc about this which you require ? It should be fairly easy to migrate, but it's not a very high priority ....

_________________
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 : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061


Top
 Profile  
 
 Post subject: Re: nmidUpDownMonitor v0.6a released
PostPosted: Thu Oct 19, 2017 7:52 am 
Offline

Joined: Thu Oct 19, 2017 7:39 am
Posts: 2
Hi, I am new to posting on this forums. But I have used a lot when configuring cacti.

I recently install nmidUpDownMonitor_v0.70 and storeLastPoll_0.8 pluging on cacti. manage to configure reading this forum.
(I know this is a newer version but coudnt find any forum related to this version)

My Problem is after configuring everything I manage to get alert emails to my self. but when I go to "Setup Interface Alerts" page status showing unknown. also there are no data on graph. I have attached some picture for referance.


Attachments:
cacti 3.JPG
cacti 3.JPG [ 29.34 KiB | Viewed 1170 times ]
cacti 2.JPG
cacti 2.JPG [ 31.83 KiB | Viewed 1170 times ]
cacti 1.JPG
cacti 1.JPG [ 30.99 KiB | Viewed 1170 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group