Opened 2 years ago
Closed 15 months ago
#428 closed enhancement (fixed)
NSC.ini hostname
| Reported by: | smashytech | Owned by: | mickem |
|---|---|---|---|
| Priority: | 1 | Milestone: | 0.4.0 |
| Component: | Core | Version: | 0.3.9 |
| Severity: | Feature Requests | Keywords: | |
| Cc: |
Description
(I've just copied the forum-post, as you told me to make a ticket)
hello!
im using Nsclient to montior nagios via NSCA, and it works perfectly.
However, if i get 2 idential hostnames, example server1. but they're on different domains, how do i edit the nsc.ini to fit those standars. I would like NSclient to report server1.domain1 and the other one server1.domain2 for example.
So is there a way i can set this one up? I know i can change it PER host, but i got too many computers that i need to set up so changing it my host, will take forever.
im reffering to this line in the nsc.ini:
;# LOCAL HOST NAME
; The name of this host (if empty "computername" will be used.
;hostname=
Is there a way itset the hostnamen to like hostname="%FQDN%" ?
smashytech
01/07/11 10:01:26 (3 days ago)
Tree View Flat View (newer first) Flat View (older first)
*
Message #2025
No, not currently...
seems like a good idea though... Feel free to create a ticket for it so I wont forget...
Michael Medin
Change History (2)
comment:1 Changed 15 months ago by mickem
- Milestone changed from 0.3.8 to 0.4.0
- Owner changed from MickeM to mickem
- Version set to 0.3.9
comment:2 Changed 15 months ago by mickem
- Resolution set to fixed
- Status changed from new to closed









Added ${host} and ${domain} which might be used to construct your own hostname.
Not 100% sure about domain as on my box the "hostname" is only a name ie. has no domain...
Michael Medin