re-alert doesnt work

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

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 »

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
PHPSettings.png (6.41 KiB) Viewed 2176 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 »

I am using Net-snmp
Attachments
php.rar
in apache
(16.16 KiB) Downloaded 84 times
herjai
Cacti User
Posts: 53
Joined: Wed May 06, 2009 8:28 pm

Post by herjai »

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 »

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 »

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 »

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 »

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 »

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 »

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 »

i have done the php-snmp thing, actually it's already enabled

and when i quest the localhost, same result :cry:

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 »

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 »

here u go buddy
Attachments
paths.JPG
paths.JPG (151.08 KiB) Viewed 2138 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

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 »

rebuilt, and tried the verbose again right? same result
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests