SNMP - Get Mounted Partitions does not working
Moderators: Developers, Moderators
-
- Posts: 14
- Joined: Wed Jan 03, 2007 12:06 pm
SNMP - Get Mounted Partitions does not working
Hi cactiusers,
I have some problems in my cacti. Look my cacti versions and the debug output.
===============================================
Cacti Version 0.8.6i
Plugin Architecture 1.0
Poller Type CMD.php
Server Info Linux 2.6.9-78.0.1.ELsmp
Web Server Apache/2.0.52 (CentOS)
PHP Version 4.3.9
PHP Extensions yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, mysql, snmp, eAccelerator
MySQL Version 4.1.22
RRDTool Version 1.2.15
SNMP Version 5.1.2
===============================================
Data Query Debug Information
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 query index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 query description'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 query sau'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 query total'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
I don´t know what happening with this query?
[b]Have anyone some solutions for this?[/b]
I really appreciate
Luiz
I have some problems in my cacti. Look my cacti versions and the debug output.
===============================================
Cacti Version 0.8.6i
Plugin Architecture 1.0
Poller Type CMD.php
Server Info Linux 2.6.9-78.0.1.ELsmp
Web Server Apache/2.0.52 (CentOS)
PHP Version 4.3.9
PHP Extensions yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, mysql, snmp, eAccelerator
MySQL Version 4.1.22
RRDTool Version 1.2.15
SNMP Version 5.1.2
===============================================
Data Query Debug Information
+ Running data query [8].
+ Found type = '6 '[script query].
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ XML file parsed ok.
+ Executing script for list of indexes '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 query index'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 query description'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 query sau'
+ Executing script query '/usr/bin/php -q /var/www/html/scripts/ss_host_disk.php 192.168.37.191 1:161:500:sidious:::|host_snmp_auth_protocol|:|host_snmp_priv_passphrase|:|host_snmp_priv_protocol|:|host_snmp_context| 89 query total'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
+ Found data query XML file at '/var/www/html/resource/script_server/host_disk.xml'
I don´t know what happening with this query?
[b]Have anyone some solutions for this?[/b]
I really appreciate
Luiz
1) linux box so wrong forum, moving.
2) Cacti Version 0.8.6i?? You're way behind in updates, which likely has fixed the problem.
2) Cacti Version 0.8.6i?? You're way behind in updates, which likely has fixed the problem.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 14
- Joined: Wed Jan 03, 2007 12:06 pm
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Grab the latest SVN of ss_host_disk.php from the web site, as of today.
TheWitness
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?
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?
-
- Posts: 14
- Joined: Wed Jan 03, 2007 12:06 pm
The SVN... off the main cacti.net site... http://svn.cacti.net/viewvc/
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
i am facing same issue please help, i donno how to get update using svn, i manually created php file from svn site by copy pasting but now
/usr/bin/php -q /var/html/cacti/scripts/ss_host_cpu.php 67.*.*.* 3 1:161:500:public:::MD5::DES: query index
Timeout: No Response from IP
what am i doing wrong? if i use old ss_host_cpu.php/disk.php i get results via command line fine but nt in verbose query
thanks
/usr/bin/php -q /var/html/cacti/scripts/ss_host_cpu.php 67.*.*.* 3 1:161:500:public:::MD5::DES: query index
Timeout: No Response from IP
what am i doing wrong? if i use old ss_host_cpu.php/disk.php i get results via command line fine but nt in verbose query
thanks
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
There are actually two files from SVN that you need to obtain. Once you do that, you need to repopulate the poller cache. The files are:
resource/script_server/host_disk.xml
resource/script_server/host_cpu.xml
scripts/ss_host_disk.php
scripts/ss_host_cpu.php
Please take these from the branches/0.8.7 SVN location. In addition, keep backup copies if all melt's down don't forget to re-populate the poller cache for these items as well if you have to back off.
Alternatively, you could take the old files and simply move the "include_once(blahblahblah.../snmp.php);" statement that appears just after the error_reporting into the if(...) satement just below it right after the include(.../global.php) section. That might work better.
TheWitness
TheWitness
resource/script_server/host_disk.xml
resource/script_server/host_cpu.xml
scripts/ss_host_disk.php
scripts/ss_host_cpu.php
Please take these from the branches/0.8.7 SVN location. In addition, keep backup copies if all melt's down don't forget to re-populate the poller cache for these items as well if you have to back off.
Alternatively, you could take the old files and simply move the "include_once(blahblahblah.../snmp.php);" statement that appears just after the error_reporting into the if(...) satement just below it right after the include(.../global.php) section. That might work better.
TheWitness
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?
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?
thanks for the reply, however both attempt doing the exact same result, if i get two files and try with that i get response timed out via command line, if i use the old one with the modified code getting proper results via command line but not in cacti. any other suggestions? is this the problem with cacti script or my system?
-
- Posts: 14
- Joined: Wed Jan 03, 2007 12:06 pm
Who is online
Users browsing this forum: No registered users and 0 guests