|
|
| Author |
Message |
YoMarK Cacti User
Joined: 02 Feb 2007 Posts: 59 Location: Eindhoven/The Netherlands
|
Posted: Wed May 28, 2008 10:36 am Post subject: |
|
|
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=11232&postdays=0&postorder=asc&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).
| Description: |
|
| Filesize: |
16.04 KB |
| Viewed: |
2055 Time(s) |

|
|
|
| Back to top |
|
 |
Fran5
Joined: 11 Jun 2008 Posts: 1
|
Posted: Wed Jun 11, 2008 8:15 am Post subject: 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.
|
|
| Back to top |
|
 |
mrloon
Joined: 31 May 2006 Posts: 12
|
Posted: Thu Jun 12, 2008 2:31 pm Post subject: |
|
|
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).
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 216
|
Posted: Fri Jun 27, 2008 7:06 am Post subject: |
|
|
| joez 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 have just upload in template section 2 scripts : one for POP3 servers and another for SMTP server
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
|
|
| Back to top |
|
 |
yodanz
Joined: 15 Jul 2008 Posts: 2
|
Posted: Tue Jul 15, 2008 9:50 pm Post subject: |
|
|
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
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 977
|
Posted: Wed Jul 16, 2008 1:35 am Post subject: |
|
|
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.
|
|
| Back to top |
|
 |
yodanz
Joined: 15 Jul 2008 Posts: 2
|
Posted: Wed Jul 16, 2008 6:39 am Post subject: |
|
|
| mcutting 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. |
And there i was pulling my hair out
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
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 977
|
Posted: Wed Jul 16, 2008 6:54 am Post subject: |
|
|
| You need to create a graph using the TCP ports template. Once this has been done, you'll see these available in the Manage part of the device.
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Mon Aug 11, 2008 8:52 am Post subject: |
|
|
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.
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 977
|
Posted: Mon Aug 11, 2008 9:04 am Post subject: |
|
|
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.
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Mon Aug 11, 2008 9:23 am Post subject: |
|
|
| 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. |
Yeah, I think I agree. This seems to be the offender for that in manage_check.php.
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.
| Description: |
|
| Filesize: |
2.29 KB |
| Viewed: |
1064 Time(s) |

|
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 977
|
Posted: Mon Aug 11, 2008 9:59 am Post subject: |
|
|
| 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.
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Mon Aug 11, 2008 10:04 am Post subject: |
|
|
| 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. |
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.
|
|
| Back to top |
|
 |
mcutting Cacti Pro User
Joined: 16 Oct 2006 Posts: 977
|
Posted: Mon Aug 11, 2008 10:09 am Post subject: |
|
|
| Yes, which makes it inaccurate, which I have noticed before.
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Mon Aug 11, 2008 1:44 pm Post subject: |
|
|
| mcutting wrote: | | Yes, which makes it inaccurate, which I have noticed before. |
FOUND IT!
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.
| Description: |
|
| Filesize: |
4.77 KB |
| Viewed: |
1028 Time(s) |

|
| Description: |
|
| Filesize: |
5.21 KB |
| Viewed: |
1028 Time(s) |

|
|
|
| Back to top |
|
 |
|