Microsoft IIS current connection template
Moderators: Developers, Moderators
-
- Posts: 21
- Joined: Sun Nov 04, 2007 8:19 am
-
- Cacti User
- Posts: 379
- Joined: Fri Feb 16, 2007 11:37 am
- Location: Emeryville, CA
- Contact:
I use the scripts located here to gather info on my IIS server.
http://forums.cacti.net/about12464.html
Hope that helps
app[/url]
http://forums.cacti.net/about12464.html
Hope that helps
app[/url]
[b]Cacti Version[/b] - 0.8.7b
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
[b]Plugin Architecture[/b] - 2.2 Beta
[b]Poller Type[/b] - CMD.php
[b]Server Info[/b] - Linux 2.6.9-78.0.1.ELsmp
[b]Web Server[/b] - Apache/2.0.52 (Red Hat)
[b]PHP[/b] - 4.3.9
[b]MySQL[/b] - 4.1.22
[b]RRDTool[/b] - 1.2.23
[b]SNMP[/b] - 5.1.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
SuperLinks (superlinks - v0.72)
Host Info (hostinfo - v0.2)
Report Creator (reports - v0.3)
Update Checker (update - v0.4)
Realtime for Cacti (realtime - v0.35)
Cacti Log View (clog - v1.1)
RRD File Cleaner (rrdclean - v0.36)
Network Discovery (discovery - v0.9)
Uptime (uptime - v0.4)[/list]
Hi Markokobal,markokobal wrote:Nice template, but I guess some more information about IIS status could be retreived. Are you planing to add some more graph templates for IIS?
you may have a look at the HTTPSERVER-MIB and decide what ever you are interested in graphing.
Unfortunately I have no more access IIS6 machine. But I do remember that the INTERNETSERVER-MIB did not work.
Regards,
dagonet
Hi,BSOD2600 wrote:If you update the data source min/max values in cacti, you must manually update the rrd file(s) with the rrdtool tune command.
I made an update of the data source min/max value in cacti and an update with rrdtool tune but.........do I do make changes for all servers using this data source or only modify one by the rrdtool tune command?
exemple that I made:
sudo rrdtool tune /var/lib/cacti/rra/server_1_snmp_oid_1519.rrd --maximum snmp_oid:10000
do I do make this for the server_2_snmp_oid and the server_3_snmp_oid?
Ubuntu 7 | Apache2.2 | Cacti 0.8.6j | RRDTool 1.25.15 | PHP 5.2.4 | MySQL 5.0.45 | Net-SNMP 5.4.13 | Cygwin 1.5 | Spine
Does this template no longer work with 0.8.7b? On a fresh install of this cacti version, I am not getting any data in my graphs, and the poller is showing an error for this:
03/07/2008 08:15:05 AM - CMDPHP: Poller[0] Host[3] DS[23] WARNING: Result from SNMP not valid. Partial Result:
The Data Source Debug shows:
Any Ideas on how to get this working on 0.8.7b?
03/07/2008 08:15:05 AM - CMDPHP: Poller[0] Host[3] DS[23] WARNING: Result from SNMP not valid. Partial Result:
The Data Source Debug shows:
But, I notice on our old cacti box (0.8.6g, getting replaced by this new one I am building), this is working fine, and and the Data Source Debug on it is showing much more:/usr/bin/rrdtool create \
/var/www/cacti/rra/IIS.rrd \
--step 300 \
DS:snmp_oid:GAUGE:600:0:1000 \
RRA:AVERAGE:0.5:1:500 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:500 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
/usr/bin/rrdtool create \
/home/www/htdocs/cacti/rra/IIS.rrd \
--step 300 \
DS:snmp_oid:GAUGE:600:0:1000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MIN:0.5:1:600 \
RRA:MIN:0.5:6:700 \
RRA:MIN:0.5:24:775 \
RRA:MIN:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
Any Ideas on how to get this working on 0.8.7b?
I had the same problem - here's what I did to correct:
I went into the data templates option in Cacti, and selected "IIS - cur. connections"
The only value I have filled in is the OID, everything else is blank. The value that was causing an issue was the SNMP community - by default this is set to public, our community name was different.
As soon as I took it out, the graphs started working.
Hope this helps
I went into the data templates option in Cacti, and selected "IIS - cur. connections"
The only value I have filled in is the OID, everything else is blank. The value that was causing an issue was the SNMP community - by default this is set to public, our community name was different.
As soon as I took it out, the graphs started working.
Hope this helps
-
- Posts: 1
- Joined: Thu Jan 30, 2014 3:48 am
Re: Microsoft IIS current connection template
Hi all,
this is what graph write as HTTP Connections for one of my servers.
but, this i what I receive after this command in cmd on the same server.
C:\Users\user003>netstat -ano | find /i /c ":80"
2410
Only I think something is not OK?
this is what graph write as HTTP Connections for one of my servers.
but, this i what I receive after this command in cmd on the same server.
C:\Users\user003>netstat -ano | find /i /c ":80"
2410
Only I think something is not OK?
Re: Microsoft IIS current connection template
Your graph is in connections per second (so connection / 5 / 60), the data in the script is showing current total connections. If you want to display the actual connections, you should create a CDEF that multiples the datasource by 300.
Who is online
Users browsing this forum: No registered users and 0 guests