Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

My edits (which fix the SNMP problems) are availble for download as a file in this forum ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
sebbs
Cacti User
Posts: 97
Joined: Mon Jan 22, 2007 9:41 am
Location: Ottawa,Canada

Post by sebbs »

same here.
If all else fails, rm -rf /
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

Are the SNMP issues only if you're running Cacti under Windows? Because I haven't seen those issues here nor have I made those edits, but everything works for me.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
saifulislam
Posts: 1
Joined: Tue Nov 20, 2007 1:08 am

request

Post by saifulislam »

Dear ,Did u get a solution of

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /usr/local/apache2/htdocs/cacti/plugins/manage/manage.php on line 219

I m also facing the same problem with manage plugin,kindly respond me abt this problem f u can.
Saif
mr.saify@yahoo.com
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

streaker69 wrote:Are the SNMP issues only if you're running Cacti under Windows? Because I haven't seen those issues here nor have I made those edits, but everything works for me.
Streaker69 - sorry, didn't see your post here. The edits for SNMP just tidy up the code, and are not essential. However, I did notice that the SNMP based detection started to work again on my system (Windows) after sorting out the code.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

manage-0.5.2

Post by gilles »

i currently have distributed my last beta to 3 users.
i am wait for their debug, what is working, what is not working...
i hope a release soon.
User avatar
chrisgapske
Cacti User
Posts: 278
Joined: Tue May 22, 2007 7:56 am
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL

Post by chrisgapske »

gilles

Do you plan on including any user Auth so I would be able to assign thru cacti the user permissions to devices ?
YoMarK
Cacti User
Posts: 89
Joined: Fri Feb 02, 2007 8:36 am
Location: Eindhoven/The Netherlands

Post by YoMarK »

Thanks for your work Gilles!
Manage is really great(but I can't get it to work properly under .87a).

I would also be happy to test the new beta, and give feedback on what is (not)working.
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

Post by streaker69 »

YoMarK wrote:Thanks for your work Gilles!
Manage is really great(but I can't get it to work properly under .87a).

I would also be happy to test the new beta, and give feedback on what is (not)working.
Did you follow the steps in here: http://forums.cacti.net/viewtopic.php?p=122441#122441 ??
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
YoMarK
Cacti User
Posts: 89
Joined: Fri Feb 02, 2007 8:36 am
Location: Eindhoven/The Netherlands

Post by YoMarK »

streaker69 wrote:
YoMarK wrote:Thanks for your work Gilles!
Manage is really great(but I can't get it to work properly under .87a).

I would also be happy to test the new beta, and give feedback on what is (not)working.
Did you follow the steps in here: http://forums.cacti.net/viewtopic.php?p=122441#122441 ??
streaker69: sort of(but I'll start over with just your corrections when I have time).
I did correct the SQL statements(mainly missing ; 's ), and corrected the missing global.php includes in some files where I did see warnings in the php error logs. After this most of manage works(however with some problems with Windows Services monitoring).

Another problem I have: When I enable managing on just 1 server, a LOT of servers/datasources using the "Host MIB - Hard Drive Space" or "Host MIB - CPU Utilization" templates won't get updated anymore.
(always the same servers/datasources)
Restoring a database backup corrects this problem. Don't know why this happens.
nepti
Posts: 2
Joined: Tue Feb 19, 2008 9:06 am

Re: manage-0.5.2

Post by nepti »

gilles wrote:i currently have distributed my last beta to 3 users.
i am wait for their debug, what is working, what is not working...
i hope a release soon.
I NEED MANAGE-0.5.2 PLEASSSSSSSSSSSSSSSSe
ludo2005@free.fr
YoMarK
Cacti User
Posts: 89
Joined: Fri Feb 02, 2007 8:36 am
Location: Eindhoven/The Netherlands

Post by YoMarK »

Gilles: can we help you?
(Manage just rocks)
nepti
Posts: 2
Joined: Tue Feb 19, 2008 9:06 am

Yes U CAN

Post by nepti »

U can so my msn account is nepti@hotmail.fr
Im french but i speak english not very well but well. So if u can help me about cacti. I would like! So go to MSN please I wait u. Save me.
laamidd
Posts: 48
Joined: Fri Feb 17, 2006 10:31 am

Can't configure a device and have it show under manage tab

Post by laamidd »

Hi all,

I've read this thread and I have the poller working, I have uptimes for my devices and I've edited the include statements in the right files to reflect global.php.

I choose switch for the OS, I select a site, force ping with ICMP, choose the TCP port switch template and choose save. When I go back into the device these settings are all gone. When I go to the manage tab, the device never shows up. My poller time changes and the logs show it working properly.

My tables are all ok when I check them from the misc. settings debug link.

I get this error message in cacti log when I try to configure a device:
02/28/2008 02:51:11 PM - CMDPHP: Poller[0] ERROR: SQL Cell Failed!, Error:'1064', SQL:"SELECT count(id) FROM data_local where data_template_id = AND snmp_index = 23 AND host_id = 2"


When I run this via phpmyadmin:
"SELECT count(id) FROM data_local where data_template_id = AND snmp_index = 23 AND host_id = 2"

I get this error message:
1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"SELECT count(id) FROM data_local where data_template_id = AND snmp_index = 23 A' at line 1

I looked in the DB, in the data_local table and there is no host_id 2 with an snmp_index of 23.

I'm running cacti 8.7a, on W2K3 SP2 server, Mysql 5.0, php5.25, and the manage poller.

Any ideas?

Thanks,
Bob
koolaidrocks
Posts: 16
Joined: Mon Sep 24, 2007 4:01 pm
Contact:

Unable to get Windows Processes and Services to show up.

Post by koolaidrocks »

After walking through all of Streaker69's steps I am still unable to get Windows processes and services to show up on the device configuration page. Does anyone have any further ideas?

Here is my cacti setup info:
Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - Cactid v
Server Info - Linux 2.6.21-1.3194.fc7
Web Server - Apache/2.2.4 (Fedora)
PHP - 5.2.4
PHP Extensions - libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, session, pcre, SimpleXML, sockets, SPL, shmop, standard, Reflection, pspell, posix, iconv, hash, gmp, gettext, ftp, filter, exif, date, curl, ctype, calendar, bz2, zlib, openssl, apache2handler, bcmath, dbase, gd, json, ldap, mysql, mysqli, PDO, pdo_mysql, pdo_sqlite, snmp, zip
MySQL - 5.0.37
RRDTool - 1.2.23
SNMP - 5.4
Plugins
  • Cycle Graphs (Cycle Graphs - v0.3)
    Network Discovery (discovery - v0.8.2)
    FlowView (flowview - v0.4)
    Host Info (hostinfo - v0.2)
    Device Tracking (mactrack - v1.1)
    Device Monitoring (monitor - v0.8.1)
    RRD Cleaner - v1.2
    Global Plugin Settings (settings - v0.3)
    Thresholds (thold - v0.3.8)
    Network Tools (tools - v0.2)
    Update Checker (update - v0.4)
    PHP Network Weathermap (weathermap - v0.94)
    Real-time statistics (zond - v0.34)
    PHP Network Managing (manage - v0.5.1)
Any help is much appreciated. Thanks!
Attachments
noprocesses.GIF
noprocesses.GIF (41.12 KiB) Viewed 7192 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests