php error

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

Moderators: Developers, Moderators

Post Reply
bonj87
Cacti User
Posts: 92
Joined: Fri Mar 26, 2010 7:42 am

php error

Post by bonj87 »

hey all
cacti on windows.
looks like php5.1
im trying to run some php scripts i downloaded from here.. and im getting this error.. cant figure out why
C:\php>php.exe ss_win_mssql.php
Did not find 'mgmt' in module RFC1155-SMI (C:\php\extras\mibs/RFC1213.mib)
Unlinked OID in RFC1213-MIB: mib-2 ::= { mgmt 1 }

i have the gd2 dll file in the php.ini

im lost.. help??
bonj87
Cacti User
Posts: 92
Joined: Fri Mar 26, 2010 7:42 am

Re: php error

Post by bonj87 »

correction 5.2.3 version of PHP
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: php error

Post by BSOD2600 »

1) cacti doesnt use mib files for polling, so this isn't really important.
2) Appears RFC1213.mib is incomplete, corrupt or has been edited so its no longer valid. try getting a new copy.
bonj87
Cacti User
Posts: 92
Joined: Fri Mar 26, 2010 7:42 am

Re: php error

Post by bonj87 »

i dont mean to sound like a newb.. but can you point me to where i can dl that?
i downloaded php 5.3 and used that file.. and same thing
all this started trying to figure out how to get memcache to load..
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: php error

Post by BSOD2600 »

If you disable memcache, does the error go away?
why do you think you need memcache?
bonj87
Cacti User
Posts: 92
Joined: Fri Mar 26, 2010 7:42 am

Re: php error

Post by bonj87 »

the sql scripts were written with memcache enabled.. i got them from a post here.
i finally got memcache isntalled.. they dont graph anything.. output u.. but i still get the error listed here.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: php error

Post by BSOD2600 »

With cacti, its best if you start simple and work your way up. As such, get basic graphing of the templates which come with cacti functional first. Then add more third-party scripts/templates.

Does basic graph/data collection work?
bonj87
Cacti User
Posts: 92
Joined: Fri Mar 26, 2010 7:42 am

Re: php error

Post by bonj87 »

yep. im graphing a ton of stuff.. but the sql 2005 templates arent working
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: php error

Post by BSOD2600 »

alright, glad to hear other things are working. that means at least your cacti installation isnt borked. read/follow http://forums.cacti.net/viewtopic.php?f=3&t=11747 to find out why the sql stuff isnt working.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest