Manage Plugin 0.6.2 for monitoring networks, servers...
Moderators: Developers, Moderators
Perfect plugin;)
Great job,all it needs is more graphics:) like for UPS and so on.
Very easy to install and use.
Great improvement would be to select host and choose (template type) like for switch you can have 22;23;80;443 ports open and like that.
Coz now i had to manualy edit each host and enter open ports/services.
Peter
Very easy to install and use.
Great improvement would be to select host and choose (template type) like for switch you can have 22;23;80;443 ports open and like that.
Coz now i had to manualy edit each host and enter open ports/services.
Peter
polling question
sorry but i have a newbie question. i installed the plugin just fine, no errors but i dont think it is polling the device correctly. no matter what i set as the tcp port it polls it as up. when i check the alerts it shows it tried and there is no sign the port is closed or down. i know for a fact the port is closed. any ideas? Also is there a way to do just a ping test? So far the plugin is great, i really like it. thanks!
esprits4,
if you use cacti poller, you must wait the time you scheduled it.
(try to stop your cacti scheduled job, recache and rerun it)
if you use manage poller, you must schedule another job with check-manage.php
can you run a command on CLI, in the manage directory :
php check-tcp.php @ip_host tcp_port
example for me (on windows) : php.exe check-tcp.php www.google.fr 80
result must be "up" if port is open, or else "down"
then run manually the poller :
php check-manage.php
and tell me the output
if you use cacti poller, you must wait the time you scheduled it.
(try to stop your cacti scheduled job, recache and rerun it)
if you use manage poller, you must schedule another job with check-manage.php
can you run a command on CLI, in the manage directory :
php check-tcp.php @ip_host tcp_port
example for me (on windows) : php.exe check-tcp.php www.google.fr 80
result must be "up" if port is open, or else "down"
then run manually the poller :
php check-manage.php
and tell me the output
-
- Cacti User
- Posts: 83
- Joined: Fri Aug 22, 2003 4:33 am
prob while editing
When i try to edit and add another port to manage....the status on the view page of that particular host changes to All Green ( but i had red status earlier prior to editing the host )
Chetan
Chetan
Okay here is the output. make sense? thanks again for the help!
__________________________________________________________
05/31/2006 09:33:56 AM - MANAGE: Poller[0] Checking Manage
id en cours : 18
-- 18 up --
method uptime
Host : 192.168.0.9 (Test1), old uptime is : 13107105, new is : 13109303
host : nothing to do...
53
-- -- services : nothing to do...
id en cours : 20
-- 20 up --
method uptime
Host : 192.168.0.254 (Test2), old uptime is : 39218900, new is : 39221100
host : nothing to do...
25
-- -- services : nothing to do...
2006-5-31, at 9:34:7
__________________________________________________________
05/31/2006 09:33:56 AM - MANAGE: Poller[0] Checking Manage
id en cours : 18
-- 18 up --
method uptime
Host : 192.168.0.9 (Test1), old uptime is : 13107105, new is : 13109303
host : nothing to do...
53
-- -- services : nothing to do...
id en cours : 20
-- 20 up --
method uptime
Host : 192.168.0.254 (Test2), old uptime is : 39218900, new is : 39221100
host : nothing to do...
25
-- -- services : nothing to do...
2006-5-31, at 9:34:7
esprits4,
tcp ports seems to be up
previous state is up, so the plugin do nothing
try to close one port
re-run manually the script
errors will appairs
a alert will be log
go to manage tab, status of the tcp port will be "down"
go to anage/view alerts
select your host
you will see the alert
eventually, you will receive a email
tcp ports seems to be up
previous state is up, so the plugin do nothing
try to close one port
re-run manually the script
errors will appairs
a alert will be log
go to manage tab, status of the tcp port will be "down"
go to anage/view alerts
select your host
you will see the alert
eventually, you will receive a email
Re: prob while editing
yes, it's normalr_chetanjain wrote:When i try to edit and add another port to manage....the status on the view page of that particular host changes to All Green ( but i had red status earlier prior to editing the host )
Chetan
when you add a device, it will appair all up
if you edit it, too
i will try to change this
omgesprits4 wrote:i see what you mean, but both of those ports are closed! I verified with 2 different port scanners....
is
php.exe check-tcp.php www.google.fr 80
return up ?
is
php.exe check-tcp.php www.google.fr 81
return down ?
what OS type is your cacti box ?
what OS type is the host to manage ?
what are OS permissions for user cacti ?
i use php function fsockopen
can you try to modify in check-tcp.php
fsockopen
with
@fsockopen
?
does tools plugin work ?
http://cactiusers.org/downloads/
First of all, very nice plugin and thanks.
I am having an error when viewing alerts from the console that appears just above the "Device" label in that table.
Notice: Undefined variable: sql in c:\cacti\plugins\manage\viewalerts.php on line 227
I am runnning Win XP with a whole range of other stuff so I was wondering if anyone else was having the error reported or if it is just my machine before investigating too deep.
Oh and there is a typo in the device type drop down menu for "Router".
Cheers,
Raddy.
I am having an error when viewing alerts from the console that appears just above the "Device" label in that table.
Notice: Undefined variable: sql in c:\cacti\plugins\manage\viewalerts.php on line 227
I am runnning Win XP with a whole range of other stuff so I was wondering if anyone else was having the error reported or if it is just my machine before investigating too deep.
Oh and there is a typo in the device type drop down menu for "Router".
Cheers,
Raddy.
-
- Posts: 24
- Joined: Wed May 10, 2006 2:46 pm
- Location: Memphis, TN USA
I am not getting that error on the viewing alerts section on mine but mine is running on a linux box.
I am getting this one that I think has been posted before and this is after I have made sure to put a service for manage to check. I get this under the manage tab with the full view report.
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
Does look like a great plugin.
I am getting this one that I think has been posted before and this is after I have made sure to put a service for manage to check. I get this under the manage tab with the full view report.
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
Does look like a great plugin.
- AndyStewart
- Cacti User
- Posts: 102
- Joined: Thu Sep 29, 2005 5:21 am
- Location: Edinburgh, Scotland
Great looking plugin!
Couple of things
Couple of updates (already asked for i think by others)
- adding device types - eg Novell boxes.
- monitoring of services (there is a plugin elsewhere for service monitoring via WMI, possibly link to this?)
- Make items on manage screen clickable to take you to graphs page for that particular item?
Couple of things
Setup is as per signature.Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in E:\Inetpub\wwwroot\cacti\plugins\manage\manage.php on line 219
Couple of updates (already asked for i think by others)
- adding device types - eg Novell boxes.
- monitoring of services (there is a plugin elsewhere for service monitoring via WMI, possibly link to this?)
- Make items on manage screen clickable to take you to graphs page for that particular item?
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]
[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]
The same issue with mysql
0d0h0m
The errors only shows when full view is selected. I don't now about the other.
Error when in select view = full
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\apache\Apache2\htdocs\cacti\plugins\manage\manage.php on line 219
Please post the resolution on the forum.
Thanks!
What a great plugin!!!
0d0h0m
The errors only shows when full view is selected. I don't now about the other.
Error when in select view = full
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\apache\Apache2\htdocs\cacti\plugins\manage\manage.php on line 219
Please post the resolution on the forum.
Thanks!
What a great plugin!!!
_________________
|Cacti 0.8.6h|
|MySQL 5 | PHP 5.1.2 | Zend Optimizer 3.0.0 | IIS 6 | RRDtool 1.2.12 | Cygwin x |
| Windows 2k3 Sp1 | Dual P Xeon 2.4Ghz W/HT | 4GB Ram |
|Cacti 0.8.6h|
|MySQL 5 | PHP 5.1.2 | Zend Optimizer 3.0.0 | IIS 6 | RRDtool 1.2.12 | Cygwin x |
| Windows 2k3 Sp1 | Dual P Xeon 2.4Ghz W/HT | 4GB Ram |
i have too this error on a cacti test box, i don't know whylaarocho wrote: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\apache\Apache2\htdocs\cacti\plugins\manage\manage.php on line 219
btw, Manage Plugin 0.2 seem to resolve this
http://gilles.boulon.free.fr/manage/manage-0.2.zip
this a much tested version then 0.1, but code has not been clean yet
upgraders, i hope you won't have problems because i alter some mysql tables...
if all is ok, you won't need manage.sql (0.1) or upgrade.sql (0.2) but there are here...
CHANGES :
added Device types
added Templates
you can monitor a host by icmp or snmp individually (force)
items are clickable (you must setup Host Tree Item type for each managed host)
much more to come but so small time
Last edited by gilles on Wed Mar 26, 2008 6:42 am, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 19 guests