SNMP Error

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
selva
Posts: 2
Joined: Wed Jan 17, 2007 3:12 am
Location: singapore
Contact:

SNMP Error

Post by selva »

Hi all... I am using win 2003, i try to create device, but it shows SMNP Error.. Anybobies have idea about this please share with me... and also i need help for "how to test cacti" after installation...

Thanks... Selva
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi

on your Windows 2003 server, did you add a community ? Is the Cacti server authorized to send SNMP requests ?
Also, is the SNMP service started ?
[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]
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

Post by Dacob9906 »

If you can ping the device, and know that you haven't set up any other snmp communities other then what would be defualt, usually public, you need to make sure snmp is set up on the device. If it is a windows machine, then you need to enable snmp through add/remove windows components. If it is a switch or router, then you need to type:

snmp-server community "community string name"

in the terminal configuration of the switch/router.

After you have done this, try to connect to the device again.
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
selva
Posts: 2
Joined: Wed Jan 17, 2007 3:12 am
Location: singapore
Contact:

PHP Error

Post by selva »

Hi... Thanks for ur advice... i added community... i start the SNMP service also.. If i create a device its shows below erros.... please look at this and advice me...

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 7 1:161:500:public:::MD5::[None] index] in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1217

Warning: Variable passed to each() is not an array or object in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1221

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 7 1:161:500:public:::MD5::[None] query index] in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1217

Warning: Variable passed to each() is not an array or object in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1221

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 7 1:161:500:public:::MD5::[None] query description] in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1217

Warning: Variable passed to each() is not an array or object in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1221

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 7 1:161:500:public:::MD5::[None] query sau] in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1217

Warning: Variable passed to each() is not an array or object in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1221

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\inetpub\wwwroot\cacti\scripts\ss_host_cpu.php localhost 7 1:161:500:public:::MD5::[None] index] in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1217

Warning: Variable passed to each() is not an array or object in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1221

Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\inetpub\wwwroot\cacti\scripts\ss_host_cpu.php localhost 7 1:161:500:public:::MD5::[None] query index] in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1217

Warning: Variable passed to each() is not an array or object in c:\inetpub\wwwroot\cacti\lib\functions.php on line 1221

Warning: Cannot modify header information - headers already sent by (output started at c:\inetpub\wwwroot\cacti\lib\functions.php:1217) in c:\inetpub\wwwroot\cacti\host.php on line 151

Thanks in Advance.... Selva...



fmangeant wrote:Hi

on your Windows 2003 server, did you add a community ? Is the Cacti server authorized to send SNMP requests ?
Also, is the SNMP service started ?
Dacob9906
Cacti User
Posts: 209
Joined: Tue Apr 03, 2007 1:01 pm
Location: Pullman Washington

Post by Dacob9906 »

Sorry, but unfortunantly, those errors are out of the scope of my knowledge to understand what they are trying to tell you... Sorry. :(
Jacob Bergman
Pullman School District
jbergman@psd267.wednet.edu

Operating System: winserv 2003
Webserver: IIS 6.0
Cacti: BETA windows installer 1.5 (BSOD2600)
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) are you using cmd or cactid to poll?

2) read through my installation guide and re-apply the NTFS security to the various folders/files/applications.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests