Dear ALL
I install rrdtool and cacti on Linux.
I want to detect Windows Server and Linux Server.
But I can't detect Windows Server for SNMP. Linux can.
Can you help me??
Thanks for your help.
Nick
How to detect Windows Server ??
Moderators: Developers, Moderators
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Detect?
What are you trying to accomplish?
What are you trying to accomplish?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Did you set up snmp on your windows boxes? Try to runto check for correct installation of snmp
Reinhard
Code: Select all
snmpwalk -c <community> -v 1 <your windows box> system
Reinhard
-
- Posts: 15
- Joined: Mon Dec 19, 2005 11:21 am
- Location: Columbus, Ohio, U.S.A.
Make sure the SNMP service is running on the windows box. In addtion, make sure that the community has been set up, and that you have entered the hostname of your cacti server as an allowed host. Windows SNMP is not running by default, and once it does run, it is configured only to accept SNMP traffic from the localhost. You can configure all of these items by going to the services mmc (either through computer management, or you can type "services.msc" at start-->run), and configuring SNMP there. I dont have any windows machines here (at home), otherwise, I could tell you the exact location of this info. Once all of these items have been configured, test it by issuing this command on your linux box (this should work, but I only use BSD, I don't know linux):
snmpwalk -v SNMPVERSION -c COMMUNITYNAME (Public or whatever) hostname or ip. For example, using SNMP version 1, Public community name and the host 192.168.1.5, it would be:
snmpwalk -v 1 -c Public 192.168.1.5
You can also man snmpwalk for more info on it.
If it times out, you need to double check your steps. If it returns a bunch of SNMP values, then it is working, and you can proceed to set up your host(s)
If you are still having trouble, post back, and I'll reply tomorrow when I get to work and can look at our setup (with windows and unix boxes).
I hope this helps...
snmpwalk -v SNMPVERSION -c COMMUNITYNAME (Public or whatever) hostname or ip. For example, using SNMP version 1, Public community name and the host 192.168.1.5, it would be:
snmpwalk -v 1 -c Public 192.168.1.5
You can also man snmpwalk for more info on it.
If it times out, you need to double check your steps. If it returns a bunch of SNMP values, then it is working, and you can proceed to set up your host(s)
If you are still having trouble, post back, and I'll reply tomorrow when I get to work and can look at our setup (with windows and unix boxes).
I hope this helps...
-
- Posts: 15
- Joined: Mon Dec 19, 2005 11:21 am
- Location: Columbus, Ohio, U.S.A.
OK, under services, SNMP Services, you'll want to make sure that all information on the Agent, Traps, and Security tabs are filled in with the appropriate values. If the service is running it will need to be restarted to take effect. If it isnt running, it will need to be started of course.
Once in a while you get shown the light in the strangest of places if you look at it right.
-Robert Hunter
-Robert Hunter
Who is online
Users browsing this forum: No registered users and 3 guests