Solved

Error: Unknown option: warning-database at /usr/lib/centreon/plugins/centreon_mssql.pl line 2118.

  • 28 June 2023
  • 2 replies
  • 206 views

Badge +1

Hello Everyone,

I´m currently receiving this error in some of my monitored MSSQL Databases.

Unknown option: warning-database at /usr/lib/centreon/plugins/centreon_mssql.pl line 2118.

This is the plugin.

Also, I checked and the database “tempdb” is okay.

If anyone can assist on this.

Thanks in advance,

icon

Best answer by christophe.niel-ACT 28 June 2023, 16:32

View original

2 replies

Userlevel 5
Badge +14

Hello

this looks like your plugin is not up to date and does not match the “plugin pack”

the plugin pack is the thing you install on the web ui and that will create the commands to run the check

the check itself is a perl command that will take argument and updated separately on each poller

 

you should always be aware that when you update your plugin pack on the Web UI you should always do an update on each of your centreon servers (central or pollers).

usually, if you update all your plugin pack in the ui, you then run 

yum update “centreon-plugin*”

will do the trick and update all the plugins

 

you could also be sure to follow this documentation : Plugin Packs | Centreon Documentation with the “offline platform” part, where you first “yum update” the plugin pack catalog, then clic in the web ui, then update all the plugin-pack (either all of them or only the one you need to update

 

in your case it should be “centreon-plugin-Applications-Databases-Mssql”

Badge +1

Hello @christophe.niel-ACT 

Thanks a lot for your contribution on my issue.

Sounds like I need to wait my global monitoring team to update the central and all the pollers, in order to fix this error.

Kindly Regards

 

Reply