I am integrating nagios xi 5.6.6 with the victorops using the below guide:
https://help.victorops.com/knowledge-ba ... ion-guide/
I have configure the victerops.cfg and placed it to the /usr/local/nagios/etc directory and after that I have imported it to the nagios.
apply the configuration give me the below error
Victorops integration
-
IT-OPS-SYS
- Posts: 184
- Joined: Sun Jan 07, 2018 12:56 pm
Victorops integration
You do not have the required permissions to view the files attached to this post.
-
IT-OPS-SYS
- Posts: 184
- Joined: Sun Jan 07, 2018 12:56 pm
Re: Victorops integration
nagios service is down and when we try to start the service it says:
Error: Could not register service (config file '/usr/local/nagios/etc/services/VictorOps-service.cfg', starting on line 16)
Error: Could not register service (config file '/usr/local/nagios/etc/services/VictorOps-service.cfg', starting on line 16)
Re: Victorops integration
Please read here:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Technically, any file under /usr/local/nagios/etc that has this at the top should not be modified by hand:
- Or anything directly under /usr/local/nagios/etc/hosts and /usr/local/nagios/etc/services
Here are the only files/dirs you should manually work with under /usr/local/nagios/etc:
Please move the file to /usr/local/nagios/etc/static, then go to Configure > Tools > Config File Management, click the Verify button, and send the full output
Or import it so that you can manage through the XI interface:
https://assets.nagios.com/downloads/nag ... gement.pdf
https://assets.nagios.com/downloads/nag ... ios-XI.pdf
Technically, any file under /usr/local/nagios/etc that has this at the top should not be modified by hand:
- Or anything directly under /usr/local/nagios/etc/hosts and /usr/local/nagios/etc/services
Code: Select all
# --- DO NOT EDIT THIS FILE BY HAND ---
# Nagios CCM will overwrite all manual settings during the next update if you
# would like to edit files manually, place them in the 'static' directory or
# import your configs into the CCM by placing them in the 'import' directory.Code: Select all
/usr/local/nagios/etc/import/ # This is for importing
/usr/local/nagios/etc/static/ # This entire dir is for your manually created (static) configs (should you want to utilize that method)
/usr/local/nagios/etc/pnp/ # Performance data configurations
/usr/local/nagios/etc/nagios.cfg # Nagios Core config
/usr/local/nagios/etc/ndo2db.cfg # NDOUtils (Core data to DB settings)
/usr/local/nagios/etc/ndomod.cfg # NDOUtils Broker Module settings
/usr/local/nagios/etc/nrpe.cfg # Local NRPE config
/usr/local/nagios/etc/nsca.cfg # Local NSCA config
/usr/local/nagios/etc/resource.cfg # Custom macros
/usr/local/nagios/etc/send_nsca.cfg # Used for send_nsca
/usr/local/nagios/etc/cgi.cfg # I think this is managed a bit by the CCM/XI as well for permissionsPlease move the file to /usr/local/nagios/etc/static, then go to Configure > Tools > Config File Management, click the Verify button, and send the full output
Or import it so that you can manage through the XI interface:
https://assets.nagios.com/downloads/nag ... gement.pdf