Morning all,
I've been asked to poll two student labs for two statistics, machine powered on and is a user logged in. The graphed results need to be summated, ie they don't want individual graphs for each machine, they want one graph for each lab with total powered on and total logged in users on the same graph. The machines are identical in the labs, one lab has 130 devices, the other 80.
Is Cacti the appropriate tool for the job or should I look at using MRTG, Zabbix or something else?
Two datasources, many hosts > one graph
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
You can do so. And there are several ways of doing so. Perhaps the easiest one would be to create a script (or two) that gets the data you're interested in. Print out the data and let cacti call the script every 5 min.
Find more help on setting up those scripts at the first link of my signature.
Reinhard
Find more help on setting up those scripts at the first link of my signature.
Reinhard
So I've started on my little project and have hit the first hurdle. Naturally I've searched the forums with little success so I'm hoping someone can help.
I'll polling just a single WinXP host at the moment and using the built in "Host MIB - Logged in Users" graph. The problem is that when the query is successful it says that the number of users logged in is 11. An snmpwalk query returns the same:
snmpwalk x.x.x.x -v 1 -c private -Ci .1.3.6.1.2.1.25.1.5.0
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 11
This is a workstation that can't have 11 users logged in to it, have others seen this issue before?
I'll polling just a single WinXP host at the moment and using the built in "Host MIB - Logged in Users" graph. The problem is that when the query is successful it says that the number of users logged in is 11. An snmpwalk query returns the same:
snmpwalk x.x.x.x -v 1 -c private -Ci .1.3.6.1.2.1.25.1.5.0
HOST-RESOURCES-MIB::hrSystemNumUsers.0 = Gauge32: 11
This is a workstation that can't have 11 users logged in to it, have others seen this issue before?
Thanks for the consideration but it doesn't look like any help is forthcoming:
http://forums.cacti.net/viewtopic.php?t ... highlight=
I'm currently wading through every MIB that I can find pertaining to Microsoft, Lanmanager and Novell trying to find something that will just tell me if there's a logged in user on a workstation.
*pulls hair out*
http://forums.cacti.net/viewtopic.php?t ... highlight=
I'm currently wading through every MIB that I can find pertaining to Microsoft, Lanmanager and Novell trying to find something that will just tell me if there's a logged in user on a workstation.
*pulls hair out*
Well since the hrSystemNumUsers doesn't really appear to count truly logged on users since its for, "The number of user sessions for which this host is storing state information..."
A quick google search and I couldn't find a way how to count the number of users via WMI -- although, I could find out how to get the current user names. So, if you feel up to it, you could create a wmi script that would count the number of users names returned.
A quick google search and I couldn't find a way how to count the number of users via WMI -- although, I could find out how to get the current user names. So, if you feel up to it, you could create a wmi script that would count the number of users names returned.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 2 guests