Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
crackrocksteady
Posts: 45
Joined: Wed Dec 06, 2006 12:02 am
Location: Perth , Australia

Post by crackrocksteady »

Have you added a data source for the processes/services yet??
User avatar
twelzy
Cacti User
Posts: 83
Joined: Wed Mar 30, 2005 6:48 pm
Location: BRAZIL/Brasilia

Post by twelzy »

The same with me!
GS wrote:Hi,

regarding Monitoring Processes and Services there are a few issues:

1) processes are gone from manage tab:
seems line in check.php deletes it automaticaly
db_execute("delete FROM `manage_process` where id='" . $q_row["id"] . "' ................snmp_query.id=data_input_data.data_input_field_id and snmp_query.name='SNMP - Running Processes')");

2)processes with space and underscore are wrong indexed (and in database)
eg. "System Idle Pro"-->System.Idle.Pro or "ProxyRT_s.exe" -->ProxyRT.s.exe (tag + process name)

3) Services:
in Win_services.php oid for stats is .1.3.6.1.4.1.77.1.2.3.1.2
but in mib for lanman svSvcOperatingState is 1.3.6.1.4.1.77.1.2.3.1.3
so does not work for me - just brings 0 in any case (also changed oids)

thnx in advance for any help,
gs
All the processes that I've checked to be monitored are un-checked!
They are deleted from the manage_process table after each polling cycle!

Any idea?!


Thanks in advance!
(And sorry for my poor English...)
Thanks in advance!
(And sorry for my poor English...)
_______________________________________
twelzy (Enio Sanches)
User avatar
sebbs
Cacti User
Posts: 97
Joined: Mon Jan 22, 2007 9:41 am
Location: Ottawa,Canada

Manage - Email Customizing

Post by sebbs »

Anyone have any ideas where in the manage plugin, I can customize the email responses? IE....when a port on a host goes does...instead of saying the Port is UP or DOWN, can I have it pull the name of the service in the ports.inc file..Like APACHE is DOWN??

thanks guys! Btw...awesome tool.
If all else fails, rm -rf /
wmunguiam
Posts: 16
Joined: Fri Jan 19, 2007 7:05 pm

Post by wmunguiam »

Ive installed manage plugin v4.2

and I have message in cacti LOG:

01/25/2007 04:00:08 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT * FROM manage_host_services where id='1'"
01/25/2007 04:00:08 PM - CMDPHP: Poller[0] ERROR: SQL Assoc Failed "SELECT * FROM manage_host_services where id='3'"
01/25/2007 04:00:07 PM - MANAGE: Poller[0] Checking Manage


Do I have to edit my database?

add or remove something..

Thanks in advanced...
User avatar
sebbs
Cacti User
Posts: 97
Joined: Mon Jan 22, 2007 9:41 am
Location: Ottawa,Canada

check the posts

Post by sebbs »

Check earlier in the posts...Someone else (and I ) had the same issue.
I had to remove all the manager_* tables and recreate them with the upgrade scripts in your plugin folder. Worked for me anyway.
If all else fails, rm -rf /
User avatar
sebbs
Cacti User
Posts: 97
Joined: Mon Jan 22, 2007 9:41 am
Location: Ottawa,Canada

Manage just stopped working

Post by sebbs »

I did not change anything...and the manage plugin just stopped working.
All my devices are there, however when I tried to add new ports or devices....they just remain in a waiting state..

HELP PLEASE!
If all else fails, rm -rf /
User avatar
sebbs
Cacti User
Posts: 97
Joined: Mon Jan 22, 2007 9:41 am
Location: Ottawa,Canada

Plugin Arch 1.1

Post by sebbs »

I am wondering, has your plugin been tested to work with plugin arch version 1.1?? since the new version of thold requires it.
If all else fails, rm -rf /
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I am uncertain if Manage 0.42 works with PIA 1.1. It' neet's to be QA'd.

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?
User avatar
sebbs
Cacti User
Posts: 97
Joined: Mon Jan 22, 2007 9:41 am
Location: Ottawa,Canada

ah well

Post by sebbs »

I guess I will have to wait...I am not a coder...Not really sure where to look to fix the problem. Thanks anyway.
If all else fails, rm -rf /
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I have a few minutes now if you have a Windows box we can work together on in getting it back up and running. PM me and I will send you a GotoMeeting link. You need a Windows box though.

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?
User avatar
sebbs
Cacti User
Posts: 97
Joined: Mon Jan 22, 2007 9:41 am
Location: Ottawa,Canada

sorry man

Post by sebbs »

Its a linux box...running CentOS 4.4.
with php5.0.4, I guess I could launch a browser through gnome or something?
If all else fails, rm -rf /
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Well, all you need to do is have a Windows box with putty and that should be enough.

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?
User avatar
sebbs
Cacti User
Posts: 97
Joined: Mon Jan 22, 2007 9:41 am
Location: Ottawa,Canada

Modified check.php file!

Post by sebbs »

Please update your check.php in the manage plugin directory.

After upgrading plugin arch v.1.1, my manage plugin stopped updated. thanks to TheWitness, here is the updated file.

just remember to rename the file to .php
Attachments
check.php.txt
(15.22 KiB) Downloaded 439 times
If all else fails, rm -rf /
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

manage 0.4.2 work fine with plugin architecture 1.1

it's thold 0.3.1 which introduce a problem

http://forums.cacti.net/viewtopic.php?t=19341
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Hi Gilles,

Superb plugin....!!!

Just one question:

Under the Manage plugin, if I choose a host to manage, then try to select on a server that has services and processes being monitored, I see the enclosed screenshot.

The error message is <input type='checkbox' style='margin: 0px;' name='chk2_

Any ideas as to what this is, and how I can resolve it ? Apart from that, the plugin works a treat !

[Cacti Version - 0.8.6j
Plugin Architecture - 1.1
Poller Type - CMD.php
Server Info - Linux 2.6.17.14-0.4.x86.i686.cmov
Web Server - Apache/2.0.59 (rPath)
PHP - 4.3.11

Can anyone help ??

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests