could not fetch information from server
Re: could not fetch information from server
and when i run this
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios/nagios.cfg
find on the picture the output
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios/nagios.cfg
find on the picture the output
You do not have the required permissions to view the files attached to this post.
Re: could not fetch information from server
The apply config error is caused by a misconfiguration in the following file so you would need to view it and fix the error or post it so we can see it.
There is a typo in the verification command, use this instead
It could be that the error in the commands.cfg file are causing that host to fail but is could be that the password in the nsclient.ini file does not match the password in the checks defined in Nagios XI.
Edit those services and make sure that $ARG1$ has this for the password.
After fixing the error and changing the password, let us know if it works now.
Code: Select all
/usr/local/nagios/etc/commands.cfgCode: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgEdit those services and make sure that $ARG1$ has this for the password.
Code: Select all
alize456Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: could not fetch information from server
cab i please be assisted on the regard bellow
Re: could not fetch information from server
Can you post your question again? It did not seem to be posted.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: could not fetch information from server
when i run /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
see attached the output. do you see any problem?
i still cannot apply the configuration from nagios CCM
i have attached the ini configuration as well as the display of one of the unknown service on nagios
please see if anything need to be done or if you need more information.
thank you
see attached the output. do you see any problem?
i still cannot apply the configuration from nagios CCM
i have attached the ini configuration as well as the display of one of the unknown service on nagios
please see if anything need to be done or if you need more information.
thank you
You do not have the required permissions to view the files attached to this post.
Re: could not fetch information from server
# If you want to fill this file with all available options run the following command:
# nscp settings --generate --add-defaults --load-all
# If you want to activate a module and bring in all its options use:
# nscp settings --activate-module <MODULE NAME> --add-defaults
# For details run: nscp settings --help
; TODO
[/settings/default]
; Undocumented key
password = alize456
; Undocumented key
allowed hosts = 127.0.0.1,192.***.***.***,192.***.*.**,***.***.*.**
; TODO
[/settings/NRPE/server]
; Undocumented key
ssl options = no-sslv2,no-sslv3
; Undocumented key
verify mode = peer-cert
; Undocumented key
insecure = false
; TODO
[/modules]
; Undocumented key
CheckExternalScripts = 1
; Undocumented key
CheckHelpers = 1
; Undocumented key
CheckNSCP = 1
; Undocumented key
CheckDisk = 1
; Undocumented key
CheckSystem = 1
; Undocumented key
NSClientServer = 1
; Undocumented key
CheckEventLog = 1
; Undocumented key
NSCAClient = 1
; Undocumented key
WEBSErver = 1
; Undocumented key
NRPEServer = 1
; TODO
[/settings/log]
file name = nsclient.log
level = debug
# nscp settings --generate --add-defaults --load-all
# If you want to activate a module and bring in all its options use:
# nscp settings --activate-module <MODULE NAME> --add-defaults
# For details run: nscp settings --help
; TODO
[/settings/default]
; Undocumented key
password = alize456
; Undocumented key
allowed hosts = 127.0.0.1,192.***.***.***,192.***.*.**,***.***.*.**
; TODO
[/settings/NRPE/server]
; Undocumented key
ssl options = no-sslv2,no-sslv3
; Undocumented key
verify mode = peer-cert
; Undocumented key
insecure = false
; TODO
[/modules]
; Undocumented key
CheckExternalScripts = 1
; Undocumented key
CheckHelpers = 1
; Undocumented key
CheckNSCP = 1
; Undocumented key
CheckDisk = 1
; Undocumented key
CheckSystem = 1
; Undocumented key
NSClientServer = 1
; Undocumented key
CheckEventLog = 1
; Undocumented key
NSCAClient = 1
; Undocumented key
WEBSErver = 1
; Undocumented key
NRPEServer = 1
; TODO
[/settings/log]
file name = nsclient.log
level = debug
Re: could not fetch information from server
The nagios verification looks good from the command line but if you are still having issues Applying the Config in the XI GUI, run the following procedure to fix those errors.
Go to the Core Config Manager
Under "Tools", click "Write Config Files" or if you are running a newer versions of XI, The menu is called "Config File Management"
Click the click the "Write" button, then the "Delete" button then click the "Write" button and then the "Verify" button
If you get any errors, resolve them and click on the "Delete" button, "Write", "Verify" until all of the errors are resolved.
Click the Apply Configuration link and click the "Apply Configuration" button after all of the errors are resolved.
The nsclient.ini file looks OK as well as the Service check in XI so I would guess that the Windows server could be blocking port 12489, make sure it is open on the server.
If you still have any errors, please screen capture them and post it so we can see the error.
Go to the Core Config Manager
Under "Tools", click "Write Config Files" or if you are running a newer versions of XI, The menu is called "Config File Management"
Click the click the "Write" button, then the "Delete" button then click the "Write" button and then the "Verify" button
If you get any errors, resolve them and click on the "Delete" button, "Write", "Verify" until all of the errors are resolved.
Click the Apply Configuration link and click the "Apply Configuration" button after all of the errors are resolved.
The nsclient.ini file looks OK as well as the Service check in XI so I would guess that the Windows server could be blocking port 12489, make sure it is open on the server.
If you still have any errors, please screen capture them and post it so we can see the error.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: could not fetch information from server
thank you so much,
i went on write conf, then delete , write and verify
please find below the capture of the output seems like there is two errors, could you please show me how tho resolve this.
thank you
i went on write conf, then delete , write and verify
please find below the capture of the output seems like there is two errors, could you please show me how tho resolve this.
thank you
You do not have the required permissions to view the files attached to this post.
Re: could not fetch information from server
While doing research I have also tried to run the following /usr/local/nagiosxi/scripts/reset_config_perms
and here is the output not sure what is it put after this i tried to run tail -f /usr/local/nagiosxi/var/cmdsubsys.log
and for this one i got the second output below,it's keeps on generating the same thing and i had to stop by just restarting the vm please find attached that output and n ot that it's was diplaying over and over again non stop,
and here is the output not sure what is it put after this i tried to run tail -f /usr/local/nagiosxi/var/cmdsubsys.log
and for this one i got the second output below,it's keeps on generating the same thing and i had to stop by just restarting the vm please find attached that output and n ot that it's was diplaying over and over again non stop,
You do not have the required permissions to view the files attached to this post.
Re: could not fetch information from server
can you please help me?