|
|
| Author |
Message |
TheWitness Developer
Joined: 14 May 2002 Posts: 9256 Location: MI, USA
|
Posted: Sun Apr 06, 2008 8:46 am Post subject: |
|
|
Look at the Plugin Announcements forum post about PIA 2.2-beta. That patch will fix the Invalid PHP_SELF.
TheWitness
| eterzella.r.t wrote: | When i run php check-uptime.php this error occurred:
root@svr1:/var/www/cacti_original/plugins/uptime# php check-uptime.php
Invalid PHP_SELF Path
| Quote: | Cacti Version - 0.8.7b
Plugin Architecture - 2.0
Poller Type - CMD.php
Server Info - Linux 2.6.17-10-server
Web Server - Apache/2.0.55 (Ubuntu) PHP/5.1.6
PHP - 5.1.6
PHP Extensions - xmlwriter, libxml, xml, wddx, tokenizer, sysvshm, sysvsem, sysvmsg, standard, SimpleXML, sockets, soap, SPL, shmop, session, Reflection, posix, mime_magic, mbstring, iconv, hash, gettext, ftp, filepro, exif, dom, dba, date, ctype, calendar, bz2, bcmath, zlib, pcre, openssl, xmlreader, apache2handler, mysql, snmp, mysqli, gd
MySQL - 5.0.24a-Debian_9-log
RRDTool - 1.2.23
SNMP - 5.2.2
PluginsGlobal Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.9)
Network Discovery (discovery - v0.8.3)
Device Monitoring (monitor - v0.8.2)
Host Info (hostinfo - v0.2)
Network Tools (tools - v0.2)
Device Tracking (mactrack - v1.1)
FlowView (flowview - v0.4)
Uptime (uptime - v0.3)
PHP Network Weathermap (weathermap - v0.95a)
ReportIt (ReportIt - v0.5.1)
Report Creator (reports - v0.3)
Network Management Inventory Database (nmid - v0.3.7g)
Poller Performance Report (pollperf - v0.32)
NMID SmokePing Plugin (nmid_smokeping - v0.1)
NMID NFTracker Plugin (nmid_nftracker - v0.1)
NMID WebService Plugin (nmid_webservice - v0.1)
NMID CiscoWorks Plugin (nmid_ciscoworks - v0.1)
NMID phpIP Plugin (nmidPhpip - v0.3.8a)
NMID TaskManager Plugin (nmidTaskManager - v0.3.8a)
IP subnet Calculator IPv4 IPv6 (ipsubnet - v.4d) |
|
|
|
| Back to top |
|
 |
gilles Cacti User
Joined: 12 Jul 2005 Posts: 210
|
Posted: Tue Apr 08, 2008 2:47 pm Post subject: |
|
|
| updated to PA 2.1 |
|
| Back to top |
|
 |
MadX
Joined: 23 Apr 2008 Posts: 14
|
Posted: Thu Apr 24, 2008 9:49 pm Post subject: |
|
|
For me this is the only one that worked uptime-hj.zip after applying your check-uptime.php changes.
cacti Version 0.8.7b Beta installer for windows
PA 2.1
Apache 2.0 |
|
| Back to top |
|
 |
Diablork
Joined: 07 Jun 2008 Posts: 1
|
Posted: Sat Jun 07, 2008 5:47 pm Post subject: |
|
|
Hi Gilles ! First, big thanks for this plugin !
Second, I had an issue with it ... After install the plugin and patched the host.php file I got an error at line 1291 in browser ! After I commented out this :
| Code: | <?php
//gilles 1
?>
|
everything is fine and working ...
Is that something u've missed or ... ?! |
|
| Back to top |
|
 |
benton2006
Joined: 01 Apr 2007 Posts: 49
|
Posted: Tue Jun 17, 2008 10:33 pm Post subject: |
|
|
| yes , I met the same issue . so I had to use primary file |
|
| Back to top |
|
 |
leonardo_gyn Cacti User
Joined: 22 Jan 2005 Posts: 59
|
Posted: Wed Jun 18, 2008 8:14 am Post subject: |
|
|
i have translated some messages sent on the notification message, but the idea stays the same, i havent changed the plugin 'logic'. I'm getting some false positive on reboots, like:
| Quote: | Data: 12/6/2008 19:41
Subject: Reboot detectado
Host : 10.255.96.2 (Carapicuíba - AD Logon)
Uptime antigo: 3169780143 (366.9 dias)
Uptime novo : 1605109451 (185.8 dias)
Motivo:
|
as i also have a graph that shows machine uptime, i'm completly sure that the information was correctly provided by the machine on that moments before and after the gap that triggered the reboot notification.
| Quote: | 06/12/2008 07:35:30 PM - SPINE: Poller[0] Host[95] DS[1706] SNMP: v1: 10.255.96.2, dsname: host_uptime_win, oid: .1.3.6.1.2.1.1.3.0, value: 1605072326
06/12/2008 07:40:23 PM - SPINE: Poller[0] Host[95] DS[1706] SNMP: v1: 10.255.96.2, dsname: host_uptime_win, oid: .1.3.6.1.2.1.1.3.0, value: 1605101634
06/12/2008 07:45:43 PM - SPINE: Poller[0] Host[95] DS[1706] SNMP: v1: 10.255.96.2, dsname: host_uptime_win, oid: .1.3.6.1.2.1.1.3.0, value: 1605133643
|
do you have any idea why this false reboot notification was triggered ?? |
|
| Back to top |
|
 |
sander815
Joined: 17 Aug 2004 Posts: 11
|
Posted: Tue Jul 08, 2008 4:33 am Post subject: |
|
|
i added uptime to my plugins, but i don't see any device in the uptime tab
what went wrong? |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 1989 Location: United Kingdom
|
Posted: Tue Jul 08, 2008 4:38 am Post subject: |
|
|
| sander815 wrote: | i added uptime to my plugins, but i don't see any device in the uptime tab
what went wrong? |
Nothing. You need to go into the Devices and check the 'monitor uptime' box.
The Uptime tab shows the detected reboot events, so if nothing has rebooted yet, it will be empty. |
|
| Back to top |
|
 |
sander815
Joined: 17 Aug 2004 Posts: 11
|
Posted: Tue Jul 08, 2008 4:50 am Post subject: |
|
|
ok, i already checked them
so once rebooted they will show up? |
|
| Back to top |
|
 |
cristiv
Joined: 14 Aug 2008 Posts: 9 Location: Romania
|
Posted: Fri Aug 15, 2008 9:06 am Post subject: thanks! |
|
|
hey gilles,
I just wanted to say to you a big thanks for this plugin.
I installed it simply flawless in cacti 0.8.7b using the Plugin Management.
Everything went perfect and I had uptime running in a minute!
Many thanks again! and keep up with the good work.
Chris |
|
| Back to top |
|
 |
apperrault Cacti User
Joined: 16 Feb 2007 Posts: 299 Location: Emeryville, CA
|
Posted: Mon Aug 18, 2008 3:24 pm Post subject: |
|
|
I think that there is some sort of problem with the Uptime plugin, and the discovery plugin. When I install the Uptime plugin, i lose the ability to set the options for the discovery plugin. when i disable Uptime, i can set all of the options for the Discovery plugin, but when the uptime plugin is enabled, i lose those fields on the settings/misc page. The uptime plugin i downloaded from this thread, and the discovery plugin i got from the SVN.
I figured i would let everyone know.
app |
|
| Back to top |
|
 |
|
Powered by phpBB © 2001, 2005 phpBB Group
|
|