Make CACTI from my linux server monitor my windowsXP hosts

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
MihaiKileru
Posts: 5
Joined: Fri Jan 06, 2006 10:16 am
Location: Bucuresti
Contact:

Make CACTI from my linux server monitor my windowsXP hosts

Post by MihaiKileru »

Hy and sory for disturbing i`m new to this site but i need to ask a question..


Y need to find out how to make cacti that runs on a Gentoo Machine
to grapf all of my users from a network they all run windowsXP sp2.
C.R.E.A.M
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Make CACTI from my linux server monitor my windowsXP hos

Post by gandalf »

MihaiKileru wrote:Y need to find out how to make cacti that runs on a Gentoo Machine
to grapf all of my users from a network they all run windowsXP sp2.
Well, it is possible to retrieve lots of data from windows systems, but tell us _what_ data you'll need? Traffic in/out of those windows boxes? CPU load? Motherboard Infos (temp, fan) and the like?
You may search the Scripts and Templates forum for lots of related resources
Reinhard
MihaiKileru
Posts: 5
Joined: Fri Jan 06, 2006 10:16 am
Location: Bucuresti
Contact:

...

Post by MihaiKileru »

Y need TRAFIC in/out Kbps :)
C.R.E.A.M
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

First, you'll want to verify, that the windows hosts will respond to snmp requests. To do this, run

Code: Select all

snmpwalk -c <your community string for windows box> -v 1 <your windows box IP@ or DNS name> system
. Hopefully, you'll get a response. If not, you'll have to configure the snmp daemon on the windows box.
Next: Goto Devices and Add a new entry for your box. Fill in all requested values and select Windows 2000/XP Host as the Host Template. Save. Create Graphs for this Host and find all interfaces of this box reported at the end of the page. Select those you're interested in. Wait for at least 2 polling cycles (10 Min) and find the graphs.
Reinhard
MihaiKileru
Posts: 5
Joined: Fri Jan 06, 2006 10:16 am
Location: Bucuresti
Contact:

..

Post by MihaiKileru »

snmpwalk -c rocommunity -v 1 86.55.161.125 system
Timeout: No Response from 86.55.161.125
:( damn
C.R.E.A.M
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Search for a post of BSOD2000 (most likely in the Win32 Specific Forum). He's THE windows guy. In his signature, please find a howto for setting up cacti on windows boxes. Hope you'll find a chapter on snmp there...
Reinhard
MihaiKileru
Posts: 5
Joined: Fri Jan 06, 2006 10:16 am
Location: Bucuresti
Contact:

...

Post by MihaiKileru »

Uff thks but i canot set up cacti on those windows bcoze
they are clients that are not intrested in their trafic. Y m.

And canot go to them and say: please install this everythime your shitty windows brakes :).




regards..
C.R.E.A.M
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

If you don't have access to the boxes SNMP data, then accessing the switches would help. Procedure is nearly the same, but please select the Generic SNMP-enabled Host Template. Surely, you must have SNMP access to the switches (test described as above)
Reinhard
MihaiKileru
Posts: 5
Joined: Fri Jan 06, 2006 10:16 am
Location: Bucuresti
Contact:

Post by MihaiKileru »

:))) it is verry simple


In this network they are 400 machines XP based all in simple sw no management ones all in fibre optic cable
No management sw no router


just 1000Mbps ..........


Y need to monitor their trafic trought the main server.
1 client 2 graph 1= intern 1 extern.


y understand what you are saing but this network does not have that
it has just 1 server and 400 clients conected by FO/FTP/UTP and simple 8/16/24 sw no management
C.R.E.A.M
mahlerrd
Posts: 14
Joined: Mon Nov 14, 2005 11:58 am

Post by mahlerrd »

If you can't get traffic data from the switches, then you'll have to get it from the clients themselves.

I think MS has a template to apply SNMP settings to clients via Group Policy. See, for instance, http://www.serverwatch.com/tutorials/ar ... hp/2200561

The biggest question is if it's installed on the clients or not. If it isn't installed, then I'm not really sure what other options you have. Anything I can think of that you could do* involves installing something on the client - either the SNMP service or the Nagios client.

-Rich

*I surely don't know all the ins and outs, so if there's something I'm overlooking, feel free to point it out.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

MihaiKileru wrote:it has just 1 server and 400 clients conected by FO/FTP/UTP and simple 8/16/24 sw no management
AFAIK there are only these two options:
- retrieving from network equipment: you told us, that there is no SNMP available for your network equipment. So this option fails.
- retrieving from clients: you told us, that it is not possible for you to activate SNMP on those clients. So this option fails, too.
But, wait, in the Scripts and Templates forum there's lot of rumour about something like WMI. I don't no nothing about this stuff. But perhaps this can help?
At least, you'll stick to measuring the traffic at the server. But you will only have values for the whole server, not per client.
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests