nmidUpDownMonitor v0.6a released

Announcements concerning Plugins for Cacti

Moderators: Moderators, Developers

Author
Message
User avatar
phalek
Cacti Guru User
Posts: 2724
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

nmidUpDownMonitor v0.6a released

#1 Post by phalek » Wed Jul 22, 2009 12:35 am

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.
Last edited by phalek on Tue Aug 25, 2009 8:13 am, edited 1 time in total.
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: Select all

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
[/size]

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

NmidUpDownMonitor

#2 Post by megatron » Mon Aug 10, 2009 1:35 am

Hi Thomas,

I'm urgently need your help. Please reply.

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

#3 Post by 123ralle » Tue Aug 25, 2009 7:27 am

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

User avatar
phalek
Cacti Guru User
Posts: 2724
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

#4 Post by phalek » Tue Aug 25, 2009 7:38 am

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: Select all

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
[/size]

User avatar
phalek
Cacti Guru User
Posts: 2724
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

#5 Post by phalek » Tue Aug 25, 2009 8:13 am

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: Select all

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
[/size]

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

#6 Post by 123ralle » Tue Aug 25, 2009 8:30 am

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

User avatar
phalek
Cacti Guru User
Posts: 2724
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

#7 Post by phalek » Tue Aug 25, 2009 8:39 am

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 10264 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: Select all

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
[/size]

dorojatunb
Posts: 15
Joined: Thu Jan 21, 2010 3:11 am

Re: nmidUpDownMonitor v0.6a released

#8 Post by dorojatunb » Thu Jul 28, 2011 11:16 pm

Nice plugin. Thank you

joseme
Cacti User
Posts: 90
Joined: Fri May 15, 2009 9:36 am

Re: nmidUpDownMonitor v0.6a released

#9 Post by joseme » Thu Sep 29, 2011 11:49 pm

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 6808 times

User avatar
phalek
Cacti Guru User
Posts: 2724
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: nmidUpDownMonitor v0.6a released

#10 Post by phalek » Tue Dec 06, 2011 5:51 pm

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: Select all

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
[/size]

User avatar
zoemu
Cacti User
Posts: 281
Joined: Fri Jul 10, 2009 1:38 pm
Location: Toronto, Canada

Re: nmidUpDownMonitor v0.6a released

#11 Post by zoemu » Mon Jan 30, 2012 4:51 pm

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 6464 times

User avatar
phalek
Cacti Guru User
Posts: 2724
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: nmidUpDownMonitor v0.6a released

#12 Post by phalek » Mon Mar 26, 2012 3:39 am

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: Select all

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
[/size]

jagmeetbhinder
Posts: 40
Joined: Sun Oct 21, 2012 10:42 pm

Re: nmidUpDownMonitor v0.6a released

#13 Post by jagmeetbhinder » Mon Jun 19, 2017 12:40 pm

Do you have any plans to make this plugin compatible with new Cacti 1.X.

Thanks

User avatar
phalek
Cacti Guru User
Posts: 2724
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: nmidUpDownMonitor v0.6a released

#14 Post by phalek » Tue Jun 20, 2017 1:45 am

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: Select all

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
[/size]

gtiranda
Posts: 2
Joined: Thu Oct 19, 2017 7:39 am

Re: nmidUpDownMonitor v0.6a released

#15 Post by gtiranda » Thu Oct 19, 2017 7:52 am

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 1612 times
cacti 2.JPG
cacti 2.JPG (31.83 KiB) Viewed 1612 times
cacti 1.JPG
cacti 1.JPG (30.99 KiB) Viewed 1612 times

Post Reply