Problem to poll Sophos email appliance

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
hktony
Posts: 7
Joined: Thu Feb 05, 2015 4:02 am

Problem to poll Sophos email appliance

Post by hktony »

Dear All
Current using 2008R2(64bits) / cacti 0.8.8.c

Does anyone have experience with below error in any devices ? (beside my devices is Sophos email appliance)

Tried below setting
1)With Downed Device Detection -"Ping and SNMP Uptime" + Ping Method - "ICMP ping"
Snmp information are shown but Ping result fail

2)With Downed Device Detection -"Ping and SNMP Uptime" + Ping Method - "UDP ping"
Snmp information are shown (with error) but Ping result fail

3)With Downed Device Detection -"Ping and SNMP Uptime" + Ping Method - "UDP ping"
Snmp information are shown (with error) but Ping result success (with error)

Status In State Current (ms) Average (ms) Availability
Down 18d 21h 35m 0 0 0

Do some research the snmp error is relate to php version, but already use 5.6.3 by 0.8.8c package.
Below are some debug log and just said SNMP Get Timeout for Host which tired to increase snmp timout but also fail

03/05/2015 03:28:28 PM - CMDPHP: Poller[0] DEVEL: SQL Exec: "update host set status = '1', status_event_count = '5448', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = 'Host did not respond to SNMP, ICMP Ping Success (0 ms)', min_time = '9.99999', max_time = '0.00000', cur_time = '0.00000', avg_time = '0.00000', total_polls = '698', failed_polls = '698', availability = '0' where hostname = '10.150.8.87'"

03/05/2015 03:28:28 PM - CMDPHP: Poller[0] WARNING: SNMP Get Timeout for Host:'10.150.8.87', and OID:'.1.3.6.1.2.1.1.3.0'
Attachments
Untitled.png
Untitled.png (44.16 KiB) Viewed 971 times
Untitled.png
Untitled.png (44.46 KiB) Viewed 971 times
Untitled.png
Untitled.png (43.52 KiB) Viewed 971 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Problem to poll Sophos email appliance

Post by BSOD2600 »

How'd you install Cacti? manually or use the installer? If manually, did you follow http://docs.cacti.net/manual:088:1_inst ... figure_php for which settings to change in php.ini?
hktony
Posts: 7
Joined: Thu Feb 05, 2015 4:02 am

Re: Problem to poll Sophos email appliance

Post by hktony »

Hi

The installation was fully using 0.8.8c package php 5.6.3

the link that shown
PHP 5.6 has known issues with Cacti 0.8.8, do NOT use.
http://docs.cacti.net/manual:088:1_inst ... figure_php

so I am confuse should use the PHP with 0.8.8c package?
hktony
Posts: 7
Joined: Thu Feb 05, 2015 4:02 am

Re: Problem to poll Sophos email appliance

Post by hktony »

Already using PHP version with 0.8.8c package which is 5.6.3

so should I update latest version or degrade ?

Beside when using Net-snmp or php-snmp. Does it apply to all devices? or is that a way to choose separate devices by using php-snmp?
Attachments
Untitled.png
Untitled.png (28.44 KiB) Viewed 920 times
Untitled.png
Untitled.png (72.23 KiB) Viewed 920 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Problem to poll Sophos email appliance

Post by BSOD2600 »

Ah so you used http://forums.cacti.net/viewtopic.php?f=3&t=14946 ? if so, then php 5.6.3 is fine... I've been busy and havent had a chance to update the wiki with the modifications. That strict mode warning shouldnt be occurring with clean install. In the phpinfo page, d:\bin\php is where you had the installer place the files or is that left over from another self install?

Regardless of the warnings, it appears all 3 ping methods are successful.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest