System Info
Linux Distribution and version?
*Linux version 2.6.18-274.3.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51))
CentOS release 5.7 (Final)
32 or 64bit?
32 bit
VMware Image or Manual Install of XI?
VMware Image
Are there specials configurations on your system, ie; is Gnome installed? Are you using a proxy? Are you using SSL?
No.
ISSUE
Using NagiosXi and it does not like variables other than text or numbers for the community string when trying to setup SNMP through the NagiosXi interface. Is there a way around this? We have special characters in some of our snmp community strings.
Thanks.
SNMP Community String
Re: SNMP Community String
Yes, there are a few, is it the wizard form input that's complaining about the community string? If so, that's a limitation we should probably fix on our end...
- You can go back and edit the community string in the Core Config Manager (probably inefficient and time consuming if you have to do this a lot)
- You can define a custom macro for that host and reference it by all of the services
- You can define a global macro in the resource.cfg file if it's a common community string for many devices
- You can go back and edit the community string in the Core Config Manager (probably inefficient and time consuming if you have to do this a lot)
- You can define a custom macro for that host and reference it by all of the services
- You can define a global macro in the resource.cfg file if it's a common community string for many devices
Re: SNMP Community String
Yes, it is the wizard form input that's complaining about the community string. I'll try editing it in the CCM. Thank you!
Re: SNMP Community String
Oh wait, I'm a liar, it's not going to be in the CCM. I forgot that for switches the wizards generates configs for mrtg to use. The file you need is /etc/mrtg/mrtg.cfg, and you may need to do a search and replace on the text string because that file can get pretty big. (It holds all info for mrtg for all switches and routers). You're looking for a line like what you see below, and that definition is for each port:
Target[192.168.5.42_8]: 8:public@192.168.5.42:
Re: SNMP Community String
ok, thanks, I'll give that a try.