ncpa - location and parameters
Posted: Tue Jun 25, 2019 7:28 am
Hello.
I've the latest 4.x version of nagios and ubuntu 18.04.
i've got nagios up and running - and am also have some hosts working with 'default' pings. haven't gotten all the data from them yet - but ping is a good start - then on to gather/obtaining their snmp info next.
I'm trying to move on to monitor some windows servers to see what i can get.
i've downloaded the check_ncpa.pl file and got it added to the 'default' location. can i manually on the nagios core server run it to see if it's working ? I did the default install of the ncpa client and can open/see data on the https://localhost:5693 . pretty cool to see active info. i haven't set any passwords on it yet - just kept it simple for now.
I'm editing the commands.cfg file to add the 'define commands' by following the 'ncpa getting-started' document. as i'm new the working with linux configs i've found that case-sensitive is required in alot of areas - but also am trying to understand 'where' in specific parts of the .cfg files i should add things.
in the commands.cfg file there are several sections. whenever i 'add/insert' the 'define command' does it matter - or will whenever i run the command to 'check' - will it just 'find it there' - and process?
after i get a single machine running - i'll add other servers and start capturing all their data.
next - i'd like to graph some info - similiar to the solarwinds product that i'm currently using. i'm sure i'll open another query about 'which' is the better graphing tool so if you see this ticket and can offer some advice i can research - i'd appreciate it.
As I only have about 15 servers i'm going to configure the 'checks' to be active instead of passive - at least initially. the 'getting-started' document referrences that i should 'replace -t 'mytoken' with a my own token. where or what is this from - the server or host? how do i locate this info?
thanks in advance -
I've the latest 4.x version of nagios and ubuntu 18.04.
i've got nagios up and running - and am also have some hosts working with 'default' pings. haven't gotten all the data from them yet - but ping is a good start - then on to gather/obtaining their snmp info next.
I'm trying to move on to monitor some windows servers to see what i can get.
i've downloaded the check_ncpa.pl file and got it added to the 'default' location. can i manually on the nagios core server run it to see if it's working ? I did the default install of the ncpa client and can open/see data on the https://localhost:5693 . pretty cool to see active info. i haven't set any passwords on it yet - just kept it simple for now.
I'm editing the commands.cfg file to add the 'define commands' by following the 'ncpa getting-started' document. as i'm new the working with linux configs i've found that case-sensitive is required in alot of areas - but also am trying to understand 'where' in specific parts of the .cfg files i should add things.
in the commands.cfg file there are several sections. whenever i 'add/insert' the 'define command' does it matter - or will whenever i run the command to 'check' - will it just 'find it there' - and process?
after i get a single machine running - i'll add other servers and start capturing all their data.
next - i'd like to graph some info - similiar to the solarwinds product that i'm currently using. i'm sure i'll open another query about 'which' is the better graphing tool so if you see this ticket and can offer some advice i can research - i'd appreciate it.
As I only have about 15 servers i'm going to configure the 'checks' to be active instead of passive - at least initially. the 'getting-started' document referrences that i should 'replace -t 'mytoken' with a my own token. where or what is this from - the server or host? how do i locate this info?
thanks in advance -