Microsoft IIS current connection template

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

chaachee
Posts: 22
Joined: Tue Aug 23, 2005 9:29 am

Post by chaachee »

Note that the IIS - cur. connections data template has hardcoded public as the snmp community. If you use a different community name, you may have issues until you remove this from the data template.
markokobal
Posts: 21
Joined: Sun Nov 04, 2007 8:19 am

Post by markokobal »

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?
apperrault
Cacti User
Posts: 379
Joined: Fri Feb 16, 2007 11:37 am
Location: Emeryville, CA
Contact:

Post by apperrault »

I use the scripts located here to gather info on my IIS server.

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]
dagonet
Cacti User
Posts: 90
Joined: Sat Oct 29, 2005 4:05 pm
Location: Wuerzburg

Post by dagonet »

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?
Hi Markokobal,
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
User avatar
Volund
Posts: 14
Joined: Thu Nov 08, 2007 5:16 am
Location: Lille / France

Post by Volund »

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.
Hi,

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
peecee
Cacti User
Posts: 146
Joined: Tue Feb 26, 2008 7:26 am

Post by peecee »

These four xml files don't seem to work for any of my IIS-enabled servers. Do I need to do anything to the templates to make them work with Cacti 0.8.7b?
bei01
Posts: 3
Joined: Thu Apr 20, 2006 11:54 am

Post by bei01 »

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:
/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 \
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 \
/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?
jpipitone
Posts: 19
Joined: Tue Nov 06, 2007 11:41 am

Post by jpipitone »

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
ivanovis81
Posts: 1
Joined: Thu Jan 30, 2014 3:48 am

Re: Microsoft IIS current connection template

Post by ivanovis81 »

Hi all,
this is what graph write as HTTP Connections for one of my servers.
Image

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?
cigamit
Developer
Posts: 3367
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Microsoft IIS current connection template

Post by cigamit »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests