PHP Script Server

Templates, scripts for templates, scripts and requests for templates.

Moderators: Developers, Moderators

Post Reply
ccogdill
Posts: 30
Joined: Wed Apr 25, 2007 1:24 pm
Location: Bismarck, ND

PHP Script Server

Post by ccogdill »

My log file is growing out of control! The only entries in it are:

05/17/2007 08:45:07 AM - PHPSVR: Poller[0] WARNING: PHP Script File to be included, does not exist
05/17/2007 08:45:07 AM - PHPSVR: Poller[0] WARNING: Function does not exist


I believe these messages are coming from the script_server.php page but I am confused as to what I should be trying to fix this problem.

I have turned the logging down to low but the log file still amounts to about 2.5 GB of data every hour.

Does anyone have any suggestions.

Cacti Info
-----------
OS = Sun v9
Cacti = 0.8.6i
Poller = cactid
Plugin arch = v1.0
thold = v3.0
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Yes. Please fetch latest script_server.php from SVN. Rename the old one before overwriting it!
Reinhard
ccogdill
Posts: 30
Joined: Wed Apr 25, 2007 1:24 pm
Location: Bismarck, ND

Post by ccogdill »

Unfortunately that didn't fix the issue. The error messages are still being written to the log file.
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I admit that the error message is not that helpful, but it is then likely that you have a script server script that is not formatted correctly. This issue existed a few versions ago, but was remediated. So, I lean more to your script.

You can narrow it down by troubleshooting it.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
ccogdill
Posts: 30
Joined: Wed Apr 25, 2007 1:24 pm
Location: Bismarck, ND

Post by ccogdill »

I have decided to upgrade to the 0.8.6j installation. I hope this will fix the issue.

Cactid will still work with the 0.8.6j version correct?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

ccogdill wrote:Cactid will still work with the 0.8.6j version correct?
Yes. But it is a good idea to always keep cactid as current as possible
Reinhard
ccogdill
Posts: 30
Joined: Wed Apr 25, 2007 1:24 pm
Location: Bismarck, ND

Post by ccogdill »

I do plan on keeping cactid up to date with the latest version. However, according to the website cactid lists the latest stable version as 0.8.6im, that is where the confusion came from.

Good news though, everything appears to be working normally and better than before. The log file does not get filled with those error messages anymore and I can at least look it in the web browser now.

However, it is writing the following errors on multiple devices to the log file:

05/30/2007 05:25:31 PM - CACTID: Poller[0] Host[302] DS[10114] WARNING: Result from SNMP not valid. Partial Result: ...

05/30/2007 05:25:30 PM - CACTID: Poller[0] Host[303] ERROR: Problems parsing Multi SNMP OID! (oid: SNMPv2-SMI::enterprises.3224.16.2.3.0 )


I have found an article taht may help get rid of these error messages:

http://forums.cacti.net/about21350.html ... tid+0.8.6j

Most of the devices that are associated with these error messages are Netsceen firewalls running SNMP v1. I have tried looking at the devices themselves, but have not been able to find any settings that would cause this.

Can anyone confirm if the above link is going to help me?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The "disable-mib-loading" will work only if all of your OID's are numeric in both your XML and in your Data Templates. Confirm that and then it should/may. If not, we will have to do something else.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
ccogdill
Posts: 30
Joined: Wed Apr 25, 2007 1:24 pm
Location: Bismarck, ND

Solved

Post by ccogdill »

After quite a bit of research and troubleshooting I believe I have found the cause to this problem.

It appears as though cactid was compiled on a Solaris machine that had UCD SNMP installed, now we are using NET SNMP and it seems like the errors I described earlier are simply due to cactid using the UCD SNMP libraries instead of the NET SNMP libraries.

I have removed the UCD SNMP libraries and have tried to recompile the cactid with the updated library files. Now the problem I seem to be running into is that cactid is not processing the RRD files. Any ideas on why this would occur?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Cactid does not process RRD files.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
ccogdill
Posts: 30
Joined: Wed Apr 25, 2007 1:24 pm
Location: Bismarck, ND

Post by ccogdill »

Back to the drawing board then.

I have included a snippet of the cacti.log file from both original and the recompiled cactid.

All I am trying to do is stop these error messages from happening but do not know what else I can change in my cacti deployment. All of the graphs appear normal and nothing seems out of place exept for these error meesages.

Any help will be greatly appreciated.
Attachments
cactid.txt
(2.73 KiB) Downloaded 151 times
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests