Warning messages in Cacti log

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Quite odd. I would like to check things out on your system to see why it's misbehaving with the new version. I don't like re-fixing things without knowing why.

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?
User avatar
chercen
Posts: 41
Joined: Sun Apr 09, 2006 4:16 pm
Location: Spain

Post by chercen »

TheWitness wrote:What happens when you back off the script_server.php file?

TheWitness
PM sent...

Same result: after restoring the 0.8.6h script_server.php file, cacti doesnt throw that log message any more.

Regards
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Can you please try this versoin of the script_server.php?

TheWitness
Attachments
script_server.zip
(2.25 KiB) Downloaded 309 times
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?
User avatar
chercen
Posts: 41
Joined: Sun Apr 09, 2006 4:16 pm
Location: Spain

Post by chercen »

TheWitness wrote:Can you please try this versoin of the script_server.php?

TheWitness
After installing new file and rebuilding cache, same error.... Only difference is that the error because of the "quit" function does not appear any more, but dozens of

10/16/2006 03:16:01 PM - PHPSVR: Poller[0] WARNING: Function does not exist
10/16/2006 03:16:01 PM - PHPSVR: Poller[0] WARNING: PHP Script File to be included, does not exist

still remain. I'll switch back to the 0.8.6h script_server.php....

Regards
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Ok, yes I confirmed this with the other user as well. If would be really good if you could dump your poller_item tabke and send it via pm to me. I am interesed in action = 2 only.

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?
User avatar
NHDave
Cacti User
Posts: 61
Joined: Sun Mar 20, 2005 9:14 am
Contact:

Post by NHDave »

TheWitness wrote:Can you please try this versoin of the script_server.php?

TheWitness
Treid this one and it is still "warning"
geekman
Posts: 16
Joined: Fri Sep 22, 2006 2:10 pm
Location: Helena MT

Post by geekman »

if it means any thing I am also having this problem.

I changed a bit in the script_server.php file to show what file and function it is trying to call (changes in bold)


cacti_log("WARNING: PHP Script File to be included, does not exist - ".$include_file, false, "PHPSVR");

cacti_log("WARNING: Function does not exist - ".$function, false, "PHPSVR");


in the cacti log i get this

10/16/2006 11:45:26 AM - PHPSVR: Poller[0] WARNING: Function does not exist -
10/16/2006 11:45:26 AM - PHPSVR: Poller[0] WARNING: PHP Script File to be included, does not exist -

not sure if this helps or not, but i will grab my poller_item table and PM it to you. (with the action 2 stuff only ofc)
Hiney
Cacti User
Posts: 56
Joined: Mon Oct 16, 2006 11:50 pm

same, same

Post by Hiney »

I got the same thing on 0.8.6i. I reverted the script_server.php to 0.8.6h and the errors go away.

Just for stamps, in case you needed more examples (don't ask me for any of that stuff you asked the others though. I didn't understand a word of it - this would be my thrid day working with cacti)

H
wisnausb
Posts: 16
Joined: Mon Jul 25, 2005 1:56 am
Location: Germany

Post by wisnausb »

Last edited by wisnausb on Wed Oct 18, 2006 4:52 am, edited 1 time in total.
wisnausb
Posts: 16
Joined: Mon Jul 25, 2005 1:56 am
Location: Germany

Post by wisnausb »

I have the same problem. But when i go back to script_server.php Version 0.8.6h the error is still present.

Fedora FC3
Cactid 0.8.6f (installed 0.8.6g but Version response is 0.8.6f !! Weired)
Cacti 0.8.6i
PHP 5.1.6 (cli)
To prevent that the log file size grows I have made an cronjob to delete the log file every 5 minutres
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Can you double check your math. I see problems with that feedback. Also, please post a sample of your log.

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?
wisnausb
Posts: 16
Joined: Mon Jul 25, 2005 1:56 am
Location: Germany

Post by wisnausb »

Hi

what do you mean with "math" ?
Attachments
cacti.log.tar
(610 KiB) Downloaded 253 times
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Thanks for the log file! It sure clarifies things when I get an entire log file. I know what the issue is. However, I have to go off to work now (I have to feed my family besides doing Cacti too). So, I may have some time later this evening. Have to buy cell phones for the kids tonight... Either way, you can turn logging down to whatever it normally runs at. This warning message is harmless. I will fix it anyway, because I should.

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?
geekman
Posts: 16
Joined: Fri Sep 22, 2006 2:10 pm
Location: Helena MT

Post by geekman »

i hate to dig this thread up, but was a fix for this posted?? (i could have missed it :) )


Thanks
GeeKman
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

It's a funny thing, I posted a new file, and then never heard back. Kind of rude... Let me see what I can dig up...

Try this file...

TheWitness
Attachments
script_server.zip
(2.53 KiB) Downloaded 369 times
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests