how to extend timeout
Moderators: Developers, Moderators
how to extend timeout
i'm using cacti under windows and using windows snmp services with apache server. but i'm having a problem to grab an interface info from certain routers. but when i test with MRTG it can be done. i think that this must be some sort of timeout reason. cam someone tell me how to fixs this ! thank u very much !
You need to increase the SNMP timeout? If so, for the router configuration page in cacti, increase the snmp timeout. What is the error message you receive when you try to poll this problem router?
| 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 |
Increase the timeout value in your php.ini file.
| 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 |
SNMPget Timeout
Windows 2003
IIS 6.0
PHP 5.0.4
Cacti 0.8.6f
Cactid 0.8.6e
RRDTool 1.2.11
Net-snmp 5.1.3
Cacti are working ok..! But I have problem trying to monitoring a Cisco 5850 (Gateway). I add de Device successfully but, on Data Queries (SNMP – Interface Statistics) appear 0 Items, 0 Rows. When I run a VQ and wait 10 sec the page go to timeout and display a blank screen (white screen).
I run manually on DOS snmpwalk to check the communicaction with the routes:
snmpwalk –v 1 –c community –m 0.0.0.0 .1.3.6.1.2.1.2.2.1.1 (ok)
snmpwalk –v 1 –c community –m 0.0.0.0 .1.3.6.1.2.1.2.2.1.8 (ok)
snmpwalk –v 1 –c community –m 0.0.0.0 .1.3.6.1.2.1.2.2.1.2 (ok)
And working fine.
I think that the problem is related to the snmpget processes that take almost an hour to complete de process in this particular Router (gateway) who has many Virtual interface.
I was trying to void this issue change de SNMP interval from de default (500ms) to (12000) and increase the timeouts interval on PHP.INI , but still doesn’t work.
Any Idea whoa change the timeouts on the QV process or a another way to run the QV.
Thank you.
IIS 6.0
PHP 5.0.4
Cacti 0.8.6f
Cactid 0.8.6e
RRDTool 1.2.11
Net-snmp 5.1.3
Cacti are working ok..! But I have problem trying to monitoring a Cisco 5850 (Gateway). I add de Device successfully but, on Data Queries (SNMP – Interface Statistics) appear 0 Items, 0 Rows. When I run a VQ and wait 10 sec the page go to timeout and display a blank screen (white screen).
I run manually on DOS snmpwalk to check the communicaction with the routes:
snmpwalk –v 1 –c community –m 0.0.0.0 .1.3.6.1.2.1.2.2.1.1 (ok)
snmpwalk –v 1 –c community –m 0.0.0.0 .1.3.6.1.2.1.2.2.1.8 (ok)
snmpwalk –v 1 –c community –m 0.0.0.0 .1.3.6.1.2.1.2.2.1.2 (ok)
And working fine.
I think that the problem is related to the snmpget processes that take almost an hour to complete de process in this particular Router (gateway) who has many Virtual interface.
I was trying to void this issue change de SNMP interval from de default (500ms) to (12000) and increase the timeouts interval on PHP.INI , but still doesn’t work.
Any Idea whoa change the timeouts on the QV process or a another way to run the QV.
Thank you.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
look for the work "execution" in your php.ini file and you will have found your solution. Make it 300. Then restart apache. Don't forget to save the php.ini file first though.
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?
Scripts timeout
TheWitness
Could be any issue If I change the this scripts timeout to 1 hour.
Could be any issue If I change the this scripts timeout to 1 hour.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Only on rare occasions.
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?
SNMPget Timeout
TheWitness:
BSOD2600:
I change the timeout value on PHP.INI
max_execution_time = 30 to (7200)
max_input_time = 60 to (7200)
memory_limit = 8M
After that the VQ was run complete and succefully.
Thank you for you helps.
BSOD2600:
I change the timeout value on PHP.INI
max_execution_time = 30 to (7200)
max_input_time = 60 to (7200)
memory_limit = 8M
After that the VQ was run complete and succefully.
Thank you for you helps.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please increase your memory limit to 64Mbytes.
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?
Who is online
Users browsing this forum: No registered users and 0 guests