W32 IIS W3SVC Perl Script via check_nt
Moderators: Developers, Moderators
-
- Cacti User
- Posts: 130
- Joined: Thu Mar 31, 2005 4:24 pm
- Location: Sydney, Asutralia
- Contact:
W32 IIS W3SVC Perl Script via check_nt
This is based on the scripts that DevilSun made. Instead of using WMI it uses the nagios client. So this version will work on linux.
Normal install of import the two xml files and put the perl script in the cacti scripts directory.
This has been tested running cacti on Fedora Core 3 and polling a Windows 2003 server.
Normal install of import the two xml files and put the perl script in the cacti scripts directory.
This has been tested running cacti on Fedora Core 3 and polling a Windows 2003 server.
- Attachments
-
- graph_image.php.png (5.4 KiB) Viewed 31693 times
-
- IIS - WWW Connections NSCLIENT.zip
- (4.7 KiB) Downloaded 2547 times
-
- Posts: 23
- Joined: Wed Apr 13, 2005 4:20 pm
question about wmi?
Hello again.
I want install your script for winnt, but I don't know how configure the wmi. I download in this link
http://www.microsoft.com/downloads/deta ... f236e0e875
Can you help me, please?
I want install your script for winnt, but I don't know how configure the wmi. I download in this link
http://www.microsoft.com/downloads/deta ... f236e0e875
Can you help me, please?
-
- Cacti User
- Posts: 130
- Joined: Thu Mar 31, 2005 4:24 pm
- Location: Sydney, Asutralia
- Contact:
My script does not use WMI. It use's the nagios client.
For the WMI one look here --
http://forums.cacti.net/viewtopic.php?t ... hlight=wmi
For the WMI one look here --
http://forums.cacti.net/viewtopic.php?t ... hlight=wmi
-
- Posts: 23
- Joined: Wed Apr 13, 2005 4:20 pm
Re: W32 IIS W3SVC Perl Script via check_nt
Hi
I have fc3 and cacti.0.8.6d, both work fine.
My question is how can I use WMI and nagios client to graph windows NT, XP and 2k3 servers?
sorry buy I am new in that and I don't know what is WMI and nagios client
Can you help me?
Best regards
I have fc3 and cacti.0.8.6d, both work fine.
My question is how can I use WMI and nagios client to graph windows NT, XP and 2k3 servers?
sorry buy I am new in that and I don't know what is WMI and nagios client
Can you help me?
Best regards
-
- Cacti User
- Posts: 130
- Joined: Thu Mar 31, 2005 4:24 pm
- Location: Sydney, Asutralia
- Contact:
If you running cacti on FC3 then you can't use WMI. Thats why I used the NS client.
http://nsclient.ready2run.nl/
http://nsclient.ready2run.nl/
-
- Posts: 23
- Joined: Wed Apr 13, 2005 4:20 pm
-
- Posts: 23
- Joined: Wed Apr 13, 2005 4:20 pm
-
- Posts: 23
- Joined: Wed Apr 13, 2005 4:20 pm
-
- Cacti User
- Posts: 130
- Joined: Thu Mar 31, 2005 4:24 pm
- Location: Sydney, Asutralia
- Contact:
Nsclient does not use snmp. Its basically a interface between Linux and the Windows performance counters.
If you want to use snmp then use snmp.
To use nsclient you will also need check_nt on your linux box. Is in the UnixSource folder (the one you downloaded).
Once you have compiled check_nt you can run it from the command line to make sure it works and can talk to your windows box.
If you still have problems post the errors you are getting.
If you want to use snmp then use snmp.
To use nsclient you will also need check_nt on your linux box. Is in the UnixSource folder (the one you downloaded).
Once you have compiled check_nt you can run it from the command line to make sure it works and can talk to your windows box.
If you still have problems post the errors you are getting.
-
- Posts: 23
- Joined: Wed Apr 13, 2005 4:20 pm
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
HiLuis Gardea wrote:Where I can acquire the check_nt. I've been looking in Internet but I only found something about nagios.
you can find it here : http://www.nagiosexchange.org/Windows.4 ... p_view]=65
The .zip file contains a Linux binary.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
-
- Posts: 23
- Joined: Wed Apr 13, 2005 4:20 pm
- fmangeant
- Cacti Guru User
- Posts: 2345
- Joined: Fri Sep 19, 2003 8:36 am
- Location: Sophia-Antipolis, France
- Contact:
Here's my setup :Luis Gardea wrote:Then before to install check_nt on FC3. Must do I install nagios?
NT boxes -> Cacti server
NRPE -> check_nrpe
NSClient -> check_nt
check_nt is available here : http://www.nagiosexchange.org/Windows.4 ... p_view]=65, and check_nrpe is available here : http://prdownloads.sourceforge.net/nagi ... z?download
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
Re: W32 IIS W3SVC Perl Script via check_nt
Hi)) what the difference between transferring script files to your Web server and transferring your Web page files there??can't manage to do it
Who is online
Users browsing this forum: No registered users and 1 guest