Syntax error clearing sensor data #185

Closed
GoogleCodeExporter opened this Issue Mar 24, 2015 · 3 comments

Comments

Projects
None yet
1 participant
@GoogleCodeExporter
What steps will reproduce the problem?
I am collecting info from two sensors: eth0 and eth1
I want clean sensor eth1

1. nsm_sensor_clear -d
2. check eth1 sensor 
3. Collected data for sensor eth1 will be cleared (yes)

What is the expected output? What do you see instead?

Clearing sensor: D00000SIDS-eth1
  * removing bookmarks                                                                                              [  OK  ]
  * removing collected data files                                                                                   [  OK  ]
  * removing collected log directories                                                                              [  OK  ]
/usr/local/sbin/nsm_sensor_clear: line 204: syntax error: unexpected end of file

What version of the product are you using?
(grep VERSION /etc/nsm/securityonion.conf)
VERSION=20120107

Please provide any additional information below.
The sensor is cleared OK but the output error is confusing.

Original issue reported on code.google.com by ecasbas on 10 Jan 2012 at 8:08

@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

Hi ecasbas,

Thanks for your bug report!

This is a simple issue and will get fixed the next time I update the NSM 
scripts.  If you'd like to fix it now, you can simply comment out the final 
"if" statement (right before "exit 0").

Thanks again!

Original comment by doug.bu...@gmail.com on 10 Jan 2012 at 10:54

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****
Hi ecasbas,

Thanks for your bug report!

This is a simple issue and will get fixed the next time I update the NSM 
scripts.  If you'd like to fix it now, you can simply comment out the final 
"if" statement (right before "exit 0").

Thanks again!

Original comment by doug.bu...@gmail.com on 10 Jan 2012 at 10:54

  • Changed state: Accepted
  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

Removed the errant if statement and created new NSM package.  Hope to deploy 
tomorrow!

Original comment by doug.bu...@gmail.com on 12 Jan 2012 at 10:02

  • Added labels: ****
  • Removed labels: ****
Removed the errant if statement and created new NSM package.  Hope to deploy 
tomorrow!

Original comment by doug.bu...@gmail.com on 12 Jan 2012 at 10:02

  • Added labels: ****
  • Removed labels: ****
@GoogleCodeExporter

This comment has been minimized.

Show comment
Hide comment
@GoogleCodeExporter

GoogleCodeExporter Mar 24, 2015

Published:
http://securityonion.blogspot.com/2012/01/security-onion-20120113-now-available.
html

Original comment by doug.bu...@gmail.com on 13 Jan 2012 at 3:26

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****
Published:
http://securityonion.blogspot.com/2012/01/security-onion-20120113-now-available.
html

Original comment by doug.bu...@gmail.com on 13 Jan 2012 at 3:26

  • Changed state: Fixed
  • Added labels: ****
  • Removed labels: ****
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment