Localhost - Logged in Users
Moderators: Developers, Moderators
Localhost - Logged in Users
After upgrading to Cacti 0.8.6f yesterday, the graph for "Localhost - Logged in users" has steadily climbed to over 250+ users. The server that cacti is running on is ONLY used for cacti so I'm assuming this value is in error. Has anyone else had an expericnce similar to this?
After rebooting the server, the number of logged on users seems to increment by one every five minutes...
cacti-0.8.6f
mysql-essential-4.1.12a-win32
net-snmp-5.2.1-1.win32
php-5.0.4-win32
Apache 2.0.54
Windows Server 2003
After rebooting the server, the number of logged on users seems to increment by one every five minutes...
cacti-0.8.6f
mysql-essential-4.1.12a-win32
net-snmp-5.2.1-1.win32
php-5.0.4-win32
Apache 2.0.54
Windows Server 2003
I recall seeing another thread with the same issue (the guy was monitoring TS users). Seems the service pack for Win2K3 changed the OID type from guage to counter. Turn on debug and verify what number is being returned for a few cycles. Also check what the DS is set in your rrd file (rrdtool info filename.rrd)
| 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 |
Output of rrdtool:
filename = "localhost_users_16.rrd"
rrd_version = "0003"
step = 300
last_update = 1124912220
ds[users].type = "GAUGE"
ds[users].minimal_heartbeat = 600
ds[users].min = 0.0000000000e+00
ds[users].max = 5.0000000000e+03
ds[users].last_ds = "UNKN"
ds[users].value = 4.6800000000e+03
ds[users].unknown_sec = 0
debug log:
08/24/2005 02:14:36 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1124901119 --end=1124904556 --title="Localhost - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/08/24 11\:31\:59 To 2005/08/24 12\:29\:16\c" COMMENT:" \n" --vertical-label="users" --slope-mode DEF:a="C\:\Apache2\htdocs\cacti/rra/localhost_users_16.rrd":users:AVERAGE AREA:a#4668E4:"Users" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"Maximum\:%8.0lf"
The server has been running SP1 since it was built about 45 days ago...
filename = "localhost_users_16.rrd"
rrd_version = "0003"
step = 300
last_update = 1124912220
ds[users].type = "GAUGE"
ds[users].minimal_heartbeat = 600
ds[users].min = 0.0000000000e+00
ds[users].max = 5.0000000000e+03
ds[users].last_ds = "UNKN"
ds[users].value = 4.6800000000e+03
ds[users].unknown_sec = 0
debug log:
08/24/2005 02:14:36 PM - WEBLOG: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=1124901119 --end=1124904556 --title="Localhost - Logged in Users" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2005/08/24 11\:31\:59 To 2005/08/24 12\:29\:16\c" COMMENT:" \n" --vertical-label="users" --slope-mode DEF:a="C\:\Apache2\htdocs\cacti/rra/localhost_users_16.rrd":users:AVERAGE AREA:a#4668E4:"Users" GPRINTLAST:"Current\:%8.0lf" GPRINTAVERAGE:"Average\:%8.0lf" GPRINTMAX:"Maximum\:%8.0lf"
The server has been running SP1 since it was built about 45 days ago...
Here is the thread I was talking about with the OID type changing. As I suggested for that user, you can change the DS type to counter to fix the problem.
Thats the debug for graphing. I'm interested in the data the snmp query returned a few times.
Thats the debug for graphing. I'm interested in the data the snmp query returned a few times.
| 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 |
Sorry bout that...i'm a newb to cacti and snmp in general.
Are you referring to changing the 'data source type' to "counter" under the data templates? When I change that to 'counter', it does not seem to have any effect.
if i do an snmpget, I see the value incrementing still....
iso.1.3.6.1.2.1.25.1.5.0 = Guage32: 59
Are you referring to changing the 'data source type' to "counter" under the data templates? When I change that to 'counter', it does not seem to have any effect.
if i do an snmpget, I see the value incrementing still....
iso.1.3.6.1.2.1.25.1.5.0 = Guage32: 59
Sorry I wasn't clear.
Yes, you'll need to change the data source type in cacti to counter AND manually update the rrd file data source type (since cacti does not do this yet).
Yes, you'll need to change the data source type in cacti to counter AND manually update the rrd file data source type (since cacti does not do this yet).
| 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 |
1) Did you update the rrdfile DS type to counter also?
2) You might have to re-create the rrdfile because the past data was based on a guage type.
3) Turn on debug for a few cycles and pay attention to what the Localhost - Logged in users snmp query returns.
2) You might have to re-create the rrdfile because the past data was based on a guage type.
3) Turn on debug for a few cycles and pay attention to what the Localhost - Logged in users snmp query returns.
| 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 |
rrdtool tune is what you're after.
| 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 0 guests