Hello There, Guest!  
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

OS icon and statusmap images

Hi everybody,

In NConf i can see eight OS descriptions already created each with a gif image and a .gd2 file associated. By example the FreeBSD OS has got base/freebsd40.gif as icon and base/freebsd.gd2 as statusmap image.

Question: Can i add new images to use when I create new OS descriptions? (i can´t find the base/ directory where the images should go). Maybe a basic question but i can´t find that directory.
I have updated and added some OS image files.  Take a look in:

Sure. You'd need to submit your pull requests: https://github.com/Cat5TV/nems-www/tree/...ios_themes

On your NEMS filesystem, this is found in /var/www/html/share/nagios_themes - but don't edit them there directly (as you will break the git connection and make it so your NEMS server no longer gets updates). You're better to fork, then move the official nems-www, then clone your own, then edit, then PR, then restore.  :)

If that's not doable, just post a ZIP with the images here in the forum as a feature request and I'll push it out as soon as I can.
Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
there are 2 directories for nconf,  small and big icons
small  12x12 px:

big 40x40 px:

copy the gif and gd2 files to their respective directories,  then in nconf
additional items -> OS -> add
- Name of the new OS
- names of the gif and gd2 files
for example: base/centos7.gif / base/centos7.gd2

when you create a new host
on OS field select your new OS

I'm sorry for my english but it's not really my language Wink

You can, but doing so locally would mean if you ever have to rebuild your NEMS server, you'd have to redo it all.

I would suggest instead that you send the files (assuming they are freely available / royalty free) so I can include them directly in NEMS Linux for the benefit of yourself and other NEMS Linux users. That way, they exist within the OS and will be included next time you flash.

Are there particular icons you need?

Robbie Ferguson // The Bald Nerd

Did I help you out? Appreciate what I do? Please consider saying thanks:
Forum Jump:

Users browsing this thread: 1 Guest(s)