Sometimes in Nagios Core I found very useful the menu:
Configuration --> View Config
There is the same, or similar, menu on Nagios XI?
Thanks,
M.
menu "view config"
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: menu "view config"
Yes.
Go to http://YOURIP/nagiosxi/includes/compone ... -index.php and click on the middle icon under "Actions." It's the one that looks like a floppy disk.
Go to http://YOURIP/nagiosxi/includes/compone ... -index.php and click on the middle icon under "Actions." It's the one that looks like a floppy disk.
-
matteo.dalfonso
- Posts: 2
- Joined: Fri Feb 17, 2017 3:51 am
Re: menu "view config"
Thanks for the replay, could help but is not the original question.
The menu that I'm looking for in Nagios XI is:
http://<IP of nagios CORE>/nagios/cgi-bin/config.cgi?type=hosts
The view text config action in NagiosXI show me the CFG syntax, that cold be useful but can not be easy imported in excel.
Nagios CORE: 3.0.6
Nagios XI Version : 2014R2.7
Nagios CCM: 2.3.3
One note: I did not found the "floppy disk" action in the "[...]/ccm/xi-index.php" page, but the the sub menu "hosts/services/etc."
Thanks,
The menu that I'm looking for in Nagios XI is:
http://<IP of nagios CORE>/nagios/cgi-bin/config.cgi?type=hosts
The view text config action in NagiosXI show me the CFG syntax, that cold be useful but can not be easy imported in excel.
Nagios CORE: 3.0.6
Nagios XI Version : 2014R2.7
Nagios CCM: 2.3.3
One note: I did not found the "floppy disk" action in the "[...]/ccm/xi-index.php" page, but the the sub menu "hosts/services/etc."
Thanks,
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: menu "view config"
So, it's possible I misunderstood your inquiry, but for the sake of clarity, http://YOURNAGIOSXIIP/nagios/cgi-bin/co ... type=hosts is available in Nagios XI. If you use nagios instead of nagiosxi you'll get all the Core views you know and love. Obviously, there are some things you can't do from the Core interface, but if you do things like schedule downtime in the Core interface, then the XI interface will also show that.
Indeed, I could have given you http://192.168.4.156/nagiosxi/includes/ ... &type=host . That info doesn't automatically populate the browser URL unless you open in a new tab. I apologize for the confusion.
You could use something like the following if you are looking for something other than the Core interface:
Indeed, I could have given you http://192.168.4.156/nagiosxi/includes/ ... &type=host . That info doesn't automatically populate the browser URL unless you open in a new tab. I apologize for the confusion.
You could use something like the following if you are looking for something other than the Core interface:
Code: Select all
echo "use nagiosql; select host_name,address from tbl_host into outfile '/tmp/hosts.csv' fields terminated by ',' enclosed by '\"' lines terminated by '\n'" | mysql -u root -pnagiosxi
Re: menu "view config"
BINGO!dwhitfield wrote:So, it's possible I misunderstood your inquiry, but for the sake of clarity, http://YOURNAGIOSXIIP/nagios/cgi-bin/co ... type=hosts is available in Nagios XI.
Many thanks!
P.S. We use "[...]/nagios/cgi-bin/config.cgi" to verify the final result of complex template tree, on environment not administrated by me.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: menu "view config"
It sounds like this issue has been resolved. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
Re: menu "view config"
Yes, this can be locked.