Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
General discussion about Plugins for Cacti
Moderators: Developers , Moderators
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Thu Jul 23, 2009 3:30 am
Wait a minute....
You are using WAMP right ?? Could you please send me your php.ini file. There are TWO on WAMP - I need to see both.
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Thu Jul 23, 2009 3:34 am
Also, did you install NET-SNMP, or are you using the php-snmp extension ? If you didn't install NET-SNMP, you''ll need to enable this extension in WAMP.
Also, make sure that your WAMP settings look like the enclosed screen shot
Attachments
PHPSettings.png (6.41 KiB) Viewed 2180 times
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53 Joined: Wed May 06, 2009 8:28 pm
Post
by herjai » Thu Jul 23, 2009 3:48 am
I am using Net-snmp
Attachments
php.rar
in apache (16.16 KiB) Downloaded 85 times
herjai
Cacti User
Posts: 53 Joined: Wed May 06, 2009 8:28 pm
Post
by herjai » Thu Jul 23, 2009 3:49 am
this one is in php folder
Attachments
php.rar
(16.16 KiB) Downloaded 74 times
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Thu Jul 23, 2009 3:55 am
Change these values in both php.ini files
register_argc_argv = on
magic_quotes_gpc = on
enable php_snmp extension in both php.ini files
Restart WAMP
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Thu Jul 23, 2009 3:56 am
Is CACTI running on the same server you are attempting to query ?
If so, download a copy of GetIF, and see if you can successfully walk the OID trees. If not, this is related to SNMP.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53 Joined: Wed May 06, 2009 8:28 pm
Post
by herjai » Thu Jul 23, 2009 4:08 am
mcutting wrote: Change these values in both php.ini files
register_argc_argv = on
magic_quotes_gpc = on
enable php_snmp extension in both php.ini files
Restart WAMP
i enabled the argc and magic quote already, but how to enable the php_snmp and restart WAMP?
sorry about all these questions
herjai
Cacti User
Posts: 53 Joined: Wed May 06, 2009 8:28 pm
Post
by herjai » Thu Jul 23, 2009 4:09 am
and cacti and the server i trying to query is on different server
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Thu Jul 23, 2009 4:12 am
herjai wrote: mcutting wrote: Change these values in both php.ini files
register_argc_argv = on
magic_quotes_gpc = on
enable php_snmp extension in both php.ini files
Restart WAMP
i enabled the argc and magic quote already, but how to enable the php_snmp and restart WAMP?
sorry about all these questions
No worries.
It's easier if you do this from the WAMP console.
1. Start the WAMPSERVER console (START / PROGRAMS / WampServer / Start WampServer)
2. In the system tray, click the WAMPServer icon once
3. Choose PHP / PHP Extensions / php-snmp
4. WAMP will automatically restart the services
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Thu Jul 23, 2009 4:13 am
herjai wrote: and cacti and the server i trying to query is on different server
Ok, so is there anything in between these two devices that may cause problems ? For example, Firewall, NAT device, router etc ?
Are you able to query the CACTI server directly with SNMP from CACTI ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53 Joined: Wed May 06, 2009 8:28 pm
Post
by herjai » Thu Jul 23, 2009 4:31 am
i have done the php-snmp thing, actually it's already enabled
and when i quest the localhost, same result
really really appreciated for your great helps
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Thu Jul 23, 2009 4:33 am
Can you please post your PATHS from settings ?
Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53 Joined: Wed May 06, 2009 8:28 pm
Post
by herjai » Thu Jul 23, 2009 4:36 am
here u go buddy
Attachments
paths.JPG (151.08 KiB) Viewed 2142 times
mcutting
Cacti Guru User
Posts: 1884 Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:
Post
by mcutting » Thu Jul 23, 2009 4:37 am
Now do System Utilities / Rebuild Poller Cache
Try it again..
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
herjai
Cacti User
Posts: 53 Joined: Wed May 06, 2009 8:28 pm
Post
by herjai » Thu Jul 23, 2009 4:41 am
rebuilt, and tried the verbose again right? same result
Users browsing this forum: No registered users and 0 guests