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 chris1337c » Fri Dec 28, 2018 2:58 pm

I put the original file back untouched with WinSCP overwriting the file that was there with the same permissions but now it is throwing warnings :(

[12-28-2018 13:22:04] SERVICE NOTIFICATION: ********n;DC_SAN;Global Health Status;ACKNOWLEDGEMENT (WARNING);notify-service-by-email;Synology model: "RS2414rp+";Nagios Admin;Im on it
Service Notification[12-28-2018 13:22:04] SERVICE NOTIFICATION: nagiosadmin;DC_SAN;Global Health Status;ACKNOWLEDGEMENT (WARNING);notify-service-by-email;Synology model: "RS2414rp+";Nagios Admin;Im on it
External Command[12-28-2018 13:22:04] EXTERNAL COMMAND: ACKNOWLEDGE_SVC_PROBLEM;DC_SAN;Global Health Status;2;1;0;Nagios Admin;Im on it
Service Warning[12-28-2018 13:20:51] SERVICE ALERT: DC_SAN;Global Health Status;WARNING;HARD;3;Synology model: "RS2414rp+"
Service Notification[12-28-2018 13:20:51] SERVICE NOTIFICATION: **********;DC_SAN;Global Health Status;WARNING;notify-service-by-email;Synology model: "RS2414rp+"
Service Notification[12-28-2018 13:20:51] SERVICE NOTIFICATION: nagiosadmin;DC_SAN;Global Health Status;WARNING;notify-service-by-email;Synology model: "RS2414rp+"
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby cdienger » Fri Dec 28, 2018 3:01 pm

It's entirely possible - 30 seconds seems like a long time and if that is a normal response time then more load on the system could certainly push the times even higher. We won't be in on Monday(or Tuesday) but we can take a look at the data when we're back in the office. Note the date and time of any timeouts seen in the logs or notifications and PM me the files. If they are too large, please upload to a third party like dropbox and send me the download link.
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: 3307
Joined: Tue Feb 07, 2017 11:26 am

Re: check_snmp_synology - False Positives

Postby chris1337c » Fri Dec 28, 2018 3:07 pm

Will do, are there any steps I missed when copying the original file back over the modified file in Winscp that would cause Nagios to throw warnings with the only info as:

[12-28-2018 13:20:51] SERVICE ALERT: DC_SAN;Global Health Status;WARNING;HARD;3;Synology model: "RS2414rp+"
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby cdienger » Fri Dec 28, 2018 3:07 pm

The configured check has met the criteria to put it in a WARNING state. Either the problem on the synlogogy device needs to be fixed or, if the WARNING is a false positive, the check's configuration needs to be modified.
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: 3307
Joined: Tue Feb 07, 2017 11:26 am

Re: check_snmp_synology - False Positives

Postby chris1337c » Fri Dec 28, 2018 3:08 pm

Also, I am not seeing the output.pcap0/1/2/3 being created? Or will that take some time. I executed in root and am looking at it now.
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby cdienger » Fri Dec 28, 2018 3:40 pm

output.pcap0 should be created right away but subsequent files will only be created as needed. Do you see the command running if you run "ps aux | grep tcpdump" ? You can also run the tcpdump with the full path to the output file:

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 &
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: 3307
Joined: Tue Feb 07, 2017 11:26 am

Re: check_snmp_synology - False Positives

Postby chris1337c » Fri Dec 28, 2018 4:13 pm

root 7582 0.0 0.0 112704 976 pts/0 S+ 15:12 0:00 grep --color=au to tcdump


This was the output I got from the first command.
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby chris1337c » Fri Dec 28, 2018 4:15 pm

When running "nohup tcpdump -Z root -s 0 -i any port 161 and host ******.111.1 -C 10 -W 5 -w /full/path/to/output/file/output.pcap &"

The output says ignoring input and appending output to "nohup.out"
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby chris1337c » Fri Dec 28, 2018 4:17 pm

/root/

Still no output.pcap in this location
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

Re: check_snmp_synology - False Positives

Postby chris1337c » Fri Dec 28, 2018 4:28 pm

Check out this SS I can't explain better than a picture :)
Last edited by chris1337c on Wed Jan 02, 2019 6:17 pm, edited 1 time in total.
chris1337c
 
Posts: 75
Joined: Wed Dec 26, 2018 2:31 pm

PreviousNext

Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 28 guests