Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Fri Apr 19, 2019 3:32 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: W32 IIS W3SVC Perl Script via check_nt
PostPosted: Fri Apr 08, 2005 5:22 am 
Offline
Cacti User

Joined: Thu Mar 31, 2005 4:24 pm
Posts: 124
Location: Sydney, Asutralia
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.


Attachments:
IIS - WWW Connections NSCLIENT.zip [4.7 KiB]
Downloaded 2451 times
graph_image.php.png
graph_image.php.png [ 5.4 KiB | Viewed 29063 times ]
Top
 Profile  
 
 Post subject: question about wmi?
PostPosted: Fri Apr 22, 2005 10:13 am 
Offline

Joined: Wed Apr 13, 2005 4:20 pm
Posts: 23
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?

:cry:


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 22, 2005 12:18 pm 
Offline
Cacti User

Joined: Thu Mar 31, 2005 4:24 pm
Posts: 124
Location: Sydney, Asutralia
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


Top
 Profile  
 
 Post subject: Re: W32 IIS W3SVC Perl Script via check_nt
PostPosted: Wed May 04, 2005 11:02 am 
Offline

Joined: Wed Apr 13, 2005 4:20 pm
Posts: 23
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


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 12:41 pm 
Offline
Cacti User

Joined: Thu Mar 31, 2005 4:24 pm
Posts: 124
Location: Sydney, Asutralia
If you running cacti on FC3 then you can't use WMI. Thats why I used the NS client.

http://nsclient.ready2run.nl/


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 2:04 pm 
Offline

Joined: Wed Apr 13, 2005 4:20 pm
Posts: 23
Hi again


The NS client I must install in my cacti server (FC3) or in my others servers (windows NT,XP,2k3)

:oops:


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 2:39 pm 
Offline

Joined: Wed Apr 13, 2005 4:20 pm
Posts: 23
Upss!!!

Sorry I just read the documentation of NS client I know now that it must be install in my windows server.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 04, 2005 3:11 pm 
Offline

Joined: Wed Apr 13, 2005 4:20 pm
Posts: 23
Ok I just install NS client on my windows NT server. But I still see "snmp error" on cacti.

I've installed the service snmp and put my community name RO

Can you tell me what happend?


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 05, 2005 7:13 am 
Offline
Cacti User

Joined: Thu Mar 31, 2005 4:24 pm
Posts: 124
Location: Sydney, Asutralia
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 05, 2005 12:03 pm 
Offline

Joined: Wed Apr 13, 2005 4:20 pm
Posts: 23
Ho!!! thanks for yours advices. I really appreciate that.

Where I can acquire the check_nt. I've been looking in Internet but I only found something about nagios.

How I can do to check_nt running in FC3?

thank you for you help.




:x


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 06, 2005 3:10 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Luis Gardea wrote:
Where I can acquire the check_nt. I've been looking in Internet but I only found something about nagios.

Hi

you can find it here : [url]http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=65[/url]

The .zip file contains a Linux binary.

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Fri May 06, 2005 2:39 pm 
Offline

Joined: Wed Apr 13, 2005 4:20 pm
Posts: 23
Then before to install check_nt on FC3. Must do I install nagios?

sorry for make a lot questions.


:-?


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 09, 2005 3:25 am 
Offline
Cacti Guru User
User avatar

Joined: Fri Sep 19, 2003 8:36 am
Posts: 2326
Location: Sophia-Antipolis, France
Luis Gardea wrote:
Then before to install check_nt on FC3. Must do I install nagios?

Here's my setup :
NT boxes -> Cacti server
NRPE -> check_nrpe
NSClient -> check_nt

check_nt is available here : [url]http://www.nagiosexchange.org/Windows.49.0.html?&tx_netnagext_pi1[p_view]=65[/url], and check_nrpe is available here : http://prdownloads.sourceforge.net/nagios/nrpe-2.0.tar.gz?download

_________________

HOWTOs :
Templates :


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 11, 2005 11:50 am 
Offline
Cacti User

Joined: Mon Jul 11, 2005 11:39 am
Posts: 103
How do you specify the web service in cacti? Or do you just specify it in the perl script? I'd like to be able to monitor many sites on the same server without making custom perl scripts for each site if possible.


Top
 Profile  
 
 Post subject: Re: W32 IIS W3SVC Perl Script via check_nt
PostPosted: Wed Nov 02, 2011 4:25 am 
Offline

Joined: Wed Nov 02, 2011 4:19 am
Posts: 4
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 :(


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group