Manage Plugin 0.6.2 for monitoring networks, servers...
Moderators: Developers, Moderators
Joez, with manage you can monitor 3 things(I do):
- TCP Ports
- Windows processes
- Windows services
The first one(TCP ports) works out of the box with manage.
For the last 2 you need to install some temples to get them to work.
Windows processes: http://forums.cacti.net/viewtopic.php?t=6661
Windows Services: http://forums.cacti.net/viewtopic.php?t ... sc&start=0
Please check the entire thread for newer versions/fixes of the templates.
Although stated in manage #INSTALL.txt that they are included with cacti, I don't think this is not the case. I've did a fresh installation not to long ago in my test environment, and I don't see them included.
Anyway, I've had some problems getting them to work in cacti 0.87, but it works great now.
After you imported the templates, you must create graphs for the services/processes you want to monitor with manage, so you get something like(in this case, apache server service status):
(This information is pulled from the standard Windows SNMP agent)
After you created the graphs, manage can use this data to generate alerts(if you want).
- TCP Ports
- Windows processes
- Windows services
The first one(TCP ports) works out of the box with manage.
For the last 2 you need to install some temples to get them to work.
Windows processes: http://forums.cacti.net/viewtopic.php?t=6661
Windows Services: http://forums.cacti.net/viewtopic.php?t ... sc&start=0
Please check the entire thread for newer versions/fixes of the templates.
Although stated in manage #INSTALL.txt that they are included with cacti, I don't think this is not the case. I've did a fresh installation not to long ago in my test environment, and I don't see them included.
Anyway, I've had some problems getting them to work in cacti 0.87, but it works great now.
After you imported the templates, you must create graphs for the services/processes you want to monitor with manage, so you get something like(in this case, apache server service status):
(This information is pulled from the standard Windows SNMP agent)
After you created the graphs, manage can use this data to generate alerts(if you want).
- Attachments
-
- wampservicestate.png (16.04 KiB) Viewed 5821 times
I cant monitor tcp ports
Hi! I´ve installed this plugin and everything looks ok, but I can´t see tcp ports monitoring.
I´m trying to add port 23 to a switch device but it doesn´t work.
I work with CENTOS 5 dist.
Thank you.
I´m trying to add port 23 to a switch device but it doesn´t work.
I work with CENTOS 5 dist.
Thank you.
I've got the Services Graphs working, where I get the State=1 ont he graph. However, the Manage Plugin is stating the service is down (designated with a red diamond, and entry in the Event Log under the Manage section). Any ideas as to why Manage is reporting down, yet the Services script shows the graph with a value of 1 started? Is manage perhaps looking for 4 (running) vs the 1 (running) that the Services script gives?
I have my port portions working under Manage (set those up pretty easily).
I have my port portions working under Manage (set those up pretty easily).
i have just upload in template section 2 scripts : one for POP3 servers and another for SMTP serverjoez wrote:First of all, WHAT IS THE MANAGE PLUGIN DOING EXACTLY? It is said to check services on hosts. As to my understanding, "checking services" is a whole bunch more than just pinging hosts on different ports. Wouldnt a real service check involve something like doing a http request on a web server to see if the answer is valid? Or something like sending a helo to a smtp server? Just pining ports is kinda half-assing...
i'm going to release a http check script too and others scripts i have
currently i'm not sure how i can integrate them in manage plugin...
i don't want to modify manage when a new template is posted...
i need to find a way that you can easyly select the data template you want to use in the plugin
it's much work
Hi everyone... ive got a little issue with the latest version of manage which ive just installed.
Everything seems to be going well, except i dont see the Devices option under Device Managing. I see Devices under Management like normal, but not Device Managing.
Any ideas? ive gone through the last 30+ pages and am unable to find anything
Everything seems to be going well, except i dont see the Devices option under Device Managing. I see Devices under Management like normal, but not Device Managing.
Any ideas? ive gone through the last 30+ pages and am unable to find anything
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Yodanz - Device Managing was removed in the newer versions. If you look in the main devices section, click a device, and you should see the Manage section is now included in the main config area.
If you want to manage multiple devices, use the device list view, select multiple devices, then use the drop-down list at the bottom, and select manage. This provides a way to bulk manage devices.
Hope this helps.
If you want to manage multiple devices, use the device list view, select multiple devices, then use the drop-down list at the bottom, and select manage. This provides a way to bulk manage devices.
Hope this helps.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
And there i was pulling my hair outmcutting wrote:Yodanz - Device Managing was removed in the newer versions. If you look in the main devices section, click a device, and you should see the Manage section is now included in the main config area.
If you want to manage multiple devices, use the device list view, select multiple devices, then use the drop-down list at the bottom, and select manage. This provides a way to bulk manage devices.
Hope this helps.
Thanks mcutting
My second... and hopefully last question, is that i cant find the area to specify ports to monitor. I can see the templates which are available, but am unable to save a host with them (keeps changing back to the defauly - None)
Is there another section i need to be looking to specify a port to monitor? eg, 25, 80, etc
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Has anyone else noticed that Uptime for Windows Boxen seems to be off?
I'm seeing Windows machines with uptimes in the hundreds of days.. It's showing 1 machines that's been up for more than 440 days and I haven't even had the machine installed for that long, let alone actually turned on.
I'm seeing Windows machines with uptimes in the hundreds of days.. It's showing 1 machines that's been up for more than 440 days and I haven't even had the machine installed for that long, let alone actually turned on.
[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
[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
-
- Cacti Guru User
- Posts: 1884
- Joined: Mon Oct 16, 2006 5:57 am
- Location: United Kingdom
- Contact:
Yes, I've noticed this also. Another thing that happens with my machines is that I get a "maybe false alert" with an uptime of 497 days, then a "reboot alert", which never even took place.
My guess is that this is a counter wrap problem.
My guess is that this is a counter wrap problem.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Yeah, I think I agree. This seems to be the offender for that in manage_check.php.mcutting wrote:Yes, I've noticed this also. Another thing that happens with my machines is that I get a "maybe false alert" with an uptime of 497 days, then a "reboot alert", which never even took place.
My guess is that this is a counter wrap problem.
What doesn't seem to make sense is it's only on the Windows Boxes that the uptime is off. I rebooted a Windows machine around 8am this morning, and it's now showing it's been up for 21 hours, another device was turned on around the same time and it's showing an uptime of 2:37 which is correct.
- Attachments
-
- SP32-20080811-101954.gif (2.29 KiB) Viewed 4828 times
[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
[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
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
Right, and if you look at host.php around line 509, it takes the sysuptime direct from snmp and calculates it into days/hours/min/sec. But it seems as though in Manage, instead of taking sysuptime from snmp and doing it, it's pulling it from the uptime record in manage_host in the database.mcutting wrote:The problem with the Windows uptime is that it's actually taken from the time when SNMP starts. If you stop and restart SNMP on a Windows box, Manage takes this as a reboot.
[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
[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
- streaker69
- Cacti Pro User
- Posts: 712
- Joined: Mon Mar 27, 2006 10:35 am
- Location: Psychic Amish Network Administrator
FOUND IT!mcutting wrote:Yes, which makes it inaccurate, which I have noticed before.
Read the info on the first image, then make the change from the second image. The wrong OID is being called resulting in the incorrect values for Windows boxes.
- Attachments
-
- SP32-20080811-144141.gif (5.21 KiB) Viewed 4790 times
-
- SP32-20080811-144049.gif (4.77 KiB) Viewed 4790 times
[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
[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
Who is online
Users browsing this forum: No registered users and 1 guest