check_snmp_synology - False Positives

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Re: check_snmp_synology - False Positives

Postby cdienger » Wed Jan 02, 2019 10:30 am

Try running it and saving the output files in /var /or /tmp.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 3776
Joined: Tue Feb 07, 2017 11:26 am

Re: check_snmp_synology - False Positives

Postby chris1337c » Wed Jan 02, 2019 6:18 pm

I have left it running over the weekend, I am looking for the output files now. I do not know how to run what you are asking to be honest.


Chris
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby chris1337c » Wed Jan 02, 2019 6:24 pm

I have searched the whole directory with WinSCP for "output" and found nothing, I even double checked the /root directory in which we had specified the output to.
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby chris1337c » Wed Jan 02, 2019 6:27 pm

Code: Select all
nohup tcpdump -Z root -s 0 -i any port 161 and host a.b.c.d -C 10 -W 5 -w /full/path/to/output/file/output.pcap &


What would I change to define what you are asking?
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby chris1337c » Wed Jan 02, 2019 6:31 pm

Someone mentioned I should try with the dst in the command, so I just ran this:
Code: Select all
nohup tcpdump -Z root -s 0 -i any "dst host IPHEREOBV and dst port 161" -C 10 -W 5 -w output.pcap &
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby chris1337c » Wed Jan 02, 2019 6:35 pm

By the way the comment above ^ with the "dst", I just started seeing the output file's build. I will collect the data and report back, now that I know TCPDUMP is logging correctly.
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby chris1337c » Thu Jan 03, 2019 3:01 pm

I am still capturing the TCPDumps, however I used the iReasoning MIB Browser, I find it interesting when it runs the UPS OID's they take a very long time and skip over to the next OID number up .4 -> .5

Not sure if this is a possibility of root cause, but could you please review the plugin and help me comment out the UPS checks as the UPS isn't even configured for this device? I have the UPS settings disabled on the Synology itself as well, I am wondering if this is the issue.
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby cdienger » Thu Jan 03, 2019 4:57 pm

It looks like the script will not gather ups info unless the -U option is used when running the command:

Code: Select all
echo "            -U            Show informations about the connected UPS (only information, no control)"
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
cdienger
Support Tech
 
Posts: 3776
Joined: Tue Feb 07, 2017 11:26 am

Re: check_snmp_synology - False Positives

Postby chris1337c » Thu Jan 03, 2019 7:15 pm

I made 5 variations of the file, tomorrow I will post the output.pcap logs

1) Temp removed

2) Temp/HD Temp removed

3) Temp/HDTemp and SNMP Timeout increased "90"

4)Temp/HDTemp and SNMP Timeout increased "90" UPS Model Removed

5) Temp/HDTemp and SNMP Timeout increased "90" UPS Completely removed
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby chris1337c » Fri Jan 04, 2019 10:08 am

[01-04-2019 08:22:35] SERVICE ALERT: DC_SAN;Global Health Status;CRITICAL;SOFT;1;(Service check timed out after 180.01 seconds)
Informational Message[01-04-2019 08:22:35] Warning: Check of service 'Global Health Status' on host 'DC_SAN' timed out after 180.011s!
Informational Message[01-04-2019 08:22:35] wproc: early_timeout=1; exited_ok=0; wait_status=0; error_code=62;
Informational Message[01-04-2019 08:22:35] wproc: host=DC_SAN; service=Global Health Status;
Informational Message[01-04-2019 08:22:35] wproc: CHECK job 229173 from worker Core Worker 14080 timed out after 180.01s
Informational Message[01-04-2019 08:22:35] wproc: Core Worker 14080: job 229173 (pid=5983) timed out. Killing it


Just copied the TCPDump files over to my laptop, I will be posting the timeout info shortly.
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

PreviousNext

Return to Nagios Core

Who is online

Users browsing this forum: Google [Bot], IT-OPS-SYS, Vaderoid and 19 guests