Skip to end of banner
Go to start of banner

How to make configuration changes to opCommon.nmis and other files

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Before editing the file, make a backup, e.g.

cp /usr/local/omk/conf/opCommon.nmis /usr/local/omk/conf/opCommon.nmis.backup.$USER.$PPID

After editing the file, verify the syntax with the following command

perl -c /usr/local/omk/conf/opCommon.nmis

If you get an error message like the following:

String found where operator expected at opCommon.nmis line 5, near "'auth_crowd_password'"
	(Missing semicolon on previous line?)
syntax error at opCommon.nmis line 5, near "'auth_crowd_password'"
opCommon.nmis had compilation errors.

First carefully read the message, this example is quite common, all that is required is to add a comma to the end of the line, but if you can not understand the issue, restore your backup.

cp /usr/local/omk/conf/opCommon.nmis /usr/local/omk/conf/opCommon.nmis.backup.$USER.$PPID



If you do not see an output like the following 

  • No labels