Warning messages in Cacti log

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

Moderators: Developers, Moderators

geekman
Posts: 16
Joined: Fri Sep 22, 2006 2:10 pm
Location: Helena MT

Post by geekman »

After copying that file into cacti directory, I am no longer receiving the messages.

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

Post by TheWitness »

Geekman,

I appreciate the feedback!!

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
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Hi Larry

I also have this problem since I updated from 0.8.6h to 0.8.6i on my server #1 this morning.

Can I safely use your fix ?

Thanks in advance !
[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]
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Give it a whirl. If it works for you, I will have Ian issue a patch.

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
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

It works :)

I get a lot of this warning in cacti.log :
11/27/2006 06:20:09 PM - CMDPHP: Poller[0] Holy smokes Batman!!
11/27/2006 06:20:09 PM - CMDPHP: Poller[0] Holy smokes Batman!!
[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]
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

lol, let me change that before committing.

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
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

BTW, I did not have this warning anymore since upgrading to cactid 0.8.6i (as my poller is always running in 2 minutes instead of 5+).
[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]
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Here is a revised copy. Let me know how it works.

Larry
Attachments
script_server.zip
(2.52 KiB) Downloaded 372 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
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

It's working fine, I don't get the new ""ERROR: Input Expected, Script Server Terminating" message.
[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]
User avatar
infodood
Posts: 14
Joined: Wed Sep 29, 2004 10:37 pm
Location: Maryland, USA

Post by infodood »

I just applied it & it worked for me too. Thanks.

Cacti Version - 0.8.6i
Plugin Architecture - 1.0
Poller Type - Cactid v0.8.6f
Server Info - Windows NT 5.0
Web Server - Apache/2.2.3 (Win32) PHP/5.2.0RC5-dev
PHP - 5.2.0RC5-dev
PHP Extensions - bcmath, calendar, com_dotnet, ctype, session, filter, ftp, hash, iconv, json, odbc, pcre, Reflection, date, libxml, standard, tokenizer, zlib, SimpleXML, dom, SPL, wddx, xml, xmlreader, xmlwriter, apache2handler, gd, mysql, snmp, sockets
MySQL - 4.1.21-community-nt
RRDTool - 1.2.15
SNMP - Version: 5.3.1
Plugins
  • Thresholds (thold - v0.3.0)
    Update Checker (update - v0.3)
    Network Tools (tools - v0.2)
    Host Info (hostinfo - v0.1)
    monitor
    PHP Network Weathermap (weathermap - v0.82)
    FlowView (flowview - v0.3)
    Simple Links page (links - v0.3)
    PHP Network Managing (manage - v0.4)
    NTop Viewer (ntop - v0.1)
    Syslog Monitoring (haloe - v0.4)
    configmanager - v0.2
[/quote]
//chris
ahull
Posts: 1
Joined: Wed Jan 17, 2007 4:40 pm

Post by ahull »

Hello.
I'm a long time user, first time poster...

First let me say how much I love this software and appriciate all of the hard work all the devs do.

I finally got around to updating to 0.8.6i (it was the security notice that finally broke my inertia loose) and experienced the same warnings in my log that are detailed in this thread:

Code: Select all

01/17/2007 04:15:09 PM - PHPSVR: Poller[0] WARNING: PHP Script File to be included, does not exist
01/17/2007 04:15:09 PM - PHPSVR: Poller[0] WARNING: Function does not exist
I applied the official patches - no change.

I downloaded and replaced TheWitness' updated script_server.php posted to this thread on Nov 28, 2006 - that worked like a charm.

I'm just documenting my experience pertaining to this issue.

Again, thank you so much,
Andrew
ryusez
Posts: 25
Joined: Thu Sep 28, 2006 9:36 pm

Post by ryusez »

i had got same error msg

on new 0.8.7a version..
msg :

11/28/2007 08:38:32 AM - SPINE: Poller[0] Host[2] DS[15] SS[0] SERVER: /var/www/html/cacti/scripts/ss_fping.php 10.82.31.243 20 ICMP , output: U
11/28/2007 08:38:32 AM - SPINE: Poller[0] Host[2] DS[15] SS[0] WARNING: Result from SERVER not valid. Partial Result: ...
11/28/2007 08:38:32 AM - PHPSVR: Poller[0] WARNING: Function does not exist

how to solv it ...
thank you

php -v
PHP 4.3.9 (cgi) (built: Sep 20 2007 19:31:11)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies


rpm -qa | grep libc
glibc-common-2.3.4-2.36
libcap-1.10-20
libcap-devel-1.10-20
glibc-devel-2.3.4-2.36
compat-libcom_err-1.0-5
compat-glibc-headers-2.3.2-95.30
glibc-2.3.4-2.36
libcroco-0.6.0-4
glibc-headers-2.3.4-2.36
glibc-kernheaders-2.4-9.1.100.EL
libcroco-devel-0.6.0-4
compat-glibc-2.3.2-95.30
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

You the script in question is likely not readable by the poller or missing.

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?
mschafer
Posts: 2
Joined: Thu Dec 13, 2007 2:32 pm

Post by mschafer »

Thanks for the product...I am a newbie, about a month.

I just upgraded to 0.8.7a, and started using the php script server. I am getting this error.

PHP 4.3.9 (cgi) (built: Sep 20 2007 19:31:11)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

rpm -qa | grep libc
glibc-devel-2.3.4-2.36
compat-libcom_err-1.0-5
glibc-headers-2.3.4-2.36
glibc-2.3.4-2.36
libcroco-0.6.0-4
glibc-kernheaders-2.4-9.1.100.EL
glibc-common-2.3.4-2.36
libcap-1.10-20
libcap-devel-1.10-20

and the debug log file.

Thanks for any help you can give..
Attachments
cacti.rar
cacti.log
(39.82 KiB) Downloaded 140 times
User avatar
TheWitness
Developer
Posts: 17004
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Looks like the Canopy template and/or script needs updating for 0.8.7. You might want to Google that.

Please, next time, open a new thread. This one was quite old.

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?
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests