Plugin Architecture for Cacti and Monitoring Module

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
apeterson
Posts: 14
Joined: Tue Aug 23, 2005 3:02 pm

monitor - nothing goes down

Post by apeterson »

i have the monitor and thold plugins running on 0.8.6f nicely except for 1 thing - nothing ever shows as down. cacti's log shows the host no longer responding to SNMP and says it's down:

09/02/2005 11:54:17 AM - CMDPHP: Poller[0] Host[47] SNMP: Host did not respond to SNMP
09/02/2005 11:54:17 AM - CMDPHP: Poller[0] Host[47] ERROR: HOST EVENT: Host is DOWN Message: Host did not respond to SNMP

but it's as if the db is never updated with this information. i'm at a loss. can anyone help?
kingaru
Cacti User
Posts: 54
Joined: Wed Mar 09, 2005 6:35 am

Cacti 0.8f + patches + cacti plugin architecture

Post by kingaru »

According to the documentation I have to install "plugin architecture" on the cleant 0.8f intallation. Is there possibility to have official cacti patches be installed after plugin architecture stuff installation?

Regards
Igor
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

There will not be "offical" patches for a cacti 0.8.6 installation with the Plugin Arch installed.

We are currently working on implementing a plugin arch in the next major release of cacti 0.9.0.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Alex72
Posts: 3
Joined: Fri Sep 09, 2005 2:34 am
Location: Austria
Contact:

dead host notification via email?

Post by Alex72 »

Hi 2 all of you!

First I want to thank everyone who spends time on developing or testing these great features all around cacti! You´re doing a great job!!!

I have installed the latest Plugin-Architectur (v0.6), latest Monitor Plugin (v0.3)and latest Thold-Plugin (v0.2.4) and have the following problem:

when a host is dead (monitoring and Thold Plugin show that it´s dead!) I receive no email notification!

Threshold notification is running - i.e. I receive email when threshold is exceeded!

Can anyone turn me into the right direction?

Thanks,
Alex.
ioiioi
Cacti User
Posts: 52
Joined: Mon Mar 28, 2005 8:57 am

Post by ioiioi »

great job!
cigmat make our lift easier, but I encouter some prob.
first of all, I should list my enviroment and installation steps in details.
win2k svr + sp4
mysql-4.0.25
php-4.3.11
cacti-0.8.6f
apache-2.0.53
it works fine even after installing xml-cisco-nbar-statstic plugins.
so, I want to use the greatest plugin:
1. I downloaded plugin architecture, monitor0.5 and thold0.2.4 from http://cactiusers.org/;
2. backup the whole cacti installation directory to a safe place;
3. unzipped all files within cacti-plugin-arch.zip to c:\apache2\htdocs\cacti\, overrided the files which has the same name.
4. modified \cacti\include\config.php
$config["url_path"] = '/'; to $config["url_path"] = '/cacti/';
5. unzipped moniter and thold to the \cacti\plugins\
6. modified the \cacti\config.php
$plugins = array();
//$plugins[] = 'thold';

to
$plugins = array();
$plugins[] = 'thold';
$plugins[] = 'monitor';

at last, I restart My computer.
login with admin privilige, I encounter sevaral probs.
1.there is no monitor tab.
2.Thold works fine, but cannot send out an alert email.(maybe this is my own problem, because I have no idea how to configure the smtp option, but I am very appreciate if any expert can tell me how to do it)
[/img]
Attachments
no monitor tab but thold seem to work fine.
no monitor tab but thold seem to work fine.
no.monitor.tab.jpg (94.75 KiB) Viewed 6204 times
xphu
Posts: 12
Joined: Thu Jun 30, 2005 7:31 am
Location: Helsinki, Finland

Post by xphu »

1. Monitor tab.

Please go to cacti -> User management -> User Name "admin"->Realm Permissions and turn on ""View Monitoring"". Hope this should solve your problem.

2. With Thold I am experiencing with the same problem and so far was not able to figure out why thodl is not sending smtp messages?

xphu
ioiioi
Cacti User
Posts: 52
Joined: Mon Mar 28, 2005 8:57 am

Post by ioiioi »

xphu, thanks for your reply, you resolve my first problem.

To be honest, using a new plugins for cacti is a terrible thing.
because some plugins required to modify your main cacti files and interfere with the current stable circumstance.
some plugins lack of instruction about installation.
some plugins's info may distribute in several topics, then you have to search the whole forums to get it work.
some plugins may derive to several version, such as "smokeping like". the newbie absolutely lost his mind about this.

I dont know whether the new version(0.9) can solve these problems.
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

After much debugging, I have released <b>v0.2.5</b> of the Thold Plugin. There are numerous fixes in this one in regards to the alerting. Such as
  • 1. Test Link created (<i>check under Settings</i>) to help debug sending issues
    2. Several fixes to the Thresholds Mailing (<i>SMTP should work now!</i>)
    3. Several fixes to the Down Host Notication
At a later time, all Mail functions will be branched off to a seperate plugin, so that all future plugins can take advantage of the Sending options.

<u>It is not necessary to update your Plugin Architecture to upgrade to this version.</u>
User avatar
AndyStewart
Cacti User
Posts: 102
Joined: Thu Sep 29, 2005 5:21 am
Location: Edinburgh, Scotland

Post by AndyStewart »

hi cigamit....

the installation instructions for Plugin talk about running "patch...." - i'm assuming this is on Unix?

How do i install it under windows?

(and the same for latest THold please) :)
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!

[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

AndyStewart wrote:hi cigamit....

the installation instructions for Plugin talk about running "patch...." - i'm assuming this is on Unix?

How do i install it under windows?

(and the same for latest THold please) :)
I release both a patch and the already patches files in the same archive.

For Windows, just use the included files to override the original Cacti files (remember to backup first as always!). Once that is done, there should be a directory called "plugins".

From there just follow these directions to install the THold plugin.
Plugin Install Instructions
User avatar
AndyStewart
Cacti User
Posts: 102
Joined: Thu Sep 29, 2005 5:21 am
Location: Edinburgh, Scotland

Post by AndyStewart »

Excellent - thanks for that got it working now....

Just 1 thing...

Since installing THOLD, i've found that viewing any of the graphs, or trying to modify any devices is now INCREDIBLY slow. Whereas before pages would show up within 2-3 seconds, its now taking over 60 seconds (and sometimes longer) before the pages finally refresh...

Any ideas?

Just a test server at the moment, but still a reasonable spec (3.2 GHZ proc, 256 MB Mem, 40 GB disk space, running 2003 fully patched apart from SP1. All CACTI info in signature)
I don't care if the glass is half full or half empty, i want to know, who's been drinking my pint!!!

[size=75][Windows 2003 & IIS6] [Cacti 0.8.7b] [ActivePerl 5.8.8.817] [MySql 5.0.19] [NetSNMP 5.2.1.2-1] [PHP 5.1.2] [RRDTool 1.2.11]
[Plugins: PluginArchitecture, Monitor, Discovery, Threshold, Update, Reports, Manage, RealTime][/size]
Sigy
Posts: 6
Joined: Tue Jun 21, 2005 3:57 pm
Location: Amsterdam-Holland

Post by Sigy »

Hi everyone,

I'm using thold and monitor addons in cacti. Is there a possibilty in monitor to see under each host the latest down and up time, date of the status change ?
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Sigy wrote:Hi everyone,

I'm using thold and monitor addons in cacti. Is there a possibilty in monitor to see under each host the latest down and up time, date of the status change ?
Not sure if it is exactly what you are looking for, but if you move your move over the Icon of the host in the Monitor, you will see a tooltip (Mozilla doesn't look great, since no line breaks), but in IE it should display just fine.
Attachments
monitor-up.jpeg
monitor-up.jpeg (8.84 KiB) Viewed 5800 times
Sigy
Posts: 6
Joined: Tue Jun 21, 2005 3:57 pm
Location: Amsterdam-Holland

Post by Sigy »

hi cigamit

As you can see in the tooltip there is only

Status: Up (But since when is this status up I need time and date)

The last Fail Information give me only a view when the host went down for the last time. What if this host was down for 30 minutes ? then i can't see the duration of this outage.

How can i make it to see in this case in tooltip the realy UP time and date ?
kslt
Cacti User
Posts: 85
Joined: Tue Aug 02, 2005 4:12 am

Post by kslt »

hello all

i have a problem with the monitoring tool and also (i don't know if its somehow connected) with HOST (Device table).

Not in device and not in monitor i can't see the latency and any other data ..

what is wrong ??
Attachments
pinging.JPG
pinging.JPG (39.06 KiB) Viewed 5741 times
pinging2.JPG
pinging2.JPG (6.98 KiB) Viewed 5741 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests