nagios and inventory discovery

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

nagios and inventory discovery

Post by benhank »

Hey a question guys.
We have to install nscient++ on a large number of servers.
the problem is we have to figure out which servers are 32 or 64 bit. Is there a way we can get nagiosxi to give us that info?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: nagios and inventory discovery

Post by Box293 »

Via SNMP:

Code: Select all

Command:
check_snmp -H 10.25.14.3 -o 1.3.6.1.2.1.1.1.0 -C public -P 2c

Output (Windows x86):
SNMP OK - "Hardware: x86 Family 6 Model 63 Stepping 2 AT/AT COMPATIBLE - Software: Windows Version 6.1 (Build 7600 Multiprocessor Free)" |

Output (Windows x64):
SNMP OK - "Hardware: Intel64 Family 6 Model 63 Stepping 2 AT/AT COMPATIBLE - Software: Windows Version 6.1 (Build 7600 Multiprocessor Free)" |
Another option is not Nagios related, but if you are pushing out via a script, if the "C:\Program Files (x86)\" directory exists you can bet this is a 64 bit OS.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios and inventory discovery

Post by benhank »

THANKS MAN! whoo HoooOOO!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios and inventory discovery

Post by benhank »

Hey is there a way to have nagios look for that directory?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: nagios and inventory discovery

Post by jdalrymple »

https://exchange.nagios.org/directory/P ... le/details

Are all the hosts already in Nagios? If not it would probably be quicker to do a simple shell script.
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: nagios and inventory discovery

Post by WillemDH »

With this Powershell script you can install NSClient++ from Nagios or Reactor with a Windows gateway.

http://outsideit.net/naf-request-install/

And this GitHub project can help towards creating a Bash script which does the Nagios side configuration.

https://github.com/willemdh/naf_add_server_windows

It is designed to work with templates though.
Nagios XI 5.8.1
https://outsideit.net
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios and inventory discovery

Post by benhank »

thank you kind sirs!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios and inventory discovery

Post by benhank »

jdalrymple wrote:https://exchange.nagios.org/directory/P ... le/details

Are all the hosts already in Nagios? If not it would probably be quicker to do a simple shell script.
yes they are already in nagios
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: nagios and inventory discovery

Post by lmiltchev »

benhank, was your question answered? Is it safe to lock this post? Thanks!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: nagios and inventory discovery

Post by benhank »

lock it up and thanks to everyone who tried to help!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked