I am currently trying to poll the JVM of a Glassfish server. I have the server configured to listen on port 1610. I can query both the system and the Glassfish SNMP agents with no issues from the command line using snmpwalk. My issue is creating my own query. I have both the graph templates and data templates created. When the cacti poller polls the host I get a timeout. If I do it manually from the same host as root or the cacti user its okay. I've turned on debugging and run the poller.php manually using <path>php -q poller.php -d. Is there any way I can see the exact command line the poller is using to pull the data? I have included the data_template settings. I have test it with the boxes check and unchecked to no avail. Any thoughts would be a great help. Cheers,
Rick
WARNING: SNMP Get Timeout for Host
Moderators: Developers, Moderators
-
- Posts: 10
- Joined: Thu Jul 20, 2006 2:10 pm
- Location: Toronto, Canada
WARNING: SNMP Get Timeout for Host
- Attachments
-
- data-template-settings.PNG (19.82 KiB) Viewed 637 times
-
- cacti-log.PNG (4.84 KiB) Viewed 637 times
-
- Posts: 33
- Joined: Sun Mar 25, 2012 12:22 pm
Re: WARNING: SNMP Get Timeout for Host
While I'd suggest enabling Cacti's Debug Logging for a polling cycle, it doesn't appear to provide the info you seek.rickstewart wrote:I am currently trying to poll the JVM of a Glassfish server. I have the server configured to listen on port 1610. I can query both the system and the Glassfish SNMP agents with no issues from the command line using snmpwalk. My issue is creating my own query. I have both the graph templates and data templates created. When the cacti poller polls the host I get a timeout. If I do it manually from the same host as root or the cacti user its okay. I've turned on debugging and run the poller.php manually using <path>php -q poller.php -d. Is there any way I can see the exact command line the poller is using to pull the data? I have included the data_template settings. I have test it with the boxes check and unchecked to no avail. Any thoughts would be a great help. Cheers,
Rick
Nor does Devel Logging ... (it would if you were interested in SQL queries! )
I believe the best you're going to get is use tcpdump at either end to determine what the SNMP query looks like from Cacti and how that compares to your manual query from CLI.
silvertip257
Who is online
Users browsing this forum: No registered users and 4 guests