SNMP Timeout

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
Prometheus
Posts: 60
Joined: Wed Mar 09, 2016 1:23 am

SNMP Timeout

Post by Prometheus »

Hi,

I try to get the "MasterSerial" of my firewall every 60 seconds using SNMP GET. But every time HostMonitor tells me there is a timeout. I've tried other monitoring tools and they test it well. It feels like a bug. Can you help me?

This is my test:

Method = SNMP
;--- Common properties ---
;DestFolder = Prometheus\DBA & SB\#Prometheus Intern\Netwerk\Firewall\FIR002\
Title = SNMP fgHaStatsMasterSerial.2
Comment = SNMP Get fgHaStatsMasterSerial.2 from Firewall
RelatedURL =
NamePattern = SNMP %mibnameshort%
CmntPattern = SNMP Get %mibnameshort% from %host%
ScheduleMode= Regular
Schedule =
Interval = 60
Alerts = Notice
ReverseAlert= No
UnknownIsBad= Yes
WarningIsBad= Yes
UseCommonLog= Yes
PrivLogMode = Default
CommLogMode = Default
;--- Test specific properties ---
Agent = IPofFirewall
Profile = public
Timeout = 1000
Retries = 3
OID = 1.3.6.1.4.1.12356.101.13.2.1.1.16.2
Condition = NotContain
Value = SerialofFirewall
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

What settings do you use for SNMP profile "public"?
What RMA agent version ant type (active/passive) is "IPofFirewall"?
HostMonitor version?

What connection parameters do you use in other monitoring tools (SNMP version, community name,....)?
Prometheus
Posts: 60
Joined: Wed Mar 09, 2016 1:23 am

Post by Prometheus »

HostMonitor version is 9.90
SNMP profile is public

Where can i find the RMA agent version ant type active/passive?
Prometheus
Posts: 60
Joined: Wed Mar 09, 2016 1:23 am

Post by Prometheus »

HostMonitor version is 9.90
SNMP profile is public

Where can i find the RMA agent version ant type active/passive?

In other tools i use the same parameters. SNMP version v1/v2c
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

SNMP profile is public
It's just profile name.

What are "public" profile settings:
SNMP version, community name, other settings?
Where can i find the RMA agent version ant type active/passive?
Open Test properties dialog, click "Choose Remote Monitoring Agent" button and check "Port" and "Version" columns of selected agent.
Prometheus
Posts: 60
Joined: Wed Mar 09, 2016 1:23 am

Post by Prometheus »

Agent = 127.0.0.1
Port = 1055
Version = 1.0 Beta

Settings of SNMP community: public
Queries;
- v1, port 161
- v2c, port 161

Fortinet does not supply more settings...
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

1) What exactly error message do you see? Just "Timeout"? or something like "RMA: Read error. Timeout"?

2) If you see Timeout error, usually you should increase timeout.
Have you tried that?

We cannot say anything for sure without access to the device.
Can you provide SNMP access?
If yes, please send details to support@ks-soft.net
If not, please use WireShark to capture network traffic between RMA agent and SNMP agent and send to support@ks-soft.net

Regards
Alex
Prometheus
Posts: 60
Joined: Wed Mar 09, 2016 1:23 am

Post by Prometheus »

You were right, had to screw up the timeout time to 10000, but it does the job. thank you for the advise.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Agent = 127.0.0.1
Port = 1055
Version = 1.0 Beta
This does not make much sense.
I think you checked wrong RMA record (sample record that comes with HostMonitor installation and normally not used for monitoring)

Regards
Alex
Prometheus
Posts: 60
Joined: Wed Mar 09, 2016 1:23 am

Post by Prometheus »

Well we don't use the RMA. Everything is tested by hostmonitor itself
Post Reply