Manage Plugin 0.6.2 for monitoring networks, servers...
Moderators: Developers, Moderators
Gilles thanks very much for this plugin, very well done.
I am however having a problem when polling the services, it continually shows as being 'waiting'. The poll date is about an hour out as well. Is there anything I can do to try and debug this?
Kind regards,
Chicco
I am however having a problem when polling the services, it continually shows as being 'waiting'. The poll date is about an hour out as well. Is there anything I can do to try and debug this?
Kind regards,
Chicco
- Attachments
-
- dialog.jpg (10.62 KiB) Viewed 5829 times
Hi gilles!
Could you help me with the processes been deleted from the manage_process table?
All the processes that I've checked to be monitored are un-checked after each cycle of the manage poller!
They are deleted from the manage_process table after each polling cycle!
Any idea?!
(I commented the line 202 of "check.php" and now everything is ok!)
Thanks in advance!
(And sorry for my poor English...)
Could you help me with the processes been deleted from the manage_process table?
All the processes that I've checked to be monitored are un-checked after each cycle of the manage poller!
They are deleted from the manage_process table after each polling cycle!
Any idea?!
(I commented the line 202 of "check.php" and now everything is ok!)
Thanks in advance!
(And sorry for my poor English...)
Thanks in advance!
(And sorry for my poor English...)
_______________________________________
twelzy (Enio Sanches)
(And sorry for my poor English...)
_______________________________________
twelzy (Enio Sanches)
Never mind, managed to fix it.
Was a problem with a function that was part of thold. I removed the reference, purged poller cache and now it's working nicely!
The only wish list request I would ask for is an option to have a 'tree' view. We have thousands of devices and have already defined 'sites' within the tree management but it doesn't seem to utlilise it.
Once again many thanks for such a great plugin!
Was a problem with a function that was part of thold. I removed the reference, purged poller cache and now it's working nicely!
The only wish list request I would ask for is an option to have a 'tree' view. We have thousands of devices and have already defined 'sites' within the tree management but it doesn't seem to utlilise it.
Once again many thanks for such a great plugin!
-
- Posts: 18
- Joined: Sat Aug 13, 2005 1:37 pm
Re: Modified check.php file!
Sebbs
That worked perfectly... thanks.
That worked perfectly... thanks.
sebbs wrote: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
-
- Posts: 18
- Joined: Sat Aug 13, 2005 1:37 pm
Using default trigger count from THold
Gilles
Thanks again for continuing to develop Manage... When a host is reported as 'down' can Manage use the THold Default Trigger Count setting to only report a failure if the host/device is not contactable for say 3 times? The reason is that heavy conjection on an internet line may prevent snmp requests but does not necessarily mean a downed host...
Does anyone else have this issue and perhaps there is a work-around?
Thanks in advance
Thanks again for continuing to develop Manage... When a host is reported as 'down' can Manage use the THold Default Trigger Count setting to only report a failure if the host/device is not contactable for say 3 times? The reason is that heavy conjection on an internet line may prevent snmp requests but does not necessarily mean a downed host...
Does anyone else have this issue and perhaps there is a work-around?
Thanks in advance
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
In the current version of Cacti, a host can be reported up by either the Ping or SNMP. If you are using Cactid, then the poller is very resiliant to issues relative to conjestion. cmd.php is not so good. There is an event counter in the host table that can be used to track the number of times a host has been reported down. The event count implies either "down for this long" or "recovering for this long" and all depends on the host status.
Therefore, a script could be easily written to accomplish what you desire. I won't be writing it though. Sorry.
TheWitness
Therefore, a script could be easily written to accomplish what you desire. I won't be writing it though. Sorry.
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?
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?
I have installed the manage plugin and can add hosts, etc although they are not updating. When I run "php check.php 10" I get the following error.
C:\Inetpub\wwwroot\cacti\plugins\manage>php check.php 10
Fatal error: Cannot redeclare logger() (previously declared in C:\Inetpub\wwwroot\cacti\plugins\manage\check.php:300) in C:\Inetpub\wwwroot\cacti\plugins\thold\thold-functions.php on line 237
Has anyone seen this error before?
Cheers
C:\Inetpub\wwwroot\cacti\plugins\manage>php check.php 10
Fatal error: Cannot redeclare logger() (previously declared in C:\Inetpub\wwwroot\cacti\plugins\manage\check.php:300) in C:\Inetpub\wwwroot\cacti\plugins\thold\thold-functions.php on line 237
Has anyone seen this error before?
Cheers
[quote][b]Cacti Version[/b] - 0.8.6j
[b]Plugin Architecture[/b] - 1.1
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Windows NT 6.0
[b]Web Server[/b] - Microsoft-IIS/7.0
[b]PHP[/b] - 5.2.0
[b]PHP Extensions[/b] - bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, ISAPI, gd, mysql, snmp, sockets
[b]MySQL[/b] - 5.0.27-community-nt
[b]RRDTool[/b] - 1.2.15
[b]SNMP[/b] - 5.4
[b]Plugins[/b][list]Large Site Performane Booster for Cacti (boost - v1.0)
Read-only Devices Tab (devices - v0.4)
Network Discovery (discovery - v0.7)
Simple Links page (links - v0.3)
Host Info (hostinfo - v0.1)
Device Monitoring (monitor - v0.7)
PHP Network Managing (manage - v0.4)
NTop Viewer (ntop - v0.1)
Report Creator (reports - v0.1b)
Network Tools (tools - v0.2)
Update Checker (update - v0.3)
PHP Network Weathermap (weathermap - v0.82)[/list][/quote]
[b]Plugin Architecture[/b] - 1.1
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Windows NT 6.0
[b]Web Server[/b] - Microsoft-IIS/7.0
[b]PHP[/b] - 5.2.0
[b]PHP Extensions[/b] - bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, ISAPI, gd, mysql, snmp, sockets
[b]MySQL[/b] - 5.0.27-community-nt
[b]RRDTool[/b] - 1.2.15
[b]SNMP[/b] - 5.4
[b]Plugins[/b][list]Large Site Performane Booster for Cacti (boost - v1.0)
Read-only Devices Tab (devices - v0.4)
Network Discovery (discovery - v0.7)
Simple Links page (links - v0.3)
Host Info (hostinfo - v0.1)
Device Monitoring (monitor - v0.7)
PHP Network Managing (manage - v0.4)
NTop Viewer (ntop - v0.1)
Report Creator (reports - v0.1b)
Network Tools (tools - v0.2)
Update Checker (update - v0.3)
PHP Network Weathermap (weathermap - v0.82)[/list][/quote]
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
*** BUMP ***mcutting wrote: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
Can anyone help with this ??
Thanks in advance.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
-
- Posts: 18
- Joined: Sat Aug 13, 2005 1:37 pm
TheWitness
Thanks for your detailed explaination. The THold functions work really well because of the functionality of being able to raise alarms only after X many failures or threshold breaches - I suppose it is just a combination of that functionality with the port/SNMP/ICMP requests that are used in Manage.
Excellent set of tools though!
Thanks for your detailed explaination. The THold functions work really well because of the functionality of being able to raise alarms only after X many failures or threshold breaches - I suppose it is just a combination of that functionality with the port/SNMP/ICMP requests that are used in Manage.
Excellent set of tools though!
DAP, I had this problem too.DAP wrote:I have installed the manage plugin and can add hosts, etc although they are not updating. When I run "php check.php 10" I get the following error.
C:\Inetpub\wwwroot\cacti\plugins\manage>php check.php 10
Fatal error: Cannot redeclare logger() (previously declared in C:\Inetpub\wwwroot\cacti\plugins\manage\check.php:300) in C:\Inetpub\wwwroot\cacti\plugins\thold\thold-functions.php on line 237
Has anyone seen this error before?
Cheers
Remove the reference to threshold in config.php to prevent it from loading.
Edit check.php and remove / comment out the line that says
Code: Select all
include_once($config["base_path"] . "/plugins/thold/thold-functions.php");
Give it a try and let me know. I didn't have time yesterday to sit down and try to debug it.
Chicco
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
UPDATE: This looks like it's an issue with the Data Template "SNMP - Running Process Info". If I change the name of this template in the list.php file, the error above disappears. However, I am still NOT able to monitor any ports, even when using the correct name for the template.mcutting wrote:*** BUMP ***mcutting wrote: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
Can anyone help with this ??
Thanks in advance.
Failing that, the below snippet taken from list.php may point in the right direction
while ($row3 = mysql_fetch_array($result3, MYSQL_ASSOC)) {
?>
<input type='checkbox' style='margin: 0px;' name='chk2_<?php $pos=strripos($row3['name_cache'],"process - ")+10; $str=substr($row3['name_cache'],$pos); print $str;?>'<?php
for ($m=0;$m<count($o);$m++) {
if ($str == $o[$m]) {
print " checked";
}
}
?>
><?php print $str;
print "</select><br>";
Does anyone else have this issue ??? Would appreciate any help anyone can give.
Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Relative to the logger function causing issues, you need to rename all occurances of logger in check.php to manage_logger and you should be ok again.
TheWitness
ps. There is a cross plugin compatibility issue that I will be working with Gilles on in the month or so to come.
TheWitness
ps. There is a cross plugin compatibility issue that I will be working with Gilles on in the month or so to come.
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?
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?
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
The Witness,
Thanks for the reply, although I am already using the modified check.php that appears on this topic to make it compatible with PA 1.1. All the instances have already been changed. Any other suggestions ?
Thanks
Thanks for the reply, although I am already using the modified check.php that appears on this topic to make it compatible with PA 1.1. All the instances have already been changed. Any other suggestions ?
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
mcutting,
I can't answer the question right now. You will have to lean on Gilles for the time being. I am re-writing some of the code for work with the standard form's engine that I have developed in Cacti in order to make it a little more readable for me. Until I have done that and re-released Gilles code, I can't affort too much time on supporting code that I barely understand.
TheWintess
I can't answer the question right now. You will have to lean on Gilles for the time being. I am re-writing some of the code for work with the standard form's engine that I have developed in Cacti in order to make it a little more readable for me. Until I have done that and re-released Gilles code, I can't affort too much time on supporting code that I barely understand.
TheWintess
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?
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?
Who is online
Users browsing this forum: No registered users and 1 guest