Manage Plugin 0.6.2 for monitoring networks, servers...

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

thebelfig wrote:I just tried to download the manage plugin and our Fortigate detected a virus. Is there another location I can download it from? Thanks!
maybe pskill.exe, part of pstools
Last edited by gilles on Wed Jan 28, 2009 5:22 pm, edited 1 time in total.
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Re: unrecognized config: rightoverlib

Post by gilles »

westsyde wrote:Hello;

I have manage configured and have all devices added that were in my weathermap, but I see a little circle with a red line through it whenever i try to hover my mouse over a host.

The cacti log shows the following error:

12/17/2008 03:16:23 PM - WEATHERMAP: Poller[0] [Map 1] weathermap.conf: Unrecognised config on line 590: RIGHTOVERLIB <a href=/cacti/host.php?action=edit&id=28>Management -> Devices</a><br><a href=/cacti/plugins/manage/manage_viewalerts.php?edit=1&id=28>Device Managing -> Event Reporting</a><br>Mail to: <a href=mailto:hosta@work.org>hosta@work.org</a><br>Notes:

thanks again for everyone's help here
are you using "preprocessing weathermaps" ?
i asked for a feature (right click in weathermap) but finally this as not been include by howie
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Re: Stop telneting port 25!

Post by gilles »

Gabriel wrote:I've added some devices for tcp 25 & 110 (mail basic template) check. change my mind and wish to remove tcp 25 /110 check but I can't!
manually delete the data sources (and check associated graphs)
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

smlick wrote:Why for viewing the device under "manage plugin" I have to permit the user not only in "graph permission by template" (that is more fast) like other plugin, but also "graph permission by device" that is more slow and tedious???
manage check device permission
if a user don't have access to a device (deny), he won't see it in manage
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

0.6.1 out
User avatar
hjohnson
Posts: 10
Joined: Wed Jul 16, 2008 11:59 am

I am pulling my hair out

Post by hjohnson »

gilles wrote:0.6.1 out
I am trying with everything I know to get manage to work. I have even scrapped my existing Cacti install and re-done from scratch and still it does not work.

Here is what I have done so far:
Installed Cacti-0.8.7d
Installed PA 2.4
Installed TCP Port Template
Installed manage 0.6.1
Installed thold
Installed settings

What happens is that no rrd files are created and the ports I have set to manage are always "down". Also noted that the manage_poller_output table is always empty.

I even manually created the rrd files and they never get updated. And so far there are no errors or warnings in the error log.

HELP!!!!
User avatar
hjohnson
Posts: 10
Joined: Wed Jul 16, 2008 11:59 am

More info

Post by hjohnson »

In fact... when I run this command manually, I get the following output:
php /data/srv/www/cacti-0.8.7d/plugins/manage/manage_check.php 1 rrdtool 1
----------------------------------------------
id : 1 , statut was : prob , Ping enabled, result is OK
Host : 127.0.0.1 (Web Server), old uptime was : 0, new is : OK
Scenario : 1
+ port 80, was down -> no change
+ port 443, was down -> no change
Updating TCPs... ()
Updating services... ()
Updating Processes... ()
2009-2-25, at 9:20:45
Closing poller number 1
pipen
Posts: 1
Joined: Thu Feb 26, 2009 6:21 am

Post by pipen »

Code: Select all

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/cacti-0.8.7d/plugins/manage/manage_ajax.php on line 1696
The referenced table does not exist. I use latest version. Any hints?
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Re: I am pulling my hair out

Post by gilles »

hjohnson, if the rrd are not updated, try disable manage and check your graphs
User avatar
hjohnson
Posts: 10
Joined: Wed Jul 16, 2008 11:59 am

Re: I am pulling my hair out

Post by hjohnson »

gilles wrote:hjohnson, if the rrd are not updated, try disable manage and check your graphs
Did that... no difference. However I did once again wiped everything out and tried one final time. And I did get it working. But so far I have to use cmd.php as the poller. If I used spine it does not work.

Still investigating.
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

pipen wrote: The referenced table does not exist. I use latest version. Any hints?
you don't have thold_data table ?
have you plugin thold installed ?
try go to "user settings" at "Check thresholds" and select no
Fjugy
Posts: 5
Joined: Fri Feb 27, 2009 12:29 pm

Post by Fjugy »

Not sure if right topic.. but still...

i have cacti 0.8.7d, manage 0.6.1, thold 0.4

And tehre is a problem adding ports monitoring.

If i add it as "TCP Ports Template", then graph want work untill i open and resave graph temlate for TCP with "average" as Consolidation Function. But device status is shown ok.

I've traced with graph debug and found that it creates graph with Consolidation Function "LAST" and just doesnt see real graph template.

Where can be problem? Or how can i make it to use right graph template?
User avatar
gilles
Cacti User
Posts: 250
Joined: Tue Jul 12, 2005 8:16 pm

Post by gilles »

Fjugy wrote:I've traced with graph debug and found that it creates graph with Consolidation Function "LAST" and just doesnt see real graph template.
i don't understand
can you output your graph debug text and explain what is wrong ?
Fjugy
Posts: 5
Joined: Fri Feb 27, 2009 12:29 pm

Post by Fjugy »

So...

when i open device in console, go to "PHP Network Managing Options - Current host status : ", "in TCP Ports Template" choose new template for device. After this i go to graph list, open graph with debug mode i get

Code: Select all

RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="******* - TCP State - 53" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/share/cacti/rra/6_tcp_53.rrd":TCP:LAST \
AREA:a#EA8F00FF:"TCP"  \
GPRINT:a:LAST:"%8.0lf\n"  \
COMMENT:"(1 = Running, 0 = Stopped)" 
RRDTool Says:

ERROR: the RRD does not contain an RRA matching the chosen CF
so here i have LAST

after this i go to graph templates, open TCP template and i see that

Code: Select all

Item # 1 (TCP): TCP AREA AVERAGE   EA8F00 
ibut t should be AVERAGE

i open this item, just press save, save grap template, go back do device graph and i see

Code: Select all

RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="********** - TCP State - 53" \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/share/cacti/rra/6_tcp_53.rrd":TCP:AVERAGE \
AREA:a#EA8F00FF:"TCP"  \
GPRINT:a:LAST:"%8.0lf\n"  \
COMMENT:"(1 = Running, 0 = Stopped)" 
RRDTool Says:

OK
it became AVERAGE

So i don't get where does it takes LAST first time?
jerrison
Cacti User
Posts: 57
Joined: Fri Dec 29, 2006 4:02 am

Post by jerrison »

Hi Gilles,

first of all, thank you for all the great plugins that you contributed for quite some time. I really appreciate them a lot.
Here´s one thing/request i do need:
can you implement a tree/site/group-authorization like with the cacti graphs or weathermap? i´d like a couple of users to view only their "management"-site/group and nothing else.
If someone else already asked for this i surely overlooked it.
Anyway: thanks again for your work!

André
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests